Class CfnNamespacePropsMixin
A collection of database objects and users.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.RedshiftServerless.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnNamespacePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnNamespacePropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::RedshiftServerless::Namespace
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.RedshiftServerless.Mixins;
var namespaceResourcePolicy;
var cfnNamespacePropsMixin = new CfnNamespacePropsMixin(new CfnNamespaceMixinProps {
AdminPasswordSecretKmsKeyId = "adminPasswordSecretKmsKeyId",
AdminUsername = "adminUsername",
AdminUserPassword = "adminUserPassword",
DbName = "dbName",
DefaultIamRoleArn = "defaultIamRoleArn",
FinalSnapshotName = "finalSnapshotName",
FinalSnapshotRetentionPeriod = 123,
IamRoles = new [] { "iamRoles" },
KmsKeyId = "kmsKeyId",
LogExports = new [] { "logExports" },
ManageAdminPassword = false,
NamespaceName = "namespaceName",
NamespaceResourcePolicy = namespaceResourcePolicy,
RedshiftIdcApplicationArn = "redshiftIdcApplicationArn",
SnapshotCopyConfigurations = new [] { new SnapshotCopyConfigurationProperty {
DestinationKmsKeyId = "destinationKmsKeyId",
DestinationRegion = "destinationRegion",
SnapshotRetentionPeriod = 123
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnNamespacePropsMixin(ICfnNamespaceMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | A collection of database objects and users. |
| Props | A collection of database objects and users. |
| Strategy | A collection of database objects and users. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnNamespacePropsMixin(ICfnNamespaceMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::RedshiftServerless::Namespace.
public CfnNamespacePropsMixin(ICfnNamespaceMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnNamespaceMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::RedshiftServerless::Namespace
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
A collection of database objects and users.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::RedshiftServerless::Namespace
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.RedshiftServerless.Mixins;
var namespaceResourcePolicy;
var cfnNamespacePropsMixin = new CfnNamespacePropsMixin(new CfnNamespaceMixinProps {
AdminPasswordSecretKmsKeyId = "adminPasswordSecretKmsKeyId",
AdminUsername = "adminUsername",
AdminUserPassword = "adminUserPassword",
DbName = "dbName",
DefaultIamRoleArn = "defaultIamRoleArn",
FinalSnapshotName = "finalSnapshotName",
FinalSnapshotRetentionPeriod = 123,
IamRoles = new [] { "iamRoles" },
KmsKeyId = "kmsKeyId",
LogExports = new [] { "logExports" },
ManageAdminPassword = false,
NamespaceName = "namespaceName",
NamespaceResourcePolicy = namespaceResourcePolicy,
RedshiftIdcApplicationArn = "redshiftIdcApplicationArn",
SnapshotCopyConfigurations = new [] { new SnapshotCopyConfigurationProperty {
DestinationKmsKeyId = "destinationKmsKeyId",
DestinationRegion = "destinationRegion",
SnapshotRetentionPeriod = 123
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
A collection of database objects and users.
protected virtual ICfnNamespaceMixinProps Props { get; }
Property Value
Remarks
CloudformationResource: AWS::RedshiftServerless::Namespace
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.RedshiftServerless.Mixins;
var namespaceResourcePolicy;
var cfnNamespacePropsMixin = new CfnNamespacePropsMixin(new CfnNamespaceMixinProps {
AdminPasswordSecretKmsKeyId = "adminPasswordSecretKmsKeyId",
AdminUsername = "adminUsername",
AdminUserPassword = "adminUserPassword",
DbName = "dbName",
DefaultIamRoleArn = "defaultIamRoleArn",
FinalSnapshotName = "finalSnapshotName",
FinalSnapshotRetentionPeriod = 123,
IamRoles = new [] { "iamRoles" },
KmsKeyId = "kmsKeyId",
LogExports = new [] { "logExports" },
ManageAdminPassword = false,
NamespaceName = "namespaceName",
NamespaceResourcePolicy = namespaceResourcePolicy,
RedshiftIdcApplicationArn = "redshiftIdcApplicationArn",
SnapshotCopyConfigurations = new [] { new SnapshotCopyConfigurationProperty {
DestinationKmsKeyId = "destinationKmsKeyId",
DestinationRegion = "destinationRegion",
SnapshotRetentionPeriod = 123
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
A collection of database objects and users.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::RedshiftServerless::Namespace
Mixin: true
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.RedshiftServerless.Mixins;
var namespaceResourcePolicy;
var cfnNamespacePropsMixin = new CfnNamespacePropsMixin(new CfnNamespaceMixinProps {
AdminPasswordSecretKmsKeyId = "adminPasswordSecretKmsKeyId",
AdminUsername = "adminUsername",
AdminUserPassword = "adminUserPassword",
DbName = "dbName",
DefaultIamRoleArn = "defaultIamRoleArn",
FinalSnapshotName = "finalSnapshotName",
FinalSnapshotRetentionPeriod = 123,
IamRoles = new [] { "iamRoles" },
KmsKeyId = "kmsKeyId",
LogExports = new [] { "logExports" },
ManageAdminPassword = false,
NamespaceName = "namespaceName",
NamespaceResourcePolicy = namespaceResourcePolicy,
RedshiftIdcApplicationArn = "redshiftIdcApplicationArn",
SnapshotCopyConfigurations = new [] { new SnapshotCopyConfigurationProperty {
DestinationKmsKeyId = "destinationKmsKeyId",
DestinationRegion = "destinationRegion",
SnapshotRetentionPeriod = 123
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
CloudformationResource: AWS::RedshiftServerless::Namespace
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::RedshiftServerless::Namespace
Mixin: true
ExampleMetadata: fixture=_generated