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.

Constant Summary collapse

SENSITIVE =
[]

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.

For Service Connect services, this includes portName, clientAliases, discoveryName, and ingressPortOverride.

For Elastic Block Storage, this includes roleArn, deleteOnTermination, volumeName, volumeId, and statusReason (only when the attachment fails to create or attach).

Returns:



98
99
100
101
102
103
104
105
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 98

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

#idString

The unique identifier for the attachment.

Returns:

  • (String)


98
99
100
101
102
103
104
105
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 98

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

#statusString

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

Returns:

  • (String)


98
99
100
101
102
103
104
105
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 98

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

#typeString

The type of the attachment, such as ElasticNetworkInterface, Service Connect, and AmazonElasticBlockStorage.

Returns:

  • (String)


98
99
100
101
102
103
104
105
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 98

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