Module Values_2.TransitGatewayAttachmentSource

Describes an attachment between a resource and a transit gateway.

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

    The ID of the attachment.

    *)
  2. transitGatewayId : Values_0.String_.t option;
    (*

    The ID of the transit gateway.

    *)
  3. transitGatewayOwnerId : Values_0.String_.t option;
    (*

    The ID of the Amazon Web Services account that owns the transit gateway.

    *)
  4. resourceOwnerId : Values_0.String_.t option;
    (*

    The ID of the Amazon Web Services account that owns the resource.

    *)
  5. resourceType : Values_0.TransitGatewayAttachmentResourceType.t option;
    (*

    The resource type. Note that the tgw-peering resource type has been deprecated.

    *)
  6. resourceId : Values_0.String_.t option;
    (*

    The ID of the resource.

    *)
  7. state : Values_1.TransitGatewayAttachmentState.t option;
    (*

    The attachment state. Note that the initiating state has been deprecated.

    *)
  8. association : Values_1.TransitGatewayAttachmentAssociation.t option;
    (*

    The association.

    *)
  9. creationTime : Values_0.DateTime.t option;
    (*

    The creation time.

    *)
  10. tags : Values_0.TagList.t option;
    (*

    The tags for the attachment.

    *)
}
Sourceval make : ?transitGatewayAttachmentId:??? -> ?transitGatewayId:??? -> ?transitGatewayOwnerId:??? -> ?resourceOwnerId:??? -> ?resourceType:??? -> ?resourceId:??? -> ?state:??? -> ?association:??? -> ?creationTime:??? -> ?tags:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.String_.t | `Structure of (string * [> `Enum of string | `String of Values_0.String_.t ]) list | `Timestamp of Values_0.DateTime.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