Interface CfnApp.IBasicAuthConfigProperty
Use the BasicAuthConfig property type to set password protection at an app level to all your branches.
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.AWS.Amplify.dll
Syntax (csharp)
public interface IBasicAuthConfigProperty
Syntax (vb)
Public Interface IBasicAuthConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Amplify;
var basicAuthConfigProperty = new BasicAuthConfigProperty {
EnableBasicAuth = false,
Password = "password",
Username = "username"
};
Synopsis
Properties
EnableBasicAuth | Enables basic authorization for the Amplify app's branches. |
Password | The password for basic authorization. |
Username | The user name for basic authorization. |
Properties
EnableBasicAuth
Enables basic authorization for the Amplify app's branches.
virtual object EnableBasicAuth { get; }
Property Value
System.Object
Remarks
Password
The password for basic authorization.
virtual string Password { get; }
Property Value
System.String
Remarks
Length Constraints: Minimum length of 1. Maximum length of 255.
Username
The user name for basic authorization.
virtual string Username { get; }
Property Value
System.String
Remarks
Length Constraints: Minimum length of 1. Maximum length of 255.