Class CfnNamespace.NamespaceProperty
A collection of database objects and users.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.RedshiftServerless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NamespaceProperty : Object, CfnNamespace.INamespaceProperty
Syntax (vb)
Public Class NamespaceProperty
Inherits Object
Implements CfnNamespace.INamespaceProperty
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 namespaceProperty = new NamespaceProperty {
AdminPasswordSecretArn = "adminPasswordSecretArn",
AdminPasswordSecretKmsKeyId = "adminPasswordSecretKmsKeyId",
AdminUsername = "adminUsername",
CreationDate = "creationDate",
DbName = "dbName",
DefaultIamRoleArn = "defaultIamRoleArn",
IamRoles = new [] { "iamRoles" },
KmsKeyId = "kmsKeyId",
LogExports = new [] { "logExports" },
NamespaceArn = "namespaceArn",
NamespaceId = "namespaceId",
NamespaceName = "namespaceName",
Status = "status"
};
Synopsis
Constructors
NamespaceProperty() |
Properties
AdminPasswordSecretArn | The Amazon Resource Name (ARN) for the namespace's admin user credentials secret. |
AdminPasswordSecretKmsKeyId | The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. |
AdminUsername | The username of the administrator for the first database created in the namespace. |
CreationDate | The date of when the namespace was created. |
DbName | The name of the first database created in the namespace. |
DefaultIamRoleArn | The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. |
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. |
NamespaceArn | The Amazon Resource Name (ARN) associated with a namespace. |
NamespaceId | The unique identifier of a namespace. |
NamespaceName | The name of the namespace. |
Status | The status of the namespace. |
Constructors
NamespaceProperty()
public NamespaceProperty()
Properties
AdminPasswordSecretArn
The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.
public string AdminPasswordSecretArn { get; set; }
Property Value
System.String
Remarks
AdminPasswordSecretKmsKeyId
The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.
public string AdminPasswordSecretKmsKeyId { get; set; }
Property Value
System.String
Remarks
AdminUsername
The username of the administrator for the first database created in the namespace.
public string AdminUsername { get; set; }
Property Value
System.String
Remarks
CreationDate
The date of when the namespace was created.
public string CreationDate { get; set; }
Property Value
System.String
Remarks
DbName
The name of the first 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
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 User log, Connection log, and User activity log.
NamespaceArn
The Amazon Resource Name (ARN) associated with a namespace.
public string NamespaceArn { get; set; }
Property Value
System.String
Remarks
NamespaceId
The unique identifier of a namespace.
public string NamespaceId { get; set; }
Property Value
System.String
Remarks
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.
Status
The status of the namespace.
public string Status { get; set; }
Property Value
System.String