DatabaseSecretProps
- class aws_cdk.aws_redshift_alpha.DatabaseSecretProps(*, username, encryption_key=None, exclude_characters=None)
- Bases: - object- (experimental) Construction properties for a DatabaseSecret. - Parameters:
- username ( - str) – (experimental) The username.
- encryption_key ( - Optional[- IKey]) – (experimental) The KMS key to use to encrypt the secret. Default: default master key
- exclude_characters ( - Optional[- str]) – (experimental) Characters to not include in the generated password. Default: ‘”@/\ ‘’
 
- Stability:
- experimental 
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_redshift_alpha as redshift_alpha from aws_cdk import aws_kms as kms # key: kms.Key database_secret_props = redshift_alpha.DatabaseSecretProps( username="username", # the properties below are optional encryption_key=key, exclude_characters="excludeCharacters" ) - Attributes - encryption_key
- (experimental) The KMS key to use to encrypt the secret. - Default:
- default master key 
- Stability:
- experimental 
 
 - exclude_characters
- (experimental) Characters to not include in the generated password. - Default:
- ‘”@/\ ‘’ 
- Stability:
- experimental 
 
 - username
- (experimental) The username. - Stability:
- experimental