Show / Hide Table of Contents

Class CfnBranch.BasicAuthConfigProperty

Use the BasicAuthConfig property type to set password protection for a specific branch.

Inheritance
System.Object
CfnBranch.BasicAuthConfigProperty
Implements
CfnBranch.IBasicAuthConfigProperty
Namespace: Amazon.CDK.AWS.Amplify
Assembly: Amazon.CDK.AWS.Amplify.dll
Syntax (csharp)
public class BasicAuthConfigProperty : Object, CfnBranch.IBasicAuthConfigProperty
Syntax (vb)
Public Class BasicAuthConfigProperty
    Inherits Object
    Implements CfnBranch.IBasicAuthConfigProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-basicauthconfig.html

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

Constructors

BasicAuthConfigProperty()

Properties

EnableBasicAuth

Enables basic authorization for the branch.

Password

The password for basic authorization.

Username

The user name for basic authorization.

Constructors

BasicAuthConfigProperty()

public BasicAuthConfigProperty()

Properties

EnableBasicAuth

Enables basic authorization for the branch.

public object EnableBasicAuth { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-basicauthconfig.html#cfn-amplify-branch-basicauthconfig-enablebasicauth

Password

The password for basic authorization.

public string Password { get; set; }
Property Value

System.String

Remarks

Length Constraints: Minimum length of 1. Maximum length of 255.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-basicauthconfig.html#cfn-amplify-branch-basicauthconfig-password

Username

The user name for basic authorization.

public string Username { get; set; }
Property Value

System.String

Remarks

Length Constraints: Minimum length of 1. Maximum length of 255.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-branch-basicauthconfig.html#cfn-amplify-branch-basicauthconfig-username

Implements

CfnBranch.IBasicAuthConfigProperty
Back to top Generated by DocFX