Interface BasicAuthConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BasicAuthConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-24T02:42:46.305Z") @Stability(Experimental) public interface BasicAuthConfig extends software.amazon.jsii.JsiiSerializable
(experimental) A Basic Auth configuration.

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.*;
 BasicAuthConfig basicAuthConfig = BasicAuthConfig.builder()
         .enableBasicAuth(false)
         .password("password")
         .username("username")
         .build();
 
  • Method Details

    • getEnableBasicAuth

      @Stability(Experimental) @NotNull Boolean getEnableBasicAuth()
      (experimental) Whether to enable Basic Auth.
    • getPassword

      @Stability(Experimental) @NotNull String getPassword()
      (experimental) The password.
    • getUsername

      @Stability(Experimental) @NotNull String getUsername()
      (experimental) The username.
    • builder

      @Stability(Experimental) static BasicAuthConfig.Builder builder()
      Returns:
      a BasicAuthConfig.Builder of BasicAuthConfig