We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.lightsail.getStaticIp
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 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)
public static Output<GetStaticIpResult> getStaticIp(GetStaticIpArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:lightsail:getStaticIp
  arguments:
    # arguments dictionaryThe following arguments are supported:
- StaticIp stringName 
- The name of the static IP address.
- StaticIp stringName 
- The name of the static IP address.
- staticIp StringName 
- The name of the static IP address.
- staticIp stringName 
- The name of the static IP address.
- static_ip_ strname 
- The name of the static IP address.
- staticIp StringName 
- 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.
- StaticIp stringArn 
- The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE).
- 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.
- StaticIp stringArn 
- The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE).
- 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.
- staticIp StringArn 
- The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE).
- 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.
- staticIp stringArn 
- The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE).
- 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_ strarn 
- The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE).
- 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.
- staticIp StringArn 
- The Amazon Resource Name (ARN) of the static IP (for example, arn:aws:lightsail:us-east-2:123456789101:StaticIp/244ad76f-8aad-4741-809f-12345EXAMPLE).
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
