@aws-cdk_aws-amplify-alpha.BasicAuthConfig

interface BasicAuthConfig ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Amplify.Alpha.BasicAuthConfig
Gogithub.com/aws/aws-cdk-go/awscdkamplifyalpha/v2#BasicAuthConfig
Javasoftware.amazon.awscdk.services.amplify.alpha.BasicAuthConfig
Pythonaws_cdk.aws_amplify_alpha.BasicAuthConfig
TypeScript (source)@aws-cdk/aws-amplify-alpha ยป BasicAuthConfig

Obtainable from BasicAuth.bind()

A Basic Auth configuration.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as amplify_alpha from '@aws-cdk/aws-amplify-alpha';
const basicAuthConfig: amplify_alpha.BasicAuthConfig = {
  enableBasicAuth: false,
  password: 'password',
  username: 'username',
};

Properties

NameTypeDescription
enableBasicAuth๐Ÿ”นbooleanWhether to enable Basic Auth.
password๐Ÿ”นstringThe password.
username๐Ÿ”นstringThe username.

enableBasicAuth๐Ÿ”น

Type: boolean

Whether to enable Basic Auth.


password๐Ÿ”น

Type: string

The password.


username๐Ÿ”น

Type: string

The username.