January 2019
Intermediate to advanced
490 pages
15h 37m
English
You can create hosted zones with CloudFormation templates by using the resource type AWS::Route53::HostedZone:
Resources: CloudMaterialsHostedZone: Type: "AWS::Route53::HostedZone" Properties: HostedZoneConfig: Comment: HostedZone for CloudMaterials.com Name: cloudmaterials.com
We will also add an Outputs section, for returning the HostedZoneID and nameservers:
Outputs: HostedZoneId: Value: !Ref CloudMaterialsHostedZone Description: HostedZone for cloudmaterials.com HostedZoneNameservers: Value: !Join - ',' - !GetAtt CloudMaterialsHostedZone.NameServers Description: HostedZone Nameservers for cloudmaterials.com
The value of an Outputs field can only be of the string type. The property Nameservers, however, returns ...
Read now
Unlock full access