CfnDatabaseSnapshotProps
- class aws_cdk.aws_lightsail.CfnDatabaseSnapshotProps(*, relational_database_name, relational_database_snapshot_name, tags=None)
Bases:
objectProperties for defining a
CfnDatabaseSnapshot.- Parameters:
relational_database_name (
str) – The name of the database on which to base your new snapshot.relational_database_snapshot_name (
str) – The name for your new database snapshot.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_lightsail as lightsail cfn_database_snapshot_props = lightsail.CfnDatabaseSnapshotProps( relational_database_name="relationalDatabaseName", relational_database_snapshot_name="relationalDatabaseSnapshotName", # the properties below are optional tags=[CfnTag( key="key", value="value" )] )
Attributes
- relational_database_name
The name of the database on which to base your new snapshot.
- relational_database_snapshot_name
The name for your new database snapshot.
- tags
An array of key-value pairs to apply to this resource.