Interface CfnVPCBlockPublicAccessExclusionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVPCBlockPublicAccessExclusionMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:58.734Z")
@Stability(Stable)
public interface CfnVPCBlockPublicAccessExclusionMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnVPCBlockPublicAccessExclusionPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ec2.*;
CfnVPCBlockPublicAccessExclusionMixinProps cfnVPCBlockPublicAccessExclusionMixinProps = CfnVPCBlockPublicAccessExclusionMixinProps.builder()
.internetGatewayExclusionMode("internetGatewayExclusionMode")
.subnetId("subnetId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcId("vpcId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVPCBlockPublicAccessExclusionMixinPropsstatic final classAn implementation forCfnVPCBlockPublicAccessExclusionMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe desired VPC Block Public Access mode for a specific VPC or subnet exclusion.default StringThe ID of the subnet you want to exclude.getTags()An array of key-value pairs to apply to this resource.default StringgetVpcId()The ID of the VPC you want to exclude.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInternetGatewayExclusionMode
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.
- See Also:
-
getSubnetId
The ID of the subnet you want to exclude.Required only if you don't specify VpcId.
- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
getVpcId
The ID of the VPC you want to exclude.Required only if you don't specify SubnetId.
- See Also:
-
builder
-