published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Manages an RDS database instance snapshot. For managing RDS database cluster snapshots, see the aws.rds.ClusterSnapshot resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const bar = new aws.rds.Instance("bar", {
allocatedStorage: 10,
engine: "mysql",
engineVersion: "5.6.21",
instanceClass: aws.rds.InstanceType.T2_Micro,
dbName: "baz",
password: "barbarbarbar",
username: "foo",
maintenanceWindow: "Fri:09:00-Fri:09:30",
backupRetentionPeriod: 0,
parameterGroupName: "default.mysql5.6",
});
const test = new aws.rds.Snapshot("test", {
dbInstanceIdentifier: bar.identifier,
dbSnapshotIdentifier: "testsnapshot1234",
});
import pulumi
import pulumi_aws as aws
bar = aws.rds.Instance("bar",
allocated_storage=10,
engine="mysql",
engine_version="5.6.21",
instance_class=aws.rds.InstanceType.T2_MICRO,
db_name="baz",
password="barbarbarbar",
username="foo",
maintenance_window="Fri:09:00-Fri:09:30",
backup_retention_period=0,
parameter_group_name="default.mysql5.6")
test = aws.rds.Snapshot("test",
db_instance_identifier=bar.identifier,
db_snapshot_identifier="testsnapshot1234")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/rds"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
bar, err := rds.NewInstance(ctx, "bar", &rds.InstanceArgs{
AllocatedStorage: pulumi.Int(10),
Engine: pulumi.String("mysql"),
EngineVersion: pulumi.String("5.6.21"),
InstanceClass: pulumi.String(rds.InstanceType_T2_Micro),
DbName: pulumi.String("baz"),
Password: pulumi.String("barbarbarbar"),
Username: pulumi.String("foo"),
MaintenanceWindow: pulumi.String("Fri:09:00-Fri:09:30"),
BackupRetentionPeriod: pulumi.Int(0),
ParameterGroupName: pulumi.String("default.mysql5.6"),
})
if err != nil {
return err
}
_, err = rds.NewSnapshot(ctx, "test", &rds.SnapshotArgs{
DbInstanceIdentifier: bar.Identifier,
DbSnapshotIdentifier: pulumi.String("testsnapshot1234"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var bar = new Aws.Rds.Instance("bar", new()
{
AllocatedStorage = 10,
Engine = "mysql",
EngineVersion = "5.6.21",
InstanceClass = Aws.Rds.InstanceType.T2_Micro,
DbName = "baz",
Password = "barbarbarbar",
Username = "foo",
MaintenanceWindow = "Fri:09:00-Fri:09:30",
BackupRetentionPeriod = 0,
ParameterGroupName = "default.mysql5.6",
});
var test = new Aws.Rds.Snapshot("test", new()
{
DbInstanceIdentifier = bar.Identifier,
DbSnapshotIdentifier = "testsnapshot1234",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rds.Instance;
import com.pulumi.aws.rds.InstanceArgs;
import com.pulumi.aws.rds.Snapshot;
import com.pulumi.aws.rds.SnapshotArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var bar = new Instance("bar", InstanceArgs.builder()
.allocatedStorage(10)
.engine("mysql")
.engineVersion("5.6.21")
.instanceClass("db.t2.micro")
.dbName("baz")
.password("barbarbarbar")
.username("foo")
.maintenanceWindow("Fri:09:00-Fri:09:30")
.backupRetentionPeriod(0)
.parameterGroupName("default.mysql5.6")
.build());
var test = new Snapshot("test", SnapshotArgs.builder()
.dbInstanceIdentifier(bar.identifier())
.dbSnapshotIdentifier("testsnapshot1234")
.build());
}
}
resources:
bar:
type: aws:rds:Instance
properties:
allocatedStorage: 10
engine: mysql
engineVersion: 5.6.21
instanceClass: db.t2.micro
dbName: baz
password: barbarbarbar
username: foo
maintenanceWindow: Fri:09:00-Fri:09:30
backupRetentionPeriod: 0
parameterGroupName: default.mysql5.6
test:
type: aws:rds:Snapshot
properties:
dbInstanceIdentifier: ${bar.identifier}
dbSnapshotIdentifier: testsnapshot1234
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_rds_instance" "bar" {
allocated_storage = 10
engine = "mysql"
engine_version = "5.6.21"
instance_class = "db.t2.micro"
db_name = "baz"
password = "barbarbarbar"
username = "foo"
maintenance_window = "Fri:09:00-Fri:09:30"
backup_retention_period = 0
parameter_group_name = "default.mysql5.6"
}
resource "aws_rds_snapshot" "test" {
db_instance_identifier = aws_rds_instance.bar.identifier
db_snapshot_identifier = "testsnapshot1234"
}
Create Snapshot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Snapshot(name: string, args: SnapshotArgs, opts?: CustomResourceOptions);@overload
def Snapshot(resource_name: str,
args: SnapshotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Snapshot(resource_name: str,
opts: Optional[ResourceOptions] = None,
db_instance_identifier: Optional[str] = None,
db_snapshot_identifier: Optional[str] = None,
region: Optional[str] = None,
shared_accounts: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None)func NewSnapshot(ctx *Context, name string, args SnapshotArgs, opts ...ResourceOption) (*Snapshot, error)public Snapshot(string name, SnapshotArgs args, CustomResourceOptions? opts = null)
public Snapshot(String name, SnapshotArgs args)
public Snapshot(String name, SnapshotArgs args, CustomResourceOptions options)
type: aws:rds:Snapshot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws_rds_snapshot" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SnapshotArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplesnapshotResourceResourceFromRdssnapshot = new Aws.Rds.Snapshot("examplesnapshotResourceResourceFromRdssnapshot", new()
{
DbInstanceIdentifier = "string",
DbSnapshotIdentifier = "string",
Region = "string",
SharedAccounts = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := rds.NewSnapshot(ctx, "examplesnapshotResourceResourceFromRdssnapshot", &rds.SnapshotArgs{
DbInstanceIdentifier: pulumi.String("string"),
DbSnapshotIdentifier: pulumi.String("string"),
Region: pulumi.String("string"),
SharedAccounts: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "aws_rds_snapshot" "examplesnapshotResourceResourceFromRdssnapshot" {
lifecycle {
create_before_destroy = true
}
db_instance_identifier = "string"
db_snapshot_identifier = "string"
region = "string"
shared_accounts = ["string"]
tags = {
"string" = "string"
}
}
var examplesnapshotResourceResourceFromRdssnapshot = new com.pulumi.aws.rds.Snapshot("examplesnapshotResourceResourceFromRdssnapshot", com.pulumi.aws.rds.SnapshotArgs.builder()
.dbInstanceIdentifier("string")
.dbSnapshotIdentifier("string")
.region("string")
.sharedAccounts("string")
.tags(Map.of("string", "string"))
.build());
examplesnapshot_resource_resource_from_rdssnapshot = aws.rds.Snapshot("examplesnapshotResourceResourceFromRdssnapshot",
db_instance_identifier="string",
db_snapshot_identifier="string",
region="string",
shared_accounts=["string"],
tags={
"string": "string",
})
const examplesnapshotResourceResourceFromRdssnapshot = new aws.rds.Snapshot("examplesnapshotResourceResourceFromRdssnapshot", {
dbInstanceIdentifier: "string",
dbSnapshotIdentifier: "string",
region: "string",
sharedAccounts: ["string"],
tags: {
string: "string",
},
});
type: aws:rds:Snapshot
properties:
dbInstanceIdentifier: string
dbSnapshotIdentifier: string
region: string
sharedAccounts:
- string
tags:
string: string
Snapshot Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Snapshot resource accepts the following input properties:
- Db
Instance stringIdentifier - DB instance identifier from which to take the snapshot.
- Db
Snapshot stringIdentifier - Identifier for the snapshot.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- List<string>
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - Dictionary<string, string>
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Db
Instance stringIdentifier - DB instance identifier from which to take the snapshot.
- Db
Snapshot stringIdentifier - Identifier for the snapshot.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- []string
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - map[string]string
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- db_
instance_ stringidentifier - DB instance identifier from which to take the snapshot.
- db_
snapshot_ stringidentifier - Identifier for the snapshot.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- list(string)
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - map(string)
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- db
Instance StringIdentifier - DB instance identifier from which to take the snapshot.
- db
Snapshot StringIdentifier - Identifier for the snapshot.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- List<String>
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - Map<String,String>
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- db
Instance stringIdentifier - DB instance identifier from which to take the snapshot.
- db
Snapshot stringIdentifier - Identifier for the snapshot.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- string[]
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - {[key: string]: string}
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- db_
instance_ stridentifier - DB instance identifier from which to take the snapshot.
- db_
snapshot_ stridentifier - Identifier for the snapshot.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Sequence[str]
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - Mapping[str, str]
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- db
Instance StringIdentifier - DB instance identifier from which to take the snapshot.
- db
Snapshot StringIdentifier - Identifier for the snapshot.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- List<String>
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - Map<String>
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the Snapshot resource produces the following output properties:
- Allocated
Storage int - Allocated storage size in gigabytes (GB).
- Availability
Zone string - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- Db
Snapshot stringArn - ARN for the DB snapshot.
- Encrypted bool
- Whether the DB snapshot is encrypted.
- Engine string
- Name of the database engine.
- Engine
Version string - Version of the database engine.
- Id string
- The provider-assigned unique ID for this managed resource.
- Iops int
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- Kms
Key stringId - ARN for the KMS encryption key.
- License
Model string - License model information for the restored DB instance.
- Option
Group stringName - Provides the option group name for the DB snapshot.
- Port int
- Port that the DB snapshot listens on.
- Snapshot
Type string - Type of the DB snapshot.
- Source
Db stringSnapshot Identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- Source
Region string - Region that the DB snapshot was created in or copied from.
- Status string
- Status of this DB snapshot.
- Storage
Type string - Storage type associated with DB snapshot.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Vpc
Id string - Provides the VPC ID associated with the DB snapshot.
- Allocated
Storage int - Allocated storage size in gigabytes (GB).
- Availability
Zone string - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- Db
Snapshot stringArn - ARN for the DB snapshot.
- Encrypted bool
- Whether the DB snapshot is encrypted.
- Engine string
- Name of the database engine.
- Engine
Version string - Version of the database engine.
- Id string
- The provider-assigned unique ID for this managed resource.
- Iops int
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- Kms
Key stringId - ARN for the KMS encryption key.
- License
Model string - License model information for the restored DB instance.
- Option
Group stringName - Provides the option group name for the DB snapshot.
- Port int
- Port that the DB snapshot listens on.
- Snapshot
Type string - Type of the DB snapshot.
- Source
Db stringSnapshot Identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- Source
Region string - Region that the DB snapshot was created in or copied from.
- Status string
- Status of this DB snapshot.
- Storage
Type string - Storage type associated with DB snapshot.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Vpc
Id string - Provides the VPC ID associated with the DB snapshot.
- allocated_
storage number - Allocated storage size in gigabytes (GB).
- availability_
zone string - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db_
snapshot_ stringarn - ARN for the DB snapshot.
- encrypted bool
- Whether the DB snapshot is encrypted.
- engine string
- Name of the database engine.
- engine_
version string - Version of the database engine.
- id string
- The provider-assigned unique ID for this managed resource.
- iops number
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- kms_
key_ stringid - ARN for the KMS encryption key.
- license_
model string - License model information for the restored DB instance.
- option_
group_ stringname - Provides the option group name for the DB snapshot.
- port number
- Port that the DB snapshot listens on.
- snapshot_
type string - Type of the DB snapshot.
- source_
db_ stringsnapshot_ identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- source_
region string - Region that the DB snapshot was created in or copied from.
- status string
- Status of this DB snapshot.
- storage_
type string - Storage type associated with DB snapshot.
- map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - vpc_
id string - Provides the VPC ID associated with the DB snapshot.
- allocated
Storage Integer - Allocated storage size in gigabytes (GB).
- availability
Zone String - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db
Snapshot StringArn - ARN for the DB snapshot.
- encrypted Boolean
- Whether the DB snapshot is encrypted.
- engine String
- Name of the database engine.
- engine
Version String - Version of the database engine.
- id String
- The provider-assigned unique ID for this managed resource.
- iops Integer
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- kms
Key StringId - ARN for the KMS encryption key.
- license
Model String - License model information for the restored DB instance.
- option
Group StringName - Provides the option group name for the DB snapshot.
- port Integer
- Port that the DB snapshot listens on.
- snapshot
Type String - Type of the DB snapshot.
- source
Db StringSnapshot Identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- source
Region String - Region that the DB snapshot was created in or copied from.
- status String
- Status of this DB snapshot.
- storage
Type String - Storage type associated with DB snapshot.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - vpc
Id String - Provides the VPC ID associated with the DB snapshot.
- allocated
Storage number - Allocated storage size in gigabytes (GB).
- availability
Zone string - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db
Snapshot stringArn - ARN for the DB snapshot.
- encrypted boolean
- Whether the DB snapshot is encrypted.
- engine string
- Name of the database engine.
- engine
Version string - Version of the database engine.
- id string
- The provider-assigned unique ID for this managed resource.
- iops number
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- kms
Key stringId - ARN for the KMS encryption key.
- license
Model string - License model information for the restored DB instance.
- option
Group stringName - Provides the option group name for the DB snapshot.
- port number
- Port that the DB snapshot listens on.
- snapshot
Type string - Type of the DB snapshot.
- source
Db stringSnapshot Identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- source
Region string - Region that the DB snapshot was created in or copied from.
- status string
- Status of this DB snapshot.
- storage
Type string - Storage type associated with DB snapshot.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - vpc
Id string - Provides the VPC ID associated with the DB snapshot.
- allocated_
storage int - Allocated storage size in gigabytes (GB).
- availability_
zone str - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db_
snapshot_ strarn - ARN for the DB snapshot.
- encrypted bool
- Whether the DB snapshot is encrypted.
- engine str
- Name of the database engine.
- engine_
version str - Version of the database engine.
- id str
- The provider-assigned unique ID for this managed resource.
- iops int
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- kms_
key_ strid - ARN for the KMS encryption key.
- license_
model str - License model information for the restored DB instance.
- option_
group_ strname - Provides the option group name for the DB snapshot.
- port int
- Port that the DB snapshot listens on.
- snapshot_
type str - Type of the DB snapshot.
- source_
db_ strsnapshot_ identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- source_
region str - Region that the DB snapshot was created in or copied from.
- status str
- Status of this DB snapshot.
- storage_
type str - Storage type associated with DB snapshot.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - vpc_
id str - Provides the VPC ID associated with the DB snapshot.
- allocated
Storage Number - Allocated storage size in gigabytes (GB).
- availability
Zone String - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db
Snapshot StringArn - ARN for the DB snapshot.
- encrypted Boolean
- Whether the DB snapshot is encrypted.
- engine String
- Name of the database engine.
- engine
Version String - Version of the database engine.
- id String
- The provider-assigned unique ID for this managed resource.
- iops Number
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- kms
Key StringId - ARN for the KMS encryption key.
- license
Model String - License model information for the restored DB instance.
- option
Group StringName - Provides the option group name for the DB snapshot.
- port Number
- Port that the DB snapshot listens on.
- snapshot
Type String - Type of the DB snapshot.
- source
Db StringSnapshot Identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- source
Region String - Region that the DB snapshot was created in or copied from.
- status String
- Status of this DB snapshot.
- storage
Type String - Storage type associated with DB snapshot.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - vpc
Id String - Provides the VPC ID associated with the DB snapshot.
Look up Existing Snapshot Resource
Get an existing Snapshot resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SnapshotState, opts?: CustomResourceOptions): Snapshot@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allocated_storage: Optional[int] = None,
availability_zone: Optional[str] = None,
db_instance_identifier: Optional[str] = None,
db_snapshot_arn: Optional[str] = None,
db_snapshot_identifier: Optional[str] = None,
encrypted: Optional[bool] = None,
engine: Optional[str] = None,
engine_version: Optional[str] = None,
iops: Optional[int] = None,
kms_key_id: Optional[str] = None,
license_model: Optional[str] = None,
option_group_name: Optional[str] = None,
port: Optional[int] = None,
region: Optional[str] = None,
shared_accounts: Optional[Sequence[str]] = None,
snapshot_type: Optional[str] = None,
source_db_snapshot_identifier: Optional[str] = None,
source_region: Optional[str] = None,
status: Optional[str] = None,
storage_type: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
vpc_id: Optional[str] = None) -> Snapshotfunc GetSnapshot(ctx *Context, name string, id IDInput, state *SnapshotState, opts ...ResourceOption) (*Snapshot, error)public static Snapshot Get(string name, Input<string> id, SnapshotState? state, CustomResourceOptions? opts = null)public static Snapshot get(String name, Output<String> id, SnapshotState state, CustomResourceOptions options)resources: _: type: aws:rds:Snapshot get: id: ${id}import {
to = aws_rds_snapshot.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allocated
Storage int - Allocated storage size in gigabytes (GB).
- Availability
Zone string - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- Db
Instance stringIdentifier - DB instance identifier from which to take the snapshot.
- Db
Snapshot stringArn - ARN for the DB snapshot.
- Db
Snapshot stringIdentifier - Identifier for the snapshot.
- Encrypted bool
- Whether the DB snapshot is encrypted.
- Engine string
- Name of the database engine.
- Engine
Version string - Version of the database engine.
- Iops int
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- Kms
Key stringId - ARN for the KMS encryption key.
- License
Model string - License model information for the restored DB instance.
- Option
Group stringName - Provides the option group name for the DB snapshot.
- Port int
- Port that the DB snapshot listens on.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- List<string>
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - Snapshot
Type string - Type of the DB snapshot.
- Source
Db stringSnapshot Identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- Source
Region string - Region that the DB snapshot was created in or copied from.
- Status string
- Status of this DB snapshot.
- Storage
Type string - Storage type associated with DB snapshot.
- Dictionary<string, string>
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Vpc
Id string - Provides the VPC ID associated with the DB snapshot.
- Allocated
Storage int - Allocated storage size in gigabytes (GB).
- Availability
Zone string - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- Db
Instance stringIdentifier - DB instance identifier from which to take the snapshot.
- Db
Snapshot stringArn - ARN for the DB snapshot.
- Db
Snapshot stringIdentifier - Identifier for the snapshot.
- Encrypted bool
- Whether the DB snapshot is encrypted.
- Engine string
- Name of the database engine.
- Engine
Version string - Version of the database engine.
- Iops int
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- Kms
Key stringId - ARN for the KMS encryption key.
- License
Model string - License model information for the restored DB instance.
- Option
Group stringName - Provides the option group name for the DB snapshot.
- Port int
- Port that the DB snapshot listens on.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- []string
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - Snapshot
Type string - Type of the DB snapshot.
- Source
Db stringSnapshot Identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- Source
Region string - Region that the DB snapshot was created in or copied from.
- Status string
- Status of this DB snapshot.
- Storage
Type string - Storage type associated with DB snapshot.
- map[string]string
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - Vpc
Id string - Provides the VPC ID associated with the DB snapshot.
- allocated_
storage number - Allocated storage size in gigabytes (GB).
- availability_
zone string - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db_
instance_ stringidentifier - DB instance identifier from which to take the snapshot.
- db_
snapshot_ stringarn - ARN for the DB snapshot.
- db_
snapshot_ stringidentifier - Identifier for the snapshot.
- encrypted bool
- Whether the DB snapshot is encrypted.
- engine string
- Name of the database engine.
- engine_
version string - Version of the database engine.
- iops number
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- kms_
key_ stringid - ARN for the KMS encryption key.
- license_
model string - License model information for the restored DB instance.
- option_
group_ stringname - Provides the option group name for the DB snapshot.
- port number
- Port that the DB snapshot listens on.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- list(string)
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - snapshot_
type string - Type of the DB snapshot.
- source_
db_ stringsnapshot_ identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- source_
region string - Region that the DB snapshot was created in or copied from.
- status string
- Status of this DB snapshot.
- storage_
type string - Storage type associated with DB snapshot.
- map(string)
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - map(string)
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - vpc_
id string - Provides the VPC ID associated with the DB snapshot.
- allocated
Storage Integer - Allocated storage size in gigabytes (GB).
- availability
Zone String - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db
Instance StringIdentifier - DB instance identifier from which to take the snapshot.
- db
Snapshot StringArn - ARN for the DB snapshot.
- db
Snapshot StringIdentifier - Identifier for the snapshot.
- encrypted Boolean
- Whether the DB snapshot is encrypted.
- engine String
- Name of the database engine.
- engine
Version String - Version of the database engine.
- iops Integer
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- kms
Key StringId - ARN for the KMS encryption key.
- license
Model String - License model information for the restored DB instance.
- option
Group StringName - Provides the option group name for the DB snapshot.
- port Integer
- Port that the DB snapshot listens on.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- List<String>
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - snapshot
Type String - Type of the DB snapshot.
- source
Db StringSnapshot Identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- source
Region String - Region that the DB snapshot was created in or copied from.
- status String
- Status of this DB snapshot.
- storage
Type String - Storage type associated with DB snapshot.
- Map<String,String>
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - vpc
Id String - Provides the VPC ID associated with the DB snapshot.
- allocated
Storage number - Allocated storage size in gigabytes (GB).
- availability
Zone string - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db
Instance stringIdentifier - DB instance identifier from which to take the snapshot.
- db
Snapshot stringArn - ARN for the DB snapshot.
- db
Snapshot stringIdentifier - Identifier for the snapshot.
- encrypted boolean
- Whether the DB snapshot is encrypted.
- engine string
- Name of the database engine.
- engine
Version string - Version of the database engine.
- iops number
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- kms
Key stringId - ARN for the KMS encryption key.
- license
Model string - License model information for the restored DB instance.
- option
Group stringName - Provides the option group name for the DB snapshot.
- port number
- Port that the DB snapshot listens on.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- string[]
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - snapshot
Type string - Type of the DB snapshot.
- source
Db stringSnapshot Identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- source
Region string - Region that the DB snapshot was created in or copied from.
- status string
- Status of this DB snapshot.
- storage
Type string - Storage type associated with DB snapshot.
- {[key: string]: string}
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - vpc
Id string - Provides the VPC ID associated with the DB snapshot.
- allocated_
storage int - Allocated storage size in gigabytes (GB).
- availability_
zone str - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db_
instance_ stridentifier - DB instance identifier from which to take the snapshot.
- db_
snapshot_ strarn - ARN for the DB snapshot.
- db_
snapshot_ stridentifier - Identifier for the snapshot.
- encrypted bool
- Whether the DB snapshot is encrypted.
- engine str
- Name of the database engine.
- engine_
version str - Version of the database engine.
- iops int
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- kms_
key_ strid - ARN for the KMS encryption key.
- license_
model str - License model information for the restored DB instance.
- option_
group_ strname - Provides the option group name for the DB snapshot.
- port int
- Port that the DB snapshot listens on.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Sequence[str]
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - snapshot_
type str - Type of the DB snapshot.
- source_
db_ strsnapshot_ identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- source_
region str - Region that the DB snapshot was created in or copied from.
- status str
- Status of this DB snapshot.
- storage_
type str - Storage type associated with DB snapshot.
- Mapping[str, str]
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - vpc_
id str - Provides the VPC ID associated with the DB snapshot.
- allocated
Storage Number - Allocated storage size in gigabytes (GB).
- availability
Zone String - Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
- db
Instance StringIdentifier - DB instance identifier from which to take the snapshot.
- db
Snapshot StringArn - ARN for the DB snapshot.
- db
Snapshot StringIdentifier - Identifier for the snapshot.
- encrypted Boolean
- Whether the DB snapshot is encrypted.
- engine String
- Name of the database engine.
- engine
Version String - Version of the database engine.
- iops Number
- Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
- kms
Key StringId - ARN for the KMS encryption key.
- license
Model String - License model information for the restored DB instance.
- option
Group StringName - Provides the option group name for the DB snapshot.
- port Number
- Port that the DB snapshot listens on.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- List<String>
- List of AWS Account IDs to share the snapshot with. Use
allto make the snapshot public. - snapshot
Type String - Type of the DB snapshot.
- source
Db StringSnapshot Identifier - DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
- source
Region String - Region that the DB snapshot was created in or copied from.
- status String
- Status of this DB snapshot.
- storage
Type String - Storage type associated with DB snapshot.
- Map<String>
- Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block. - vpc
Id String - Provides the VPC ID associated with the DB snapshot.
Import
Using pulumi import, import aws.rds.Snapshot using the snapshot identifier. For example:
$ pulumi import aws:rds/snapshot:Snapshot example my-snapshot
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Sep 17, 2026 by Pulumi