AwsEcsServicePlacementConstraintsDetails - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: