Interface CfnVPCBlockPublicAccessOptionsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVPCBlockPublicAccessOptionsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:24:57.103Z")
@Stability(Stable)
public interface CfnVPCBlockPublicAccessOptionsProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVPCBlockPublicAccessOptions
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; CfnVPCBlockPublicAccessOptionsProps cfnVPCBlockPublicAccessOptionsProps = CfnVPCBlockPublicAccessOptionsProps.builder() .internetGatewayBlockMode("internetGatewayBlockMode") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVPCBlockPublicAccessOptionsProps
static final class
An implementation forCfnVPCBlockPublicAccessOptionsProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The desired VPC Block Public Access mode for internet gateways in your account.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
-