BasicAuthConfig

class aws_cdk.aws_amplify.BasicAuthConfig(*, enable_basic_auth, password, username)

Bases: object

(experimental) A Basic Auth configuration.

Parameters
  • enable_basic_auth (bool) – (experimental) Whether to enable Basic Auth.

  • password (str) – (experimental) The password.

  • username (str) – (experimental) The username.

Stability

experimental

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplify as amplify

basic_auth_config = amplify.BasicAuthConfig(
    enable_basic_auth=False,
    password="password",
    username="username"
)

Attributes

enable_basic_auth

(experimental) Whether to enable Basic Auth.

Stability

experimental

Return type

bool

password

(experimental) The password.

Stability

experimental

Return type

str

username

(experimental) The username.

Stability

experimental

Return type

str