Class CfnNamespace
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.redshiftserverless.CfnNamespace
- All Implemented Interfaces:
IInspectable,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-03T18:29:31.757Z")
@Stability(Stable)
public class CfnNamespace
extends CfnResource
implements IInspectable, ITaggable
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.*;
CfnNamespace cfnNamespace = CfnNamespace.Builder.create(this, "MyCfnNamespace")
.namespaceName("namespaceName")
// the properties below are optional
.adminUsername("adminUsername")
.adminUserPassword("adminUserPassword")
.dbName("dbName")
.defaultIamRoleArn("defaultIamRoleArn")
.finalSnapshotName("finalSnapshotName")
.finalSnapshotRetentionPeriod(123)
.iamRoles(List.of("iamRoles"))
.kmsKeyId("kmsKeyId")
.logExports(List.of("logExports"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnNamespace.static interfaceA collection of database objects and users.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnNamespace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnNamespace(software.amazon.jsii.JsiiObjectRef objRef) CfnNamespace(software.constructs.Construct scope, String id, CfnNamespaceProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe username of the administrator for the primary database created in the namespace.The password of the administrator for the primary database created in the namespace.The collection of computing resources from which an endpoint is created.The name of the primary database created in the namespace.The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.The name of the snapshot to be created before the namespace is deleted.How long to retain the final snapshot.A list of IAM roles to associate with the namespace.The ID of the AWS Key Management Service key used to encrypt your data.The types of logs the namespace can export.The name of the namespace.getTags()Tag Manager which manages the tags for this resource.The map of the key-value pairs used to tag the namespace.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAdminUsername(String value) The username of the administrator for the primary database created in the namespace.voidsetAdminUserPassword(String value) The password of the administrator for the primary database created in the namespace.voidThe name of the primary database created in the namespace.voidsetDefaultIamRoleArn(String value) The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace.voidsetFinalSnapshotName(String value) The name of the snapshot to be created before the namespace is deleted.voidHow long to retain the final snapshot.voidsetIamRoles(List<String> value) A list of IAM roles to associate with the namespace.voidsetKmsKeyId(String value) The ID of the AWS Key Management Service key used to encrypt your data.voidsetLogExports(List<String> value) The types of logs the namespace can export.voidsetNamespaceName(String value) The name of the namespace.voidsetTagsRaw(List<CfnTag> value) The map of the key-value pairs used to tag the namespace.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnNamespace
protected CfnNamespace(software.amazon.jsii.JsiiObjectRef objRef) -
CfnNamespace
protected CfnNamespace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnNamespace
@Stability(Stable) public CfnNamespace(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnNamespaceProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrNamespace
The collection of computing resources from which an endpoint is created. -
getAttrNamespaceAdminUsername
-
getAttrNamespaceCreationDate
-
getAttrNamespaceDbName
-
getAttrNamespaceDefaultIamRoleArn
-
getAttrNamespaceIamRoles
-
getAttrNamespaceKmsKeyId
-
getAttrNamespaceLogExports
-
getAttrNamespaceNamespaceArn
-
getAttrNamespaceNamespaceId
-
getAttrNamespaceNamespaceName
-
getAttrNamespaceStatus
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getNamespaceName
The name of the namespace. -
setNamespaceName
The name of the namespace. -
getAdminUsername
The username of the administrator for the primary database created in the namespace. -
setAdminUsername
The username of the administrator for the primary database created in the namespace. -
getAdminUserPassword
The password of the administrator for the primary database created in the namespace. -
setAdminUserPassword
The password of the administrator for the primary database created in the namespace. -
getDbName
The name of the primary database created in the namespace. -
setDbName
The name of the primary database created in the namespace. -
getDefaultIamRoleArn
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. -
setDefaultIamRoleArn
The Amazon Resource Name (ARN) of the IAM role to set as a default in the namespace. -
getFinalSnapshotName
The name of the snapshot to be created before the namespace is deleted. -
setFinalSnapshotName
The name of the snapshot to be created before the namespace is deleted. -
getFinalSnapshotRetentionPeriod
How long to retain the final snapshot. -
setFinalSnapshotRetentionPeriod
How long to retain the final snapshot. -
getIamRoles
A list of IAM roles to associate with the namespace. -
setIamRoles
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. -
setKmsKeyId
The ID of the AWS Key Management Service key used to encrypt your data. -
getLogExports
The types of logs the namespace can export. -
setLogExports
The types of logs the namespace can export. -
getTagsRaw
The map of the key-value pairs used to tag the namespace. -
setTagsRaw
The map of the key-value pairs used to tag the namespace.
-