From 07c939ac009ae23419d771d444ffe752414a5594 Mon Sep 17 00:00:00 2001 From: Ryan King <97059913+rking-envative@users.noreply.github.com> Date: Tue, 9 Apr 2024 21:06:15 -0400 Subject: [PATCH] docs(route53): changeresourcerecordsets action name fix (#29772) ### Reason for this change Docs currently list an example for an invalid route53 action name ### Description of changes Fix action name in docs ### Description of how you validated changes N/A ### Checklist - [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- packages/aws-cdk-lib/aws-route53/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws-cdk-lib/aws-route53/README.md b/packages/aws-cdk-lib/aws-route53/README.md index 09298340c472d..8b48599cc4e3a 100644 --- a/packages/aws-cdk-lib/aws-route53/README.md +++ b/packages/aws-cdk-lib/aws-route53/README.md @@ -259,9 +259,9 @@ const crossAccountRole = new iam.Role(this, 'CrossAccountRole', { resources: ['*'], }), new iam.PolicyStatement({ - sid: 'GetHostedZoneAndChangeResourceRecordSet', + sid: 'GetHostedZoneAndChangeResourceRecordSets', effect: iam.Effect.ALLOW, - actions: ['route53:GetHostedZone', 'route53:ChangeResourceRecordSet'], + actions: ['route53:GetHostedZone', 'route53:ChangeResourceRecordSets'], // This example assumes the RecordSet subdomain.somexample.com // is contained in the HostedZone resources: ['arn:aws:route53:::hostedzone/HZID00000000000000000'],