@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.839Z") @Stability(value=Stable) public interface Login extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.docdb.*;
import software.amazon.awscdk.services.kms.*;
Key key;
SecretValue secretValue;
Login login = Login.builder()
.username("username")
// the properties below are optional
.excludeCharacters("excludeCharacters")
.kmsKey(key)
.password(secretValue)
.secretName("secretName")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
Login.Builder
A builder for
Login |
static class |
Login.Jsii$Proxy
An implementation for
Login |
| Modifier and Type | Method and Description |
|---|---|
static Login.Builder |
builder() |
default String |
getExcludeCharacters()
Specifies characters to not include in generated passwords.
|
default IKey |
getKmsKey()
KMS encryption key to encrypt the generated secret.
|
default SecretValue |
getPassword()
Password.
|
default String |
getSecretName()
The physical name of the secret, that will be generated.
|
String |
getUsername()
Username.
|
@Stability(value=Stable) @Nullable default String getExcludeCharacters()
Default: "\"
@Stability(value=Stable) @Nullable default IKey getKmsKey()
Default: default master key
@Stability(value=Stable) @Nullable default SecretValue getPassword()
Do not put passwords in your CDK code directly.
Default: a Secrets Manager generated password
@Stability(value=Stable) @Nullable default String getSecretName()
Default: Secretsmanager will generate a physical name for the secret
@Stability(value=Stable) @NotNull String getUsername()
@Stability(value=Stable) static Login.Builder builder()
Login.Builder of LoginCopyright © 2021. All rights reserved.