1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. rds
  6. getDbSnapshot

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
aws-native logo aws-native logo

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

    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 dictionary
    data "aws-native_rds_get_db_snapshot" "name" {
        # arguments
    }

    The following arguments are supported:

    DbSnapshotArn string
    The Amazon Resource Name (ARN) for the DB snapshot.
    DbSnapshotArn string
    The Amazon Resource Name (ARN) for the DB snapshot.
    db_snapshot_arn string
    The Amazon Resource Name (ARN) for the DB snapshot.
    dbSnapshotArn String
    The Amazon Resource Name (ARN) for the DB snapshot.
    dbSnapshotArn string
    The Amazon Resource Name (ARN) for the DB snapshot.
    db_snapshot_arn str
    The Amazon Resource Name (ARN) for the DB snapshot.
    dbSnapshotArn String
    The Amazon Resource Name (ARN) for the DB snapshot.

    getDbSnapshot Result

    The following output properties are available:

    AllocatedStorage int
    The allocated storage size in gibibytes (GiB).
    AvailabilityZone string
    The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
    DbSnapshotArn string
    The Amazon Resource Name (ARN) for the DB snapshot.
    DbiResourceId string
    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.
    EngineVersion string
    The version of the database engine.
    IamDatabaseAuthenticationEnabled bool
    Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
    InstanceCreateTime string
    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.
    KmsKeyId string
    If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
    LicenseModel string
    License model information for the restored DB instance.
    MasterUsername string
    The master username for the DB snapshot.
    OptionGroupName string
    The option group name for the DB snapshot.
    OriginalSnapshotCreateTime string
    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.
    SnapshotCreateTime string
    The time when the snapshot was taken, in UTC.
    SnapshotType string
    The type of the DB snapshot.
    Status string
    The status of this DB snapshot.
    StorageThroughput int
    The storage throughput for the DB snapshot.
    StorageType string
    The storage type associated with the DB snapshot.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags to be assigned to the DB snapshot.
    VpcId string
    The VPC ID associated with the DB snapshot.
    AllocatedStorage int
    The allocated storage size in gibibytes (GiB).
    AvailabilityZone string
    The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
    DbSnapshotArn string
    The Amazon Resource Name (ARN) for the DB snapshot.
    DbiResourceId string
    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.
    EngineVersion string
    The version of the database engine.
    IamDatabaseAuthenticationEnabled bool
    Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
    InstanceCreateTime string
    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.
    KmsKeyId string
    If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
    LicenseModel string
    License model information for the restored DB instance.
    MasterUsername string
    The master username for the DB snapshot.
    OptionGroupName string
    The option group name for the DB snapshot.
    OriginalSnapshotCreateTime string
    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.
    SnapshotCreateTime string
    The time when the snapshot was taken, in UTC.
    SnapshotType string
    The type of the DB snapshot.
    Status string
    The status of this DB snapshot.
    StorageThroughput int
    The storage throughput for the DB snapshot.
    StorageType string
    The storage type associated with the DB snapshot.
    Tags Tag
    The tags to be assigned to the DB snapshot.
    VpcId 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_arn string
    The Amazon Resource Name (ARN) for the DB snapshot.
    dbi_resource_id string
    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_authentication_enabled bool
    Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
    instance_create_time string
    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_id string
    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_name string
    The option group name for the DB snapshot.
    original_snapshot_create_time string
    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_time string
    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.
    tags list(object)
    The tags to be assigned to the DB snapshot.
    vpc_id string
    The VPC ID associated with the DB snapshot.
    allocatedStorage Integer
    The allocated storage size in gibibytes (GiB).
    availabilityZone String
    The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
    dbSnapshotArn String
    The Amazon Resource Name (ARN) for the DB snapshot.
    dbiResourceId String
    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.
    engineVersion String
    The version of the database engine.
    iamDatabaseAuthenticationEnabled Boolean
    Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
    instanceCreateTime String
    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.
    kmsKeyId String
    If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
    licenseModel String
    License model information for the restored DB instance.
    masterUsername String
    The master username for the DB snapshot.
    optionGroupName String
    The option group name for the DB snapshot.
    originalSnapshotCreateTime String
    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.
    snapshotCreateTime String
    The time when the snapshot was taken, in UTC.
    snapshotType String
    The type of the DB snapshot.
    status String
    The status of this DB snapshot.
    storageThroughput Integer
    The storage throughput for the DB snapshot.
    storageType String
    The storage type associated with the DB snapshot.
    tags List<Tag>
    The tags to be assigned to the DB snapshot.
    vpcId String
    The VPC ID associated with the DB snapshot.
    allocatedStorage number
    The allocated storage size in gibibytes (GiB).
    availabilityZone string
    The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
    dbSnapshotArn string
    The Amazon Resource Name (ARN) for the DB snapshot.
    dbiResourceId string
    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.
    engineVersion string
    The version of the database engine.
    iamDatabaseAuthenticationEnabled boolean
    Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
    instanceCreateTime string
    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.
    kmsKeyId string
    If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
    licenseModel string
    License model information for the restored DB instance.
    masterUsername string
    The master username for the DB snapshot.
    optionGroupName string
    The option group name for the DB snapshot.
    originalSnapshotCreateTime string
    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.
    snapshotCreateTime string
    The time when the snapshot was taken, in UTC.
    snapshotType string
    The type of the DB snapshot.
    status string
    The status of this DB snapshot.
    storageThroughput number
    The storage throughput for the DB snapshot.
    storageType string
    The storage type associated with the DB snapshot.
    tags Tag[]
    The tags to be assigned to the DB snapshot.
    vpcId 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_arn str
    The Amazon Resource Name (ARN) for the DB snapshot.
    dbi_resource_id str
    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_authentication_enabled bool
    Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
    instance_create_time str
    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_id str
    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_name str
    The option group name for the DB snapshot.
    original_snapshot_create_time str
    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_time str
    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.
    tags Sequence[root_Tag]
    The tags to be assigned to the DB snapshot.
    vpc_id str
    The VPC ID associated with the DB snapshot.
    allocatedStorage Number
    The allocated storage size in gibibytes (GiB).
    availabilityZone String
    The name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
    dbSnapshotArn String
    The Amazon Resource Name (ARN) for the DB snapshot.
    dbiResourceId String
    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.
    engineVersion String
    The version of the database engine.
    iamDatabaseAuthenticationEnabled Boolean
    Indicates whether mapping of AWS IAM accounts to database accounts is enabled.
    instanceCreateTime String
    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.
    kmsKeyId String
    If Encrypted is true, the AWS KMS key identifier for the encrypted DB snapshot.
    licenseModel String
    License model information for the restored DB instance.
    masterUsername String
    The master username for the DB snapshot.
    optionGroupName String
    The option group name for the DB snapshot.
    originalSnapshotCreateTime String
    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.
    snapshotCreateTime String
    The time when the snapshot was taken, in UTC.
    snapshotType String
    The type of the DB snapshot.
    status String
    The status of this DB snapshot.
    storageThroughput Number
    The storage throughput for the DB snapshot.
    storageType String
    The storage type associated with the DB snapshot.
    tags List<Property Map>
    The tags to be assigned to the DB snapshot.
    vpcId String
    The VPC ID associated with the DB snapshot.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial