Struct aws_sdk_securityhub::types::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails {
pub container_path: Option<String>,
pub host_path: Option<String>,
pub permissions: Option<Vec<String>>,
}
Expand description
A host device to expose to the container.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.container_path: Option<String>
The path inside the container at which to expose the host device.
host_path: Option<String>
The path for the device on the host container instance.
permissions: Option<Vec<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.
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) -> &[String]
pub fn permissions(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .permissions.is_none()
.
source§impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
sourcepub fn builder(
) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetailsBuilder
pub fn builder( ) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetailsBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails
) -> bool
fn eq( &self, other: &AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails ) -> bool
self
and other
values to be equal, and is used
by ==
.