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 Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnNamespace.NamespaceProperty
static final class
An implementation forCfnNamespace.NamespaceProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The username of the administrator for the first database created in the namespace.default String
The date of when the namespace was created.default String
The name of the first database created in the namespace.default String
The 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 String
The ID of the AWS Key Management Service key used to encrypt your data.The types of logs the namespace can export.default String
The Amazon Resource Name (ARN) associated with a namespace.default String
The unique identifier of a namespace.default String
The name of the namespace.default String
The status of the namespace.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdminUsername
The username of the administrator for the first database created in the namespace. -
getCreationDate
The date of when the namespace was created. -
getDbName
The name of the first database created in the namespace. -
getDefaultIamRoleArn
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. -
getIamRoles
A list of IAM roles to associate with the namespace. -
getKmsKeyId
The ID of the AWS Key Management Service key used to encrypt your data. -
getLogExports
The types of logs the namespace can export.Available export types are User log, Connection log, and User activity log.
-
getNamespaceArn
The Amazon Resource Name (ARN) associated with a namespace. -
getNamespaceId
The unique identifier of a namespace. -
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
The status of the namespace. -
builder
-