@aws-cdk/aws-route53
Version:
The CDK Construct Library for AWS::Route53
1 lines • 384 kB
JSON
{"version":"2","toolVersion":"1.84.0","snippets":{"f5c52d35c47f05643976ae51790c88ce720757d89f6089dacd3bbcbbd8b0655d":{"translations":{"python":{"source":"route53.PublicHostedZone(self, \"HostedZone\",\n zone_name=\"fully.qualified.domain.com\"\n)","version":"2"},"csharp":{"source":"new PublicHostedZone(this, \"HostedZone\", new PublicHostedZoneProps {\n ZoneName = \"fully.qualified.domain.com\"\n});","version":"1"},"java":{"source":"PublicHostedZone.Builder.create(this, \"HostedZone\")\n .zoneName(\"fully.qualified.domain.com\")\n .build();","version":"1"},"go":{"source":"route53.NewPublicHostedZone(this, jsii.String(\"HostedZone\"), &PublicHostedZoneProps{\n\tZoneName: jsii.String(\"fully.qualified.domain.com\"),\n})","version":"1"},"$":{"source":"new route53.PublicHostedZone(this, 'HostedZone', {\n zoneName: 'fully.qualified.domain.com',\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":21}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-route53.PublicHostedZone","@aws-cdk/aws-route53.PublicHostedZoneProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nnew route53.PublicHostedZone(this, 'HostedZone', {\n zoneName: 'fully.qualified.domain.com',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":3,"104":1,"193":1,"194":1,"197":1,"226":1,"281":1},"fqnsFingerprint":"92df6391089ea53a526a0c7abe2cf54806472f26a6d22b8eca3f13da0dd4bb7f"},"44b7e4cc5ada0fe26a7eb15501d431f36b51df57acbb2c4d041bfe92ad3fae6a":{"translations":{"python":{"source":"# vpc: ec2.Vpc\n\n\nzone = route53.PrivateHostedZone(self, \"HostedZone\",\n zone_name=\"fully.qualified.domain.com\",\n vpc=vpc\n)","version":"2"},"csharp":{"source":"Vpc vpc;\n\n\nvar zone = new PrivateHostedZone(this, \"HostedZone\", new PrivateHostedZoneProps {\n ZoneName = \"fully.qualified.domain.com\",\n Vpc = vpc\n});","version":"1"},"java":{"source":"Vpc vpc;\n\n\nPrivateHostedZone zone = PrivateHostedZone.Builder.create(this, \"HostedZone\")\n .zoneName(\"fully.qualified.domain.com\")\n .vpc(vpc)\n .build();","version":"1"},"go":{"source":"var vpc vpc\n\n\nzone := route53.NewPrivateHostedZone(this, jsii.String(\"HostedZone\"), &PrivateHostedZoneProps{\n\tZoneName: jsii.String(\"fully.qualified.domain.com\"),\n\tVpc: Vpc,\n})","version":"1"},"$":{"source":"declare const vpc: ec2.Vpc;\n\nconst zone = new route53.PrivateHostedZone(this, 'HostedZone', {\n zoneName: 'fully.qualified.domain.com',\n vpc, // At least one VPC has to be added to a Private Hosted Zone.\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":31}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-ec2.IVpc","@aws-cdk/aws-route53.PrivateHostedZone","@aws-cdk/aws-route53.PrivateHostedZoneProps","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const vpc: ec2.Vpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst zone = new route53.PrivateHostedZone(this, 'HostedZone', {\n zoneName: 'fully.qualified.domain.com',\n vpc, // At least one VPC has to be added to a Private Hosted Zone.\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":8,"104":1,"130":1,"153":1,"169":1,"193":1,"194":1,"197":1,"225":2,"242":2,"243":2,"281":1,"282":1,"290":1},"fqnsFingerprint":"12e06d0c8b448cd023a7b22c815d6ea364fff16b0a0d1af48c93856f7e0734f9"},"3da5b4161e6fea19506fd53bbc7484096932267c3a6a04e4b4ccc9f1ad033c0b":{"translations":{"python":{"source":"# my_zone: route53.HostedZone\n\n\nroute53.TxtRecord(self, \"TXTRecord\",\n zone=my_zone,\n record_name=\"_foo\", # If the name ends with a \".\", it will be used as-is;\n # if it ends with a \".\" followed by the zone name, a trailing \".\" will be added automatically;\n # otherwise, a \".\", the zone name, and a trailing \".\" will be added automatically.\n # Defaults to zone root if not specified.\n values=[\"Bar!\", \"Baz?\"],\n ttl=Duration.minutes(90)\n)","version":"2"},"csharp":{"source":"HostedZone myZone;\n\n\nnew TxtRecord(this, \"TXTRecord\", new TxtRecordProps {\n Zone = myZone,\n RecordName = \"_foo\", // If the name ends with a \".\", it will be used as-is;\n // if it ends with a \".\" followed by the zone name, a trailing \".\" will be added automatically;\n // otherwise, a \".\", the zone name, and a trailing \".\" will be added automatically.\n // Defaults to zone root if not specified.\n Values = new [] { \"Bar!\", \"Baz?\" },\n Ttl = Duration.Minutes(90)\n});","version":"1"},"java":{"source":"HostedZone myZone;\n\n\nTxtRecord.Builder.create(this, \"TXTRecord\")\n .zone(myZone)\n .recordName(\"_foo\") // If the name ends with a \".\", it will be used as-is;\n // if it ends with a \".\" followed by the zone name, a trailing \".\" will be added automatically;\n // otherwise, a \".\", the zone name, and a trailing \".\" will be added automatically.\n // Defaults to zone root if not specified.\n .values(List.of(\"Bar!\", \"Baz?\"))\n .ttl(Duration.minutes(90))\n .build();","version":"1"},"go":{"source":"var myZone hostedZone\n\n\nroute53.NewTxtRecord(this, jsii.String(\"TXTRecord\"), &TxtRecordProps{\n\tZone: myZone,\n\tRecordName: jsii.String(\"_foo\"),\n\t // If the name ends with a \".\", it will be used as-is;\n\t// if it ends with a \".\" followed by the zone name, a trailing \".\" will be added automatically;\n\t// otherwise, a \".\", the zone name, and a trailing \".\" will be added automatically.\n\t// Defaults to zone root if not specified.\n\tValues: []*string{\n\t\tjsii.String(\"Bar!\"),\n\t\tjsii.String(\"Baz?\"),\n\t},\n\tTtl: awscdkcore.Duration_Minutes(jsii.Number(90)),\n})","version":"1"},"$":{"source":"declare const myZone: route53.HostedZone;\n\nnew route53.TxtRecord(this, 'TXTRecord', {\n zone: myZone,\n recordName: '_foo', // If the name ends with a \".\", it will be used as-is;\n // if it ends with a \".\" followed by the zone name, a trailing \".\" will be added automatically;\n // otherwise, a \".\", the zone name, and a trailing \".\" will be added automatically.\n // Defaults to zone root if not specified.\n values: [ // Will be quoted for you, and \" will be escaped automatically.\n 'Bar!',\n 'Baz?',\n ],\n ttl: Duration.minutes(90), // Optional - default is 30 minutes\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":46}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-route53.IHostedZone","@aws-cdk/aws-route53.TxtRecord","@aws-cdk/aws-route53.TxtRecordProps","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myZone: route53.HostedZone;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nnew route53.TxtRecord(this, 'TXTRecord', {\n zone: myZone,\n recordName: '_foo', // If the name ends with a \".\", it will be used as-is;\n // if it ends with a \".\" followed by the zone name, a trailing \".\" will be added automatically;\n // otherwise, a \".\", the zone name, and a trailing \".\" will be added automatically.\n // Defaults to zone root if not specified.\n values: [ // Will be quoted for you, and \" will be escaped automatically.\n 'Bar!',\n 'Baz?',\n ],\n ttl: Duration.minutes(90), // Optional - default is 30 minutes\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":4,"75":12,"104":1,"130":1,"153":1,"169":1,"192":1,"193":1,"194":2,"196":1,"197":1,"225":1,"226":1,"242":1,"243":1,"281":4,"290":1},"fqnsFingerprint":"f8dbba3300d644f2edf3dadcc121788d66bde6da04746aa437ffd5849cabf5ef"},"5591aba5382e8dd8361a206628ff2d897c64cfebe3ef8998b928e058168bed1c":{"translations":{"python":{"source":"# my_zone: route53.HostedZone\n\n\nroute53.NsRecord(self, \"NSRecord\",\n zone=my_zone,\n record_name=\"foo\",\n values=[\"ns-1.awsdns.co.uk.\", \"ns-2.awsdns.com.\"\n ],\n ttl=Duration.minutes(90)\n)","version":"2"},"csharp":{"source":"HostedZone myZone;\n\n\nnew NsRecord(this, \"NSRecord\", new NsRecordProps {\n Zone = myZone,\n RecordName = \"foo\",\n Values = new [] { \"ns-1.awsdns.co.uk.\", \"ns-2.awsdns.com.\" },\n Ttl = Duration.Minutes(90)\n});","version":"1"},"java":{"source":"HostedZone myZone;\n\n\nNsRecord.Builder.create(this, \"NSRecord\")\n .zone(myZone)\n .recordName(\"foo\")\n .values(List.of(\"ns-1.awsdns.co.uk.\", \"ns-2.awsdns.com.\"))\n .ttl(Duration.minutes(90))\n .build();","version":"1"},"go":{"source":"var myZone hostedZone\n\n\nroute53.NewNsRecord(this, jsii.String(\"NSRecord\"), &NsRecordProps{\n\tZone: myZone,\n\tRecordName: jsii.String(\"foo\"),\n\tValues: []*string{\n\t\tjsii.String(\"ns-1.awsdns.co.uk.\"),\n\t\tjsii.String(\"ns-2.awsdns.com.\"),\n\t},\n\tTtl: awscdkcore.Duration_Minutes(jsii.Number(90)),\n})","version":"1"},"$":{"source":"declare const myZone: route53.HostedZone;\n\nnew route53.NsRecord(this, 'NSRecord', {\n zone: myZone,\n recordName: 'foo',\n values: [\n 'ns-1.awsdns.co.uk.',\n 'ns-2.awsdns.com.',\n ],\n ttl: Duration.minutes(90), // Optional - default is 30 minutes\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":65}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-route53.IHostedZone","@aws-cdk/aws-route53.NsRecord","@aws-cdk/aws-route53.NsRecordProps","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myZone: route53.HostedZone;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nnew route53.NsRecord(this, 'NSRecord', {\n zone: myZone,\n recordName: 'foo',\n values: [\n 'ns-1.awsdns.co.uk.',\n 'ns-2.awsdns.com.',\n ],\n ttl: Duration.minutes(90), // Optional - default is 30 minutes\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":4,"75":12,"104":1,"130":1,"153":1,"169":1,"192":1,"193":1,"194":2,"196":1,"197":1,"225":1,"226":1,"242":1,"243":1,"281":4,"290":1},"fqnsFingerprint":"364c6fa5ab03b74707db044806e6dd21c626ad6456fa4a443d42794b972b13cd"},"adc8480f9bd145ba3af2564093018f93893404762c4421e2e795120e9ff9b34d":{"translations":{"python":{"source":"# my_zone: route53.HostedZone\n\n\nroute53.DsRecord(self, \"DSRecord\",\n zone=my_zone,\n record_name=\"foo\",\n values=[\"12345 3 1 123456789abcdef67890123456789abcdef67890\"\n ],\n ttl=Duration.minutes(90)\n)","version":"2"},"csharp":{"source":"HostedZone myZone;\n\n\nnew DsRecord(this, \"DSRecord\", new DsRecordProps {\n Zone = myZone,\n RecordName = \"foo\",\n Values = new [] { \"12345 3 1 123456789abcdef67890123456789abcdef67890\" },\n Ttl = Duration.Minutes(90)\n});","version":"1"},"java":{"source":"HostedZone myZone;\n\n\nDsRecord.Builder.create(this, \"DSRecord\")\n .zone(myZone)\n .recordName(\"foo\")\n .values(List.of(\"12345 3 1 123456789abcdef67890123456789abcdef67890\"))\n .ttl(Duration.minutes(90))\n .build();","version":"1"},"go":{"source":"var myZone hostedZone\n\n\nroute53.NewDsRecord(this, jsii.String(\"DSRecord\"), &DsRecordProps{\n\tZone: myZone,\n\tRecordName: jsii.String(\"foo\"),\n\tValues: []*string{\n\t\tjsii.String(\"12345 3 1 123456789abcdef67890123456789abcdef67890\"),\n\t},\n\tTtl: awscdkcore.Duration_Minutes(jsii.Number(90)),\n})","version":"1"},"$":{"source":"declare const myZone: route53.HostedZone;\n\nnew route53.DsRecord(this, 'DSRecord', {\n zone: myZone,\n recordName: 'foo',\n values: [\n '12345 3 1 123456789abcdef67890123456789abcdef67890',\n ],\n ttl: Duration.minutes(90), // Optional - default is 30 minutes\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":81}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-route53.DsRecord","@aws-cdk/aws-route53.DsRecordProps","@aws-cdk/aws-route53.IHostedZone","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myZone: route53.HostedZone;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nnew route53.DsRecord(this, 'DSRecord', {\n zone: myZone,\n recordName: 'foo',\n values: [\n '12345 3 1 123456789abcdef67890123456789abcdef67890',\n ],\n ttl: Duration.minutes(90), // Optional - default is 30 minutes\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":3,"75":12,"104":1,"130":1,"153":1,"169":1,"192":1,"193":1,"194":2,"196":1,"197":1,"225":1,"226":1,"242":1,"243":1,"281":4,"290":1},"fqnsFingerprint":"6580acaea55413852123a9bc1d6fbf5124e72bb0162b00d69de2abedf6c0c1a4"},"cb4a4082f6230ab9e8e53dddb5577598a2a3a3ad50f5ec760e2e4ae3e955ca2d":{"translations":{"python":{"source":"# my_zone: route53.HostedZone\n\n\nroute53.ARecord(self, \"ARecord\",\n zone=my_zone,\n target=route53.RecordTarget.from_ip_addresses(\"1.2.3.4\", \"5.6.7.8\")\n)","version":"2"},"csharp":{"source":"HostedZone myZone;\n\n\nnew ARecord(this, \"ARecord\", new ARecordProps {\n Zone = myZone,\n Target = RecordTarget.FromIpAddresses(\"1.2.3.4\", \"5.6.7.8\")\n});","version":"1"},"java":{"source":"HostedZone myZone;\n\n\nARecord.Builder.create(this, \"ARecord\")\n .zone(myZone)\n .target(RecordTarget.fromIpAddresses(\"1.2.3.4\", \"5.6.7.8\"))\n .build();","version":"1"},"go":{"source":"var myZone hostedZone\n\n\nroute53.NewARecord(this, jsii.String(\"ARecord\"), &ARecordProps{\n\tZone: myZone,\n\tTarget: route53.RecordTarget_FromIpAddresses(jsii.String(\"1.2.3.4\"), jsii.String(\"5.6.7.8\")),\n})","version":"1"},"$":{"source":"declare const myZone: route53.HostedZone;\n\nnew route53.ARecord(this, 'ARecord', {\n zone: myZone,\n target: route53.RecordTarget.fromIpAddresses('1.2.3.4', '5.6.7.8'),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":96}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-route53.ARecord","@aws-cdk/aws-route53.ARecordProps","@aws-cdk/aws-route53.IHostedZone","@aws-cdk/aws-route53.RecordTarget","@aws-cdk/aws-route53.RecordTarget#fromIpAddresses","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const myZone: route53.HostedZone;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nnew route53.ARecord(this, 'ARecord', {\n zone: myZone,\n target: route53.RecordTarget.fromIpAddresses('1.2.3.4', '5.6.7.8'),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":11,"104":1,"130":1,"153":1,"169":1,"193":1,"194":3,"196":1,"197":1,"225":1,"226":1,"242":1,"243":1,"281":2,"290":1},"fqnsFingerprint":"d9c617893c39090222aeda69ad40195623fb8f03028736d7ca985b6c2c8aca54"},"123bfbf6b812c08ae0bf1ae5fecabcd4095055bd480989e747f4e1b803d07b92":{"translations":{"python":{"source":"# instance: ec2.Instance\n\n# my_zone: route53.HostedZone\n\n\nelastic_ip = ec2.CfnEIP(self, \"EIP\",\n domain=\"vpc\",\n instance_id=instance.instance_id\n)\nroute53.ARecord(self, \"ARecord\",\n zone=my_zone,\n target=route53.RecordTarget.from_ip_addresses(elastic_ip.ref)\n)","version":"2"},"csharp":{"source":"Instance instance;\n\nHostedZone myZone;\n\n\nvar elasticIp = new CfnEIP(this, \"EIP\", new CfnEIPProps {\n Domain = \"vpc\",\n InstanceId = instance.InstanceId\n});\nnew ARecord(this, \"ARecord\", new ARecordProps {\n Zone = myZone,\n Target = RecordTarget.FromIpAddresses(elasticIp.Ref)\n});","version":"1"},"java":{"source":"Instance instance;\n\nHostedZone myZone;\n\n\nCfnEIP elasticIp = CfnEIP.Builder.create(this, \"EIP\")\n .domain(\"vpc\")\n .instanceId(instance.getInstanceId())\n .build();\nARecord.Builder.create(this, \"ARecord\")\n .zone(myZone)\n .target(RecordTarget.fromIpAddresses(elasticIp.getRef()))\n .build();","version":"1"},"go":{"source":"var instance instance\n\nvar myZone hostedZone\n\n\nelasticIp := ec2.NewCfnEIP(this, jsii.String(\"EIP\"), &CfnEIPProps{\n\tDomain: jsii.String(\"vpc\"),\n\tInstanceId: instance.InstanceId,\n})\nroute53.NewARecord(this, jsii.String(\"ARecord\"), &ARecordProps{\n\tZone: myZone,\n\tTarget: route53.RecordTarget_FromIpAddresses(elasticIp.ref),\n})","version":"1"},"$":{"source":"declare const instance: ec2.Instance;\n\nconst elasticIp = new ec2.CfnEIP(this, 'EIP', {\n domain: 'vpc',\n instanceId: instance.instanceId,\n});\n\ndeclare const myZone: route53.HostedZone;\nnew route53.ARecord(this, 'ARecord', {\n zone: myZone,\n target: route53.RecordTarget.fromIpAddresses(elasticIp.ref),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":107}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-ec2.CfnEIP","@aws-cdk/aws-ec2.CfnEIPProps","@aws-cdk/aws-ec2.Instance#instanceId","@aws-cdk/aws-route53.ARecord","@aws-cdk/aws-route53.ARecordProps","@aws-cdk/aws-route53.IHostedZone","@aws-cdk/aws-route53.RecordTarget","@aws-cdk/aws-route53.RecordTarget#fromIpAddresses","@aws-cdk/core.Construct","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const instance: ec2.Instance;\n\ndeclare const myZone: route53.HostedZone;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst elasticIp = new ec2.CfnEIP(this, 'EIP', {\n domain: 'vpc',\n instanceId: instance.instanceId,\n});\nnew route53.ARecord(this, 'ARecord', {\n zone: myZone,\n target: route53.RecordTarget.fromIpAddresses(elasticIp.ref),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":23,"104":2,"130":2,"153":2,"169":2,"193":2,"194":6,"196":1,"197":2,"225":3,"226":1,"242":3,"243":3,"281":4,"290":1},"fqnsFingerprint":"c2dabb071858be48b34dd3b9ff7df8e3aa4eeed148cd98c809ce7c8e6dcb17f8"},"7f61f8dcc4902fe7af498737c7dd526e56191f7d8346864294cd17b5122dfc75":{"translations":{"python":{"source":"import aws_cdk.aws_cloudfront as cloudfront\n\n# my_zone: route53.HostedZone\n# distribution: cloudfront.CloudFrontWebDistribution\n\nroute53.AaaaRecord(self, \"Alias\",\n zone=my_zone,\n target=route53.RecordTarget.from_alias(targets.CloudFrontTarget(distribution))\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CloudFront;\n\nHostedZone myZone;\nCloudFrontWebDistribution distribution;\n\nnew AaaaRecord(this, \"Alias\", new AaaaRecordProps {\n Zone = myZone,\n Target = RecordTarget.FromAlias(new CloudFrontTarget(distribution))\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.cloudfront.*;\n\nHostedZone myZone;\nCloudFrontWebDistribution distribution;\n\nAaaaRecord.Builder.create(this, \"Alias\")\n .zone(myZone)\n .target(RecordTarget.fromAlias(new CloudFrontTarget(distribution)))\n .build();","version":"1"},"go":{"source":"import cloudfront \"github.com/aws-samples/dummy/awscdkawscloudfront\"\n\nvar myZone hostedZone\nvar distribution cloudFrontWebDistribution\n\nroute53.NewAaaaRecord(this, jsii.String(\"Alias\"), &AaaaRecordProps{\n\tZone: myZone,\n\tTarget: route53.RecordTarget_FromAlias(targets.NewCloudFrontTarget(distribution)),\n})","version":"1"},"$":{"source":"import * as cloudfront from '@aws-cdk/aws-cloudfront';\n\ndeclare const myZone: route53.HostedZone;\ndeclare const distribution: cloudfront.CloudFrontWebDistribution;\nnew route53.AaaaRecord(this, 'Alias', {\n zone: myZone,\n target: route53.RecordTarget.fromAlias(new targets.CloudFrontTarget(distribution)),\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":124}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-cloudfront.IDistribution","@aws-cdk/aws-route53-targets.CloudFrontTarget","@aws-cdk/aws-route53.AaaaRecord","@aws-cdk/aws-route53.AaaaRecordProps","@aws-cdk/aws-route53.IAliasRecordTarget","@aws-cdk/aws-route53.IHostedZone","@aws-cdk/aws-route53.RecordTarget","@aws-cdk/aws-route53.RecordTarget#fromAlias","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as cloudfront from '@aws-cdk/aws-cloudfront';\n\ndeclare const myZone: route53.HostedZone;\ndeclare const distribution: cloudfront.CloudFrontWebDistribution;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\n\nnew route53.AaaaRecord(this, 'Alias', {\n zone: myZone,\n target: route53.RecordTarget.fromAlias(new targets.CloudFrontTarget(distribution)),\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":18,"104":1,"130":2,"153":2,"169":2,"193":1,"194":4,"196":1,"197":2,"225":2,"226":1,"242":2,"243":2,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"bf165b5d0892af13da402fb2acc8f959bd90b4313997139498858248c3dae4c3"},"3d2a69ae7d292e745749c73c61f0803920cbcba3daae77d7b7265c83836f876f":{"translations":{"python":{"source":"parent_zone = route53.PublicHostedZone(self, \"HostedZone\",\n zone_name=\"someexample.com\",\n cross_account_zone_delegation_principal=iam.AccountPrincipal(\"12345678901\"),\n cross_account_zone_delegation_role_name=\"MyDelegationRole\"\n)","version":"2"},"csharp":{"source":"var parentZone = new PublicHostedZone(this, \"HostedZone\", new PublicHostedZoneProps {\n ZoneName = \"someexample.com\",\n CrossAccountZoneDelegationPrincipal = new AccountPrincipal(\"12345678901\"),\n CrossAccountZoneDelegationRoleName = \"MyDelegationRole\"\n});","version":"1"},"java":{"source":"PublicHostedZone parentZone = PublicHostedZone.Builder.create(this, \"HostedZone\")\n .zoneName(\"someexample.com\")\n .crossAccountZoneDelegationPrincipal(new AccountPrincipal(\"12345678901\"))\n .crossAccountZoneDelegationRoleName(\"MyDelegationRole\")\n .build();","version":"1"},"go":{"source":"parentZone := route53.NewPublicHostedZone(this, jsii.String(\"HostedZone\"), &PublicHostedZoneProps{\n\tZoneName: jsii.String(\"someexample.com\"),\n\tCrossAccountZoneDelegationPrincipal: iam.NewAccountPrincipal(jsii.String(\"12345678901\")),\n\tCrossAccountZoneDelegationRoleName: jsii.String(\"MyDelegationRole\"),\n})","version":"1"},"$":{"source":"const parentZone = new route53.PublicHostedZone(this, 'HostedZone', {\n zoneName: 'someexample.com',\n crossAccountZoneDelegationPrincipal: new iam.AccountPrincipal('12345678901'),\n crossAccountZoneDelegationRoleName: 'MyDelegationRole',\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":144}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-iam.AccountPrincipal","@aws-cdk/aws-iam.IPrincipal","@aws-cdk/aws-route53.PublicHostedZone","@aws-cdk/aws-route53.PublicHostedZoneProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst parentZone = new route53.PublicHostedZone(this, 'HostedZone', {\n zoneName: 'someexample.com',\n crossAccountZoneDelegationPrincipal: new iam.AccountPrincipal('12345678901'),\n crossAccountZoneDelegationRoleName: 'MyDelegationRole',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":8,"104":1,"193":1,"194":2,"197":2,"225":1,"242":1,"243":1,"281":3},"fqnsFingerprint":"3bdc7d9f0f0624c44457c9c1ffb78092a2ead5741dc0d72b763c6c5554e2d477"},"e1b78adef4b73ff13307d457a6d8408f40b85fd56ade7a4f8536afe4fd514e13":{"translations":{"python":{"source":"sub_zone = route53.PublicHostedZone(self, \"SubZone\",\n zone_name=\"sub.someexample.com\"\n)\n\n# import the delegation role by constructing the roleArn\ndelegation_role_arn = Stack.of(self).format_arn(\n region=\"\", # IAM is global in each partition\n service=\"iam\",\n account=\"parent-account-id\",\n resource=\"role\",\n resource_name=\"MyDelegationRole\"\n)\ndelegation_role = iam.Role.from_role_arn(self, \"DelegationRole\", delegation_role_arn)\n\n# create the record\nroute53.CrossAccountZoneDelegationRecord(self, \"delegate\",\n delegated_zone=sub_zone,\n parent_hosted_zone_name=\"someexample.com\", # or you can use parentHostedZoneId\n delegation_role=delegation_role\n)","version":"2"},"csharp":{"source":"var subZone = new PublicHostedZone(this, \"SubZone\", new PublicHostedZoneProps {\n ZoneName = \"sub.someexample.com\"\n});\n\n// import the delegation role by constructing the roleArn\nvar delegationRoleArn = Stack.Of(this).FormatArn(new ArnComponents {\n Region = \"\", // IAM is global in each partition\n Service = \"iam\",\n Account = \"parent-account-id\",\n Resource = \"role\",\n ResourceName = \"MyDelegationRole\"\n});\nvar delegationRole = Role.FromRoleArn(this, \"DelegationRole\", delegationRoleArn);\n\n// create the record\n// create the record\nnew CrossAccountZoneDelegationRecord(this, \"delegate\", new CrossAccountZoneDelegationRecordProps {\n DelegatedZone = subZone,\n ParentHostedZoneName = \"someexample.com\", // or you can use parentHostedZoneId\n DelegationRole = delegationRole\n});","version":"1"},"java":{"source":"PublicHostedZone subZone = PublicHostedZone.Builder.create(this, \"SubZone\")\n .zoneName(\"sub.someexample.com\")\n .build();\n\n// import the delegation role by constructing the roleArn\nString delegationRoleArn = Stack.of(this).formatArn(ArnComponents.builder()\n .region(\"\") // IAM is global in each partition\n .service(\"iam\")\n .account(\"parent-account-id\")\n .resource(\"role\")\n .resourceName(\"MyDelegationRole\")\n .build());\nIRole delegationRole = Role.fromRoleArn(this, \"DelegationRole\", delegationRoleArn);\n\n// create the record\n// create the record\nCrossAccountZoneDelegationRecord.Builder.create(this, \"delegate\")\n .delegatedZone(subZone)\n .parentHostedZoneName(\"someexample.com\") // or you can use parentHostedZoneId\n .delegationRole(delegationRole)\n .build();","version":"1"},"go":{"source":"subZone := route53.NewPublicHostedZone(this, jsii.String(\"SubZone\"), &PublicHostedZoneProps{\n\tZoneName: jsii.String(\"sub.someexample.com\"),\n})\n\n// import the delegation role by constructing the roleArn\ndelegationRoleArn := awscdkcore.stack_Of(this).FormatArn(&ArnComponents{\n\tRegion: jsii.String(\"\"),\n\t // IAM is global in each partition\n\tService: jsii.String(\"iam\"),\n\tAccount: jsii.String(\"parent-account-id\"),\n\tResource: jsii.String(\"role\"),\n\tResourceName: jsii.String(\"MyDelegationRole\"),\n})\ndelegationRole := iam.Role_FromRoleArn(this, jsii.String(\"DelegationRole\"), delegationRoleArn)\n\n// create the record\n// create the record\nroute53.NewCrossAccountZoneDelegationRecord(this, jsii.String(\"delegate\"), &CrossAccountZoneDelegationRecordProps{\n\tDelegatedZone: subZone,\n\tParentHostedZoneName: jsii.String(\"someexample.com\"),\n\t // or you can use parentHostedZoneId\n\tDelegationRole: DelegationRole,\n})","version":"1"},"$":{"source":"const subZone = new route53.PublicHostedZone(this, 'SubZone', {\n zoneName: 'sub.someexample.com',\n});\n\n// import the delegation role by constructing the roleArn\nconst delegationRoleArn = Stack.of(this).formatArn({\n region: '', // IAM is global in each partition\n service: 'iam',\n account: 'parent-account-id',\n resource: 'role',\n resourceName: 'MyDelegationRole',\n});\nconst delegationRole = iam.Role.fromRoleArn(this, 'DelegationRole', delegationRoleArn);\n\n// create the record\nnew route53.CrossAccountZoneDelegationRecord(this, 'delegate', {\n delegatedZone: subZone,\n parentHostedZoneName: 'someexample.com', // or you can use parentHostedZoneId\n delegationRole,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":154}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-iam.IRole","@aws-cdk/aws-iam.Role","@aws-cdk/aws-iam.Role#fromRoleArn","@aws-cdk/aws-route53.CrossAccountZoneDelegationRecord","@aws-cdk/aws-route53.CrossAccountZoneDelegationRecordProps","@aws-cdk/aws-route53.IHostedZone","@aws-cdk/aws-route53.PublicHostedZone","@aws-cdk/aws-route53.PublicHostedZoneProps","@aws-cdk/core.ArnComponents","@aws-cdk/core.Stack#formatArn","@aws-cdk/core.Stack#of","constructs.Construct","constructs.IConstruct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst subZone = new route53.PublicHostedZone(this, 'SubZone', {\n zoneName: 'sub.someexample.com',\n});\n\n// import the delegation role by constructing the roleArn\nconst delegationRoleArn = Stack.of(this).formatArn({\n region: '', // IAM is global in each partition\n service: 'iam',\n account: 'parent-account-id',\n resource: 'role',\n resourceName: 'MyDelegationRole',\n});\nconst delegationRole = iam.Role.fromRoleArn(this, 'DelegationRole', delegationRoleArn);\n\n// create the record\nnew route53.CrossAccountZoneDelegationRecord(this, 'delegate', {\n delegatedZone: subZone,\n parentHostedZoneName: 'someexample.com', // or you can use parentHostedZoneId\n delegationRole,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":10,"75":24,"104":4,"193":3,"194":6,"196":3,"197":2,"225":3,"226":1,"242":3,"243":3,"281":8,"282":1},"fqnsFingerprint":"89b3194133d8aa5b66d8623097755c2cabd71175c48d5fe50c6af7962b768692"},"9d7011c271262218c32ed43b48d9790d66279653a5b11a31080763116ec63716":{"translations":{"python":{"source":"route53.HostedZone.from_lookup(self, \"MyZone\",\n domain_name=\"example.com\"\n)","version":"2"},"csharp":{"source":"HostedZone.FromLookup(this, \"MyZone\", new HostedZoneProviderProps {\n DomainName = \"example.com\"\n});","version":"1"},"java":{"source":"HostedZone.fromLookup(this, \"MyZone\", HostedZoneProviderProps.builder()\n .domainName(\"example.com\")\n .build());","version":"1"},"go":{"source":"route53.HostedZone_FromLookup(this, jsii.String(\"MyZone\"), &HostedZoneProviderProps{\n\tDomainName: jsii.String(\"example.com\"),\n})","version":"1"},"$":{"source":"route53.HostedZone.fromLookup(this, 'MyZone', {\n domainName: 'example.com',\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":182}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-route53.HostedZone","@aws-cdk/aws-route53.HostedZone#fromLookup","@aws-cdk/aws-route53.HostedZoneProviderProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nroute53.HostedZone.fromLookup(this, 'MyZone', {\n domainName: 'example.com',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":4,"104":1,"193":1,"194":2,"196":1,"226":1,"281":1},"fqnsFingerprint":"5bd40dfc5adb5be7f5b1d3e3bcce540f1ff50869e84c11995792ad154a8242aa"},"dd02f3a7b30325e9d34ae7316f233ce1c5f472f6707ff15cb3925be18ca0386e":{"translations":{"python":{"source":"zone = route53.HostedZone.from_hosted_zone_attributes(self, \"MyZone\",\n zone_name=\"example.com\",\n hosted_zone_id=\"ZOJJZC49E0EPZ\"\n)","version":"2"},"csharp":{"source":"var zone = HostedZone.FromHostedZoneAttributes(this, \"MyZone\", new HostedZoneAttributes {\n ZoneName = \"example.com\",\n HostedZoneId = \"ZOJJZC49E0EPZ\"\n});","version":"1"},"java":{"source":"IHostedZone zone = HostedZone.fromHostedZoneAttributes(this, \"MyZone\", HostedZoneAttributes.builder()\n .zoneName(\"example.com\")\n .hostedZoneId(\"ZOJJZC49E0EPZ\")\n .build());","version":"1"},"go":{"source":"zone := route53.HostedZone_FromHostedZoneAttributes(this, jsii.String(\"MyZone\"), &HostedZoneAttributes{\n\tZoneName: jsii.String(\"example.com\"),\n\tHostedZoneId: jsii.String(\"ZOJJZC49E0EPZ\"),\n})","version":"1"},"$":{"source":"const zone = route53.HostedZone.fromHostedZoneAttributes(this, 'MyZone', {\n zoneName: 'example.com',\n hostedZoneId: 'ZOJJZC49E0EPZ',\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":204}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-route53.HostedZone","@aws-cdk/aws-route53.HostedZone#fromHostedZoneAttributes","@aws-cdk/aws-route53.HostedZoneAttributes","@aws-cdk/aws-route53.IHostedZone","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst zone = route53.HostedZone.fromHostedZoneAttributes(this, 'MyZone', {\n zoneName: 'example.com',\n hostedZoneId: 'ZOJJZC49E0EPZ',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":6,"104":1,"193":1,"194":2,"196":1,"225":1,"242":1,"243":1,"281":2},"fqnsFingerprint":"d2b720a03a8724073e3c156a5a1d55481f6490a47a2d6dbd4503d015ad2e7f61"},"642bb75f37a36ef44ba3cc3c3e311e904601a22d7509cb5541ccb04f5224c556":{"translations":{"python":{"source":"zone = route53.HostedZone.from_hosted_zone_id(self, \"MyZone\", \"ZOJJZC49E0EPZ\")","version":"2"},"csharp":{"source":"var zone = HostedZone.FromHostedZoneId(this, \"MyZone\", \"ZOJJZC49E0EPZ\");","version":"1"},"java":{"source":"IHostedZone zone = HostedZone.fromHostedZoneId(this, \"MyZone\", \"ZOJJZC49E0EPZ\");","version":"1"},"go":{"source":"zone := route53.HostedZone_FromHostedZoneId(this, jsii.String(\"MyZone\"), jsii.String(\"ZOJJZC49E0EPZ\"))","version":"1"},"$":{"source":"const zone = route53.HostedZone.fromHostedZoneId(this, 'MyZone', 'ZOJJZC49E0EPZ');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":214}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-route53.HostedZone","@aws-cdk/aws-route53.HostedZone#fromHostedZoneId","@aws-cdk/aws-route53.IHostedZone","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst zone = route53.HostedZone.fromHostedZoneId(this, 'MyZone', 'ZOJJZC49E0EPZ');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":4,"104":1,"194":2,"196":1,"225":1,"242":1,"243":1},"fqnsFingerprint":"63485bfed7b48e3f0352c6cafd85da3219fccddbcdce817e39b031c242869798"},"9164f399ef3af54b6bbf82402788f450f7721368db2f52a92b0c2bd9d7ceaa9e":{"translations":{"python":{"source":"zone_from_attributes = route53.PublicHostedZone.from_public_hosted_zone_attributes(self, \"MyZone\",\n zone_name=\"example.com\",\n hosted_zone_id=\"ZOJJZC49E0EPZ\"\n)\n\n# Does not know zoneName\nzone_from_id = route53.PublicHostedZone.from_public_hosted_zone_id(self, \"MyZone\", \"ZOJJZC49E0EPZ\")","version":"2"},"csharp":{"source":"var zoneFromAttributes = PublicHostedZone.FromPublicHostedZoneAttributes(this, \"MyZone\", new PublicHostedZoneAttributes {\n ZoneName = \"example.com\",\n HostedZoneId = \"ZOJJZC49E0EPZ\"\n});\n\n// Does not know zoneName\nvar zoneFromId = PublicHostedZone.FromPublicHostedZoneId(this, \"MyZone\", \"ZOJJZC49E0EPZ\");","version":"1"},"java":{"source":"IHostedZone zoneFromAttributes = PublicHostedZone.fromPublicHostedZoneAttributes(this, \"MyZone\", PublicHostedZoneAttributes.builder()\n .zoneName(\"example.com\")\n .hostedZoneId(\"ZOJJZC49E0EPZ\")\n .build());\n\n// Does not know zoneName\nIPublicHostedZone zoneFromId = PublicHostedZone.fromPublicHostedZoneId(this, \"MyZone\", \"ZOJJZC49E0EPZ\");","version":"1"},"go":{"source":"zoneFromAttributes := route53.PublicHostedZone_FromPublicHostedZoneAttributes(this, jsii.String(\"MyZone\"), &PublicHostedZoneAttributes{\n\tZoneName: jsii.String(\"example.com\"),\n\tHostedZoneId: jsii.String(\"ZOJJZC49E0EPZ\"),\n})\n\n// Does not know zoneName\nzoneFromId := route53.PublicHostedZone_FromPublicHostedZoneId(this, jsii.String(\"MyZone\"), jsii.String(\"ZOJJZC49E0EPZ\"))","version":"1"},"$":{"source":"const zoneFromAttributes = route53.PublicHostedZone.fromPublicHostedZoneAttributes(this, 'MyZone', {\n zoneName: 'example.com',\n hostedZoneId: 'ZOJJZC49E0EPZ',\n});\n\n// Does not know zoneName\nconst zoneFromId = route53.PublicHostedZone.fromPublicHostedZoneId(this, 'MyZone', 'ZOJJZC49E0EPZ');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":220}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-route53.IHostedZone","@aws-cdk/aws-route53.IPublicHostedZone","@aws-cdk/aws-route53.PublicHostedZone","@aws-cdk/aws-route53.PublicHostedZone#fromPublicHostedZoneAttributes","@aws-cdk/aws-route53.PublicHostedZone#fromPublicHostedZoneId","@aws-cdk/aws-route53.PublicHostedZoneAttributes","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as route53 from '@aws-cdk/aws-route53';\nimport * as targets from '@aws-cdk/aws-route53-targets';\nimport * as ec2 from '@aws-cdk/aws-ec2';\nimport * as iam from '@aws-cdk/aws-iam';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n // Code snippet begins after !show marker below\n/// !show\nconst zoneFromAttributes = route53.PublicHostedZone.fromPublicHostedZoneAttributes(this, 'MyZone', {\n zoneName: 'example.com',\n hostedZoneId: 'ZOJJZC49E0EPZ',\n});\n\n// Does not know zoneName\nconst zoneFromId = route53.PublicHostedZone.fromPublicHostedZoneId(this, 'MyZone', 'ZOJJZC49E0EPZ');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":5,"75":10,"104":2,"193":1,"194":4,"196":2,"225":2,"242":2,"243":2,"281":2},"fqnsFingerprint":"1a53f4817f93c4475f5e897bcf411af43d0686088f4a008a9f4520aa9a38805c"},"615799be62e233b505cbfd7a1e068144f983d446ea236fcea99e04bd855e671e":{"translations":{"python":{"source":"from aws_cdk.core import Stack\nfrom aws_cdk.aws_ec2 import Vpc, VpcEndpointService\nfrom aws_cdk.aws_elasticloadbalancingv2 import NetworkLoadBalancer\nfrom aws_cdk.aws_route53 import PublicHostedZone, VpcEndpointServiceDomainName\n\nstack = Stack()\nvpc = Vpc(stack, \"VPC\")\nnlb = NetworkLoadBalancer(stack, \"NLB\",\n vpc=vpc\n)\nvpces = VpcEndpointService(stack, \"VPCES\",\n vpc_endpoint_service_load_balancers=[nlb]\n)\n# You must use a public hosted zone so domain ownership can be verified\nzone = PublicHostedZone(stack, \"PHZ\",\n zone_name=\"aws-cdk.dev\"\n)\nVpcEndpointServiceDomainName(stack, \"EndpointDomain\",\n endpoint_service=vpces,\n domain_name=\"my-stuff.aws-cdk.dev\",\n public_hosted_zone=zone\n)","version":"2"},"csharp":{"source":"using Amazon.CDK;\nusing Amazon.CDK.AWS.EC2;\nusing Amazon.CDK.AWS.ElasticLoadBalancingV2;\nusing Amazon.CDK.AWS.Route53;\n\nvar stack = new Stack();\nvar vpc = new Vpc(stack, \"VPC\");\nvar nlb = new NetworkLoadBalancer(stack, \"NLB\", new NetworkLoadBalancerProps {\n Vpc = vpc\n});\nvar vpces = new VpcEndpointService(stack, \"VPCES\", new VpcEndpointServiceProps {\n VpcEndpointServiceLoadBalancers = new [] { nlb }\n});\n// You must use a public hosted zone so domain ownership can be verified\nvar zone = new PublicHostedZone(stack, \"PHZ\", new PublicHostedZoneProps {\n ZoneName = \"aws-cdk.dev\"\n});\nnew VpcEndpointServiceDomainName(stack, \"EndpointDomain\", new VpcEndpointServiceDomainNameProps {\n EndpointService = vpces,\n DomainName = \"my-stuff.aws-cdk.dev\",\n PublicHostedZone = zone\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.core.Stack;\nimport software.amazon.awscdk.services.ec2.Vpc;\nimport software.amazon.awscdk.services.ec2.VpcEndpointService;\nimport software.amazon.awscdk.services.elasticloadbalancingv2.NetworkLoadBalancer;\nimport software.amazon.awscdk.services.route53.PublicHostedZone;\nimport software.amazon.awscdk.services.route53.VpcEndpointServiceDomainName;\n\nStack stack = new Stack();\nVpc vpc = new Vpc(stack, \"VPC\");\nNetworkLoadBalancer nlb = NetworkLoadBalancer.Builder.create(stack, \"NLB\")\n .vpc(vpc)\n .build();\nVpcEndpointService vpces = VpcEndpointService.Builder.create(stack, \"VPCES\")\n .vpcEndpointServiceLoadBalancers(List.of(nlb))\n .build();\n// You must use a public hosted zone so domain ownership can be verified\nPublicHostedZone zone = PublicHostedZone.Builder.create(stack, \"PHZ\")\n .zoneName(\"aws-cdk.dev\")\n .build();\nVpcEndpointServiceDomainName.Builder.create(stack, \"EndpointDomain\")\n .endpointService(vpces)\n .domainName(\"my-stuff.aws-cdk.dev\")\n .publicHostedZone(zone)\n .build();","version":"1"},"go":{"source":"import \"github.com/aws-samples/dummy/awscdkcore\"\nimport \"github.com/aws-samples/dummy/awscdkawsec2\"\nimport \"github.com/aws-samples/dummy/awscdkawselasticloadbalancingv2\"\nimport \"github.com/aws-samples/dummy/awscdkawsroute53\"\n\nstack := awscdkcore.NewStack()\nvpc := awscdkawsec2.NewVpc(stack, jsii.String(\"VPC\"))\nnlb := awscdkawselasticloadbalancingv2.NewNetworkLoadBalancer(stack, jsii.String(\"NLB\"), &NetworkLoadBalancerProps{\n\tVpc: Vpc,\n})\nvpces := awscdkawsec2.NewVpcEndpointService(stack, jsii.String(\"VPCES\"), &VpcEndpointServiceProps{\n\tVpcEndpointServiceLoadBalancers: []iVpcEndpointServiceLoadBalancer{\n\t\tnlb,\n\t},\n})\n// You must use a public hosted zone so domain ownership can be verified\nzone := awscdkawsroute53.NewPublicHostedZone(stack, jsii.String(\"PHZ\"), &PublicHostedZoneProps{\n\tZoneName: jsii.String(\"aws-cdk.dev\"),\n})\nawscdkawsroute53.NewVpcEndpointServiceDomainName(stack, jsii.String(\"EndpointDomain\"), &VpcEndpointServiceDomainNameProps{\n\tEndpointService: vpces,\n\tDomainName: jsii.String(\"my-stuff.aws-cdk.dev\"),\n\tPublicHostedZone: zone,\n})","version":"1"},"$":{"source":"import { Stack } from '@aws-cdk/core';\nimport { Vpc, VpcEndpointService } from '@aws-cdk/aws-ec2';\nimport { NetworkLoadBalancer } from '@aws-cdk/aws-elasticloadbalancingv2';\nimport { PublicHostedZone, VpcEndpointServiceDomainName } from '@aws-cdk/aws-route53';\n\nconst stack = new Stack();\nconst vpc = new Vpc(stack, 'VPC');\nconst nlb = new NetworkLoadBalancer(stack, 'NLB', {\n vpc,\n});\nconst vpces = new VpcEndpointService(stack, 'VPCES', {\n vpcEndpointServiceLoadBalancers: [nlb],\n});\n// You must use a public hosted zone so domain ownership can be verified\nconst zone = new PublicHostedZone(stack, 'PHZ', {\n zoneName: 'aws-cdk.dev',\n});\nnew VpcEndpointServiceDomainName(stack, 'EndpointDomain', {\n endpointService: vpces,\n domainName: 'my-stuff.aws-cdk.dev',\n publicHostedZone: zone,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-route53"},"field":{"field":"markdown","line":253}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-ec2.IVpc","@aws-cdk/aws-ec2.IVpcEndpointService","@aws-cdk/aws-ec2.Vpc","@aws-cdk/aws-ec2.VpcEndpointService","@aws-cdk/aws-ec2.VpcEndpointServiceProps","@aws-