Interface CfnDBSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDBSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:17.313Z")
@Stability(Stable)
public interface CfnDBSnapshotProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDBSnapshot.
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.rds.*;
CfnDBSnapshotProps cfnDBSnapshotProps = CfnDBSnapshotProps.builder()
.dbInstanceIdentifier("dbInstanceIdentifier")
.dbSnapshotIdentifier("dbSnapshotIdentifier")
// 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 forCfnDBSnapshotPropsstatic final classAn implementation forCfnDBSnapshotProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDBSnapshotProps.Builderbuilder()The identifier of the DB instance that you want to create the snapshot of.The identifier for the DB snapshot.getTags()The tags to be assigned to the DB snapshot.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDbInstanceIdentifier
The identifier of the DB instance that you want to create the snapshot of.- See Also:
-
getDbSnapshotIdentifier
The identifier for the DB snapshot.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.
- See Also:
-
getTags
The tags to be assigned to the DB snapshot.- See Also:
-
builder
- Returns:
- a
CfnDBSnapshotProps.BuilderofCfnDBSnapshotProps
-