aws ec2 create-vpc-block-public-access-exclusion
Create a VPC Block Public Access (BPA) exclusion. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--internet-gateway-exclusion-modeThe exclusion mode for internet gateway traffic.--subnet-idA subnet ID.--tag-specificationstag - The key/value combination of a tag assigned to the resource.--vpc-idA VPC ID.