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

Class: Aws::ECS::Types::Attachment

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

Overview

An object representing a container instance or task attachment.

Instance Attribute Summary collapse

Instance Attribute Details

#detailsArray<Types::KeyValuePair>

Details of the attachment. For Elastic Network Interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.

Returns:



35
36
37
38
39
40
41
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 35

class Attachment < Struct.new(
  :id,
  :type,
  :status,
  :details)
  include Aws::Structure
end

#idString

The unique identifier for the attachment.

Returns:

  • (String)


35
36
37
38
39
40
41
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 35

class Attachment < Struct.new(
  :id,
  :type,
  :status,
  :details)
  include Aws::Structure
end

#statusString

The status of the attachment. Valid values are PRECREATED, CREATED, ATTACHING, ATTACHED, DETACHING, DETACHED, and DELETED.

Returns:

  • (String)


35
36
37
38
39
40
41
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 35

class Attachment < Struct.new(
  :id,
  :type,
  :status,
  :details)
  include Aws::Structure
end

#typeString

The type of the attachment, such as ElasticNetworkInterface.

Returns:

  • (String)


35
36
37
38
39
40
41
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 35

class Attachment < Struct.new(
  :id,
  :type,
  :status,
  :details)
  include Aws::Structure
end