class Aws::SecurityHub::Types::AwsEcsServicePlacementConstraintsDetails

A placement constraint for the tasks in the service.

@note When making an API call, you may pass AwsEcsServicePlacementConstraintsDetails

data as a hash:

    {
      expression: "NonEmptyString",
      type: "NonEmptyString",
    }

@!attribute [rw] expression

A cluster query language expression to apply to the constraint. You
cannot specify an expression if the constraint type is
`distinctInstance`.
@return [String]

@!attribute [rw] 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`
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEcsServicePlacementConstraintsDetails AWS API Documentation

Constants

SENSITIVE