| 
									
										
										
										
											2015-01-17 19:06:43 -05:00
										 |  |  | template = { | 
					
						
							| 
									
										
										
										
											2017-02-23 21:37:43 -05:00
										 |  |  |     "Resources": { | 
					
						
							| 
									
										
										
										
											2015-01-17 19:06:43 -05:00
										 |  |  |         "HostedZone": { | 
					
						
							| 
									
										
										
										
											2017-02-23 21:37:43 -05:00
										 |  |  |             "Type": "AWS::Route53::HostedZone", | 
					
						
							|  |  |  |             "Properties": {"Name": "my_zone"}, | 
					
						
							| 
									
										
										
										
											2015-01-17 19:06:43 -05:00
										 |  |  |         }, | 
					
						
							|  |  |  |         "my_health_check": { | 
					
						
							|  |  |  |             "Type": "AWS::Route53::HealthCheck", | 
					
						
							| 
									
										
										
										
											2017-02-23 21:37:43 -05:00
										 |  |  |             "Properties": { | 
					
						
							|  |  |  |                 "HealthCheckConfig": { | 
					
						
							|  |  |  |                     "FailureThreshold": 3, | 
					
						
							|  |  |  |                     "IPAddress": "10.0.0.4", | 
					
						
							|  |  |  |                     "Port": 80, | 
					
						
							|  |  |  |                     "RequestInterval": 10, | 
					
						
							|  |  |  |                     "ResourcePath": "/", | 
					
						
							|  |  |  |                     "Type": "HTTP", | 
					
						
							| 
									
										
										
										
											2015-01-17 19:06:43 -05:00
										 |  |  |                 } | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2017-02-23 21:37:43 -05:00
										 |  |  |         "myDNSRecord": { | 
					
						
							|  |  |  |             "Type": "AWS::Route53::RecordSet", | 
					
						
							|  |  |  |             "Properties": { | 
					
						
							| 
									
										
										
										
											2017-10-21 22:41:19 +01:00
										 |  |  |                 "HostedZoneId": {"Ref": "HostedZone"}, | 
					
						
							| 
									
										
										
										
											2017-02-23 21:37:43 -05:00
										 |  |  |                 "Comment": "DNS name for my instance.", | 
					
						
							|  |  |  |                 "Name": "my_record_set", | 
					
						
							|  |  |  |                 "Type": "A", | 
					
						
							|  |  |  |                 "TTL": "900", | 
					
						
							|  |  |  |                 "ResourceRecords": ["my.example.com"], | 
					
						
							|  |  |  |                 "HealthCheckId": {"Ref": "my_health_check"}, | 
					
						
							|  |  |  |             }, | 
					
						
							| 
									
										
										
										
											2015-01-17 19:06:43 -05:00
										 |  |  |         }, | 
					
						
							| 
									
										
										
										
											2019-10-31 08:44:26 -07:00
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2017-02-23 21:37:43 -05:00
										 |  |  | } |