@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:05.704Z") @Stability(value=Experimental) 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.core.*;
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()
(experimental) Specifies characters to not include in generated passwords.
|
default IKey |
getKmsKey()
(experimental) KMS encryption key to encrypt the generated secret.
|
default SecretValue |
getPassword()
(experimental) Password.
|
default String |
getSecretName()
(experimental) The physical name of the secret, that will be generated.
|
String |
getUsername()
(experimental) Username.
|
@Stability(value=Experimental) @NotNull String getUsername()
@Stability(value=Experimental) @Nullable default String getExcludeCharacters()
Default: "\"
@Stability(value=Experimental) @Nullable default IKey getKmsKey()
Default: default master key
@Stability(value=Experimental) @Nullable default SecretValue getPassword()
Do not put passwords in your CDK code directly.
Default: a Secrets Manager generated password
@Stability(value=Experimental) @Nullable default String getSecretName()
Default: Secretsmanager will generate a physical name for the secret
@Stability(value=Experimental) static Login.Builder builder()
Login.Builder of LoginCopyright © 2022. All rights reserved.