Class: Aws::ECS::Types::ExecuteCommandResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_arnString

The Amazon Resource Name (ARN) of the cluster.

Returns:

  • (String)


5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5019

class ExecuteCommandResponse < Struct.new(
  :cluster_arn,
  :container_arn,
  :container_name,
  :interactive,
  :session,
  :task_arn)
  SENSITIVE = []
  include Aws::Structure
end

#container_arnString

The Amazon Resource Name (ARN) of the container.

Returns:

  • (String)


5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5019

class ExecuteCommandResponse < Struct.new(
  :cluster_arn,
  :container_arn,
  :container_name,
  :interactive,
  :session,
  :task_arn)
  SENSITIVE = []
  include Aws::Structure
end

#container_nameString

The name of the container.

Returns:

  • (String)


5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5019

class ExecuteCommandResponse < Struct.new(
  :cluster_arn,
  :container_arn,
  :container_name,
  :interactive,
  :session,
  :task_arn)
  SENSITIVE = []
  include Aws::Structure
end

#interactiveBoolean

Determines whether the execute command session is running in interactive mode. Amazon ECS only supports initiating interactive sessions, so you must specify true for this value.

Returns:

  • (Boolean)


5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5019

class ExecuteCommandResponse < Struct.new(
  :cluster_arn,
  :container_arn,
  :container_name,
  :interactive,
  :session,
  :task_arn)
  SENSITIVE = []
  include Aws::Structure
end

#sessionTypes::Session

The details of the SSM session that was created for this instance of execute-command.

Returns:



5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5019

class ExecuteCommandResponse < Struct.new(
  :cluster_arn,
  :container_arn,
  :container_name,
  :interactive,
  :session,
  :task_arn)
  SENSITIVE = []
  include Aws::Structure
end

#task_arnString

The Amazon Resource Name (ARN) of the task.

Returns:

  • (String)


5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 5019

class ExecuteCommandResponse < Struct.new(
  :cluster_arn,
  :container_arn,
  :container_name,
  :interactive,
  :session,
  :task_arn)
  SENSITIVE = []
  include Aws::Structure
end