Module Values_1.TransitGatewayMeteringPolicyRuleSource

Describes the traffic matching criteria for a transit gateway metering policy rule.

Sourcetype nonrec t = {
  1. sourceTransitGatewayAttachmentId : Values_0.TransitGatewayAttachmentId.t option;
    (*

    The ID of the source transit gateway attachment.

    *)
  2. sourceTransitGatewayAttachmentType : Values_0.TransitGatewayAttachmentResourceType.t option;
    (*

    The type of the source transit gateway attachment. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.

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

    The source CIDR block for the rule.

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

    The source port range for the rule.

    *)
  5. destinationTransitGatewayAttachmentId : Values_0.TransitGatewayAttachmentId.t option;
    (*

    The ID of the destination transit gateway attachment.

    *)
  6. destinationTransitGatewayAttachmentType : Values_0.TransitGatewayAttachmentResourceType.t option;
    (*

    The type of the destination transit gateway attachment. Note that the tgw-peering resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.

    *)
  7. destinationCidrBlock : Values_0.String_.t option;
    (*

    The destination CIDR block for the rule.

    *)
  8. destinationPortRange : Values_0.String_.t option;
    (*

    The destination port range for the rule.

    *)
  9. protocol : Values_0.String_.t option;
    (*

    The protocol for the rule (1, 6, 17, etc.).

    *)
}
Sourceval make : ?sourceTransitGatewayAttachmentId:??? -> ?sourceTransitGatewayAttachmentType:??? -> ?sourceCidrBlock:??? -> ?sourcePortRange:??? -> ?destinationTransitGatewayAttachmentId:??? -> ?destinationTransitGatewayAttachmentType:??? -> ?destinationCidrBlock:??? -> ?destinationPortRange:??? -> ?protocol:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_0.TransitGatewayAttachmentId.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