| Modifier and Type | Method and Description |
|---|---|
CfnEIP |
build() |
static CfnEIP.Builder |
create(software.constructs.Construct scope,
String id) |
CfnEIP.Builder |
domain(String domain)
Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.
|
CfnEIP.Builder |
instanceId(String instanceId)
The ID of the instance.
|
CfnEIP.Builder |
networkBorderGroup(String networkBorderGroup)
`AWS::EC2::EIP.NetworkBorderGroup`.
|
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.
|
@Stability(value=Stable) public static CfnEIP.Builder create(software.constructs.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)
Default: If the Region supports EC2-Classic, the default is standard . Otherwise, the default is vpc .
Use when allocating an address for use with a VPC if the Region supports EC2-Classic.
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 - Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic. This parameter is required.this@Stability(value=Stable) public CfnEIP.Builder instanceId(String instanceId)
Updates to the
InstanceIdproperty 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)
networkBorderGroup - `AWS::EC2::EIP.NetworkBorderGroup`. 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
PublicIpv4Poolproperty 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
Tagsproperty 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.thisCopyright © 2022. All rights reserved.