TransitGatewayMeteringPolicyRule¶
Structure Class¶
TransitGatewayMeteringPolicyRule
dataclass
¶
Bases: _SerdeShape
Describes the traffic matching criteria for a transit gateway metering policy rule.
Attributes¶
destination_cidr_block
class-attribute
instance-attribute
¶
destination_cidr_block: str | None = ...
The destination CIDR block for the rule.
destination_port_range
class-attribute
instance-attribute
¶
destination_port_range: str | None = ...
The destination port range for the rule.
destination_transit_gateway_attachment_id
class-attribute
instance-attribute
¶
destination_transit_gateway_attachment_id: str | None = ...
The ID of the destination transit gateway attachment.
destination_transit_gateway_attachment_type
class-attribute
instance-attribute
¶
destination_transit_gateway_attachment_type: str | None = ...
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.
protocol
class-attribute
instance-attribute
¶
protocol: str | None = ...
The protocol for the rule (1, 6, 17, etc.).
source_cidr_block
class-attribute
instance-attribute
¶
source_cidr_block: str | None = ...
The source CIDR block for the rule.
source_port_range
class-attribute
instance-attribute
¶
source_port_range: str | None = ...
The source port range for the rule.
source_transit_gateway_attachment_id
class-attribute
instance-attribute
¶
source_transit_gateway_attachment_id: str | None = ...
The ID of the source transit gateway attachment.
source_transit_gateway_attachment_type
class-attribute
instance-attribute
¶
source_transit_gateway_attachment_type: str | None = ...
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.