Skip to content

VpcBlockPublicAccessExclusion

Source code in docs_src/capo_ec2/types/vpc_block_public_access_exclusion.py
class VpcBlockPublicAccessExclusion(TypedDict, closed=True):
    exclusion_id: NotRequired[
        "capo_ec2.types.vpc_block_public_access_exclusion_id.VpcBlockPublicAccessExclusionId"
    ]
    """<p>The ID of the exclusion.</p>"""
    internet_gateway_exclusion_mode: NotRequired[
        "capo_ec2.types.internet_gateway_exclusion_mode.InternetGatewayExclusionMode"
    ]
    """<p>The exclusion mode for internet gateway traffic.</p> <ul> <li> <p> <code>allow-bidirectional</code>: Allow all internet traffic to and from the excluded VPCs and subnets.</p> </li> <li> <p> <code>allow-egress</code>: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.</p> </li> </ul>"""
    resource_arn: NotRequired["capo_ec2.types.resource_arn.ResourceArn"]
    """<p>The ARN of the exclusion.</p>"""
    state: NotRequired[
        "capo_ec2.types.vpc_block_public_access_exclusion_state.VpcBlockPublicAccessExclusionState"
    ]
    """<p>The state of the exclusion.</p>"""
    reason: NotRequired["capo_ec2.types.string.String"]
    """<p>The reason for the current exclusion state.</p>"""
    creation_timestamp: NotRequired[
        "capo_ec2.types.millisecond_date_time.MillisecondDateTime"
    ]
    """<p>When the exclusion was created.</p>"""
    last_update_timestamp: NotRequired[
        "capo_ec2.types.millisecond_date_time.MillisecondDateTime"
    ]
    """<p>When the exclusion was last updated.</p>"""
    deletion_timestamp: NotRequired[
        "capo_ec2.types.millisecond_date_time.MillisecondDateTime"
    ]
    """<p>When the exclusion was deleted.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p> <code>tag</code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>"""

creation_timestamp instance-attribute

creation_timestamp: NotRequired[MillisecondDateTime]

When the exclusion was created.

deletion_timestamp instance-attribute

deletion_timestamp: NotRequired[MillisecondDateTime]

When the exclusion was deleted.

exclusion_id instance-attribute

exclusion_id: NotRequired[VpcBlockPublicAccessExclusionId]

The ID of the exclusion.

internet_gateway_exclusion_mode instance-attribute

internet_gateway_exclusion_mode: NotRequired[InternetGatewayExclusionMode]

The exclusion mode for internet gateway traffic.

  • allow-bidirectional: Allow all internet traffic to and from the excluded VPCs and subnets.

  • allow-egress: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.

last_update_timestamp instance-attribute

last_update_timestamp: NotRequired[MillisecondDateTime]

When the exclusion was last updated.

reason instance-attribute

reason: NotRequired[String]

The reason for the current exclusion state.

resource_arn instance-attribute

resource_arn: NotRequired[ResourceArn]

The ARN of the exclusion.

state instance-attribute

The state of the exclusion.

tags instance-attribute

tags: NotRequired[TagList]

tag - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.