Module Values.AttachmentSource

An object representing a container instance or task attachment.

Sourcetype nonrec t = {
  1. id : String_.t option;
    (*

    The unique identifier for the attachment.

    *)
  2. type_ : String_.t option;
    (*

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

    *)
  3. status : String_.t option;
    (*

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

    *)
  4. details : AttachmentDetails.t option;
    (*

    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).

    *)
}
Sourceval make : ?id:??? -> ?type_:??? -> ?status:??? -> ?details:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t