1. Packages
  2. AWS Native
  3. API Docs
  4. lightsail
  5. getStaticIp

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

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.lightsail.getStaticIp

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Resource Type definition for AWS::Lightsail::StaticIp

    Using getStaticIp

    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 getStaticIp(args: GetStaticIpArgs, opts?: InvokeOptions): Promise<GetStaticIpResult>
    function getStaticIpOutput(args: GetStaticIpOutputArgs, opts?: InvokeOptions): Output<GetStaticIpResult>
    def get_static_ip(static_ip_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetStaticIpResult
    def get_static_ip_output(static_ip_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetStaticIpResult]
    func LookupStaticIp(ctx *Context, args *LookupStaticIpArgs, opts ...InvokeOption) (*LookupStaticIpResult, error)
    func LookupStaticIpOutput(ctx *Context, args *LookupStaticIpOutputArgs, opts ...InvokeOption) LookupStaticIpResultOutput

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

    public static class GetStaticIp 
    {
        public static Task<GetStaticIpResult> InvokeAsync(GetStaticIpArgs args, InvokeOptions? opts = null)
        public static Output<GetStaticIpResult> Invoke(GetStaticIpInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStaticIpResult> getStaticIp(GetStaticIpArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:lightsail:getStaticIp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    StaticIpName string
    The name of the static IP address.
    StaticIpName string
    The name of the static IP address.
    staticIpName String
    The name of the static IP address.
    staticIpName string
    The name of the static IP address.
    static_ip_name str
    The name of the static IP address.
    staticIpName String
    The name of the static IP address.

    getStaticIp Result

    The following output properties are available:

    AttachedTo string
    The instance where the static IP is attached.
    IpAddress string
    The static IP address.
    IsAttached bool
    A Boolean value indicating whether the static IP is attached.
    StaticIpArn string
    AttachedTo string
    The instance where the static IP is attached.
    IpAddress string
    The static IP address.
    IsAttached bool
    A Boolean value indicating whether the static IP is attached.
    StaticIpArn string
    attachedTo String
    The instance where the static IP is attached.
    ipAddress String
    The static IP address.
    isAttached Boolean
    A Boolean value indicating whether the static IP is attached.
    staticIpArn String
    attachedTo string
    The instance where the static IP is attached.
    ipAddress string
    The static IP address.
    isAttached boolean
    A Boolean value indicating whether the static IP is attached.
    staticIpArn string
    attached_to str
    The instance where the static IP is attached.
    ip_address str
    The static IP address.
    is_attached bool
    A Boolean value indicating whether the static IP is attached.
    static_ip_arn str
    attachedTo String
    The instance where the static IP is attached.
    ipAddress String
    The static IP address.
    isAttached Boolean
    A Boolean value indicating whether the static IP is attached.
    staticIpArn String

    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.102.0 published on Tuesday, Apr 16, 2024 by Pulumi