AWS CloudFormation
User Guide (Version )

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 Auth for the branch.

Required: No

Type: Boolean

Update requires: No interruption

Password

The password for basic authorization.

Required: Yes

Type: String

Update requires: No interruption

Username

The user name for basic authorization.

Required: Yes

Type: String

Update requires: No interruption

On this page: