Class CfnEIP.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEIP>
- Enclosing class:
CfnEIP
CfnEIP
.-
Method Summary
Modifier and TypeMethodDescriptionAn Elastic IP address or a carrier IP address in a Wavelength Zone.build()
static CfnEIP.Builder
The network (vpc
).instanceId
(String instanceId) The ID of the instance.ipamPoolId
(String ipamPoolId) The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it.networkBorderGroup
(String networkBorderGroup) A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.publicIpv4Pool
(String publicIpv4Pool) The ID of an address pool that you own.Any tags assigned to the Elastic IP address.transferAddress
(String transferAddress) The Elastic IP address you are accepting for transfer.
-
Method Details
-
create
@Stability(Stable) public static CfnEIP.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnEIP.Builder
.
-
address
An Elastic IP address or a carrier IP address in a Wavelength Zone.- Parameters:
address
- An Elastic IP address or a carrier IP address in a Wavelength Zone. This parameter is required.- Returns:
this
- See Also:
-
domain
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.
- Parameters:
domain
- The network (vpc
). This parameter is required.- Returns:
this
- See Also:
-
instanceId
The ID of the instance.Updates to the
InstanceId
property may require some interruptions . Updates on an EIP reassociates the address on its associated resource.- Parameters:
instanceId
- The ID of the instance. This parameter is required.- Returns:
this
- See Also:
-
ipamPoolId
The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it.For more information, see Allocate sequential Elastic IP addresses from an IPAM pool in the Amazon VPC IPAM User Guide .
- Parameters:
ipamPoolId
- The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. This parameter is required.- Returns:
this
- See Also:
-
networkBorderGroup
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.
- Parameters:
networkBorderGroup
- A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses. This parameter is required.- Returns:
this
- See Also:
-
publicIpv4Pool
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
PublicIpv4Pool
property may require some interruptions . Updates on an EIP reassociates the address on its associated resource.- Parameters:
publicIpv4Pool
- The ID of an address pool that you own. This parameter is required.- Returns:
this
- See Also:
-
tags
Any tags assigned to the Elastic IP address.Updates to the
Tags
property may require some interruptions . Updates on an EIP reassociates the address on its associated resource.- Parameters:
tags
- Any tags assigned to the Elastic IP address. This parameter is required.- Returns:
this
- See Also:
-
transferAddress
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 .
- Parameters:
transferAddress
- The Elastic IP address you are accepting for transfer. This parameter is required.- Returns:
this
- See Also:
-
build
-