CfnNetworkAclMixinProps

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

Bases: object

Properties for CfnNetworkAclPropsMixin.

Parameters:
  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags for the network ACL.

  • vpc_id (Optional[str]) – The ID of the VPC for the network ACL.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkacl.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_network_acl_mixin_props = ec2_mixins.CfnNetworkAclMixinProps(
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_id="vpcId"
)

Attributes

tags

The tags for the network ACL.

See:

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

vpc_id

The ID of the VPC for the network ACL.

See:

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