We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.53.0 published on Monday, Feb 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.53.0 published on Monday, Feb 9, 2026 by Pulumi
Resource Type definition for AWS::Lightsail::DatabaseSnapshot
Using getDatabaseSnapshot
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 getDatabaseSnapshot(args: GetDatabaseSnapshotArgs, opts?: InvokeOptions): Promise<GetDatabaseSnapshotResult>
function getDatabaseSnapshotOutput(args: GetDatabaseSnapshotOutputArgs, opts?: InvokeOptions): Output<GetDatabaseSnapshotResult>def get_database_snapshot(relational_database_snapshot_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseSnapshotResult
def get_database_snapshot_output(relational_database_snapshot_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseSnapshotResult]func LookupDatabaseSnapshot(ctx *Context, args *LookupDatabaseSnapshotArgs, opts ...InvokeOption) (*LookupDatabaseSnapshotResult, error)
func LookupDatabaseSnapshotOutput(ctx *Context, args *LookupDatabaseSnapshotOutputArgs, opts ...InvokeOption) LookupDatabaseSnapshotResultOutput> Note: This function is named LookupDatabaseSnapshot in the Go SDK.
public static class GetDatabaseSnapshot
{
public static Task<GetDatabaseSnapshotResult> InvokeAsync(GetDatabaseSnapshotArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseSnapshotResult> Invoke(GetDatabaseSnapshotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseSnapshotResult> getDatabaseSnapshot(GetDatabaseSnapshotArgs args, InvokeOptions options)
public static Output<GetDatabaseSnapshotResult> getDatabaseSnapshot(GetDatabaseSnapshotArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:lightsail:getDatabaseSnapshot
arguments:
# arguments dictionaryThe following arguments are supported:
- Relational
Database stringSnapshot Name - The name for your new database snapshot.
- Relational
Database stringSnapshot Name - The name for your new database snapshot.
- relational
Database StringSnapshot Name - The name for your new database snapshot.
- relational
Database stringSnapshot Name - The name for your new database snapshot.
- relational_
database_ strsnapshot_ name - The name for your new database snapshot.
- relational
Database StringSnapshot Name - The name for your new database snapshot.
getDatabaseSnapshot Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the database snapshot.
- Created
At string - The timestamp when the database snapshot was created.
- Engine string
- The software of the database snapshot (for example, MySQL).
- Engine
Version string - The database engine version for the database snapshot (for example, 5.7.23).
- From
Relational stringDatabase Arn - The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
- From
Relational stringDatabase Blueprint Id - The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
- From
Relational stringDatabase Bundle Id - The bundle ID of the database from which the database snapshot was created.
- From
Relational stringDatabase Name - The name of the source database from which the database snapshot was created.
- Location
Pulumi.
Aws Native. Lightsail. Outputs. Location Properties - The Region name and Availability Zone where the database snapshot is located.
- Name string
- The name of the database snapshot.
- Resource
Type Pulumi.Aws Native. Lightsail. Database Snapshot Resource Type - The Lightsail resource type.
- Size
In intGb - The size of the disk in GB (for example, 32) for the database snapshot.
- State string
- The state of the database snapshot.
- Support
Code string - The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
-
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 database snapshot.
- Created
At string - The timestamp when the database snapshot was created.
- Engine string
- The software of the database snapshot (for example, MySQL).
- Engine
Version string - The database engine version for the database snapshot (for example, 5.7.23).
- From
Relational stringDatabase Arn - The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
- From
Relational stringDatabase Blueprint Id - The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
- From
Relational stringDatabase Bundle Id - The bundle ID of the database from which the database snapshot was created.
- From
Relational stringDatabase Name - The name of the source database from which the database snapshot was created.
- Location
Location
Properties - The Region name and Availability Zone where the database snapshot is located.
- Name string
- The name of the database snapshot.
- Resource
Type DatabaseSnapshot Resource Type - The Lightsail resource type.
- Size
In intGb - The size of the disk in GB (for example, 32) for the database snapshot.
- State string
- The state of the database snapshot.
- Support
Code string - The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
- Tag
- An array of key-value pairs to apply to this resource.
- arn String
- The Amazon Resource Name (ARN) of the database snapshot.
- created
At String - The timestamp when the database snapshot was created.
- engine String
- The software of the database snapshot (for example, MySQL).
- engine
Version String - The database engine version for the database snapshot (for example, 5.7.23).
- from
Relational StringDatabase Arn - The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
- from
Relational StringDatabase Blueprint Id - The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
- from
Relational StringDatabase Bundle Id - The bundle ID of the database from which the database snapshot was created.
- from
Relational StringDatabase Name - The name of the source database from which the database snapshot was created.
- location
Location
Properties - The Region name and Availability Zone where the database snapshot is located.
- name String
- The name of the database snapshot.
- resource
Type DatabaseSnapshot Resource Type - The Lightsail resource type.
- size
In IntegerGb - The size of the disk in GB (for example, 32) for the database snapshot.
- state String
- The state of the database snapshot.
- support
Code String - The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- arn string
- The Amazon Resource Name (ARN) of the database snapshot.
- created
At string - The timestamp when the database snapshot was created.
- engine string
- The software of the database snapshot (for example, MySQL).
- engine
Version string - The database engine version for the database snapshot (for example, 5.7.23).
- from
Relational stringDatabase Arn - The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
- from
Relational stringDatabase Blueprint Id - The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
- from
Relational stringDatabase Bundle Id - The bundle ID of the database from which the database snapshot was created.
- from
Relational stringDatabase Name - The name of the source database from which the database snapshot was created.
- location
Location
Properties - The Region name and Availability Zone where the database snapshot is located.
- name string
- The name of the database snapshot.
- resource
Type DatabaseSnapshot Resource Type - The Lightsail resource type.
- size
In numberGb - The size of the disk in GB (for example, 32) for the database snapshot.
- state string
- The state of the database snapshot.
- support
Code string - The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
- Tag[]
- An array of key-value pairs to apply to this resource.
- arn str
- The Amazon Resource Name (ARN) of the database snapshot.
- created_
at str - The timestamp when the database snapshot was created.
- engine str
- The software of the database snapshot (for example, MySQL).
- engine_
version str - The database engine version for the database snapshot (for example, 5.7.23).
- from_
relational_ strdatabase_ arn - The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
- from_
relational_ strdatabase_ blueprint_ id - The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
- from_
relational_ strdatabase_ bundle_ id - The bundle ID of the database from which the database snapshot was created.
- from_
relational_ strdatabase_ name - The name of the source database from which the database snapshot was created.
- location
Location
Properties - The Region name and Availability Zone where the database snapshot is located.
- name str
- The name of the database snapshot.
- resource_
type DatabaseSnapshot Resource Type - The Lightsail resource type.
- size_
in_ intgb - The size of the disk in GB (for example, 32) for the database snapshot.
- state str
- The state of the database snapshot.
- support_
code str - The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- arn String
- The Amazon Resource Name (ARN) of the database snapshot.
- created
At String - The timestamp when the database snapshot was created.
- engine String
- The software of the database snapshot (for example, MySQL).
- engine
Version String - The database engine version for the database snapshot (for example, 5.7.23).
- from
Relational StringDatabase Arn - The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
- from
Relational StringDatabase Blueprint Id - The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
- from
Relational StringDatabase Bundle Id - The bundle ID of the database from which the database snapshot was created.
- from
Relational StringDatabase Name - The name of the source database from which the database snapshot was created.
- location Property Map
- The Region name and Availability Zone where the database snapshot is located.
- name String
- The name of the database snapshot.
- resource
Type "RelationalDatabase Snapshot" - The Lightsail resource type.
- size
In NumberGb - The size of the disk in GB (for example, 32) for the database snapshot.
- state String
- The state of the database snapshot.
- support
Code String - The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
DatabaseSnapshotResourceType
LocationProperties
- Availability
Zone string - The Availability Zone where the disk snapshot was created.
- Region
Name string - The AWS Region where the disk snapshot was created.
- Availability
Zone string - The Availability Zone where the disk snapshot was created.
- Region
Name string - The AWS Region where the disk snapshot was created.
- availability
Zone String - The Availability Zone where the disk snapshot was created.
- region
Name String - The AWS Region where the disk snapshot was created.
- availability
Zone string - The Availability Zone where the disk snapshot was created.
- region
Name string - The AWS Region where the disk snapshot was created.
- availability_
zone str - The Availability Zone where the disk snapshot was created.
- region_
name str - The AWS Region where the disk snapshot was created.
- availability
Zone String - The Availability Zone where the disk snapshot was created.
- region
Name String - The AWS Region where the disk snapshot was created.
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.53.0 published on Monday, Feb 9, 2026 by Pulumi
