Interface CfnDatabaseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatabaseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.875Z")
@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();
-
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 StringThe identifier of the AWS KMS 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.
-
getKmsKeyId
The identifier of the AWS KMS key used to encrypt the data stored in the database. -
getTags
The tags to add to the database. -
builder
- Returns:
- a
CfnDatabaseProps.BuilderofCfnDatabaseProps
-