Interface CfnDatabaseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatabaseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:31.185Z")
@Stability(Stable)
public interface CfnDatabaseProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDatabase.
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.timestream.*;
CfnDatabaseProps cfnDatabaseProps = CfnDatabaseProps.builder()
.databaseName("databaseName")
.kmsKeyId("kmsKeyId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDatabasePropsstatic final classAn implementation forCfnDatabaseProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDatabaseProps.Builderbuilder()default StringThe name of the Timestream database.default ObjectThe identifier of the AWS key used to encrypt the data stored in the database.getTags()The tags to add to the database.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatabaseName
The name of the Timestream database.Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
- See Also:
-
getKmsKeyId
The identifier of the AWS key used to encrypt the data stored in the database.- See Also:
-
getTags
The tags to add to the database.- See Also:
-
builder
- Returns:
- a
CfnDatabaseProps.BuilderofCfnDatabaseProps
-