Struct aws_sdk_securityhub::model::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails { /* private fields */ }
Expand description
A host device to expose to the container.
Implementations§
source§impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
sourcepub fn container_path(&self) -> Option<&str>
pub fn container_path(&self) -> Option<&str>
The path inside the container at which to expose the host device.
sourcepub fn host_path(&self) -> Option<&str>
pub fn host_path(&self) -> Option<&str>
The path for the device on the host container instance.
sourcepub fn permissions(&self) -> Option<&[String]>
pub fn permissions(&self) -> Option<&[String]>
The explicit permissions to provide to the container for the device. By default, the container has permissions for read, write, and mknod
for the device.
source§impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
source§fn clone(
&self
) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
fn clone(
&self
) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails> for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl PartialEq<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails> for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
) -> bool
fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.