libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

Description

 
Synopsis

Documentation

data AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source #

A resource to assign to a container.

See: newAwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails smart constructor.

Constructors

AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails' 

Fields

  • value :: Maybe Text

    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.

  • type' :: Maybe Text

    The type of resource to assign to a container.

Instances

Instances details
Eq AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

Read AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

Show AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

Generic AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

NFData AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

Hashable AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

ToJSON AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

FromJSON AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

type Rep AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails

type Rep AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails = D1 ('MetaData "AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails" "Amazonka.SecurityHub.Types.AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails :: AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails Source #

Create a value of AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:value:AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails', awsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails_value - 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.

$sel:type':AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails', awsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails_type - The type of resource to assign to a container.

awsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails_value :: Lens' AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails (Maybe Text) Source #

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.