Creates a snapshot of a DB instance. The source DB instance must be in
the available
or storage-optimization
state.
rds_create_db_snapshot(DBSnapshotIdentifier, DBInstanceIdentifier, Tags)
A list with the following syntax:
list(
DBSnapshot = list(
DBSnapshotIdentifier = "string",
DBInstanceIdentifier = "string",
SnapshotCreateTime = as.POSIXct(
"2015-01-01"
),
Engine = "string",
AllocatedStorage = 123,
Status = "string",
Port = 123,
AvailabilityZone = "string",
VpcId = "string",
InstanceCreateTime = as.POSIXct(
"2015-01-01"
),
MasterUsername = "string",
EngineVersion = "string",
LicenseModel = "string",
SnapshotType = "string",
Iops = 123,
OptionGroupName = "string",
PercentProgress = 123,
SourceRegion = "string",
SourceDBSnapshotIdentifier = "string",
StorageType = "string",
TdeCredentialArn = "string",
Encrypted = TRUE|FALSE,
KmsKeyId = "string",
DBSnapshotArn = "string",
Timezone = "string",
IAMDatabaseAuthenticationEnabled = TRUE|FALSE,
ProcessorFeatures = list(
list(
Name = "string",
Value = "string"
)
),
DbiResourceId = "string",
TagList = list(
list(
Key = "string",
Value = "string"
)
)
)
)
[required] The identifier for the DB snapshot.
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-snapshot-id
[required] The identifier of the DB instance that you want to create the snapshot of.
Constraints:
Must match the identifier of an existing DBInstance.
svc$create_db_snapshot(
DBSnapshotIdentifier = "string",
DBInstanceIdentifier = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)