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() .adminPasswordSecretArn("adminPasswordSecretArn") .adminPasswordSecretKmsKeyId("adminPasswordSecretKmsKeyId") .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();
- See Also:
-
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 Amazon Resource Name (ARN) for the namespace's admin user credentials secret.default String
The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.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
-
getAdminPasswordSecretArn
The Amazon Resource Name (ARN) for the namespace's admin user credentials secret.- See Also:
-
getAdminPasswordSecretKmsKeyId
The ID of the AWS Key Management Service (KMS) key used to encrypt and store the namespace's admin credentials secret.- See Also:
-
getAdminUsername
The username of the administrator for the first database created in the namespace.- See Also:
-
getCreationDate
The date of when the namespace was created.- See Also:
-
getDbName
The name of the first database created in the namespace.- See Also:
-
getDefaultIamRoleArn
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.- See Also:
-
getIamRoles
A list of IAM roles to associate with the namespace.- See Also:
-
getKmsKeyId
The ID of the AWS Key Management Service key used to encrypt your data.- See Also:
-
getLogExports
The types of logs the namespace can export.Available export types are User log, Connection log, and User activity log.
- See Also:
-
getNamespaceArn
The Amazon Resource Name (ARN) associated with a namespace.- See Also:
-
getNamespaceId
The unique identifier of a namespace.- See Also:
-
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.
- See Also:
-
getStatus
The status of the namespace.- See Also:
-
builder
-