Class BasicAuthConfig
(experimental) A Basic Auth configuration.
Inheritance
System.Object
BasicAuthConfig
Implements
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.AWS.Amplify.dll
Syntax (csharp)
public class BasicAuthConfig : Object, IBasicAuthConfig
Syntax (vb)
Public Class BasicAuthConfig
Inherits Object
Implements IBasicAuthConfig
Remarks
Stability: Experimental
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 basicAuthConfig = new BasicAuthConfig {
EnableBasicAuth = false,
Password = "password",
Username = "username"
};
Synopsis
Constructors
BasicAuthConfig() |
Properties
EnableBasicAuth | (experimental) Whether to enable Basic Auth. |
Password | (experimental) The password. |
Username | (experimental) The username. |
Constructors
BasicAuthConfig()
public BasicAuthConfig()
Properties
EnableBasicAuth
(experimental) Whether to enable Basic Auth.
public bool EnableBasicAuth { get; set; }
Property Value
System.Boolean
Remarks
Stability: Experimental
Password
(experimental) The password.
public string Password { get; set; }
Property Value
System.String
Remarks
Stability: Experimental
Username
(experimental) The username.
public string Username { get; set; }
Property Value
System.String
Remarks
Stability: Experimental