Class CfnApp.BasicAuthConfigProperty
Use the BasicAuthConfig property type to set password protection at an app level to all your branches.
Inheritance
System.Object
CfnApp.BasicAuthConfigProperty
Implements
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class BasicAuthConfigProperty : Object, CfnApp.IBasicAuthConfigProperty
Syntax (vb)
Public Class BasicAuthConfigProperty
Inherits Object
Implements CfnApp.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
Constructors
BasicAuthConfigProperty() |
Properties
EnableBasicAuth | Enables basic authorization for the Amplify app's branches. |
Password | The password for basic authorization. |
Username | The user name for basic authorization. |
Constructors
BasicAuthConfigProperty()
public BasicAuthConfigProperty()
Properties
EnableBasicAuth
Enables basic authorization for the Amplify app's branches.
public object EnableBasicAuth { get; set; }
Property Value
System.Object
Remarks
Password
The password for basic authorization.
public string Password { get; set; }
Property Value
System.String
Remarks
Username
The user name for basic authorization.
public string Username { get; set; }
Property Value
System.String