Interface CfnBranch.IBasicAuthConfigProperty
Use the BasicAuthConfig property type to set password protection for a specific branch.
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 {
Password = "password",
Username = "username",
// the properties below are optional
EnableBasicAuth = false
};
Synopsis
Properties
EnableBasicAuth | Enables basic authorization for the branch. |
Password | The password for basic authorization. |
Username |
Properties
EnableBasicAuth
Enables basic authorization for the branch.
virtual object EnableBasicAuth { get; }
Property Value
System.Object
Remarks
Password
The password for basic authorization.
string Password { get; }
Property Value
System.String
Remarks
Username
string Username { get; }
Property Value
System.String