AWS::EC2::VPCBlockPublicAccessExclusionResource Type definition for AWS::EC2::VPCBlockPublicAccessExclusion.
4 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
InternetGatewayExclusionMode | string | Required |
SubnetId | string | Create-only |
Tags | Array<Tag> | |
VpcId | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
ExclusionId | string | The ID of the exclusion |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::VPCBlockPublicAccessExclusion
Resources:
MyResource:
Type: AWS::EC2::VPCBlockPublicAccessExclusion
Properties:
InternetGatewayExclusionMode: "allow-bidirectional"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:DescribeVpcBlockPublicAccessExclusionsec2:CreateVpcBlockPublicAccessExclusionec2:CreateTagsec2:DescribeVpcBlockPublicAccessExclusionsec2:DescribeVpcBlockPublicAccessExclusionsec2:ModifyVpcBlockPublicAccessExclusionec2:CreateTagsec2:DeleteTagsec2:DescribeVpcBlockPublicAccessExclusionsec2:DeleteVpcBlockPublicAccessExclusionec2:DescribeVpcBlockPublicAccessExclusionsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicExclusionIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
VpcIdSubnetId