AWS Route53 documentation change
Summary
Added PowerShell V5 example for CreateHostedZone with delegation set and VPC association
Security assessment
The change adds example usage documentation but does not address security vulnerabilities or introduce security features. The CallerReference note relates to idempotency rather than security.
Diff
diff --git a/Route53/latest/DeveloperGuide/route-53_example_route-53_CreateHostedZone_section.md b/Route53/latest/DeveloperGuide/route-53_example_route-53_CreateHostedZone_section.md index 628478944..5ed6bced2 100644 --- a//Route53/latest/DeveloperGuide/route-53_example_route-53_CreateHostedZone_section.md +++ b//Route53/latest/DeveloperGuide/route-53_example_route-53_CreateHostedZone_section.md @@ -55,0 +56,23 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: Creates a new hosted zone named 'example.com', associated with a reusable delegation set. Note that you must supply a value for the CallerReference parameter so that requests that need to be retried if necessary without the risk of executing the operation twice. Because the hosted zone is being created in a VPC it is automatically private and you should not set the -HostedZoneConfig_PrivateZone parameter.** + + + $params = @{ + Name="example.com" + CallerReference="myUniqueIdentifier" + HostedZoneConfig_Comment="This is my first hosted zone" + DelegationSetId="NZ8X2CISAMPLE" + VPC_VPCId="vpc-1a2b3c4d" + VPC_VPCRegion="us-east-1" + } + + New-R53HostedZone @params + + + * For API details, see [CreateHostedZone](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +