Class CfnClusterSnapshot
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.rds.CfnClusterSnapshot
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IClusterSnapshotRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:17.178Z")
@Stability(Stable)
public class CfnClusterSnapshot
extends CfnResource
implements IInspectable, IClusterSnapshotRef, ITaggableV2
Creates a snapshot of a DB cluster.
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.*;
CfnClusterSnapshot cfnClusterSnapshot = CfnClusterSnapshot.Builder.create(this, "MyCfnClusterSnapshot")
.dbClusterIdentifier("dbClusterIdentifier")
.dbClusterSnapshotIdentifier("dbClusterSnapshotIdentifier")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.rds.IClusterSnapshotRef
IClusterSnapshotRef.Jsii$Default, IClusterSnapshotRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnClusterSnapshot(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnClusterSnapshot(software.amazon.jsii.JsiiObjectRef objRef) CfnClusterSnapshot(software.constructs.Construct scope, String id, CfnClusterSnapshotProps props) Create a newAWS::RDS::ClusterSnapshot. -
Method Summary
Modifier and TypeMethodDescriptionThe allocated storage size of the DB cluster snapshot in gibibytes (GiB).The list of Availability Zones where instances in the DB cluster snapshot can be restored.The time when the DB cluster was created, in Universal Coordinated Time (UTC).The resource ID of the DB cluster that this DB cluster snapshot was created from.The Amazon Resource Name (ARN) for the DB cluster snapshot.The name of the database engine for this DB cluster snapshot.The engine mode of the database engine for this DB cluster snapshot.The version of the database engine for this DB cluster snapshot.Indicates whether mapping of AWS IAM accounts to database accounts is enabled.If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.The license model information for this DB cluster snapshot.The master username for this DB cluster snapshot.The port that the DB cluster was listening on at the time of the snapshot.The time when the snapshot was taken, in Universal Coordinated Time (UTC).The type of the DB cluster snapshot.The status of this DB cluster snapshot.Indicates whether the DB cluster snapshot is encrypted.The VPC ID associated with the DB cluster snapshot.Tag Manager which manages the tags for this resource.A reference to a ClusterSnapshot resource.The identifier of the DB cluster to create a snapshot for.The identifier for the DB cluster snapshot.getTags()The tags to be assigned to the DB cluster snapshot.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnClusterSnapshot.renderProperties(Map<String, Object> props) voidsetDbClusterIdentifier(String value) The identifier of the DB cluster to create a snapshot for.voidThe identifier for the DB cluster snapshot.voidThe tags to be assigned to the DB cluster snapshot.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnClusterSnapshot
protected CfnClusterSnapshot(software.amazon.jsii.JsiiObjectRef objRef) -
CfnClusterSnapshot
protected CfnClusterSnapshot(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnClusterSnapshot
@Stability(Stable) public CfnClusterSnapshot(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnClusterSnapshotProps props) Create a newAWS::RDS::ClusterSnapshot.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnClusterSnapshot
Checks whether the given object is a CfnClusterSnapshot.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrAllocatedStorage
The allocated storage size of the DB cluster snapshot in gibibytes (GiB). -
getAttrAvailabilityZones
The list of Availability Zones where instances in the DB cluster snapshot can be restored. -
getAttrClusterCreateTime
The time when the DB cluster was created, in Universal Coordinated Time (UTC). -
getAttrDbClusterResourceId
The resource ID of the DB cluster that this DB cluster snapshot was created from. -
getAttrDbClusterSnapshotArn
The Amazon Resource Name (ARN) for the DB cluster snapshot. -
getAttrEngine
The name of the database engine for this DB cluster snapshot. -
getAttrEngineMode
The engine mode of the database engine for this DB cluster snapshot. -
getAttrEngineVersion
The version of the database engine for this DB cluster snapshot. -
getAttrIamDatabaseAuthenticationEnabled
Indicates whether mapping of AWS IAM accounts to database accounts is enabled. -
getAttrKmsKeyId
If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot. -
getAttrLicenseModel
The license model information for this DB cluster snapshot. -
getAttrMasterUsername
The master username for this DB cluster snapshot. -
getAttrPort
The port that the DB cluster was listening on at the time of the snapshot. -
getAttrSnapshotCreateTime
The time when the snapshot was taken, in Universal Coordinated Time (UTC). -
getAttrSnapshotType
The type of the DB cluster snapshot. -
getAttrStatus
The status of this DB cluster snapshot. -
getAttrStorageEncrypted
Indicates whether the DB cluster snapshot is encrypted. -
getAttrVpcId
The VPC ID associated with the DB cluster snapshot. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getClusterSnapshotRef
A reference to a ClusterSnapshot resource.- Specified by:
getClusterSnapshotRefin interfaceIClusterSnapshotRef
-
getDbClusterIdentifier
The identifier of the DB cluster to create a snapshot for. -
setDbClusterIdentifier
The identifier of the DB cluster to create a snapshot for. -
getDbClusterSnapshotIdentifier
The identifier for the DB cluster snapshot. -
setDbClusterSnapshotIdentifier
The identifier for the DB cluster snapshot. -
getTags
The tags to be assigned to the DB cluster snapshot. -
setTags
The tags to be assigned to the DB cluster snapshot.
-