Method: Aws::ECS::Types::RegisterTaskDefinitionRequest#placement_constraints

Defined in:
lib/aws-sdk-ecs/types.rb

#placement_constraintsArray<Types::TaskDefinitionPlacementConstraint>

An array of placement constraint objects to use for the task. You can specify a maximum of 10 constraints for each task. This limit includes constraints in the task definition and those specified at runtime.



11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
# File 'lib/aws-sdk-ecs/types.rb', line 11097

class RegisterTaskDefinitionRequest < Struct.new(
  :family,
  :task_role_arn,
  :execution_role_arn,
  :network_mode,
  :container_definitions,
  :volumes,
  :placement_constraints,
  :requires_compatibilities,
  :cpu,
  :memory,
  :tags,
  :pid_mode,
  :ipc_mode,
  :proxy_configuration,
  :inference_accelerators,
  :ephemeral_storage,
  :runtime_platform,
  :enable_fault_injection)
  SENSITIVE = []
  include Aws::Structure
end