Interface CfnDatabaseSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatabaseSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-09T14:39:13.864Z")
@Stability(Stable)
public interface CfnDatabaseSnapshotProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.lightsail.*;
CfnDatabaseSnapshotProps cfnDatabaseSnapshotProps = CfnDatabaseSnapshotProps.builder()
.relationalDatabaseName("relationalDatabaseName")
.relationalDatabaseSnapshotName("relationalDatabaseSnapshotName")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDatabaseSnapshotPropsstatic final classAn implementation forCfnDatabaseSnapshotProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRelationalDatabaseName
The name of the database on which to base your new snapshot.- See Also:
-
getRelationalDatabaseSnapshotName
The name for your new database snapshot.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnDatabaseSnapshotProps.BuilderofCfnDatabaseSnapshotProps
-