AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Lightsail::DatabaseSnapshot

CfnDatabaseSnapshot

Resource Type definition for AWS::Lightsail::DatabaseSnapshot.

Import

import { CfnDatabaseSnapshot } from 'aws-cdk-lib/aws-lightsail';

Or use the module namespace:

import * as lightsail from 'aws-cdk-lib/aws-lightsail';
// lightsail.CfnDatabaseSnapshot

Properties

Configuration passed to the constructor as CfnDatabaseSnapshotProps.

relationalDatabaseNameRequired
string

The name of the database on which to base your new snapshot.

relationalDatabaseSnapshotNameRequired
string

The name for your new database snapshot.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter