Class: Aws::ECS::Types::Attachment
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::Attachment
- 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
-
#details ⇒ Array<Types::KeyValuePair>
Details of the attachment.
-
#id ⇒ String
The unique identifier for the attachment.
-
#status ⇒ String
The status of the attachment.
-
#type ⇒ String
The type of the attachment, such as
ElasticNetworkInterface,Service Connect, andAmazonElasticBlockStorage.
Instance Attribute Details
#details ⇒ Array<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).
152 153 154 155 156 157 158 159 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 152 class Attachment < Struct.new( :id, :type, :status, :details) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The unique identifier for the attachment.
152 153 154 155 156 157 158 159 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 152 class Attachment < Struct.new( :id, :type, :status, :details) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The status of the attachment. Valid values are PRECREATED,
CREATED, ATTACHING, ATTACHED, DETACHING, DETACHED,
DELETED, and FAILED.
152 153 154 155 156 157 158 159 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 152 class Attachment < Struct.new( :id, :type, :status, :details) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of the attachment, such as ElasticNetworkInterface,
Service Connect, and AmazonElasticBlockStorage.
152 153 154 155 156 157 158 159 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 152 class Attachment < Struct.new( :id, :type, :status, :details) SENSITIVE = [] include Aws::Structure end |