Interface CfnVPCBlockPublicAccessOptionsMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVPCBlockPublicAccessOptionsMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:58.736Z")
@Stability(Stable)
public interface CfnVPCBlockPublicAccessOptionsMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnVPCBlockPublicAccessOptionsPropsMixin.
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.*;
CfnVPCBlockPublicAccessOptionsMixinProps cfnVPCBlockPublicAccessOptionsMixinProps = CfnVPCBlockPublicAccessOptionsMixinProps.builder()
.internetGatewayBlockMode("internetGatewayBlockMode")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVPCBlockPublicAccessOptionsMixinPropsstatic final classAn implementation forCfnVPCBlockPublicAccessOptionsMixinProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInternetGatewayBlockMode
The desired VPC Block Public Access mode for internet gateways in your account.We do not allow you to create this resource type in an "off" mode since off is the default value.
block-bidirectional: Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets).block-ingress: Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.
- See Also:
-
builder
-