Interface PublicSubnetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,SubnetProps
- All Known Implementing Classes:
PublicSubnetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:18.275Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forPublicSubnetProps
static final class
An implementation forPublicSubnetProps
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.ec2.SubnetProps
getAssignIpv6AddressOnCreation, getAvailabilityZone, getCidrBlock, getIpv6CidrBlock, getMapPublicIpOnLaunch, getVpcId
-
Method Details
-
builder
- Returns:
- a
PublicSubnetProps.Builder
ofPublicSubnetProps
-