@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:01.359Z") @Stability(value=Experimental) public interface BasicAuthProps 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.amplify.*;
import software.amazon.awscdk.services.kms.*;
Key key;
SecretValue secretValue;
BasicAuthProps basicAuthProps = BasicAuthProps.builder()
.username("username")
// the properties below are optional
.encryptionKey(key)
.password(secretValue)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
BasicAuthProps.Builder
A builder for
BasicAuthProps |
static class |
BasicAuthProps.Jsii$Proxy
An implementation for
BasicAuthProps |
| Modifier and Type | Method and Description |
|---|---|
static BasicAuthProps.Builder |
builder() |
default IKey |
getEncryptionKey()
(experimental) The encryption key to use to encrypt the password when it's generated in Secrets Manager.
|
default SecretValue |
getPassword()
(experimental) The password.
|
String |
getUsername()
(experimental) The username.
|
@Stability(value=Experimental) @NotNull String getUsername()
@Stability(value=Experimental) @Nullable default IKey getEncryptionKey()
Default: - default master key
@Stability(value=Experimental) @Nullable default SecretValue getPassword()
Default: - A Secrets Manager generated password
@Stability(value=Experimental) static BasicAuthProps.Builder builder()
BasicAuthProps.Builder of BasicAuthPropsCopyright © 2022. All rights reserved.