Interface PublicSubnetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,SubnetProps
- All Known Implementing Classes:
PublicSubnetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:38.237Z")
@Stability(Stable)
public interface PublicSubnetProps
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.*;
PublicSubnetProps publicSubnetProps = PublicSubnetProps.builder()
.availabilityZone("availabilityZone")
.cidrBlock("cidrBlock")
.vpcId("vpcId")
// the properties below are optional
.assignIpv6AddressOnCreation(false)
.ipv6CidrBlock("ipv6CidrBlock")
.mapPublicIpOnLaunch(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPublicSubnetPropsstatic final classAn implementation forPublicSubnetProps -
Method Summary
Static MethodsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.ec2.SubnetProps
getAssignIpv6AddressOnCreation, getAvailabilityZone, getCidrBlock, getIpv6CidrBlock, getMapPublicIpOnLaunch, getVpcId
-
Method Details
-
builder
- Returns:
- a
PublicSubnetProps.BuilderofPublicSubnetProps
-