Class CfnSubnetProps.Jsii$Proxy
- All Implemented Interfaces:
CfnSubnetProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnSubnetProps
CfnSubnetProps-
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.CfnSubnetProps
CfnSubnetProps.Builder, CfnSubnetProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnSubnetProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnSubnetProps.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 ObjectIndicates whether a network interface created in this subnet receives an IPv6 address.final StringThe Availability Zone of the subnet.final StringThe AZ ID of the subnet.final StringThe IPv4 CIDR block assigned to the subnet.final ObjectIndicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.final NumberIndicates the device position for local network interfaces in this subnet.final StringAn IPv4 IPAM pool ID for the subnet.final NumberAn IPv4 netmask length for the subnet.final StringThe IPv6 CIDR block.final StringAn IPv6 IPAM pool ID for the subnet.final ObjectIndicates whether this is an IPv6 only subnet.final NumberAn IPv6 netmask length for the subnet.final ObjectIndicates whether instances launched in this subnet receive a public IPv4 address.final StringThe Amazon Resource Name (ARN) of the Outpost.final ObjectThe hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries to the instances should be handled.getTags()Any tags assigned to the subnet.final ObjectgetVpcId()The ID of the VPC the subnet is in.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 theCfnSubnetProps.Builder.
-
-
Method Details
-
getVpcId
Description copied from interface:CfnSubnetPropsThe ID of the VPC the subnet is in.If you update this property, you must also update the
CidrBlockproperty.- Specified by:
getVpcIdin interfaceCfnSubnetProps- See Also:
-
getAssignIpv6AddressOnCreation
Description copied from interface:CfnSubnetPropsIndicates whether a network interface created in this subnet receives an IPv6 address. The default value isfalse.If you specify
AssignIpv6AddressOnCreation, you must also specify an IPv6 CIDR block.Returns union: either
BooleanorIResolvable- Specified by:
getAssignIpv6AddressOnCreationin interfaceCfnSubnetProps- See Also:
-
getAvailabilityZone
Description copied from interface:CfnSubnetPropsThe Availability Zone of the subnet.If you update this property, you must also update the
CidrBlockproperty.- Specified by:
getAvailabilityZonein interfaceCfnSubnetProps- See Also:
-
getAvailabilityZoneId
Description copied from interface:CfnSubnetPropsThe AZ ID of the subnet.- Specified by:
getAvailabilityZoneIdin interfaceCfnSubnetProps- See Also:
-
getCidrBlock
Description copied from interface:CfnSubnetPropsThe IPv4 CIDR block assigned to the subnet.If you update this property, we create a new subnet, and then delete the existing one.
- Specified by:
getCidrBlockin interfaceCfnSubnetProps- See Also:
-
getEnableDns64
Description copied from interface:CfnSubnetPropsIndicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.You must first configure a NAT gateway in a public subnet (separate from the subnet containing the IPv6-only workloads). For example, the subnet containing the NAT gateway should have a
0.0.0.0/0route pointing to the internet gateway. For more information, see Configure DNS64 and NAT64 in the Amazon Virtual Private Cloud User Guide .Returns union: either
BooleanorIResolvable- Specified by:
getEnableDns64in interfaceCfnSubnetProps- See Also:
-
getEnableLniAtDeviceIndex
Description copied from interface:CfnSubnetPropsIndicates the device position for local network interfaces in this subnet.For example,
1indicates local network interfaces in this subnet are the secondary network interface (eth1).- Specified by:
getEnableLniAtDeviceIndexin interfaceCfnSubnetProps- See Also:
-
getIpv4IpamPoolId
Description copied from interface:CfnSubnetPropsAn IPv4 IPAM pool ID for the subnet.- Specified by:
getIpv4IpamPoolIdin interfaceCfnSubnetProps- See Also:
-
getIpv4NetmaskLength
Description copied from interface:CfnSubnetPropsAn IPv4 netmask length for the subnet.- Specified by:
getIpv4NetmaskLengthin interfaceCfnSubnetProps- See Also:
-
getIpv6CidrBlock
Description copied from interface:CfnSubnetPropsThe IPv6 CIDR block.If you specify
AssignIpv6AddressOnCreation, you must also specify an IPv6 CIDR block.- Specified by:
getIpv6CidrBlockin interfaceCfnSubnetProps- See Also:
-
getIpv6IpamPoolId
Description copied from interface:CfnSubnetPropsAn IPv6 IPAM pool ID for the subnet.- Specified by:
getIpv6IpamPoolIdin interfaceCfnSubnetProps- See Also:
-
getIpv6Native
Description copied from interface:CfnSubnetPropsIndicates whether this is an IPv6 only subnet.For more information, see Subnet basics in the Amazon Virtual Private Cloud User Guide .
Returns union: either
BooleanorIResolvable- Specified by:
getIpv6Nativein interfaceCfnSubnetProps- See Also:
-
getIpv6NetmaskLength
Description copied from interface:CfnSubnetPropsAn IPv6 netmask length for the subnet.- Specified by:
getIpv6NetmaskLengthin interfaceCfnSubnetProps- See Also:
-
getMapPublicIpOnLaunch
Description copied from interface:CfnSubnetPropsIndicates whether instances launched in this subnet receive a public IPv4 address. The default value isfalse.AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the VPC pricing page .
Returns union: either
BooleanorIResolvable- Specified by:
getMapPublicIpOnLaunchin interfaceCfnSubnetProps- See Also:
-
getOutpostArn
Description copied from interface:CfnSubnetPropsThe Amazon Resource Name (ARN) of the Outpost.- Specified by:
getOutpostArnin interfaceCfnSubnetProps- See Also:
-
getPrivateDnsNameOptionsOnLaunch
Description copied from interface:CfnSubnetPropsThe hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries to the instances should be handled.For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide .
Available options:
- EnableResourceNameDnsAAAARecord (true | false)
- EnableResourceNameDnsARecord (true | false)
- HostnameType (ip-name | resource-name)
- Specified by:
getPrivateDnsNameOptionsOnLaunchin interfaceCfnSubnetProps- See Also:
-
getTags
Description copied from interface:CfnSubnetPropsAny tags assigned to the subnet.- Specified by:
getTagsin interfaceCfnSubnetProps- See Also:
-
$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()
-