AWS::Amplify::Branch BasicAuthConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

AWS::Amplify::Branch BasicAuthConfig

Use the BasicAuthConfig property type to set password protection for a specific branch.

Syntax

To declare this entity in your Amazon 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.

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: Yes

Type: String

Update requires: No interruption

Username

The user name for basic authorization.

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: Yes

Type: String

Update requires: No interruption