interface CfnVPCBlockPublicAccessExclusionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnVPCBlockPublicAccessExclusionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnVPCBlockPublicAccessExclusionMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnVPCBlockPublicAccessExclusionMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnVPCBlockPublicAccessExclusionMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnVPCBlockPublicAccessExclusionMixinProps |
Properties for CfnVPCBlockPublicAccessExclusionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
const cfnVPCBlockPublicAccessExclusionMixinProps: ec2.CfnVPCBlockPublicAccessExclusionMixinProps = {
internetGatewayExclusionMode: 'internetGatewayExclusionMode',
subnetId: 'subnetId',
tags: [{
key: 'key',
value: 'value',
}],
vpcId: 'vpcId',
};
Properties
| Name | Type | Description |
|---|---|---|
| internet | string | The desired VPC Block Public Access mode for a specific VPC or subnet exclusion. |
| subnet | string | The ID of the subnet you want to exclude. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
| vpc | string | The ID of the VPC you want to exclude. |
internetGatewayExclusionMode?
Type:
string
(optional)
The desired VPC Block Public Access mode for a specific VPC or subnet exclusion.
allow-bidirectional: Allow all internet traffic to and from the excluded VPCs and subnets.allow-egress: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set toblock-bidirectional.
subnetId?
Type:
string
(optional)
The ID of the subnet you want to exclude.
Required only if you don't specify VpcId.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
vpcId?
Type:
string
(optional)
The ID of the VPC you want to exclude.
Required only if you don't specify SubnetId.

.NET
Go
Java
Python
TypeScript