We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
aws-native.lightsail.getInstanceSnapshot
Start a Neo task
Explain and create an aws-native.lightsail.getInstanceSnapshot resource
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
Resource Type definition for AWS::Lightsail::InstanceSnapshot
Using getInstanceSnapshot
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 getInstanceSnapshot(args: GetInstanceSnapshotArgs, opts?: InvokeOptions): Promise<GetInstanceSnapshotResult>
function getInstanceSnapshotOutput(args: GetInstanceSnapshotOutputArgs, opts?: InvokeOptions): Output<GetInstanceSnapshotResult>def get_instance_snapshot(instance_snapshot_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceSnapshotResult
def get_instance_snapshot_output(instance_snapshot_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceSnapshotResult]func LookupInstanceSnapshot(ctx *Context, args *LookupInstanceSnapshotArgs, opts ...InvokeOption) (*LookupInstanceSnapshotResult, error)
func LookupInstanceSnapshotOutput(ctx *Context, args *LookupInstanceSnapshotOutputArgs, opts ...InvokeOption) LookupInstanceSnapshotResultOutput> Note: This function is named LookupInstanceSnapshot in the Go SDK.
public static class GetInstanceSnapshot
{
public static Task<GetInstanceSnapshotResult> InvokeAsync(GetInstanceSnapshotArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceSnapshotResult> Invoke(GetInstanceSnapshotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceSnapshotResult> getInstanceSnapshot(GetInstanceSnapshotArgs args, InvokeOptions options)
public static Output<GetInstanceSnapshotResult> getInstanceSnapshot(GetInstanceSnapshotArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:lightsail:getInstanceSnapshot
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Snapshot stringName - The name of the snapshot.
- Instance
Snapshot stringName - The name of the snapshot.
- instance
Snapshot StringName - The name of the snapshot.
- instance
Snapshot stringName - The name of the snapshot.
- instance_
snapshot_ strname - The name of the snapshot.
- instance
Snapshot StringName - The name of the snapshot.
getInstanceSnapshot Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the snapshot.
- From
Instance stringArn - The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
- From
Instance stringName - The instance from which the snapshot was created.
- Is
From boolAuto Snapshot - A Boolean value indicating whether the snapshot was created from an automatic snapshot.
- Location
Pulumi.
Aws Native. Lightsail. Outputs. Instance Snapshot Location - Resource
Type string - The type of resource (usually InstanceSnapshot).
- Size
In intGb - The size in GB of the SSD
- State string
- The state the snapshot is in.
- Support
Code string - Support code to help identify any issues
-
List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Arn string
- The Amazon Resource Name (ARN) of the snapshot.
- From
Instance stringArn - The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
- From
Instance stringName - The instance from which the snapshot was created.
- Is
From boolAuto Snapshot - A Boolean value indicating whether the snapshot was created from an automatic snapshot.
- Location
Instance
Snapshot Location - Resource
Type string - The type of resource (usually InstanceSnapshot).
- Size
In intGb - The size in GB of the SSD
- State string
- The state the snapshot is in.
- Support
Code string - Support code to help identify any issues
- Tag
- An array of key-value pairs to apply to this resource.
- arn String
- The Amazon Resource Name (ARN) of the snapshot.
- from
Instance StringArn - The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
- from
Instance StringName - The instance from which the snapshot was created.
- is
From BooleanAuto Snapshot - A Boolean value indicating whether the snapshot was created from an automatic snapshot.
- location
Instance
Snapshot Location - resource
Type String - The type of resource (usually InstanceSnapshot).
- size
In IntegerGb - The size in GB of the SSD
- state String
- The state the snapshot is in.
- support
Code String - Support code to help identify any issues
- List<Tag>
- An array of key-value pairs to apply to this resource.
- arn string
- The Amazon Resource Name (ARN) of the snapshot.
- from
Instance stringArn - The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
- from
Instance stringName - The instance from which the snapshot was created.
- is
From booleanAuto Snapshot - A Boolean value indicating whether the snapshot was created from an automatic snapshot.
- location
Instance
Snapshot Location - resource
Type string - The type of resource (usually InstanceSnapshot).
- size
In numberGb - The size in GB of the SSD
- state string
- The state the snapshot is in.
- support
Code string - Support code to help identify any issues
- Tag[]
- An array of key-value pairs to apply to this resource.
- arn str
- The Amazon Resource Name (ARN) of the snapshot.
- from_
instance_ strarn - The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
- from_
instance_ strname - The instance from which the snapshot was created.
- is_
from_ boolauto_ snapshot - A Boolean value indicating whether the snapshot was created from an automatic snapshot.
- location
Instance
Snapshot Location - resource_
type str - The type of resource (usually InstanceSnapshot).
- size_
in_ intgb - The size in GB of the SSD
- state str
- The state the snapshot is in.
- support_
code str - Support code to help identify any issues
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- arn String
- The Amazon Resource Name (ARN) of the snapshot.
- from
Instance StringArn - The Amazon Resource Name (ARN) of the instance from which the snapshot was created.
- from
Instance StringName - The instance from which the snapshot was created.
- is
From BooleanAuto Snapshot - A Boolean value indicating whether the snapshot was created from an automatic snapshot.
- location Property Map
- resource
Type String - The type of resource (usually InstanceSnapshot).
- size
In NumberGb - The size in GB of the SSD
- state String
- The state the snapshot is in.
- support
Code String - Support code to help identify any issues
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
InstanceSnapshotLocation
- Availability
Zone string - The Availability Zone. Follows the format us-east-2a (case-sensitive).
- Region
Name string - The AWS Region name.
- Availability
Zone string - The Availability Zone. Follows the format us-east-2a (case-sensitive).
- Region
Name string - The AWS Region name.
- availability
Zone String - The Availability Zone. Follows the format us-east-2a (case-sensitive).
- region
Name String - The AWS Region name.
- availability
Zone string - The Availability Zone. Follows the format us-east-2a (case-sensitive).
- region
Name string - The AWS Region name.
- availability_
zone str - The Availability Zone. Follows the format us-east-2a (case-sensitive).
- region_
name str - The AWS Region name.
- availability
Zone String - The Availability Zone. Follows the format us-east-2a (case-sensitive).
- region
Name String - The AWS Region name.
Tag
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.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
