Interface CfnNamespace.INamespaceProperty
A collection of database objects and users.
Namespace: Amazon.CDK.AWS.RedshiftServerless
Assembly: Amazon.CDK.AWS.RedshiftServerless.dll
Syntax (csharp)
public interface INamespaceProperty
Syntax (vb)
Public Interface 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 {
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
Properties
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. |
Properties
AdminUsername
The username of the administrator for the first database created in the namespace.
virtual string AdminUsername { get; }
Property Value
System.String
Remarks
CreationDate
The date of when the namespace was created.
virtual string CreationDate { get; }
Property Value
System.String
Remarks
DbName
The name of the first database created in the namespace.
virtual string DbName { get; }
Property Value
System.String
Remarks
DefaultIamRoleArn
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
virtual string DefaultIamRoleArn { get; }
Property Value
System.String
Remarks
IamRoles
A list of IAM roles to associate with the namespace.
virtual string[] IamRoles { get; }
Property Value
System.String[]
Remarks
KmsKeyId
The ID of the AWS Key Management Service key used to encrypt your data.
virtual string KmsKeyId { get; }
Property Value
System.String
Remarks
LogExports
The types of logs the namespace can export.
virtual string[] LogExports { get; }
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.
virtual string NamespaceArn { get; }
Property Value
System.String
Remarks
NamespaceId
The unique identifier of a namespace.
virtual string NamespaceId { get; }
Property Value
System.String
Remarks
NamespaceName
The name of the namespace.
virtual string NamespaceName { get; }
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.
virtual string Status { get; }
Property Value
System.String