public static interface CfnApp.BasicAuthConfigProperty
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.*; BasicAuthConfigProperty basicAuthConfigProperty = BasicAuthConfigProperty.builder() .enableBasicAuth(false) .password("password") .username("username") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnApp.BasicAuthConfigProperty.Builder
A builder for
CfnApp.BasicAuthConfigProperty |
static class |
CfnApp.BasicAuthConfigProperty.Jsii$Proxy
An implementation for
CfnApp.BasicAuthConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnApp.BasicAuthConfigProperty.Builder |
builder() |
default java.lang.Object |
getEnableBasicAuth()
Enables basic authorization for the Amplify app's branches.
|
default java.lang.String |
getPassword()
The password for basic authorization.
|
default java.lang.String |
getUsername()
The user name for basic authorization.
|
default java.lang.Object getEnableBasicAuth()
default java.lang.String getPassword()
Length Constraints: Minimum length of 1. Maximum length of 255.
default java.lang.String getUsername()
Length Constraints: Minimum length of 1. Maximum length of 255.
static CfnApp.BasicAuthConfigProperty.Builder builder()