Class SubnetProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.SubnetProps.Jsii$Proxy
- All Implemented Interfaces:
SubnetProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
SubnetProps
@Stability(Stable)
@Internal
public static final class SubnetProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements SubnetProps
An implementation for
SubnetProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.SubnetProps
SubnetProps.Builder, SubnetProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(SubnetProps.Builder builder) Constructor that initializes the object based on literal property values passed by theSubnetProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleanIndicates whether a network interface created in this subnet receives an IPv6 address.final StringThe availability zone for the subnet.final StringThe CIDR notation for this subnet.final StringThe IPv6 CIDR block.final BooleanControls if a public IP is associated to an instance at launch.final StringgetVpcId()The VPC which this subnet is part of.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theSubnetProps.Builder.
-
-
Method Details
-
getAvailabilityZone
Description copied from interface:SubnetPropsThe availability zone for the subnet.- Specified by:
getAvailabilityZonein interfaceSubnetProps
-
getCidrBlock
Description copied from interface:SubnetPropsThe CIDR notation for this subnet.- Specified by:
getCidrBlockin interfaceSubnetProps
-
getVpcId
Description copied from interface:SubnetPropsThe VPC which this subnet is part of.- Specified by:
getVpcIdin interfaceSubnetProps
-
getAssignIpv6AddressOnCreation
Description copied from interface:SubnetPropsIndicates whether a network interface created in this subnet receives an IPv6 address.If you specify AssignIpv6AddressOnCreation, you must also specify Ipv6CidrBlock.
Default: false
- Specified by:
getAssignIpv6AddressOnCreationin interfaceSubnetProps
-
getIpv6CidrBlock
Description copied from interface:SubnetPropsThe IPv6 CIDR block.If you specify AssignIpv6AddressOnCreation, you must also specify Ipv6CidrBlock.
Default: - no IPv6 CIDR block.
- Specified by:
getIpv6CidrBlockin interfaceSubnetProps
-
getMapPublicIpOnLaunch
Description copied from interface:SubnetPropsControls if a public IP is associated to an instance at launch.Default: true in Subnet.Public, false in Subnet.Private or Subnet.Isolated.
- Specified by:
getMapPublicIpOnLaunchin interfaceSubnetProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-