Class CfnNamespaceProps
Properties for defining a CfnNamespace
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.RedshiftServerless
Assembly: Amazon.CDK.AWS.RedshiftServerless.dll
Syntax (csharp)
public class CfnNamespaceProps : Object, ICfnNamespaceProps
Syntax (vb)
Public Class CfnNamespaceProps
Inherits Object
Implements ICfnNamespaceProps
Remarks
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.RedshiftServerless;
var cfnNamespaceProps = new CfnNamespaceProps {
NamespaceName = "namespaceName",
// the properties below are optional
AdminUsername = "adminUsername",
AdminUserPassword = "adminUserPassword",
DbName = "dbName",
DefaultIamRoleArn = "defaultIamRoleArn",
FinalSnapshotName = "finalSnapshotName",
FinalSnapshotRetentionPeriod = 123,
IamRoles = new [] { "iamRoles" },
KmsKeyId = "kmsKeyId",
LogExports = new [] { "logExports" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnNamespaceProps() |
Properties
AdminUsername | The username of the administrator for the primary database created in the namespace. |
AdminUserPassword | The password of the administrator for the primary database created in the namespace. |
DbName | The name of the primary database created in the namespace. |
DefaultIamRoleArn | The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. |
FinalSnapshotName | The name of the snapshot to be created before the namespace is deleted. |
FinalSnapshotRetentionPeriod | How long to retain the final snapshot. |
IamRoles | A list of IAM roles to associate with the namespace. |
KmsKeyId | The ID of the AWS Key Management Service key used to encrypt your data. |
LogExports | The types of logs the namespace can export. |
NamespaceName | The name of the namespace. |
Tags | The map of the key-value pairs used to tag the namespace. |
Constructors
CfnNamespaceProps()
public CfnNamespaceProps()
Properties
AdminUsername
The username of the administrator for the primary database created in the namespace.
public string AdminUsername { get; set; }
Property Value
System.String
Remarks
AdminUserPassword
The password of the administrator for the primary database created in the namespace.
public string AdminUserPassword { get; set; }
Property Value
System.String
Remarks
DbName
The name of the primary database created in the namespace.
public string DbName { get; set; }
Property Value
System.String
Remarks
DefaultIamRoleArn
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
public string DefaultIamRoleArn { get; set; }
Property Value
System.String
Remarks
FinalSnapshotName
The name of the snapshot to be created before the namespace is deleted.
public string FinalSnapshotName { get; set; }
Property Value
System.String
Remarks
FinalSnapshotRetentionPeriod
How long to retain the final snapshot.
public Nullable<double> FinalSnapshotRetentionPeriod { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
IamRoles
A list of IAM roles to associate with the namespace.
public string[] IamRoles { get; set; }
Property Value
System.String[]
Remarks
KmsKeyId
The ID of the AWS Key Management Service key used to encrypt your data.
public string KmsKeyId { get; set; }
Property Value
System.String
Remarks
LogExports
The types of logs the namespace can export.
public string[] LogExports { get; set; }
Property Value
System.String[]
Remarks
Available export types are userlog
, connectionlog
, and useractivitylog
.
NamespaceName
The name of the namespace.
public string NamespaceName { get; set; }
Property Value
System.String
Remarks
Must be between 3-64 alphanumeric characters in lowercase, and it cannot be a reserved word. A list of reserved words can be found in Reserved Words in the Amazon Redshift Database Developer Guide.
Tags
The map of the key-value pairs used to tag the namespace.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]