Skip to content

Commit

Permalink
docs(route53): changeresourcerecordsets action name fix (aws#29772)
Browse files Browse the repository at this point in the history
### 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*
  • Loading branch information
rking-envative authored Apr 10, 2024
1 parent 72f189d commit 07c939a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-route53/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 07c939a

Please sign in to comment.