Interface CfnSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-04T12:43:14.363Z")
@Stability(Stable)
public interface CfnSnapshotProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSnapshot.
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.redshiftserverless.*;
CfnSnapshotProps cfnSnapshotProps = CfnSnapshotProps.builder()
.snapshotName("snapshotName")
// the properties below are optional
.namespaceName("namespaceName")
.retentionPeriod(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSnapshotPropsstatic final classAn implementation forCfnSnapshotProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSnapshotProps.Builderbuilder()default StringThe namespace the snapshot is associated with.default NumberThe retention period of the snapshot.The name of the snapshot.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSnapshotName
The name of the snapshot.- See Also:
-
getNamespaceName
The namespace the snapshot is associated with.- See Also:
-
getRetentionPeriod
The retention period of the snapshot.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnSnapshotProps.BuilderofCfnSnapshotProps
-