Struct aws_sdk_securityhub::model::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails[][src]

#[non_exhaustive]
pub struct AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails { pub capabilities: Option<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails>, pub devices: Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails>>, pub init_process_enabled: bool, pub max_swap: i32, pub shared_memory_size: i32, pub swappiness: i32, pub tmpfs: Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails>>, }
Expand description

>Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
capabilities: Option<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails>

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.

devices: Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails>>

The host devices to expose to the container.

init_process_enabled: bool

Whether to run an init process inside the container that forwards signals and reaps processes.

max_swap: i32

The total amount of swap memory (in MiB) that a container can use.

shared_memory_size: i32

The value for the size (in MiB) of the /dev/shm volume.

swappiness: i32

Configures the container's memory swappiness behavior. Determines how aggressively pages are swapped. The higher the value, the more aggressive the swappiness. The default is 60.

tmpfs: Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails>>

The container path, mount options, and size (in MiB) of the tmpfs mount.

Implementations

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.

The host devices to expose to the container.

Whether to run an init process inside the container that forwards signals and reaps processes.

The total amount of swap memory (in MiB) that a container can use.

The value for the size (in MiB) of the /dev/shm volume.

Configures the container's memory swappiness behavior. Determines how aggressively pages are swapped. The higher the value, the more aggressive the swappiness. The default is 60.

The container path, mount options, and size (in MiB) of the tmpfs mount.

Creates a new builder-style object to manufacture AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more