Attachment¶
Structure Class¶
Attachment
dataclass
¶
Bases: _SerdeShape
An object representing a container instance or task attachment.
Attributes¶
details
class-attribute
instance-attribute
¶
details: list[KeyValuePair] | None = ...
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).
id
class-attribute
instance-attribute
¶
id: str | None = ...
The unique identifier for the attachment.