Interface CfnNamespace.NamespaceProperty
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnNamespace.NamespaceProperty.Jsii$Proxy
- Enclosing class:
- CfnNamespace
@Stability(Stable)
public static interface CfnNamespace.NamespaceProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.redshiftserverless.*;
 NamespaceProperty namespaceProperty = NamespaceProperty.builder()
         .adminUsername("adminUsername")
         .creationDate("creationDate")
         .dbName("dbName")
         .defaultIamRoleArn("defaultIamRoleArn")
         .iamRoles(List.of("iamRoles"))
         .kmsKeyId("kmsKeyId")
         .logExports(List.of("logExports"))
         .namespaceArn("namespaceArn")
         .namespaceId("namespaceId")
         .namespaceName("namespaceName")
         .status("status")
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNamespace.NamespacePropertystatic final classAn implementation forCfnNamespace.NamespaceProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default StringThe username of the administrator for the first database created in the namespace.default StringThe date of when the namespace was created.default StringThe name of the first database created in the namespace.default StringThe Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.A list of IAM roles to associate with the namespace.default StringThe ID of the AWS Key Management Service key used to encrypt your data.The types of logs the namespace can export.default StringThe Amazon Resource Name (ARN) associated with a namespace.default StringThe unique identifier of a namespace.default StringThe name of the namespace.default StringThe status of the namespace.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getAdminUsernameThe username of the administrator for the first database created in the namespace.
- 
getCreationDateThe date of when the namespace was created.
- 
getDbNameThe name of the first database created in the namespace.
- 
getDefaultIamRoleArnThe Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
- 
getIamRolesA list of IAM roles to associate with the namespace.
- 
getKmsKeyIdThe ID of the AWS Key Management Service key used to encrypt your data.
- 
getLogExportsThe types of logs the namespace can export.Available export types are User log, Connection log, and User activity log. 
- 
getNamespaceArnThe Amazon Resource Name (ARN) associated with a namespace.
- 
getNamespaceIdThe unique identifier of a namespace.
- 
getNamespaceNameThe 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. 
- 
getStatusThe status of the namespace.
- 
builder
 
-