BasicAuthProps

class aws_cdk.aws_amplify.BasicAuthProps(*, username, encryption_key=None, password=None)

Bases: object

(experimental) Properties for a BasicAuth.

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

  • encryption_key (Optional[IKey]) – (experimental) The encryption key to use to encrypt the password when it’s generated in Secrets Manager. Default: - default master key

  • password (Optional[SecretValue]) – (experimental) The password. Default: - A Secrets Manager generated password

Stability

experimental

Attributes

encryption_key

(experimental) The encryption key to use to encrypt the password when it’s generated in Secrets Manager.

Default
  • default master key

Stability

experimental

Return type

Optional[IKey]

password

(experimental) The password.

Default
  • A Secrets Manager generated password

Stability

experimental

Return type

Optional[SecretValue]

username

(experimental) The username.

Stability

experimental

Return type

str