aws-native logo
AWS Native v0.54.0, Mar 21 23

aws-native.ec2.getEIP

Resource Type definition for AWS::EC2::EIP

Using getEIP

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getEIP(args: GetEIPArgs, opts?: InvokeOptions): Promise<GetEIPResult>
function getEIPOutput(args: GetEIPOutputArgs, opts?: InvokeOptions): Output<GetEIPResult>
def get_eip(allocation_id: Optional[str] = None,
            public_ip: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> GetEIPResult
def get_eip_output(allocation_id: Optional[pulumi.Input[str]] = None,
            public_ip: Optional[pulumi.Input[str]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[GetEIPResult]
func LookupEIP(ctx *Context, args *LookupEIPArgs, opts ...InvokeOption) (*LookupEIPResult, error)
func LookupEIPOutput(ctx *Context, args *LookupEIPOutputArgs, opts ...InvokeOption) LookupEIPResultOutput

> Note: This function is named LookupEIP in the Go SDK.

public static class GetEIP 
{
    public static Task<GetEIPResult> InvokeAsync(GetEIPArgs args, InvokeOptions? opts = null)
    public static Output<GetEIPResult> Invoke(GetEIPInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEIPResult> getEIP(GetEIPArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:ec2:getEIP
  arguments:
    # arguments dictionary

The following arguments are supported:

AllocationId string

The Allocation ID of the EIP generated by resource.

PublicIp string

The PublicIP of the EIP generated by resource.

AllocationId string

The Allocation ID of the EIP generated by resource.

PublicIp string

The PublicIP of the EIP generated by resource.

allocationId String

The Allocation ID of the EIP generated by resource.

publicIp String

The PublicIP of the EIP generated by resource.

allocationId string

The Allocation ID of the EIP generated by resource.

publicIp string

The PublicIP of the EIP generated by resource.

allocation_id str

The Allocation ID of the EIP generated by resource.

public_ip str

The PublicIP of the EIP generated by resource.

allocationId String

The Allocation ID of the EIP generated by resource.

publicIp String

The PublicIP of the EIP generated by resource.

getEIP Result

The following output properties are available:

AllocationId string

The Allocation ID of the EIP generated by resource.

InstanceId string

The ID of the instance.

PublicIp string

The PublicIP of the EIP generated by resource.

PublicIpv4Pool string

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

Tags List<Pulumi.AwsNative.EC2.Outputs.EIPTag>

Any tags assigned to the EIP.

AllocationId string

The Allocation ID of the EIP generated by resource.

InstanceId string

The ID of the instance.

PublicIp string

The PublicIP of the EIP generated by resource.

PublicIpv4Pool string

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

Tags []EIPTag

Any tags assigned to the EIP.

allocationId String

The Allocation ID of the EIP generated by resource.

instanceId String

The ID of the instance.

publicIp String

The PublicIP of the EIP generated by resource.

publicIpv4Pool String

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

tags List<EIPTag>

Any tags assigned to the EIP.

allocationId string

The Allocation ID of the EIP generated by resource.

instanceId string

The ID of the instance.

publicIp string

The PublicIP of the EIP generated by resource.

publicIpv4Pool string

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

tags EIPTag[]

Any tags assigned to the EIP.

allocation_id str

The Allocation ID of the EIP generated by resource.

instance_id str

The ID of the instance.

public_ip str

The PublicIP of the EIP generated by resource.

public_ipv4_pool str

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

tags Sequence[EIPTag]

Any tags assigned to the EIP.

allocationId String

The Allocation ID of the EIP generated by resource.

instanceId String

The ID of the instance.

publicIp String

The PublicIP of the EIP generated by resource.

publicIpv4Pool String

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool.

tags List<Property Map>

Any tags assigned to the EIP.

Supporting Types

EIPTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0