Interface BasicAuthProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BasicAuthProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:25:07.477Z")
@Stability(Experimental)
public interface BasicAuthProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for a BasicAuth.
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.amplify.alpha.*; import software.amazon.awscdk.*; 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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forBasicAuthProps
static final class
An implementation forBasicAuthProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic BasicAuthProps.Builder
builder()
default IKey
(experimental) The encryption key to use to encrypt the password when it's generated in Secrets Manager.default SecretValue
(experimental) The password.(experimental) The username.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUsername
(experimental) The username. -
getEncryptionKey
(experimental) The encryption key to use to encrypt the password when it's generated in Secrets Manager.Default: - default master key
-
getPassword
(experimental) The password.Default: - A Secrets Manager generated password
-
builder
- Returns:
- a
BasicAuthProps.Builder
ofBasicAuthProps
-