AwsEcsServicePlacementConstraintsDetails - AWS Security Hub

AwsEcsServicePlacementConstraintsDetails

A placement constraint for the tasks in the service.

Contents

Expression

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

Type: String

Pattern: .*\S.*

Required: No

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

Type: String

Pattern: .*\S.*

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: