We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.lightsail.getStaticIp
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 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:
- Static
Ip stringName - The name of the static IP address.
- Static
Ip stringName - The name of the static IP address.
- static
Ip StringName - The name of the static IP address.
- static
Ip stringName - The name of the static IP address.
- static_
ip_ strname - The name of the static IP address.
- static
Ip StringName - The name of the static IP address.
getStaticIp Result
The following output properties are available:
- Attached
To string - The instance where the static IP is attached.
- Ip
Address string - The static IP address.
- Is
Attached bool - A Boolean value indicating whether the static IP is attached.
- Static
Ip 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 string - The instance where the static IP is attached.
- Ip
Address string - The static IP address.
- Is
Attached bool - A Boolean value indicating whether the static IP is attached.
- Static
Ip 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 String - The instance where the static IP is attached.
- ip
Address String - The static IP address.
- is
Attached Boolean - A Boolean value indicating whether the static IP is attached.
- static
Ip 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 string - The instance where the static IP is attached.
- ip
Address string - The static IP address.
- is
Attached boolean - A Boolean value indicating whether the static IP is attached.
- static
Ip 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
).
- attached
To String - The instance where the static IP is attached.
- ip
Address String - The static IP address.
- is
Attached Boolean - A Boolean value indicating whether the static IP is attached.
- static
Ip 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.9.0 published on Monday, Nov 18, 2024 by Pulumi