You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ECS::Types::UpdateContainerAgentRequest

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

Overview

Note:

When making an API call, you may pass UpdateContainerAgentRequest data as a hash:

{
  cluster: "String",
  container_instance: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.

Returns:

  • (String)


4115
4116
4117
4118
4119
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4115

class UpdateContainerAgentRequest < Struct.new(
  :cluster,
  :container_instance)
  include Aws::Structure
end

#container_instanceString

The container instance ID or full Amazon Resource Name (ARN) entries for the container instance on which you would like to update the Amazon ECS container agent.

Returns:

  • (String)


4115
4116
4117
4118
4119
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4115

class UpdateContainerAgentRequest < Struct.new(
  :cluster,
  :container_instance)
  include Aws::Structure
end