Class CfnDatabaseProps
Properties for defining a CfnDatabase
.
Inheritance
System.Object
CfnDatabaseProps
Implements
Namespace: Amazon.CDK.AWS.Timestream
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDatabaseProps : Object, ICfnDatabaseProps
Syntax (vb)
Public Class CfnDatabaseProps
Inherits Object
Implements ICfnDatabaseProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-timestream-database.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Timestream;
var cfnDatabaseProps = new CfnDatabaseProps {
DatabaseName = "databaseName",
KmsKeyId = "kmsKeyId",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDatabaseProps() |
Properties
DatabaseName | The name of the Timestream database. |
KmsKeyId | The identifier of the AWS KMS key used to encrypt the data stored in the database. |
Tags | The tags to add to the database. |
Constructors
CfnDatabaseProps()
public CfnDatabaseProps()
Properties
DatabaseName
The name of the Timestream database.
public string DatabaseName { get; set; }
Property Value
System.String
Remarks
Length Constraints : Minimum length of 3 bytes. Maximum length of 256 bytes.
KmsKeyId
The identifier of the AWS KMS key used to encrypt the data stored in the database.
public string KmsKeyId { get; set; }
Property Value
System.String
Remarks
Tags
The tags to add to the database.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]