interface CfnVPCBlockPublicAccessExclusionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnVPCBlockPublicAccessExclusionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnVPCBlockPublicAccessExclusionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnVPCBlockPublicAccessExclusionMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPCBlockPublicAccessExclusionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » 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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnVPCBlockPublicAccessExclusionMixinProps: ec2_mixins.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