AWS::EC2::VPCBlockPublicAccessOptionsResource Type definition for AWS::EC2::VPCBlockPublicAccessOptions
1 configurable property. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
InternetGatewayBlockMode | string | Required |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AccountId | string | The identifier for the specified AWS account. |
ExclusionsAllowed | string | Determines if exclusions are allowed. If you have enabled VPC BPA at the Organization level, exclusions may be not-allowed. Otherwise, they are allowed. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::VPCBlockPublicAccessOptions
Resources:
MyResource:
Type: AWS::EC2::VPCBlockPublicAccessOptions
Properties:
InternetGatewayBlockMode: "block-bidirectional"Permissions CloudFormation needs in your IAM role to manage this resource.
ec2:DescribeVpcBlockPublicAccessOptionsec2:ModifyVpcBlockPublicAccessOptionsec2:DescribeVpcBlockPublicAccessOptionsec2:DescribeVpcBlockPublicAccessOptionsec2:ModifyVpcBlockPublicAccessOptionsec2:DescribeVpcBlockPublicAccessOptionsec2:ModifyVpcBlockPublicAccessOptionsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicAccountId