Class BasicAuth.Builder
java.lang.Object
software.amazon.awscdk.services.amplify.alpha.BasicAuth.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BasicAuth>
- Enclosing class:
BasicAuth
@Stability(Experimental)
public static final class BasicAuth.Builder
extends Object
implements software.amazon.jsii.Builder<BasicAuth>
(experimental) A fluent builder for
BasicAuth
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static BasicAuth.Builder
create()
encryptionKey
(IKey encryptionKey) (experimental) The encryption key to use to encrypt the password when it's generated in Secrets Manager.password
(SecretValue password) (experimental) The password.(experimental) The username.
-
Method Details
-
create
- Returns:
- a new instance of
BasicAuth.Builder
.
-
username
(experimental) The username.- Parameters:
username
- The username. This parameter is required.- Returns:
this
-
encryptionKey
(experimental) The encryption key to use to encrypt the password when it's generated in Secrets Manager.Default: - default master key
- Parameters:
encryptionKey
- The encryption key to use to encrypt the password when it's generated in Secrets Manager. This parameter is required.- Returns:
this
-
password
(experimental) The password.Default: - A Secrets Manager generated password
- Parameters:
password
- The password. This parameter is required.- Returns:
this
-
build
-