Values_1.TransitGatewayMeteringPolicyRuleSourceDescribes the traffic matching criteria for a transit gateway metering policy rule.
type nonrec t = {sourceTransitGatewayAttachmentId : Values_0.TransitGatewayAttachmentId.t option;The ID of the source transit gateway attachment.
*)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.
*)sourceCidrBlock : Values_0.String_.t option;The source CIDR block for the rule.
*)sourcePortRange : Values_0.String_.t option;The source port range for the rule.
*)destinationTransitGatewayAttachmentId : Values_0.TransitGatewayAttachmentId.t
option;The ID of the destination transit gateway attachment.
*)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.
*)destinationCidrBlock : Values_0.String_.t option;The destination CIDR block for the rule.
*)destinationPortRange : Values_0.String_.t option;The destination port range for the rule.
*)protocol : Values_0.String_.t option;The protocol for the rule (1, 6, 17, etc.).
*)}val make :
?sourceTransitGatewayAttachmentId:Values_0.TransitGatewayAttachmentId.t ->
?sourceTransitGatewayAttachmentType:
Values_0.TransitGatewayAttachmentResourceType.t ->
?sourceCidrBlock:Values_0.String_.t ->
?sourcePortRange:Values_0.String_.t ->
?destinationTransitGatewayAttachmentId:Values_0.TransitGatewayAttachmentId.t ->
?destinationTransitGatewayAttachmentType:
Values_0.TransitGatewayAttachmentResourceType.t ->
?destinationCidrBlock:Values_0.String_.t ->
?destinationPortRange:Values_0.String_.t ->
?protocol:Values_0.String_.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of Values_0.TransitGatewayAttachmentId.t ])
list ]