AWS::RedshiftServerless::NamespaceA collection of database objects and users.
import { CfnNamespace } from 'aws-cdk-lib/aws-redshiftserverless';Or use the module namespace:
import * as redshiftserverless from 'aws-cdk-lib/aws-redshiftserverless';
// redshiftserverless.CfnNamespaceConfiguration passed to the constructor as CfnNamespaceProps.
namespaceNameRequiredstringThe 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](https://docs.aws.amazon.com//redshift/latest/dg/r_pg_keywords.html) in the Amazon Redshift Database Developer Guide.
adminPasswordSecretKmsKeyIdOptionalstringThe ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret. You can only use this parameter if `ManageAdminPassword` is `true` .
adminUsernameOptionalstringThe username of the administrator for the primary database created in the namespace.
adminUserPasswordOptionalstringThe password of the administrator for the primary database created in the namespace.
dbNameOptionalstringThe name of the primary database created in the namespace.
defaultIamRoleArnOptionalstring | IRoleRefThe Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
finalSnapshotNameOptionalstringThe name of the snapshot to be created before the namespace is deleted.
finalSnapshotRetentionPeriodOptionalnumberHow long to retain the final snapshot.
iamRolesOptionalstring | IRoleRef[]A list of IAM roles to associate with the namespace.
kmsKeyIdOptionalstring | IKeyRefThe ID of the AWS Key Management Service key used to encrypt your data.
logExportsOptionalstring[]The types of logs the namespace can export. Available export types are `userlog` , `connectionlog` , and `useractivitylog` .
manageAdminPasswordOptionalboolean | IResolvableIf true, Amazon Redshift uses AWS Secrets Manager to manage the namespace's admin credentials. You can't use `AdminUserPassword` if `ManageAdminPassword` is true. If `ManageAdminPassword` is `false` or not set, Amazon Redshift uses `AdminUserPassword` for the admin user account's password.
namespaceResourcePolicyOptionalanyThe resource policy that will be attached to the namespace.
redshiftIdcApplicationArnOptionalstringThe ARN for the Redshift application that integrates with IAM Identity Center.
snapshotCopyConfigurationsOptionalIResolvable | IResolvable | SnapshotCopyConfigurationProperty[]The snapshot copy configurations for the namespace.
tagsOptionalCfnTag[]The map of the key-value pairs used to tag the namespace.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-redshiftserverlessAWS::RedshiftServerless::Namespace