Class: Aws::SecurityHub::Types::AwsEcsServicePlacementConstraintsDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsEcsServicePlacementConstraintsDetails
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-securityhub/types.rb
Overview
A placement constraint for the tasks in the service.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#expression ⇒ String
A cluster query language expression to apply to the constraint.
-
#type ⇒ String
The type of constraint.
Instance Attribute Details
#expression ⇒ String
A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is ‘distinctInstance`.
10234 10235 10236 10237 10238 10239 |
# File 'lib/aws-sdk-securityhub/types.rb', line 10234 class AwsEcsServicePlacementConstraintsDetails < Struct.new( :expression, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
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`
10234 10235 10236 10237 10238 10239 |
# File 'lib/aws-sdk-securityhub/types.rb', line 10234 class AwsEcsServicePlacementConstraintsDetails < Struct.new( :expression, :type) SENSITIVE = [] include Aws::Structure end |