Skip to content

TransitGatewayMeteringPolicyRule

Source code in docs_src/capo_ec2/types/transit_gateway_metering_policy_rule.py
class TransitGatewayMeteringPolicyRule(TypedDict, closed=True):
    source_transit_gateway_attachment_id: NotRequired[
        "capo_ec2.types.transit_gateway_attachment_id.TransitGatewayAttachmentId"
    ]
    """<p>The ID of the source transit gateway attachment.</p>"""
    source_transit_gateway_attachment_type: NotRequired[
        "capo_ec2.types.transit_gateway_attachment_resource_type.TransitGatewayAttachmentResourceType"
    ]
    """<p>The type of the source transit gateway attachment. Note that the <code>tgw-peering</code> resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.</p>"""
    source_cidr_block: NotRequired["capo_ec2.types.string.String"]
    """<p>The source CIDR block for the rule.</p>"""
    source_port_range: NotRequired["capo_ec2.types.string.String"]
    """<p>The source port range for the rule.</p>"""
    destination_transit_gateway_attachment_id: NotRequired[
        "capo_ec2.types.transit_gateway_attachment_id.TransitGatewayAttachmentId"
    ]
    """<p>The ID of the destination transit gateway attachment.</p>"""
    destination_transit_gateway_attachment_type: NotRequired[
        "capo_ec2.types.transit_gateway_attachment_resource_type.TransitGatewayAttachmentResourceType"
    ]
    """<p>The type of the destination transit gateway attachment. Note that the <code>tgw-peering</code> resource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.</p>"""
    destination_cidr_block: NotRequired["capo_ec2.types.string.String"]
    """<p>The destination CIDR block for the rule.</p>"""
    destination_port_range: NotRequired["capo_ec2.types.string.String"]
    """<p>The destination port range for the rule.</p>"""
    protocol: NotRequired["capo_ec2.types.string.String"]
    """<p>The protocol for the rule (1, 6, 17, etc.).</p>"""

destination_cidr_block instance-attribute

destination_cidr_block: NotRequired[String]

The destination CIDR block for the rule.

destination_port_range instance-attribute

destination_port_range: NotRequired[String]

The destination port range for the rule.

destination_transit_gateway_attachment_id instance-attribute

destination_transit_gateway_attachment_id: NotRequired[TransitGatewayAttachmentId]

The ID of the destination transit gateway attachment.

destination_transit_gateway_attachment_type instance-attribute

destination_transit_gateway_attachment_type: NotRequired[
    TransitGatewayAttachmentResourceType
]

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 instance-attribute

protocol: NotRequired[String]

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

source_cidr_block instance-attribute

source_cidr_block: NotRequired[String]

The source CIDR block for the rule.

source_port_range instance-attribute

source_port_range: NotRequired[String]

The source port range for the rule.

source_transit_gateway_attachment_id instance-attribute

source_transit_gateway_attachment_id: NotRequired[TransitGatewayAttachmentId]

The ID of the source transit gateway attachment.

source_transit_gateway_attachment_type instance-attribute

source_transit_gateway_attachment_type: NotRequired[
    TransitGatewayAttachmentResourceType
]

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.