@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-02T20:25:33.021Z") public class DatabaseSecret extends Secret
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.kms.*; import software.amazon.awscdk.services.redshift.*; Key key; DatabaseSecret databaseSecret = DatabaseSecret.Builder.create(this, "MyDatabaseSecret") .username("username") // the properties below are optional .encryptionKey(key) .build();
Modifier and Type | Class and Description |
---|---|
static class |
DatabaseSecret.Builder
(experimental) A fluent builder for
DatabaseSecret . |
ISecret.Jsii$Default, ISecret.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
DatabaseSecret(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DatabaseSecret(software.amazon.jsii.JsiiObjectRef objRef) |
|
DatabaseSecret(software.constructs.Construct scope,
java.lang.String id,
DatabaseSecretProps props) |
addReplicaRegion, addReplicaRegion, addRotationSchedule, addTargetAttachment, addToResourcePolicy, attach, denyAccountRootDelete, fromSecretArn, fromSecretAttributes, fromSecretCompleteArn, fromSecretName, fromSecretNameV2, fromSecretPartialArn, getArnForPolicies, getAutoCreatePolicy, getEncryptionKey, getSecretArn, getSecretFullArn, getSecretName, getSecretValue, grantRead, grantRead, grantWrite, secretValueFromJson, validate
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected DatabaseSecret(software.amazon.jsii.JsiiObjectRef objRef)
protected DatabaseSecret(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public DatabaseSecret(software.constructs.Construct scope, java.lang.String id, DatabaseSecretProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.