getEip

suspend fun getEip(argument: GetEipPlainArgs): GetEipResult

Specifies an Elastic IP (EIP) address and can, optionally, associate it with an Amazon EC2 instance. You can allocate an Elastic IP address from an address pool owned by AWS or from an address pool created from a public IPv4 address range that you have brought to AWS for use with your AWS resources using bring your own IP addresses (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) in the Amazon EC2 User Guide. For more information, see Elastic IP Addresses in the Amazon EC2 User Guide.

Return

null

Parameters

argument

null


suspend fun getEip(allocationId: String, publicIp: String): GetEipResult

Return

null

Parameters

allocationId

The ID that AWS assigns to represent the allocation of the address for use with Amazon VPC. This is returned only for VPC elastic IP addresses. For example, eipalloc-5723d13e .

publicIp

The Elastic IP address.

See also


suspend fun getEip(argument: suspend GetEipPlainArgsBuilder.() -> Unit): GetEipResult

Return

null

Parameters

argument

Builder for com.pulumi.awsnative.ec2.kotlin.inputs.GetEipPlainArgs.

See also