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.AwsEcsServicePlacementConstraintsDetails

Description

 
Synopsis

Documentation

data AwsEcsServicePlacementConstraintsDetails Source #

A placement constraint for the tasks in the service.

See: newAwsEcsServicePlacementConstraintsDetails smart constructor.

Constructors

AwsEcsServicePlacementConstraintsDetails' 

Fields

  • expression :: Maybe Text

    A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance.

  • type' :: Maybe Text

    The type of constraint. Use distinctInstance to run each task in a particular group on a different container instance. Use memberOf to restrict the selection to a group of valid candidates.

    Valid values: distinctInstance | memberOf

Instances

Instances details
Eq AwsEcsServicePlacementConstraintsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServicePlacementConstraintsDetails

Read AwsEcsServicePlacementConstraintsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServicePlacementConstraintsDetails

Show AwsEcsServicePlacementConstraintsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServicePlacementConstraintsDetails

Generic AwsEcsServicePlacementConstraintsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServicePlacementConstraintsDetails

NFData AwsEcsServicePlacementConstraintsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServicePlacementConstraintsDetails

Hashable AwsEcsServicePlacementConstraintsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServicePlacementConstraintsDetails

ToJSON AwsEcsServicePlacementConstraintsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServicePlacementConstraintsDetails

FromJSON AwsEcsServicePlacementConstraintsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServicePlacementConstraintsDetails

type Rep AwsEcsServicePlacementConstraintsDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServicePlacementConstraintsDetails

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

newAwsEcsServicePlacementConstraintsDetails :: AwsEcsServicePlacementConstraintsDetails Source #

Create a value of AwsEcsServicePlacementConstraintsDetails 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:expression:AwsEcsServicePlacementConstraintsDetails', awsEcsServicePlacementConstraintsDetails_expression - A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance.

$sel:type':AwsEcsServicePlacementConstraintsDetails', awsEcsServicePlacementConstraintsDetails_type - The type of constraint. Use distinctInstance to run each task in a particular group on a different container instance. Use memberOf to restrict the selection to a group of valid candidates.

Valid values: distinctInstance | memberOf

awsEcsServicePlacementConstraintsDetails_expression :: Lens' AwsEcsServicePlacementConstraintsDetails (Maybe Text) Source #

A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance.

awsEcsServicePlacementConstraintsDetails_type :: Lens' AwsEcsServicePlacementConstraintsDetails (Maybe Text) Source #

The type of constraint. Use distinctInstance to run each task in a particular group on a different container instance. Use memberOf to restrict the selection to a group of valid candidates.

Valid values: distinctInstance | memberOf