Modifier and Type | Method and Description |
---|---|
CfnEIP |
build() |
static CfnEIP.Builder |
create(Construct scope,
String id) |
CfnEIP.Builder |
domain(String domain)
The network ( `vpc` ).
|
CfnEIP.Builder |
instanceId(String instanceId)
The ID of the instance.
|
CfnEIP.Builder |
networkBorderGroup(String networkBorderGroup)
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
|
CfnEIP.Builder |
publicIpv4Pool(String publicIpv4Pool)
The ID of an address pool that you own.
|
CfnEIP.Builder |
tags(List<? extends CfnTag> tags)
Any tags assigned to the Elastic IP address.
|
CfnEIP.Builder |
transferAddress(String transferAddress)
The Elastic IP address you are accepting for transfer.
|
@Stability(value=Stable) public static CfnEIP.Builder create(Construct scope, String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnEIP.Builder
.@Stability(value=Stable) public CfnEIP.Builder domain(String domain)
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.
domain
- The network ( `vpc` ). This parameter is required.this
@Stability(value=Stable) public CfnEIP.Builder instanceId(String instanceId)
Updates to the
InstanceId
property may require some interruptions . Updates on an EIP reassociates the address on its associated resource.
instanceId
- The ID of the instance. This parameter is required.this
@Stability(value=Stable) public CfnEIP.Builder networkBorderGroup(String networkBorderGroup)
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.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 Classic, you receive an InvalidParameterCombination
error.
networkBorderGroup
- A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses. This parameter is required.this
@Stability(value=Stable) public CfnEIP.Builder publicIpv4Pool(String publicIpv4Pool)
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.
publicIpv4Pool
- The ID of an address pool that you own. This parameter is required.this
@Stability(value=Stable) public CfnEIP.Builder tags(List<? extends CfnTag> tags)
Updates to the
Tags
property may require some interruptions . Updates on an EIP reassociates the address on its associated resource.
tags
- Any tags assigned to the Elastic IP address. This parameter is required.this
@Stability(value=Stable) public CfnEIP.Builder transferAddress(String transferAddress)
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 .
transferAddress
- The Elastic IP address you are accepting for transfer. This parameter is required.this
Copyright © 2023. All rights reserved.