Skip to content

TransitGatewayPolicyRule

Source code in docs_src/capo_ec2/types/transit_gateway_policy_rule.py
class TransitGatewayPolicyRule(TypedDict, closed=True):
    source_cidr_block: NotRequired["capo_ec2.types.string.String"]
    """<p>The source CIDR block for the transit gateway policy rule.</p>"""
    source_port_range: NotRequired["capo_ec2.types.string.String"]
    """<p>The source port or port range for the transit gateway policy rule.</p>"""
    destination_cidr_block: NotRequired["capo_ec2.types.string.String"]
    """<p>The destination CIDR block for the transit gateway policy rule.</p>"""
    destination_port_range: NotRequired["capo_ec2.types.string.String"]
    """<p>The destination port or port range for the transit gateway policy rule.</p>"""
    protocol: NotRequired["capo_ec2.types.string.String"]
    """<p>The protocol used by the transit gateway policy rule.</p>"""
    meta_data: NotRequired[
        "capo_ec2.types.transit_gateway_policy_rule_meta_data.TransitGatewayPolicyRuleMetaData"
    ]
    """<p>The meta data tags used for the transit gateway policy rule.</p>"""

destination_cidr_block instance-attribute

destination_cidr_block: NotRequired[String]

The destination CIDR block for the transit gateway policy rule.

destination_port_range instance-attribute

destination_port_range: NotRequired[String]

The destination port or port range for the transit gateway policy rule.

meta_data instance-attribute

meta_data: NotRequired[TransitGatewayPolicyRuleMetaData]

The meta data tags used for the transit gateway policy rule.

protocol instance-attribute

protocol: NotRequired[String]

The protocol used by the transit gateway policy rule.

source_cidr_block instance-attribute

source_cidr_block: NotRequired[String]

The source CIDR block for the transit gateway policy rule.

source_port_range instance-attribute

source_port_range: NotRequired[String]

The source port or port range for the transit gateway policy rule.