public static interface CfnBranch.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() .password("password") .username("username") // the properties below are optional .enableBasicAuth(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnBranch.BasicAuthConfigProperty.Builder
A builder for
CfnBranch.BasicAuthConfigProperty |
static class |
CfnBranch.BasicAuthConfigProperty.Jsii$Proxy
An implementation for
CfnBranch.BasicAuthConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnBranch.BasicAuthConfigProperty.Builder |
builder() |
default java.lang.Object |
getEnableBasicAuth()
Enables basic authorization for the branch.
|
java.lang.String |
getPassword()
The password for basic authorization.
|
java.lang.String |
getUsername()
The user name for basic authorization.
|
java.lang.String getPassword()
Length Constraints: Minimum length of 1. Maximum length of 255.
java.lang.String getUsername()
Length Constraints: Minimum length of 1. Maximum length of 255.
default java.lang.Object getEnableBasicAuth()
static CfnBranch.BasicAuthConfigProperty.Builder builder()