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();
 
  • Method Details

    • getAdminUsername

      @Stability(Stable) @Nullable default String getAdminUsername()
      The username of the administrator for the first database created in the namespace.
    • getCreationDate

      @Stability(Stable) @Nullable default String getCreationDate()
      The date of when the namespace was created.
    • getDbName

      @Stability(Stable) @Nullable default String getDbName()
      The name of the first database created in the namespace.
    • getDefaultIamRoleArn

      @Stability(Stable) @Nullable default String getDefaultIamRoleArn()
      The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.
    • getIamRoles

      @Stability(Stable) @Nullable default List<String> getIamRoles()
      A list of IAM roles to associate with the namespace.
    • getKmsKeyId

      @Stability(Stable) @Nullable default String getKmsKeyId()
      The ID of the AWS Key Management Service key used to encrypt your data.
    • getLogExports

      @Stability(Stable) @Nullable default List<String> getLogExports()
      The types of logs the namespace can export.

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

    • getNamespaceArn

      @Stability(Stable) @Nullable default String getNamespaceArn()
      The Amazon Resource Name (ARN) associated with a namespace.
    • getNamespaceId

      @Stability(Stable) @Nullable default String getNamespaceId()
      The unique identifier of a namespace.
    • getNamespaceName

      @Stability(Stable) @Nullable default String getNamespaceName()
      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.

    • getStatus

      @Stability(Stable) @Nullable default String getStatus()
      The status of the namespace.
    • builder

      @Stability(Stable) static CfnNamespace.NamespaceProperty.Builder builder()
      Returns:
      a CfnNamespace.NamespaceProperty.Builder of CfnNamespace.NamespaceProperty