aws-cdk-lib.aws_redshiftserverless.CfnNamespace.NamespaceProperty

interface NamespaceProperty

LanguageType name
.NETAmazon.CDK.AWS.RedshiftServerless.CfnNamespace.NamespaceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsredshiftserverless#CfnNamespace_NamespaceProperty
Javasoftware.amazon.awscdk.services.redshiftserverless.CfnNamespace.NamespaceProperty
Pythonaws_cdk.aws_redshiftserverless.CfnNamespace.NamespaceProperty
TypeScript aws-cdk-lib » aws_redshiftserverless » CfnNamespace » NamespaceProperty

A collection of database objects and users.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshiftserverless as redshiftserverless } from 'aws-cdk-lib';
const namespaceProperty: redshiftserverless.CfnNamespace.NamespaceProperty = {
  adminUsername: 'adminUsername',
  creationDate: 'creationDate',
  dbName: 'dbName',
  defaultIamRoleArn: 'defaultIamRoleArn',
  iamRoles: ['iamRoles'],
  kmsKeyId: 'kmsKeyId',
  logExports: ['logExports'],
  namespaceArn: 'namespaceArn',
  namespaceId: 'namespaceId',
  namespaceName: 'namespaceName',
  status: 'status',
};

Properties

NameTypeDescription
adminUsername?stringThe username of the administrator for the first database created in the namespace.
creationDate?stringThe date of when the namespace was created.
dbName?stringThe name of the first database created in the namespace.
defaultIamRoleArn?stringThe Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
iamRoles?string[]A list of IAM roles to associate with the namespace.
kmsKeyId?stringThe ID of the AWS Key Management Service key used to encrypt your data.
logExports?string[]The types of logs the namespace can export.
namespaceArn?stringThe Amazon Resource Name (ARN) associated with a namespace.
namespaceId?stringThe unique identifier of a namespace.
namespaceName?stringThe name of the namespace.
status?stringThe status of the namespace.

adminUsername?

Type: string (optional)

The username of the administrator for the first database created in the namespace.


creationDate?

Type: string (optional)

The date of when the namespace was created.


dbName?

Type: string (optional)

The name of the first database created in the namespace.


defaultIamRoleArn?

Type: string (optional)

The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.


iamRoles?

Type: string[] (optional)

A list of IAM roles to associate with the namespace.


kmsKeyId?

Type: string (optional)

The ID of the AWS Key Management Service key used to encrypt your data.


logExports?

Type: string[] (optional)

The types of logs the namespace can export.

Available export types are User log, Connection log, and User activity log.


namespaceArn?

Type: string (optional)

The Amazon Resource Name (ARN) associated with a namespace.


namespaceId?

Type: string (optional)

The unique identifier of a namespace.


namespaceName?

Type: string (optional)

The name of the namespace.

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?

Type: string (optional)

The status of the namespace.