Interface CfnEIPProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEIPProps.Jsii$Proxy
CfnEIP.
Example:
Instance instance;
HostedZone myZone;
CfnEIP elasticIp = CfnEIP.Builder.create(this, "EIP")
.domain("vpc")
.instanceId(instance.getInstanceId())
.build();
ARecord.Builder.create(this, "ARecord")
.zone(myZone)
.target(RecordTarget.fromIpAddresses(elasticIp.getRef()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEIPPropsstatic final classAn implementation forCfnEIPProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnEIPProps.Builderbuilder()default StringDescribes an Elastic IP address, or a carrier IP address.default StringThe network (vpc).default StringThe ID of the instance.default Stringdefault StringA unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.default StringThe ID of an address pool that you own.getTags()Any tags assigned to the Elastic IP address.default StringThe Elastic IP address you are accepting for transfer.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddress
Describes an Elastic IP address, or a carrier IP address.- See Also:
-
getDomain
The network (vpc).If you define an Elastic IP address and associate it with a VPC that is defined in the same template, you must declare a dependency on the VPC-gateway attachment by using the DependsOn Attribute on this resource.
- See Also:
-
getInstanceId
The ID of the instance.Updates to the
InstanceIdproperty may require some interruptions . Updates on an EIP reassociates the address on its associated resource.- See Also:
-
getIpamPoolId
- See Also:
-
getNetworkBorderGroup
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
Use DescribeAvailabilityZones to view the network border groups.
- See Also:
-
getPublicIpv4Pool
The ID of an address pool that you own.Use this parameter to let Amazon EC2 select an address from the address pool.
Updates to the
PublicIpv4Poolproperty may require some interruptions . Updates on an EIP reassociates the address on its associated resource.- See Also:
-
getTags
Any tags assigned to the Elastic IP address.Updates to the
Tagsproperty may require some interruptions . Updates on an EIP reassociates the address on its associated resource.- See Also:
-
getTransferAddress
The Elastic IP address you are accepting for transfer.You can only accept one transferred address. For more information on Elastic IP address transfers, see Transfer Elastic IP addresses in the Amazon Virtual Private Cloud User Guide .
- See Also:
-
builder
- Returns:
- a
CfnEIPProps.BuilderofCfnEIPProps
-