CfnEgressOnlyInternetGatewayMixinProps

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnEgressOnlyInternetGatewayMixinProps(*, tags=None, vpc_id=None)

Bases: object

Properties for CfnEgressOnlyInternetGatewayPropsMixin.

Parameters:
  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags assigned to the egress-only internet gateway.

  • vpc_id (Optional[str]) – The ID of the VPC for which to create the egress-only internet gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-egressonlyinternetgateway.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

cfn_egress_only_internet_gateway_mixin_props = ec2_mixins.CfnEgressOnlyInternetGatewayMixinProps(
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_id="vpcId"
)

Attributes

tags

The tags assigned to the egress-only internet gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-egressonlyinternetgateway.html#cfn-ec2-egressonlyinternetgateway-tags

vpc_id

The ID of the VPC for which to create the egress-only internet gateway.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-egressonlyinternetgateway.html#cfn-ec2-egressonlyinternetgateway-vpcid