Interface IUserProps
(experimental) Properties for configuring a Redshift user.
Namespace: Amazon.CDK.AWS.Redshift
Assembly: Amazon.CDK.AWS.Redshift.dll
Syntax (csharp)
public interface IUserProps : IDatabaseOptions
Syntax (vb)
Public Interface IUserProps
Inherits IDatabaseOptions
Remarks
Stability: Experimental
ExampleMetadata: fixture=cluster infused
Examples
var user = new User(this, "User", new UserProps {
Cluster = cluster,
DatabaseName = "databaseName"
});
cluster.AddRotationMultiUser("MultiUserRotation", new RotationMultiUserOptions {
Secret = user.Secret
});
Synopsis
Properties
EncryptionKey | (experimental) KMS key to encrypt the generated secret. |
RemovalPolicy | (experimental) The policy to apply when this resource is removed from the application. |
Username | (experimental) The name of the user. |
Properties
EncryptionKey
(experimental) KMS key to encrypt the generated secret.
virtual IKey EncryptionKey { get; }
Property Value
Remarks
Default: - the default AWS managed key is used
Stability: Experimental
RemovalPolicy
(experimental) The policy to apply when this resource is removed from the application.
virtual Nullable<RemovalPolicy> RemovalPolicy { get; }
Property Value
System.Nullable<RemovalPolicy>
Remarks
Default: cdk.RemovalPolicy.Destroy
Stability: Experimental
Username
(experimental) The name of the user.
virtual string Username { get; }
Property Value
System.String
Remarks
For valid values, see: https://docs.aws.amazon.com/redshift/latest/dg/r_names.html
Default: - a name is generated
Stability: Experimental