Class: Aws::ECS::Types::ExecuteCommandRequest

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 ⇒ String

The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.

Returns:

  • (String)


7833
7834
7835
7836
7837
7838
7839
7840
7841
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 7833

class ExecuteCommandRequest < Struct.new(
  :cluster,
  :container,
  :command,
  :interactive,
  :task)
  SENSITIVE = []
  include Aws::Structure
end

#command ⇒ String

The command to run on the container.

Returns:

  • (String)


7833
7834
7835
7836
7837
7838
7839
7840
7841
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 7833

class ExecuteCommandRequest < Struct.new(
  :cluster,
  :container,
  :command,
  :interactive,
  :task)
  SENSITIVE = []
  include Aws::Structure
end

#container ⇒ String

The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.

Returns:

  • (String)


7833
7834
7835
7836
7837
7838
7839
7840
7841
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 7833

class ExecuteCommandRequest < Struct.new(
  :cluster,
  :container,
  :command,
  :interactive,
  :task)
  SENSITIVE = []
  include Aws::Structure
end

#interactive ⇒ Boolean

Use this flag to run your command in interactive mode.

Returns:

  • (Boolean)


7833
7834
7835
7836
7837
7838
7839
7840
7841
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 7833

class ExecuteCommandRequest < Struct.new(
  :cluster,
  :container,
  :command,
  :interactive,
  :task)
  SENSITIVE = []
  include Aws::Structure
end

#task ⇒ String

The Amazon Resource Name (ARN) or ID of the task the container is part of.

Returns:

  • (String)


7833
7834
7835
7836
7837
7838
7839
7840
7841
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 7833

class ExecuteCommandRequest < Struct.new(
  :cluster,
  :container,
  :command,
  :interactive,
  :task)
  SENSITIVE = []
  include Aws::Structure
end