DatabaseSecretProps

class aws_cdk.aws_redshift.DatabaseSecretProps(*, username, encryption_key=None)

Bases: object

__init__(*, username, encryption_key=None)

Construction properties for a DatabaseSecret.

Parameters
  • username (str) – The username.

  • encryption_key (Optional[IKey]) – The KMS key to use to encrypt the secret. Default: default master key

stability :stability: experimental

Return type

None

Attributes

encryption_key

The KMS key to use to encrypt the secret.

default :default: default master key

stability :stability: experimental

Return type

Optional[IKey]

username

The username.

stability :stability: experimental

Return type

str