Interface CfnDatabaseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatabaseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:24.605Z")
@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 class
A builder forCfnDatabaseProps
static final class
An implementation forCfnDatabaseProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDatabaseProps.Builder
builder()
default String
The name of the Timestream database.default String
The 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.
- See Also:
-
getKmsKeyId
The identifier of the AWS KMS 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.Builder
ofCfnDatabaseProps
-