---
type: resource-type
title: VPCBlockPublicAccessOptions
description: aws resource type AWS::EC2::VPCBlockPublicAccessOptions
name: VPCBlockPublicAccessOptions
lexicon: aws
resource_type: AWS::EC2::VPCBlockPublicAccessOptions
---
`AWS::EC2::VPCBlockPublicAccessOptions`, a resource type of the aws lexicon.

## Properties

- `InternetGatewayBlockMode` (`"block-bidirectional" | "block-ingress"`, required): The desired Block Public Access mode for Internet Gateways in your account. We do not allow to create in a off mode as this is the default value
- `AccountId` (`string`, optional): The identifier for the specified AWS account.
- `ExclusionsAllowed` (`string`, optional): Determines if exclusions are allowed. If you have enabled VPC BPA at the Organization level, exclusions may be not-allowed. Otherwise, they are allowed.

## Attributes

- `AccountId`
- `ExclusionsAllowed`
