Class: Aws::SecurityHub::Types::AwsEcsTaskDefinitionPlacementConstraintsDetails

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 AwsEcsTaskDefinitionPlacementConstraintsDetails data as a hash:

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

A placement constraint object to use for tasks.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expressionString

A cluster query language expression to apply to the constraint.

Returns:

  • (String)


8029
8030
8031
8032
8033
8034
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8029

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

#typeString

The type of constraint.

Returns:

  • (String)


8029
8030
8031
8032
8033
8034
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8029

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