Experimental
@aws-cdk/aws-amplify-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
BasicAuthConfig Struct
A Basic Auth configuration.
Example
ts
// 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
enableBasicAuthbooleanenable_basic_authboolenableBasicAuthBooleanEnableBasicAuthboolEnableBasicAuth*boolrequired#Whether to enable Basic Auth.
The password.
The username.