Interface BasicAuthConfig

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.076Z") @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.*;
 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