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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsEcsServicePlacementConstraintsDetails data as a hash:

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

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)


7057
7058
7059
7060
7061
7062
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7057

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)


7057
7058
7059
7060
7061
7062
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7057

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