We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
Creates a snapshot of a DB instance.
Using getDbSnapshot
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 getDbSnapshot(args: GetDbSnapshotArgs, opts?: InvokeOptions): Promise<GetDbSnapshotResult>
function getDbSnapshotOutput(args: GetDbSnapshotOutputArgs, opts?: InvokeOutputOptions): Output<GetDbSnapshotResult>def get_db_snapshot(db_snapshot_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbSnapshotResult
def get_db_snapshot_output(db_snapshot_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDbSnapshotResult]func LookupDbSnapshot(ctx *Context, args *LookupDbSnapshotArgs, opts ...InvokeOption) (*LookupDbSnapshotResult, error)
func LookupDbSnapshotOutput(ctx *Context, args *LookupDbSnapshotOutputArgs, opts ...InvokeOption) LookupDbSnapshotResultOutput> Note: This function is named LookupDbSnapshot in the Go SDK.
public static class GetDbSnapshot
{
public static Task<GetDbSnapshotResult> InvokeAsync(GetDbSnapshotArgs args, InvokeOptions? opts = null)
public static Output<GetDbSnapshotResult> Invoke(GetDbSnapshotInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDbSnapshotResult> Invoke(GetDbSnapshotInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDbSnapshotResult> getDbSnapshot(GetDbSnapshotArgs args, InvokeOptions options)
public static Output<GetDbSnapshotResult> getDbSnapshot(GetDbSnapshotArgs args, InvokeOptions options)
public static Output<GetDbSnapshotResult> getDbSnapshot(GetDbSnapshotArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:rds:getDbSnapshot
arguments:
# arguments dictionarydata "aws-native_rds_get_db_snapshot" "name" {
# arguments
}The following arguments are supported:
- Db
Snapshot stringArn - The Amazon Resource Name (ARN) for the DB snapshot.
- Db
Snapshot stringArn - The Amazon Resource Name (ARN) for the DB snapshot.
- db_
snapshot_ stringarn - The Amazon Resource Name (ARN) for the DB snapshot.
- db
Snapshot StringArn - The Amazon Resource Name (ARN) for the DB snapshot.
- db
Snapshot stringArn - The Amazon Resource Name (ARN) for the DB snapshot.
- db_
snapshot_ strarn - The Amazon Resource Name (ARN) for the DB snapshot.
- db
Snapshot StringArn - The Amazon Resource Name (ARN) for the DB snapshot.
getDbSnapshot Result
The following output properties are available:
- Allocated
Storage int - The allocated storage size in gibibytes (GiB).
- Availability
Zone string - The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- Db
Snapshot stringArn - The Amazon Resource Name (ARN) for the DB snapshot.
- Dbi
Resource stringId - The identifier for the source DB instance, which is unique to an AWS Region.
- Encrypted bool
- Indicates whether the DB snapshot is encrypted.
- Engine string
- The name of the database engine.
- Engine
Version string - The version of the database engine.
- Iam
Database boolAuthentication Enabled - Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
- Instance
Create stringTime - The time when the DB instance was created, in UTC.
- Iops int
- The Provisioned IOPS value of the DB instance at the time of the snapshot.
- Kms
Key stringId - If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
- License
Model string - License model information for the restored DB instance.
- Master
Username string - The master username for the DB snapshot.
- Option
Group stringName - The option group name for the DB snapshot.
- Original
Snapshot stringCreate Time - The time of the CreateDBSnapshot operation in UTC. Doesn't change when the snapshot is copied.
- Port int
- The port that the database engine was listening on at the time of the snapshot.
- Snapshot
Create stringTime - The time when the snapshot was taken, in UTC.
- Snapshot
Type string - The type of the DB snapshot.
- Status string
- The status of this DB snapshot.
- Storage
Throughput int - The storage throughput for the DB snapshot.
- Storage
Type string - The storage type associated with the DB snapshot.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags to be assigned to the DB snapshot.
- Vpc
Id string - The VPC ID associated with the DB snapshot.
- Allocated
Storage int - The allocated storage size in gibibytes (GiB).
- Availability
Zone string - The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- Db
Snapshot stringArn - The Amazon Resource Name (ARN) for the DB snapshot.
- Dbi
Resource stringId - The identifier for the source DB instance, which is unique to an AWS Region.
- Encrypted bool
- Indicates whether the DB snapshot is encrypted.
- Engine string
- The name of the database engine.
- Engine
Version string - The version of the database engine.
- Iam
Database boolAuthentication Enabled - Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
- Instance
Create stringTime - The time when the DB instance was created, in UTC.
- Iops int
- The Provisioned IOPS value of the DB instance at the time of the snapshot.
- Kms
Key stringId - If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
- License
Model string - License model information for the restored DB instance.
- Master
Username string - The master username for the DB snapshot.
- Option
Group stringName - The option group name for the DB snapshot.
- Original
Snapshot stringCreate Time - The time of the CreateDBSnapshot operation in UTC. Doesn't change when the snapshot is copied.
- Port int
- The port that the database engine was listening on at the time of the snapshot.
- Snapshot
Create stringTime - The time when the snapshot was taken, in UTC.
- Snapshot
Type string - The type of the DB snapshot.
- Status string
- The status of this DB snapshot.
- Storage
Throughput int - The storage throughput for the DB snapshot.
- Storage
Type string - The storage type associated with the DB snapshot.
- Tag
- The tags to be assigned to the DB snapshot.
- Vpc
Id string - The VPC ID associated with the DB snapshot.
- allocated_
storage number - The allocated storage size in gibibytes (GiB).
- availability_
zone string - The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db_
snapshot_ stringarn - The Amazon Resource Name (ARN) for the DB snapshot.
- dbi_
resource_ stringid - The identifier for the source DB instance, which is unique to an AWS Region.
- encrypted bool
- Indicates whether the DB snapshot is encrypted.
- engine string
- The name of the database engine.
- engine_
version string - The version of the database engine.
- iam_
database_ boolauthentication_ enabled - Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
- instance_
create_ stringtime - The time when the DB instance was created, in UTC.
- iops number
- The Provisioned IOPS value of the DB instance at the time of the snapshot.
- kms_
key_ stringid - If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
- license_
model string - License model information for the restored DB instance.
- master_
username string - The master username for the DB snapshot.
- option_
group_ stringname - The option group name for the DB snapshot.
- original_
snapshot_ stringcreate_ time - The time of the CreateDBSnapshot operation in UTC. Doesn't change when the snapshot is copied.
- port number
- The port that the database engine was listening on at the time of the snapshot.
- snapshot_
create_ stringtime - The time when the snapshot was taken, in UTC.
- snapshot_
type string - The type of the DB snapshot.
- status string
- The status of this DB snapshot.
- storage_
throughput number - The storage throughput for the DB snapshot.
- storage_
type string - The storage type associated with the DB snapshot.
- list(object)
- The tags to be assigned to the DB snapshot.
- vpc_
id string - The VPC ID associated with the DB snapshot.
- allocated
Storage Integer - The allocated storage size in gibibytes (GiB).
- availability
Zone String - The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db
Snapshot StringArn - The Amazon Resource Name (ARN) for the DB snapshot.
- dbi
Resource StringId - The identifier for the source DB instance, which is unique to an AWS Region.
- encrypted Boolean
- Indicates whether the DB snapshot is encrypted.
- engine String
- The name of the database engine.
- engine
Version String - The version of the database engine.
- iam
Database BooleanAuthentication Enabled - Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
- instance
Create StringTime - The time when the DB instance was created, in UTC.
- iops Integer
- The Provisioned IOPS value of the DB instance at the time of the snapshot.
- kms
Key StringId - If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
- license
Model String - License model information for the restored DB instance.
- master
Username String - The master username for the DB snapshot.
- option
Group StringName - The option group name for the DB snapshot.
- original
Snapshot StringCreate Time - The time of the CreateDBSnapshot operation in UTC. Doesn't change when the snapshot is copied.
- port Integer
- The port that the database engine was listening on at the time of the snapshot.
- snapshot
Create StringTime - The time when the snapshot was taken, in UTC.
- snapshot
Type String - The type of the DB snapshot.
- status String
- The status of this DB snapshot.
- storage
Throughput Integer - The storage throughput for the DB snapshot.
- storage
Type String - The storage type associated with the DB snapshot.
- List<Tag>
- The tags to be assigned to the DB snapshot.
- vpc
Id String - The VPC ID associated with the DB snapshot.
- allocated
Storage number - The allocated storage size in gibibytes (GiB).
- availability
Zone string - The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db
Snapshot stringArn - The Amazon Resource Name (ARN) for the DB snapshot.
- dbi
Resource stringId - The identifier for the source DB instance, which is unique to an AWS Region.
- encrypted boolean
- Indicates whether the DB snapshot is encrypted.
- engine string
- The name of the database engine.
- engine
Version string - The version of the database engine.
- iam
Database booleanAuthentication Enabled - Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
- instance
Create stringTime - The time when the DB instance was created, in UTC.
- iops number
- The Provisioned IOPS value of the DB instance at the time of the snapshot.
- kms
Key stringId - If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
- license
Model string - License model information for the restored DB instance.
- master
Username string - The master username for the DB snapshot.
- option
Group stringName - The option group name for the DB snapshot.
- original
Snapshot stringCreate Time - The time of the CreateDBSnapshot operation in UTC. Doesn't change when the snapshot is copied.
- port number
- The port that the database engine was listening on at the time of the snapshot.
- snapshot
Create stringTime - The time when the snapshot was taken, in UTC.
- snapshot
Type string - The type of the DB snapshot.
- status string
- The status of this DB snapshot.
- storage
Throughput number - The storage throughput for the DB snapshot.
- storage
Type string - The storage type associated with the DB snapshot.
- Tag[]
- The tags to be assigned to the DB snapshot.
- vpc
Id string - The VPC ID associated with the DB snapshot.
- allocated_
storage int - The allocated storage size in gibibytes (GiB).
- availability_
zone str - The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db_
snapshot_ strarn - The Amazon Resource Name (ARN) for the DB snapshot.
- dbi_
resource_ strid - The identifier for the source DB instance, which is unique to an AWS Region.
- encrypted bool
- Indicates whether the DB snapshot is encrypted.
- engine str
- The name of the database engine.
- engine_
version str - The version of the database engine.
- iam_
database_ boolauthentication_ enabled - Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
- instance_
create_ strtime - The time when the DB instance was created, in UTC.
- iops int
- The Provisioned IOPS value of the DB instance at the time of the snapshot.
- kms_
key_ strid - If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
- license_
model str - License model information for the restored DB instance.
- master_
username str - The master username for the DB snapshot.
- option_
group_ strname - The option group name for the DB snapshot.
- original_
snapshot_ strcreate_ time - The time of the CreateDBSnapshot operation in UTC. Doesn't change when the snapshot is copied.
- port int
- The port that the database engine was listening on at the time of the snapshot.
- snapshot_
create_ strtime - The time when the snapshot was taken, in UTC.
- snapshot_
type str - The type of the DB snapshot.
- status str
- The status of this DB snapshot.
- storage_
throughput int - The storage throughput for the DB snapshot.
- storage_
type str - The storage type associated with the DB snapshot.
- Sequence[root_Tag]
- The tags to be assigned to the DB snapshot.
- vpc_
id str - The VPC ID associated with the DB snapshot.
- allocated
Storage Number - The allocated storage size in gibibytes (GiB).
- availability
Zone String - The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db
Snapshot StringArn - The Amazon Resource Name (ARN) for the DB snapshot.
- dbi
Resource StringId - The identifier for the source DB instance, which is unique to an AWS Region.
- encrypted Boolean
- Indicates whether the DB snapshot is encrypted.
- engine String
- The name of the database engine.
- engine
Version String - The version of the database engine.
- iam
Database BooleanAuthentication Enabled - Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
- instance
Create StringTime - The time when the DB instance was created, in UTC.
- iops Number
- The Provisioned IOPS value of the DB instance at the time of the snapshot.
- kms
Key StringId - If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
- license
Model String - License model information for the restored DB instance.
- master
Username String - The master username for the DB snapshot.
- option
Group StringName - The option group name for the DB snapshot.
- original
Snapshot StringCreate Time - The time of the CreateDBSnapshot operation in UTC. Doesn't change when the snapshot is copied.
- port Number
- The port that the database engine was listening on at the time of the snapshot.
- snapshot
Create StringTime - The time when the snapshot was taken, in UTC.
- snapshot
Type String - The type of the DB snapshot.
- status String
- The status of this DB snapshot.
- storage
Throughput Number - The storage throughput for the DB snapshot.
- storage
Type String - The storage type associated with the DB snapshot.
- List<Property Map>
- The tags to be assigned to the DB snapshot.
- vpc
Id String - The VPC ID associated with the DB snapshot.
Supporting Types
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.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi