AWS::Amplify::Branch BasicAuthConfig
Use the BasicAuthConfig property type to set password protection for a specific branch.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "EnableBasicAuth" :
Boolean
, "Password" :String
, "Username" :String
}
YAML
EnableBasicAuth:
Boolean
Password:String
Username:String
Properties
EnableBasicAuth
-
Enables basic authorization for the branch.
Required: No
Type: Boolean
Update requires: No interruption
Password
-
The password for basic authorization.
Required: Yes
Type: String
Minimum:
1
Maximum:
255
Update requires: No interruption
Username
-
Required: Yes
Type: String
Minimum:
1
Maximum:
255
Update requires: No interruption