Skip to content

Commit

Permalink
Update packages/aws-cdk-lib/aws-stepfunctions/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Wong <55506708+wong-a@users.noreply.github.com>
  • Loading branch information
VaidSaraswat and wong-a authored Aug 27, 2024
1 parent 1c3a816 commit d6d5f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-stepfunctions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ If a state machine is encrypted with a customer managed key and has logging enab
const stateMachineKmsKey = new kms.Key(this, 'StateMachine Key');
const logGroupKey = new kms.Key(this, 'LogGroup Key');
// To enable encrypted CloudWatch log integration for a state machine, you must add the following to your log group key policy
// Required KMS key policy to enrypt the CloudWatch log group
logGroupKey.addToResourcePolicy(new cdk.aws_iam.PolicyStatement({
resources: ['*'],
actions: ['kms:Encrypt*', 'kms:Decrypt*', 'kms:ReEncrypt*', 'kms:GenerateDataKey*', 'kms:Describe*'],
Expand Down

0 comments on commit d6d5f0c

Please sign in to comment.