interface CfnDatabaseSnapshotProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lightsail.CfnDatabaseSnapshotProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnDatabaseSnapshotProps |
Java | software.amazon.awscdk.services.lightsail.CfnDatabaseSnapshotProps |
Python | aws_cdk.aws_lightsail.CfnDatabaseSnapshotProps |
TypeScript | aws-cdk-lib » aws_lightsail » CfnDatabaseSnapshotProps |
Properties for defining a CfnDatabaseSnapshot.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const cfnDatabaseSnapshotProps: lightsail.CfnDatabaseSnapshotProps = {
relationalDatabaseName: 'relationalDatabaseName',
relationalDatabaseSnapshotName: 'relationalDatabaseSnapshotName',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| relational | string | The name of the database on which to base your new snapshot. |
| relational | string | The name for your new database snapshot. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
relationalDatabaseName
Type:
string
The name of the database on which to base your new snapshot.
relationalDatabaseSnapshotName
Type:
string
The name for your new database snapshot.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.

.NET
Go
Java
Python
TypeScript