Class: Aws::SecurityHub::Types::AwsEcsServicePlacementConstraintsDetails

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#expressionString

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

Returns:

  • (String)


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

#typeString

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`

Returns:

  • (String)


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