Struct aws_sdk_securityhub::model::AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails [−][src]
#[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails {
pub type: Option<String>,
pub value: Option<String>,
}Expand description
A resource to assign to a 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.type: Option<String>The type of resource to assign to a container.
value: Option<String>The value for the specified resource type.
For GPU, the value is the number of physical GPUs the Amazon ECS container agent
reserves for the container.
For InferenceAccelerator, the value should match the DeviceName
attribute of an entry in InferenceAccelerators.
Implementations
The value for the specified resource type.
For GPU, the value is the number of physical GPUs the Amazon ECS container agent
reserves for the container.
For InferenceAccelerator, the value should match the DeviceName
attribute of an entry in InferenceAccelerators.
Creates a new builder-style object to manufacture AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
Trait Implementations
fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
) -> bool
fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
) -> bool
fn ne(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails
) -> bool
This method tests for !=.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
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
