Method: Aws::ECS::Types::RegisterTaskDefinitionRequest#task_role_arn

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

#task_role_arnString

The short name or full Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in this task are granted the permissions that are specified in this role. For more information, see [IAM Roles for Tasks] in the *Amazon Elastic Container Service Developer Guide*.

[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html

Returns:

  • (String)


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