|
18 | 18 | "VPCPublicSubnet1SubnetB4246D30": { |
19 | 19 | "Type": "AWS::EC2::Subnet", |
20 | 20 | "Properties": { |
21 | | - "VpcId": { |
22 | | - "Ref": "VPCB9E5F0B4" |
23 | | - }, |
24 | 21 | "AvailabilityZone": { |
25 | 22 | "Fn::Select": [ |
26 | 23 | 0, |
|
44 | 41 | "Key": "Name", |
45 | 42 | "Value": "aws-cdk-route53-integ/VPC/PublicSubnet1" |
46 | 43 | } |
47 | | - ] |
| 44 | + ], |
| 45 | + "VpcId": { |
| 46 | + "Ref": "VPCB9E5F0B4" |
| 47 | + } |
48 | 48 | } |
49 | 49 | }, |
50 | 50 | "VPCPublicSubnet1RouteTableFEE4B781": { |
51 | 51 | "Type": "AWS::EC2::RouteTable", |
52 | 52 | "Properties": { |
53 | | - "VpcId": { |
54 | | - "Ref": "VPCB9E5F0B4" |
55 | | - }, |
56 | 53 | "Tags": [ |
57 | 54 | { |
58 | 55 | "Key": "Name", |
59 | 56 | "Value": "aws-cdk-route53-integ/VPC/PublicSubnet1" |
60 | 57 | } |
61 | | - ] |
| 58 | + ], |
| 59 | + "VpcId": { |
| 60 | + "Ref": "VPCB9E5F0B4" |
| 61 | + } |
62 | 62 | } |
63 | 63 | }, |
64 | 64 | "VPCPublicSubnet1RouteTableAssociation0B0896DC": { |
|
75 | 75 | "VPCPublicSubnet1DefaultRoute91CEF279": { |
76 | 76 | "Type": "AWS::EC2::Route", |
77 | 77 | "Properties": { |
78 | | - "RouteTableId": { |
79 | | - "Ref": "VPCPublicSubnet1RouteTableFEE4B781" |
80 | | - }, |
81 | 78 | "DestinationCidrBlock": "0.0.0.0/0", |
82 | 79 | "GatewayId": { |
83 | 80 | "Ref": "VPCIGWB7E252D3" |
| 81 | + }, |
| 82 | + "RouteTableId": { |
| 83 | + "Ref": "VPCPublicSubnet1RouteTableFEE4B781" |
84 | 84 | } |
85 | 85 | }, |
86 | 86 | "DependsOn": [ |
|
102 | 102 | "VPCPublicSubnet1NATGatewayE0556630": { |
103 | 103 | "Type": "AWS::EC2::NatGateway", |
104 | 104 | "Properties": { |
105 | | - "SubnetId": { |
106 | | - "Ref": "VPCPublicSubnet1SubnetB4246D30" |
107 | | - }, |
108 | 105 | "AllocationId": { |
109 | 106 | "Fn::GetAtt": [ |
110 | 107 | "VPCPublicSubnet1EIP6AD938E8", |
111 | 108 | "AllocationId" |
112 | 109 | ] |
113 | 110 | }, |
| 111 | + "SubnetId": { |
| 112 | + "Ref": "VPCPublicSubnet1SubnetB4246D30" |
| 113 | + }, |
114 | 114 | "Tags": [ |
115 | 115 | { |
116 | 116 | "Key": "Name", |
|
126 | 126 | "VPCPrivateSubnet1Subnet8BCA10E0": { |
127 | 127 | "Type": "AWS::EC2::Subnet", |
128 | 128 | "Properties": { |
129 | | - "VpcId": { |
130 | | - "Ref": "VPCB9E5F0B4" |
131 | | - }, |
132 | 129 | "AvailabilityZone": { |
133 | 130 | "Fn::Select": [ |
134 | 131 | 0, |
|
152 | 149 | "Key": "Name", |
153 | 150 | "Value": "aws-cdk-route53-integ/VPC/PrivateSubnet1" |
154 | 151 | } |
155 | | - ] |
| 152 | + ], |
| 153 | + "VpcId": { |
| 154 | + "Ref": "VPCB9E5F0B4" |
| 155 | + } |
156 | 156 | } |
157 | 157 | }, |
158 | 158 | "VPCPrivateSubnet1RouteTableBE8A6027": { |
159 | 159 | "Type": "AWS::EC2::RouteTable", |
160 | 160 | "Properties": { |
161 | | - "VpcId": { |
162 | | - "Ref": "VPCB9E5F0B4" |
163 | | - }, |
164 | 161 | "Tags": [ |
165 | 162 | { |
166 | 163 | "Key": "Name", |
167 | 164 | "Value": "aws-cdk-route53-integ/VPC/PrivateSubnet1" |
168 | 165 | } |
169 | | - ] |
| 166 | + ], |
| 167 | + "VpcId": { |
| 168 | + "Ref": "VPCB9E5F0B4" |
| 169 | + } |
170 | 170 | } |
171 | 171 | }, |
172 | 172 | "VPCPrivateSubnet1RouteTableAssociation347902D1": { |
|
183 | 183 | "VPCPrivateSubnet1DefaultRouteAE1D6490": { |
184 | 184 | "Type": "AWS::EC2::Route", |
185 | 185 | "Properties": { |
186 | | - "RouteTableId": { |
187 | | - "Ref": "VPCPrivateSubnet1RouteTableBE8A6027" |
188 | | - }, |
189 | 186 | "DestinationCidrBlock": "0.0.0.0/0", |
190 | 187 | "NatGatewayId": { |
191 | 188 | "Ref": "VPCPublicSubnet1NATGatewayE0556630" |
| 189 | + }, |
| 190 | + "RouteTableId": { |
| 191 | + "Ref": "VPCPrivateSubnet1RouteTableBE8A6027" |
192 | 192 | } |
193 | 193 | } |
194 | 194 | }, |
|
206 | 206 | "VPCVPCGW99B986DC": { |
207 | 207 | "Type": "AWS::EC2::VPCGatewayAttachment", |
208 | 208 | "Properties": { |
209 | | - "VpcId": { |
210 | | - "Ref": "VPCB9E5F0B4" |
211 | | - }, |
212 | 209 | "InternetGatewayId": { |
213 | 210 | "Ref": "VPCIGWB7E252D3" |
| 211 | + }, |
| 212 | + "VpcId": { |
| 213 | + "Ref": "VPCB9E5F0B4" |
214 | 214 | } |
215 | 215 | } |
216 | 216 | }, |
|
233 | 233 | "PrivateZoneTXT83BB83CE": { |
234 | 234 | "Type": "AWS::Route53::RecordSet", |
235 | 235 | "Properties": { |
236 | | - "Name": "_foo.cdk.local.", |
237 | | - "Type": "TXT", |
238 | 236 | "HostedZoneId": { |
239 | 237 | "Ref": "PrivateZone27242E85" |
240 | 238 | }, |
| 239 | + "Name": "_foo.cdk.local.", |
241 | 240 | "ResourceRecords": [ |
242 | 241 | "\"Bar!\"", |
243 | 242 | "\"Baz?\"" |
244 | 243 | ], |
245 | | - "TTL": "60" |
| 244 | + "TTL": "60", |
| 245 | + "Type": "TXT" |
246 | 246 | } |
247 | 247 | }, |
248 | 248 | "PublicZone2E1C4E34": { |
|
254 | 254 | "PublicZonecdktestsubcdktest83558650": { |
255 | 255 | "Type": "AWS::Route53::RecordSet", |
256 | 256 | "Properties": { |
257 | | - "Name": "sub.cdk.test.", |
258 | | - "Type": "NS", |
259 | 257 | "HostedZoneId": { |
260 | 258 | "Ref": "PublicZone2E1C4E34" |
261 | 259 | }, |
| 260 | + "Name": "sub.cdk.test.", |
262 | 261 | "ResourceRecords": { |
263 | 262 | "Fn::GetAtt": [ |
264 | 263 | "PublicSubZoneDBD26A0A", |
265 | 264 | "NameServers" |
266 | 265 | ] |
267 | 266 | }, |
268 | | - "TTL": "172800" |
| 267 | + "TTL": "172800", |
| 268 | + "Type": "NS" |
269 | 269 | } |
270 | 270 | }, |
271 | 271 | "PublicSubZoneDBD26A0A": { |
|
283 | 283 | "CNAMEC70A2D52": { |
284 | 284 | "Type": "AWS::Route53::RecordSet", |
285 | 285 | "Properties": { |
286 | | - "Name": "www.cdk.local.", |
287 | | - "Type": "CNAME", |
288 | 286 | "HostedZoneId": { |
289 | 287 | "Ref": "PrivateZone27242E85" |
290 | 288 | }, |
| 289 | + "Name": "www.cdk.local.", |
291 | 290 | "ResourceRecords": [ |
292 | 291 | "server" |
293 | 292 | ], |
294 | | - "TTL": "1800" |
| 293 | + "TTL": "1800", |
| 294 | + "Type": "CNAME" |
295 | 295 | } |
296 | 296 | }, |
297 | 297 | "ACCC8ACD5": { |
298 | 298 | "Type": "AWS::Route53::RecordSet", |
299 | 299 | "Properties": { |
300 | | - "Name": "test.cdk.local.", |
301 | | - "Type": "A", |
302 | 300 | "HostedZoneId": { |
303 | 301 | "Ref": "PrivateZone27242E85" |
304 | 302 | }, |
| 303 | + "Name": "test.cdk.local.", |
305 | 304 | "ResourceRecords": [ |
306 | 305 | "1.2.3.4", |
307 | 306 | "5.6.7.8" |
308 | 307 | ], |
309 | | - "TTL": "1800" |
| 308 | + "TTL": "1800", |
| 309 | + "Type": "A" |
| 310 | + } |
| 311 | + }, |
| 312 | + "GeoLocationContinentAEA331ED": { |
| 313 | + "Type": "AWS::Route53::RecordSet", |
| 314 | + "Properties": { |
| 315 | + "GeoLocation": { |
| 316 | + "ContinentCode": "EU" |
| 317 | + }, |
| 318 | + "HostedZoneId": { |
| 319 | + "Ref": "PrivateZone27242E85" |
| 320 | + }, |
| 321 | + "Name": "geolocation.cdk.local.", |
| 322 | + "ResourceRecords": [ |
| 323 | + "1.2.3.0", |
| 324 | + "5.6.7.0" |
| 325 | + ], |
| 326 | + "SetIdentifier": "GEO_CONTINENT_EU", |
| 327 | + "TTL": "1800", |
| 328 | + "Type": "A" |
| 329 | + } |
| 330 | + }, |
| 331 | + "GeoLocationCountry523431F6": { |
| 332 | + "Type": "AWS::Route53::RecordSet", |
| 333 | + "Properties": { |
| 334 | + "GeoLocation": { |
| 335 | + "CountryCode": "DE" |
| 336 | + }, |
| 337 | + "HostedZoneId": { |
| 338 | + "Ref": "PrivateZone27242E85" |
| 339 | + }, |
| 340 | + "Name": "geolocation.cdk.local.", |
| 341 | + "ResourceRecords": [ |
| 342 | + "1.2.3.1", |
| 343 | + "5.6.7.1" |
| 344 | + ], |
| 345 | + "SetIdentifier": "GEO_COUNTRY_DE", |
| 346 | + "TTL": "1800", |
| 347 | + "Type": "A" |
| 348 | + } |
| 349 | + }, |
| 350 | + "GeoLocationSubDividion2CB12CFC": { |
| 351 | + "Type": "AWS::Route53::RecordSet", |
| 352 | + "Properties": { |
| 353 | + "GeoLocation": { |
| 354 | + "CountryCode": "US", |
| 355 | + "SubdivisionCode": "WA" |
| 356 | + }, |
| 357 | + "HostedZoneId": { |
| 358 | + "Ref": "PrivateZone27242E85" |
| 359 | + }, |
| 360 | + "Name": "geolocation.cdk.local.", |
| 361 | + "ResourceRecords": [ |
| 362 | + "1.2.3.2", |
| 363 | + "5.6.7.2" |
| 364 | + ], |
| 365 | + "SetIdentifier": "GEO_COUNTRY_US_SUBDIVISION_WA", |
| 366 | + "TTL": "1800", |
| 367 | + "Type": "A" |
| 368 | + } |
| 369 | + }, |
| 370 | + "GeoLocationSubDividionUA778564B1": { |
| 371 | + "Type": "AWS::Route53::RecordSet", |
| 372 | + "Properties": { |
| 373 | + "GeoLocation": { |
| 374 | + "CountryCode": "UA", |
| 375 | + "SubdivisionCode": "30" |
| 376 | + }, |
| 377 | + "HostedZoneId": { |
| 378 | + "Ref": "PrivateZone27242E85" |
| 379 | + }, |
| 380 | + "Name": "cdk.local.", |
| 381 | + "ResourceRecords": [ |
| 382 | + "1.2.3.4", |
| 383 | + "5.6.7.4" |
| 384 | + ], |
| 385 | + "SetIdentifier": "GEO_COUNTRY_UA_SUBDIVISION_30", |
| 386 | + "TTL": "1800", |
| 387 | + "Type": "A" |
| 388 | + } |
| 389 | + }, |
| 390 | + "GeoLocationDefaultF2DE9058": { |
| 391 | + "Type": "AWS::Route53::RecordSet", |
| 392 | + "Properties": { |
| 393 | + "GeoLocation": { |
| 394 | + "CountryCode": "*" |
| 395 | + }, |
| 396 | + "HostedZoneId": { |
| 397 | + "Ref": "PrivateZone27242E85" |
| 398 | + }, |
| 399 | + "Name": "geolocation.cdk.local.", |
| 400 | + "ResourceRecords": [ |
| 401 | + "1.2.3.3", |
| 402 | + "5.6.7.3" |
| 403 | + ], |
| 404 | + "SetIdentifier": "GEO_COUNTRY_*", |
| 405 | + "TTL": "1800", |
| 406 | + "Type": "A" |
310 | 407 | } |
311 | 408 | }, |
312 | 409 | "CaaAmazon40DF725F": { |
313 | 410 | "Type": "AWS::Route53::RecordSet", |
314 | 411 | "Properties": { |
315 | | - "Name": "cdk.test.", |
316 | | - "Type": "CAA", |
317 | 412 | "HostedZoneId": { |
318 | 413 | "Ref": "PublicZone2E1C4E34" |
319 | 414 | }, |
| 415 | + "Name": "cdk.test.", |
320 | 416 | "ResourceRecords": [ |
321 | 417 | "0 issue \"amazon.com\"" |
322 | 418 | ], |
323 | | - "TTL": "1800" |
| 419 | + "TTL": "1800", |
| 420 | + "Type": "CAA" |
324 | 421 | } |
325 | 422 | }, |
326 | 423 | "TXT0D5C5ACF": { |
327 | 424 | "Type": "AWS::Route53::RecordSet", |
328 | 425 | "Properties": { |
329 | | - "Name": "cdk.test.", |
330 | | - "Type": "TXT", |
331 | 426 | "HostedZoneId": { |
332 | 427 | "Ref": "PublicZone2E1C4E34" |
333 | 428 | }, |
| 429 | + "Name": "cdk.test.", |
334 | 430 | "ResourceRecords": [ |
335 | 431 | "\"this is a very long stringthis is a very long stringthis is a very long stringthis is a very long stringthis is a very long stringthis is a very long stringthis is a very long stringthis is a very long stringthis is a very long stringthis is a very long s\"\"tring\"" |
336 | 432 | ], |
337 | | - "TTL": "1800" |
| 433 | + "TTL": "1800", |
| 434 | + "Type": "TXT" |
338 | 435 | } |
339 | 436 | } |
340 | 437 | }, |
|
0 commit comments