@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.552Z") @Stability(value=Stable) public class CfnNamespace extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnNamespace.Builder
A fluent builder for
CfnNamespace. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnNamespace(software.constructs.Construct scope,
String id,
CfnNamespaceProps props)
Create a new `AWS::RedshiftServerless::Namespace`.
|
protected |
CfnNamespace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnNamespace(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdminUsername()
`AWS::RedshiftServerless::Namespace.AdminUsername`.
|
String |
getAdminUserPassword()
`AWS::RedshiftServerless::Namespace.AdminUserPassword`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDbName()
`AWS::RedshiftServerless::Namespace.DbName`.
|
String |
getDefaultIamRoleArn()
`AWS::RedshiftServerless::Namespace.DefaultIamRoleArn`.
|
String |
getFinalSnapshotName()
`AWS::RedshiftServerless::Namespace.FinalSnapshotName`.
|
Number |
getFinalSnapshotRetentionPeriod()
`AWS::RedshiftServerless::Namespace.FinalSnapshotRetentionPeriod`.
|
List<String> |
getIamRoles()
`AWS::RedshiftServerless::Namespace.IamRoles`.
|
String |
getKmsKeyId()
`AWS::RedshiftServerless::Namespace.KmsKeyId`.
|
List<String> |
getLogExports()
`AWS::RedshiftServerless::Namespace.LogExports`.
|
String |
getNamespaceName()
`AWS::RedshiftServerless::Namespace.NamespaceName`.
|
TagManager |
getTags()
`AWS::RedshiftServerless::Namespace.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAdminUsername(String value)
`AWS::RedshiftServerless::Namespace.AdminUsername`.
|
void |
setAdminUserPassword(String value)
`AWS::RedshiftServerless::Namespace.AdminUserPassword`.
|
void |
setDbName(String value)
`AWS::RedshiftServerless::Namespace.DbName`.
|
void |
setDefaultIamRoleArn(String value)
`AWS::RedshiftServerless::Namespace.DefaultIamRoleArn`.
|
void |
setFinalSnapshotName(String value)
`AWS::RedshiftServerless::Namespace.FinalSnapshotName`.
|
void |
setFinalSnapshotRetentionPeriod(Number value)
`AWS::RedshiftServerless::Namespace.FinalSnapshotRetentionPeriod`.
|
void |
setIamRoles(List<String> value)
`AWS::RedshiftServerless::Namespace.IamRoles`.
|
void |
setKmsKeyId(String value)
`AWS::RedshiftServerless::Namespace.KmsKeyId`.
|
void |
setLogExports(List<String> value)
`AWS::RedshiftServerless::Namespace.LogExports`.
|
void |
setNamespaceName(String value)
`AWS::RedshiftServerless::Namespace.NamespaceName`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnNamespace(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnNamespace(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnNamespace(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnNamespaceProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getNamespaceName()
@Stability(value=Stable)
public void setNamespaceName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getAdminUsername()
@Stability(value=Stable)
public void setAdminUsername(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getAdminUserPassword()
@Stability(value=Stable)
public void setAdminUserPassword(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDbName()
@Stability(value=Stable)
public void setDbName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDefaultIamRoleArn()
@Stability(value=Stable)
public void setDefaultIamRoleArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getFinalSnapshotName()
@Stability(value=Stable)
public void setFinalSnapshotName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getFinalSnapshotRetentionPeriod()
@Stability(value=Stable)
public void setFinalSnapshotRetentionPeriod(@Nullable
Number value)
@Stability(value=Stable) @Nullable public List<String> getIamRoles()
@Stability(value=Stable)
public void setIamRoles(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public String getKmsKeyId()
@Stability(value=Stable)
public void setKmsKeyId(@Nullable
String value)
@Stability(value=Stable) @Nullable public List<String> getLogExports()
Copyright © 2022. All rights reserved.