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.Lib.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
Enable |
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.
Remarks
Password
The password for basic authorization.
virtual string Password { get; }
Property Value
System.
Remarks
Username
The user name for basic authorization.
virtual string Username { get; }
Property Value
System.