Skip to content

Commit 07c939a

Browse files
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*
1 parent 72f189d commit 07c939a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/aws-cdk-lib/aws-route53/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ const crossAccountRole = new iam.Role(this, 'CrossAccountRole', {
259259
resources: ['*'],
260260
}),
261261
new iam.PolicyStatement({
262-
sid: 'GetHostedZoneAndChangeResourceRecordSet',
262+
sid: 'GetHostedZoneAndChangeResourceRecordSets',
263263
effect: iam.Effect.ALLOW,
264-
actions: ['route53:GetHostedZone', 'route53:ChangeResourceRecordSet'],
264+
actions: ['route53:GetHostedZone', 'route53:ChangeResourceRecordSets'],
265265
// This example assumes the RecordSet subdomain.somexample.com
266266
// is contained in the HostedZone
267267
resources: ['arn:aws:route53:::hostedzone/HZID00000000000000000'],

0 commit comments

Comments
 (0)