This template creates a Secrets Manager secret and an Amazon Redshift cluster. The secret contains the admin credentials for the Redshift cluster. The template uses the secret to define the database admin user and password for the Redshift cluster. It also includes a SecretTargetAttachment resource to configure the secret with the required database engine type and connection details.

MyRedshiftSecret
AWS::SecretsManager::Secret


GenerateSecretString

MyRedshiftCluster
AWS::Redshift::Cluster


SecretRedshiftAttachment
AWS::SecretsManager::SecretTargetAttachment


CloudFormation Template

Share Template