1. Packages
  2. AWS Native
  3. API Docs
  4. ec2
  5. getEipAssociation

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.ec2.getEipAssociation

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    Resource schema for EC2 EIP association.

    Using getEipAssociation

    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 getEipAssociation(args: GetEipAssociationArgs, opts?: InvokeOptions): Promise<GetEipAssociationResult>
    function getEipAssociationOutput(args: GetEipAssociationOutputArgs, opts?: InvokeOptions): Output<GetEipAssociationResult>
    def get_eip_association(id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetEipAssociationResult
    def get_eip_association_output(id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetEipAssociationResult]
    func LookupEipAssociation(ctx *Context, args *LookupEipAssociationArgs, opts ...InvokeOption) (*LookupEipAssociationResult, error)
    func LookupEipAssociationOutput(ctx *Context, args *LookupEipAssociationOutputArgs, opts ...InvokeOption) LookupEipAssociationResultOutput

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

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

    The following arguments are supported:

    Id string
    Composite ID of non-empty properties, to determine the identification.
    Id string
    Composite ID of non-empty properties, to determine the identification.
    id String
    Composite ID of non-empty properties, to determine the identification.
    id string
    Composite ID of non-empty properties, to determine the identification.
    id str
    Composite ID of non-empty properties, to determine the identification.
    id String
    Composite ID of non-empty properties, to determine the identification.

    getEipAssociation Result

    The following output properties are available:

    Id string
    Composite ID of non-empty properties, to determine the identification.
    Id string
    Composite ID of non-empty properties, to determine the identification.
    id String
    Composite ID of non-empty properties, to determine the identification.
    id string
    Composite ID of non-empty properties, to determine the identification.
    id str
    Composite ID of non-empty properties, to determine the identification.
    id String
    Composite ID of non-empty properties, to determine the identification.

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi