Interface PrivateSubnetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,SubnetProps
- All Known Implementing Classes:
PrivateSubnetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.493Z")
@Stability(Stable)
public interface PrivateSubnetProps
extends software.amazon.jsii.JsiiSerializable, SubnetProps
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.*;
PrivateSubnetProps privateSubnetProps = PrivateSubnetProps.builder()
.availabilityZone("availabilityZone")
.cidrBlock("cidrBlock")
.vpcId("vpcId")
// the properties below are optional
.mapPublicIpOnLaunch(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPrivateSubnetPropsstatic final classAn implementation forPrivateSubnetProps -
Method Summary
Static MethodsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.ec2.SubnetProps
getAvailabilityZone, getCidrBlock, getMapPublicIpOnLaunch, getVpcId
-
Method Details
-
builder
- Returns:
- a
PrivateSubnetProps.BuilderofPrivateSubnetProps
-