9 CDK constructs available in aws-cdk-lib/aws-secretsmanager
import * as secretsmanager from 'aws-cdk-lib/aws-secretsmanager';Higher-level abstractions with sensible defaults and convenience methods.
Resource Policy for SecretsManager Secrets. Policies define the operations that are allowed on this resource. You almost never need to define this construct directly. All AWS resources that support resource policies have a method called `addToResourcePolicy()`, which will automatically create a new resource policy if one doesn't exist yet, otherwise it will add to the existing policy. Prefer to use `addToResourcePolicy()` instead.
A rotation schedule.
Creates a new secret in AWS SecretsManager.
Secret rotation for a service or database.
An attached secret.
Direct CloudFormation resource mappings. One-to-one with CloudFormation resource types.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-cdk-lib/aws-secretsmanager