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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/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)


10240
10241
10242
10243
10244
10245
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10240

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)


10240
10241
10242
10243
10244
10245
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10240

class AwsEcsServicePlacementConstraintsDetails < Struct.new(
  :expression,
  :type)
  SENSITIVE = []
  include Aws::Structure
end