{"version":"2","toolVersion":"1.84.0","snippets":{"4156a5edafd04063485b455770390d9ca9f68820c74f86beb2e4fa0d085651b5":{"translations":{"python":{"source":"cfn_template = cfn_inc.CfnInclude(self, \"Template\",\n template_file=\"my-template.json\"\n)","version":"2"},"csharp":{"source":"var cfnTemplate = new CfnInclude(this, \"Template\", new CfnIncludeProps {\n TemplateFile = \"my-template.json\"\n});","version":"1"},"java":{"source":"CfnInclude cfnTemplate = CfnInclude.Builder.create(this, \"Template\")\n .templateFile(\"my-template.json\")\n .build();","version":"1"},"go":{"source":"cfnTemplate := cfn_inc.NewCfnInclude(this, jsii.String(\"Template\"), &CfnIncludeProps{\n\tTemplateFile: jsii.String(\"my-template.json\"),\n})","version":"1"},"$":{"source":"const cfnTemplate = new cfn_inc.CfnInclude(this, 'Template', {\n templateFile: 'my-template.json',\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":55}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude","@aws-cdk/cloudformation-include.CfnIncludeProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst cfnTemplate = new cfn_inc.CfnInclude(this, 'Template', {\n templateFile: 'my-template.json',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":4,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"281":1},"fqnsFingerprint":"de526d1ed2bed31bcf3b35ff5b5333bc10c9423552480d9ed23f4ec91219af66"},"ce50ffede1a7313fda5f8e00cc48c606927cee3e14f234aa67424ec7cadfccbf":{"translations":{"python":{"source":"cfn_template = cfn_inc.CfnInclude(self, \"Template\",\n template_file=\"my-template.yaml\"\n)","version":"2"},"csharp":{"source":"var cfnTemplate = new CfnInclude(this, \"Template\", new CfnIncludeProps {\n TemplateFile = \"my-template.yaml\"\n});","version":"1"},"java":{"source":"CfnInclude cfnTemplate = CfnInclude.Builder.create(this, \"Template\")\n .templateFile(\"my-template.yaml\")\n .build();","version":"1"},"go":{"source":"cfnTemplate := cfn_inc.NewCfnInclude(this, jsii.String(\"Template\"), &CfnIncludeProps{\n\tTemplateFile: jsii.String(\"my-template.yaml\"),\n})","version":"1"},"$":{"source":"const cfnTemplate = new cfn_inc.CfnInclude(this, 'Template', {\n templateFile: 'my-template.yaml',\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":63}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude","@aws-cdk/cloudformation-include.CfnIncludeProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst cfnTemplate = new cfn_inc.CfnInclude(this, 'Template', {\n templateFile: 'my-template.yaml',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":4,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"281":1},"fqnsFingerprint":"de526d1ed2bed31bcf3b35ff5b5333bc10c9423552480d9ed23f4ec91219af66"},"26b28569c6565ef5984d4134a6f5fcf88cd115d9726428dc49b41308b7fdeba3":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\ncfn_bucket = cfn_template.get_resource(\"Bucket\")","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\nvar cfnBucket = (CfnBucket)cfnTemplate.GetResource(\"Bucket\");","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\nCfnBucket cfnBucket = (CfnBucket)cfnTemplate.getResource(\"Bucket\");","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\ncfnBucket := cfnTemplate.GetResource(jsii.String(\"Bucket\")).(cfnBucket)","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\nconst cfnBucket = cfnTemplate.getResource('Bucket') as s3.CfnBucket;\n// cfnBucket is of type s3.CfnBucket","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":89}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-s3.CfnBucket","@aws-cdk/cloudformation-include.CfnInclude#getResource"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst cfnBucket = cfnTemplate.getResource('Bucket') as s3.CfnBucket;\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":8,"130":1,"153":2,"169":2,"194":1,"196":1,"217":1,"225":2,"242":2,"243":2,"290":1},"fqnsFingerprint":"190da66e36eb66959929dbe96147aa2452f311835f1780c26b4248b3a1e35391"},"f073cabb42629a79fb638486f49484e89e06ee081e797d677a201e9bd4ee9d6d":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\ncfn_bucket = cfn_template.get_resource(\"Bucket\")\ncfn_bucket.bucket_name = \"my-bucket-name\"","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\nvar cfnBucket = (CfnBucket)cfnTemplate.GetResource(\"Bucket\");\ncfnBucket.BucketName = \"my-bucket-name\";","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\nCfnBucket cfnBucket = (CfnBucket)cfnTemplate.getResource(\"Bucket\");\ncfnBucket.getBucketName() = \"my-bucket-name\";","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\ncfnBucket := cfnTemplate.GetResource(jsii.String(\"Bucket\")).(cfnBucket)\ncfnBucket.BucketName = \"my-bucket-name\"","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\nconst cfnBucket = cfnTemplate.getResource('Bucket') as s3.CfnBucket;\ncfnBucket.bucketName = 'my-bucket-name';","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":104}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-s3.CfnBucket","@aws-cdk/aws-s3.CfnBucket#bucketName","@aws-cdk/cloudformation-include.CfnInclude#getResource"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst cfnBucket = cfnTemplate.getResource('Bucket') as s3.CfnBucket;\ncfnBucket.bucketName = 'my-bucket-name';\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"62":1,"75":10,"130":1,"153":2,"169":2,"194":2,"196":1,"209":1,"217":1,"225":2,"226":1,"242":2,"243":2,"290":1},"fqnsFingerprint":"2b4cc5be4be90340e33799a4156faacd79ffc7e244c50d20fb0e86d310e6948b"},"6dd3ab063fb008cbe6f1a368434528755e978be3de85d390b5765d3850f9a522":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\ncfn_bucket = cfn_template.get_resource(\"Bucket\")\n\nrole = iam.Role(self, \"Role\",\n assumed_by=iam.AnyPrincipal()\n)\nrole.add_to_policy(iam.PolicyStatement(\n actions=[\"s3:*\"],\n resources=[cfn_bucket.attr_arn]\n))","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\nvar cfnBucket = (CfnBucket)cfnTemplate.GetResource(\"Bucket\");\n\nvar role = new Role(this, \"Role\", new RoleProps {\n AssumedBy = new AnyPrincipal()\n});\nrole.AddToPolicy(new PolicyStatement(new PolicyStatementProps {\n Actions = new [] { \"s3:*\" },\n Resources = new [] { cfnBucket.AttrArn }\n}));","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\nCfnBucket cfnBucket = (CfnBucket)cfnTemplate.getResource(\"Bucket\");\n\nRole role = Role.Builder.create(this, \"Role\")\n .assumedBy(new AnyPrincipal())\n .build();\nrole.addToPolicy(PolicyStatement.Builder.create()\n .actions(List.of(\"s3:*\"))\n .resources(List.of(cfnBucket.getAttrArn()))\n .build());","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\ncfnBucket := cfnTemplate.GetResource(jsii.String(\"Bucket\")).(cfnBucket)\n\nrole := iam.NewRole(this, jsii.String(\"Role\"), &RoleProps{\n\tAssumedBy: iam.NewAnyPrincipal(),\n})\nrole.AddToPolicy(iam.NewPolicyStatement(&PolicyStatementProps{\n\tActions: []*string{\n\t\tjsii.String(\"s3:*\"),\n\t},\n\tResources: []*string{\n\t\tcfnBucket.AttrArn,\n\t},\n}))","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\nconst cfnBucket = cfnTemplate.getResource('Bucket') as s3.CfnBucket;\n\nconst role = new iam.Role(this, 'Role', {\n assumedBy: new iam.AnyPrincipal(),\n});\nrole.addToPolicy(new iam.PolicyStatement({\n actions: ['s3:*'],\n resources: [cfnBucket.attrArn],\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":115}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-iam.AnyPrincipal","@aws-cdk/aws-iam.IPrincipal","@aws-cdk/aws-iam.PolicyStatement","@aws-cdk/aws-iam.PolicyStatementProps","@aws-cdk/aws-iam.Role","@aws-cdk/aws-iam.Role#addToPolicy","@aws-cdk/aws-iam.RoleProps","@aws-cdk/aws-s3.CfnBucket","@aws-cdk/aws-s3.CfnBucket#attrArn","@aws-cdk/cloudformation-include.CfnInclude#getResource","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst cfnBucket = cfnTemplate.getResource('Bucket') as s3.CfnBucket;\n\nconst role = new iam.Role(this, 'Role', {\n assumedBy: new iam.AnyPrincipal(),\n});\nrole.addToPolicy(new iam.PolicyStatement({\n actions: ['s3:*'],\n resources: [cfnBucket.attrArn],\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":22,"104":1,"130":1,"153":2,"169":2,"192":2,"193":2,"194":6,"196":2,"197":3,"217":1,"225":3,"226":1,"242":3,"243":3,"281":3,"290":1},"fqnsFingerprint":"a21ea3050601bffdfa18556ab033222bf05b92149259e183e6e276d6814a4913"},"1dc879e63cc459efb30c56a8f8aee8df61c312641b6803478882fd23e68380fd":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\ncfn_key = cfn_template.get_resource(\"Key\")\nkey = kms.Key.from_cfn_key(cfn_key)","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\nvar cfnKey = (CfnKey)cfnTemplate.GetResource(\"Key\");\nvar key = Key.FromCfnKey(cfnKey);","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\nCfnKey cfnKey = (CfnKey)cfnTemplate.getResource(\"Key\");\nIKey key = Key.fromCfnKey(cfnKey);","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\ncfnKey := cfnTemplate.GetResource(jsii.String(\"Key\")).(cfnKey)\nkey := kms.Key_FromCfnKey(cfnKey)","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\nconst cfnKey = cfnTemplate.getResource('Key') as kms.CfnKey;\nconst key = kms.Key.fromCfnKey(cfnKey);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":145}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-kms.CfnKey","@aws-cdk/aws-kms.IKey","@aws-cdk/aws-kms.Key","@aws-cdk/aws-kms.Key#fromCfnKey","@aws-cdk/cloudformation-include.CfnInclude#getResource"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst cfnKey = cfnTemplate.getResource('Key') as kms.CfnKey;\nconst key = kms.Key.fromCfnKey(cfnKey);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":13,"130":1,"153":2,"169":2,"194":3,"196":2,"217":1,"225":3,"242":3,"243":3,"290":1},"fqnsFingerprint":"fd54a4327b856b6ed0852460eb6359882ce10b8ef071048c54b7ae9d15b87e49"},"cec6e564d7c6b5289397d75b6a029e7ec5820eb1b9c8b91bdcf828df5fc0c074":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\n# using from*Attributes()\n# private_cfn_subnet1: ec2.CfnSubnet\n# private_cfn_subnet2: ec2.CfnSubnet\n\n\n# using from*Name()\ncfn_bucket = cfn_template.get_resource(\"Bucket\")\nbucket = s3.Bucket.from_bucket_name(self, \"L2Bucket\", cfn_bucket.ref)\n\n# using from*Arn()\ncfn_key = cfn_template.get_resource(\"Key\")\nkey = kms.Key.from_key_arn(self, \"L2Key\", cfn_key.attr_arn)\ncfn_vpc = cfn_template.get_resource(\"Vpc\")\nvpc = ec2.Vpc.from_vpc_attributes(self, \"L2Vpc\",\n vpc_id=cfn_vpc.ref,\n availability_zones=core.Fn.get_azs(),\n private_subnet_ids=[private_cfn_subnet1.ref, private_cfn_subnet2.ref]\n)","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\n// using from*Attributes()\nCfnSubnet privateCfnSubnet1;\nCfnSubnet privateCfnSubnet2;\n\n\n// using from*Name()\nvar cfnBucket = (CfnBucket)cfnTemplate.GetResource(\"Bucket\");\nvar bucket = Bucket.FromBucketName(this, \"L2Bucket\", cfnBucket.Ref);\n\n// using from*Arn()\nvar cfnKey = (CfnKey)cfnTemplate.GetResource(\"Key\");\nvar key = Key.FromKeyArn(this, \"L2Key\", cfnKey.AttrArn);\nvar cfnVpc = (CfnVPC)cfnTemplate.GetResource(\"Vpc\");\nvar vpc = Vpc.FromVpcAttributes(this, \"L2Vpc\", new VpcAttributes {\n VpcId = cfnVpc.Ref,\n AvailabilityZones = Fn.GetAzs(),\n PrivateSubnetIds = new [] { privateCfnSubnet1.Ref, privateCfnSubnet2.Ref }\n});","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\n// using from*Attributes()\nCfnSubnet privateCfnSubnet1;\nCfnSubnet privateCfnSubnet2;\n\n\n// using from*Name()\nCfnBucket cfnBucket = (CfnBucket)cfnTemplate.getResource(\"Bucket\");\nIBucket bucket = Bucket.fromBucketName(this, \"L2Bucket\", cfnBucket.getRef());\n\n// using from*Arn()\nCfnKey cfnKey = (CfnKey)cfnTemplate.getResource(\"Key\");\nIKey key = Key.fromKeyArn(this, \"L2Key\", cfnKey.getAttrArn());\nCfnVPC cfnVpc = (CfnVPC)cfnTemplate.getResource(\"Vpc\");\nIVpc vpc = Vpc.fromVpcAttributes(this, \"L2Vpc\", VpcAttributes.builder()\n .vpcId(cfnVpc.getRef())\n .availabilityZones(Fn.getAzs())\n .privateSubnetIds(List.of(privateCfnSubnet1.getRef(), privateCfnSubnet2.getRef()))\n .build());","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\n// using from*Attributes()\nvar privateCfnSubnet1 cfnSubnet\nvar privateCfnSubnet2 cfnSubnet\n\n\n// using from*Name()\ncfnBucket := cfnTemplate.GetResource(jsii.String(\"Bucket\")).(cfnBucket)\nbucket := s3.Bucket_FromBucketName(this, jsii.String(\"L2Bucket\"), cfnBucket.ref)\n\n// using from*Arn()\ncfnKey := cfnTemplate.GetResource(jsii.String(\"Key\")).(cfnKey)\nkey := kms.Key_FromKeyArn(this, jsii.String(\"L2Key\"), cfnKey.AttrArn)\ncfnVpc := cfnTemplate.GetResource(jsii.String(\"Vpc\")).(cfnVPC)\nvpc := ec2.Vpc_FromVpcAttributes(this, jsii.String(\"L2Vpc\"), &VpcAttributes{\n\tVpcId: cfnVpc.ref,\n\tAvailabilityZones: core.Fn_GetAzs(),\n\tPrivateSubnetIds: []*string{\n\t\tprivateCfnSubnet1.ref,\n\t\tprivateCfnSubnet2.ref,\n\t},\n})","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\n\n// using from*Name()\nconst cfnBucket = cfnTemplate.getResource('Bucket') as s3.CfnBucket;\nconst bucket = s3.Bucket.fromBucketName(this, 'L2Bucket', cfnBucket.ref);\n\n// using from*Arn()\nconst cfnKey = cfnTemplate.getResource('Key') as kms.CfnKey;\nconst key = kms.Key.fromKeyArn(this, 'L2Key', cfnKey.attrArn);\n\n// using from*Attributes()\ndeclare const privateCfnSubnet1: ec2.CfnSubnet;\ndeclare const privateCfnSubnet2: ec2.CfnSubnet;\nconst cfnVpc = cfnTemplate.getResource('Vpc') as ec2.CfnVPC;\nconst vpc = ec2.Vpc.fromVpcAttributes(this, 'L2Vpc', {\n vpcId: cfnVpc.ref,\n availabilityZones: core.Fn.getAzs(),\n privateSubnetIds: [privateCfnSubnet1.ref, privateCfnSubnet2.ref],\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":211}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-ec2.CfnVPC","@aws-cdk/aws-ec2.IVpc","@aws-cdk/aws-ec2.Vpc","@aws-cdk/aws-ec2.Vpc#fromVpcAttributes","@aws-cdk/aws-ec2.VpcAttributes","@aws-cdk/aws-kms.CfnKey","@aws-cdk/aws-kms.CfnKey#attrArn","@aws-cdk/aws-kms.IKey","@aws-cdk/aws-kms.Key","@aws-cdk/aws-kms.Key#fromKeyArn","@aws-cdk/aws-s3.Bucket","@aws-cdk/aws-s3.Bucket#fromBucketName","@aws-cdk/aws-s3.CfnBucket","@aws-cdk/aws-s3.IBucket","@aws-cdk/cloudformation-include.CfnInclude#getResource","@aws-cdk/core.Fn","@aws-cdk/core.Fn#getAzs","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n\n// using from*Attributes()\ndeclare const privateCfnSubnet1: ec2.CfnSubnet;\ndeclare const privateCfnSubnet2: ec2.CfnSubnet;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\n// using from*Name()\nconst cfnBucket = cfnTemplate.getResource('Bucket') as s3.CfnBucket;\nconst bucket = s3.Bucket.fromBucketName(this, 'L2Bucket', cfnBucket.ref);\n\n// using from*Arn()\nconst cfnKey = cfnTemplate.getResource('Key') as kms.CfnKey;\nconst key = kms.Key.fromKeyArn(this, 'L2Key', cfnKey.attrArn);\nconst cfnVpc = cfnTemplate.getResource('Vpc') as ec2.CfnVPC;\nconst vpc = ec2.Vpc.fromVpcAttributes(this, 'L2Vpc', {\n vpcId: cfnVpc.ref,\n availabilityZones: core.Fn.getAzs(),\n privateSubnetIds: [privateCfnSubnet1.ref, privateCfnSubnet2.ref],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":52,"104":3,"130":3,"153":6,"169":6,"192":1,"193":1,"194":16,"196":7,"217":3,"225":9,"242":9,"243":9,"281":3,"290":1},"fqnsFingerprint":"3dfc0a03da44e6b166a8c5476105df2d58cc2d59f409a5c7b66e1ec3fa004d56"},"3d077c47bc6116c7bd6b02a4952f39b6c00ef35613ccc8b30f3c9c375422706a":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\nparam = cfn_template.get_parameter(\"MyParameter\")\n\n# mutating the parameter\nparam.default = \"MyDefault\"","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\nvar param = cfnTemplate.GetParameter(\"MyParameter\");\n\n// mutating the parameter\nparam.Default = \"MyDefault\";","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\nCfnParameter param = cfnTemplate.getParameter(\"MyParameter\");\n\n// mutating the parameter\nparam.getDefault() = \"MyDefault\";","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\nparam := cfnTemplate.GetParameter(jsii.String(\"MyParameter\"))\n\n// mutating the parameter\nparam.default = \"MyDefault\"","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\nconst param: core.CfnParameter = cfnTemplate.getParameter('MyParameter');\n\n// mutating the parameter\nparam.default = 'MyDefault';","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":247}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude#getParameter","@aws-cdk/core.CfnParameter"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst param: core.CfnParameter = cfnTemplate.getParameter('MyParameter');\n\n// mutating the parameter\nparam.default = 'MyDefault';\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"62":1,"75":10,"130":1,"153":2,"169":2,"194":2,"196":1,"209":1,"225":2,"226":1,"242":2,"243":2,"290":1},"fqnsFingerprint":"88958a452eda0b7edd3963b9ca5d6ffcc75ec8cb9c15784d3a2e2f19368c4848"},"62f4dd55ffabf42793fe52a8c4894c74d3f8a3958b585b3b97e0323123a82747":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\ncondition = cfn_template.get_condition(\"MyCondition\")\n\n# mutating the condition\ncondition.expression = core.Fn.condition_equals(1, 2)","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\nvar condition = cfnTemplate.GetCondition(\"MyCondition\");\n\n// mutating the condition\ncondition.Expression = Fn.ConditionEquals(1, 2);","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\nCfnCondition condition = cfnTemplate.getCondition(\"MyCondition\");\n\n// mutating the condition\ncondition.getExpression() = Fn.conditionEquals(1, 2);","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\ncondition := cfnTemplate.GetCondition(jsii.String(\"MyCondition\"))\n\n// mutating the condition\ncondition.Expression = core.Fn_ConditionEquals(jsii.Number(1), jsii.Number(2))","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\nconst condition: core.CfnCondition = cfnTemplate.getCondition('MyCondition');\n\n// mutating the condition\ncondition.expression = core.Fn.conditionEquals(1, 2);","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":257}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude#getCondition","@aws-cdk/core.CfnCondition","@aws-cdk/core.CfnCondition#expression","@aws-cdk/core.Fn","@aws-cdk/core.Fn#conditionEquals"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst condition: core.CfnCondition = cfnTemplate.getCondition('MyCondition');\n\n// mutating the condition\ncondition.expression = core.Fn.conditionEquals(1, 2);\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":2,"10":1,"62":1,"75":13,"130":1,"153":2,"169":2,"194":4,"196":2,"209":1,"225":2,"226":1,"242":2,"243":2,"290":1},"fqnsFingerprint":"a154e9559f153ba3eadddebc657d6615214d04e0a9c5abe9ae6796b92c7b604e"},"bce8b0dec27ec53fbfaef0fe1561ba6babd7f1590e69565761ba398e9bdc5484":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\nmapping = cfn_template.get_mapping(\"MyMapping\")\n\n# mutating the mapping\nmapping.set_value(\"my-region\", \"AMI\", \"ami-04681a1dbd79675a5\")","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\nvar mapping = cfnTemplate.GetMapping(\"MyMapping\");\n\n// mutating the mapping\nmapping.SetValue(\"my-region\", \"AMI\", \"ami-04681a1dbd79675a5\");","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\nCfnMapping mapping = cfnTemplate.getMapping(\"MyMapping\");\n\n// mutating the mapping\nmapping.setValue(\"my-region\", \"AMI\", \"ami-04681a1dbd79675a5\");","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\nmapping := cfnTemplate.GetMapping(jsii.String(\"MyMapping\"))\n\n// mutating the mapping\nmapping.SetValue(jsii.String(\"my-region\"), jsii.String(\"AMI\"), jsii.String(\"ami-04681a1dbd79675a5\"))","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\nconst mapping: core.CfnMapping = cfnTemplate.getMapping('MyMapping');\n\n// mutating the mapping\nmapping.setValue('my-region', 'AMI', 'ami-04681a1dbd79675a5');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":267}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude#getMapping","@aws-cdk/core.CfnMapping","@aws-cdk/core.CfnMapping#setValue"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst mapping: core.CfnMapping = cfnTemplate.getMapping('MyMapping');\n\n// mutating the mapping\nmapping.setValue('my-region', 'AMI', 'ami-04681a1dbd79675a5');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":10,"130":1,"153":2,"169":2,"194":2,"196":2,"225":2,"226":1,"242":2,"243":2,"290":1},"fqnsFingerprint":"b1c89c5f754facf0b7ec277502ec48426fc9bbad1ee65b45730870e907cbda00"},"3bba9c00eb5e68e505c8093b243ff099215896ee9b50eadad92b69a46ecc3ec7":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\n# mutating the rule\n# my_parameter: core.CfnParameter\n\nrule = cfn_template.get_rule(\"MyRule\")\nrule.add_assertion(core.Fn.condition_contains([\"m1.small\"], my_parameter.value_as_string), \"MyParameter has to be m1.small\")","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\n// mutating the rule\nCfnParameter myParameter;\n\nvar rule = cfnTemplate.GetRule(\"MyRule\");\nrule.AddAssertion(Fn.ConditionContains(new [] { \"m1.small\" }, myParameter.ValueAsString), \"MyParameter has to be m1.small\");","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\n// mutating the rule\nCfnParameter myParameter;\n\nCfnRule rule = cfnTemplate.getRule(\"MyRule\");\nrule.addAssertion(Fn.conditionContains(List.of(\"m1.small\"), myParameter.getValueAsString()), \"MyParameter has to be m1.small\");","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\n// mutating the rule\nvar myParameter cfnParameter\n\nrule := cfnTemplate.GetRule(jsii.String(\"MyRule\"))\nrule.AddAssertion(core.Fn_ConditionContains([]*string{\n\tjsii.String(\"m1.small\"),\n}, myParameter.valueAsString), jsii.String(\"MyParameter has to be m1.small\"))","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\nconst rule: core.CfnRule = cfnTemplate.getRule('MyRule');\n\n// mutating the rule\ndeclare const myParameter: core.CfnParameter;\nrule.addAssertion(core.Fn.conditionContains(['m1.small'], myParameter.valueAsString),\n 'MyParameter has to be m1.small');","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":277}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude#getRule","@aws-cdk/core.CfnRule","@aws-cdk/core.CfnRule#addAssertion","@aws-cdk/core.Fn","@aws-cdk/core.Fn#conditionContains","@aws-cdk/core.ICfnConditionExpression"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n\n// mutating the rule\ndeclare const myParameter: core.CfnParameter;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst rule: core.CfnRule = cfnTemplate.getRule('MyRule');\nrule.addAssertion(core.Fn.conditionContains(['m1.small'], myParameter.valueAsString),\n 'MyParameter has to be m1.small');\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":3,"75":18,"130":2,"153":3,"169":3,"192":1,"194":5,"196":3,"225":3,"226":1,"242":3,"243":3,"290":1},"fqnsFingerprint":"19c91fbcd3690ddab618d07a1ea52b6334fc0f99ccbb1a1740f7e06b252c4f7b"},"a141ee83fe659f19cab11adb63828c0ff243351269c741acbcfda3aea6b1fa97":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\n# mutating the output\n# cfn_bucket: s3.CfnBucket\n\noutput = cfn_template.get_output(\"MyOutput\")\noutput.value = cfn_bucket.attr_arn","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\n// mutating the output\nCfnBucket cfnBucket;\n\nvar output = cfnTemplate.GetOutput(\"MyOutput\");\noutput.Value = cfnBucket.AttrArn;","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\n// mutating the output\nCfnBucket cfnBucket;\n\nCfnOutput output = cfnTemplate.getOutput(\"MyOutput\");\noutput.getValue() = cfnBucket.getAttrArn();","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\n// mutating the output\nvar cfnBucket cfnBucket\n\noutput := cfnTemplate.GetOutput(jsii.String(\"MyOutput\"))\noutput.value = cfnBucket.AttrArn","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\nconst output: core.CfnOutput = cfnTemplate.getOutput('MyOutput');\n\n// mutating the output\ndeclare const cfnBucket: s3.CfnBucket;\noutput.value = cfnBucket.attrArn;","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":289}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-s3.CfnBucket#attrArn","@aws-cdk/cloudformation-include.CfnInclude#getOutput","@aws-cdk/core.CfnOutput"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n\n// mutating the output\ndeclare const cfnBucket: s3.CfnBucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst output: core.CfnOutput = cfnTemplate.getOutput('MyOutput');\noutput.value = cfnBucket.attrArn;\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"62":1,"75":15,"130":2,"153":3,"169":3,"194":3,"196":1,"209":1,"225":3,"226":1,"242":3,"243":3,"290":1},"fqnsFingerprint":"da6a2a3057d837022216eb9c0c6d3fa74f6bbbce819e27464f5e2e124465ca10"},"a13e6dce1f888f85bbc570c0e7c3be3482b49571c4ee914172d339f7ec18b6f7":{"translations":{"python":{"source":"# cfn_template: cfn_inc.CfnInclude\n\n# mutating the hook\n# my_role: iam.Role\n\nhook = cfn_template.get_hook(\"MyOutput\")\ncode_deploy_hook = hook\ncode_deploy_hook.service_role = my_role.role_arn","version":"2"},"csharp":{"source":"CfnInclude cfnTemplate;\n\n// mutating the hook\nRole myRole;\n\nvar hook = cfnTemplate.GetHook(\"MyOutput\");\nvar codeDeployHook = (CfnCodeDeployBlueGreenHook)hook;\ncodeDeployHook.ServiceRole = myRole.RoleArn;","version":"1"},"java":{"source":"CfnInclude cfnTemplate;\n\n// mutating the hook\nRole myRole;\n\nCfnHook hook = cfnTemplate.getHook(\"MyOutput\");\nCfnCodeDeployBlueGreenHook codeDeployHook = (CfnCodeDeployBlueGreenHook)hook;\ncodeDeployHook.getServiceRole() = myRole.getRoleArn();","version":"1"},"go":{"source":"var cfnTemplate cfnInclude\n\n// mutating the hook\nvar myRole role\n\nhook := cfnTemplate.GetHook(jsii.String(\"MyOutput\"))\ncodeDeployHook := hook.(cfnCodeDeployBlueGreenHook)\ncodeDeployHook.serviceRole = myRole.RoleArn","version":"1"},"$":{"source":"declare const cfnTemplate: cfn_inc.CfnInclude;\nconst hook: core.CfnHook = cfnTemplate.getHook('MyOutput');\n\n// mutating the hook\ndeclare const myRole: iam.Role;\nconst codeDeployHook = hook as core.CfnCodeDeployBlueGreenHook;\ncodeDeployHook.serviceRole = myRole.roleArn;","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":300}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-iam.Role#roleArn","@aws-cdk/cloudformation-include.CfnInclude#getHook","@aws-cdk/core.CfnCodeDeployBlueGreenHook","@aws-cdk/core.CfnHook"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const cfnTemplate: cfn_inc.CfnInclude;\n\n// mutating the hook\ndeclare const myRole: iam.Role;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst hook: core.CfnHook = cfnTemplate.getHook('MyOutput');\nconst codeDeployHook = hook as core.CfnCodeDeployBlueGreenHook;\ncodeDeployHook.serviceRole = myRole.roleArn;\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"62":1,"75":19,"130":2,"153":4,"169":4,"194":3,"196":1,"209":1,"217":1,"225":4,"226":1,"242":4,"243":4,"290":1},"fqnsFingerprint":"f4f14b8953328d35c48fd22b2ba63e8d20574e2137369f8e3c0736d02c5fa7fa"},"e2684e4a344567f5381f42bfa2c274a4a84e53108bc9813f169c92208b6ff4d7":{"translations":{"python":{"source":"cfn_inc.CfnInclude(self, \"includeTemplate\",\n template_file=\"path/to/my/template\",\n parameters={\n \"MyParam\": \"my-value\"\n }\n)","version":"2"},"csharp":{"source":"new CfnInclude(this, \"includeTemplate\", new CfnIncludeProps {\n TemplateFile = \"path/to/my/template\",\n Parameters = new Dictionary {\n { \"MyParam\", \"my-value\" }\n }\n});","version":"1"},"java":{"source":"CfnInclude.Builder.create(this, \"includeTemplate\")\n .templateFile(\"path/to/my/template\")\n .parameters(Map.of(\n \"MyParam\", \"my-value\"))\n .build();","version":"1"},"go":{"source":"cfn_inc.NewCfnInclude(this, jsii.String(\"includeTemplate\"), &CfnIncludeProps{\n\tTemplateFile: jsii.String(\"path/to/my/template\"),\n\tParameters: map[string]interface{}{\n\t\t\"MyParam\": jsii.String(\"my-value\"),\n\t},\n})","version":"1"},"$":{"source":"new cfn_inc.CfnInclude(this, 'includeTemplate', {\n templateFile: 'path/to/my/template',\n parameters: {\n 'MyParam': 'my-value',\n },\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":316}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude","@aws-cdk/cloudformation-include.CfnIncludeProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nnew cfn_inc.CfnInclude(this, 'includeTemplate', {\n templateFile: 'path/to/my/template',\n parameters: {\n 'MyParam': 'my-value',\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":4,"104":1,"193":2,"194":1,"197":1,"226":1,"281":3},"fqnsFingerprint":"de526d1ed2bed31bcf3b35ff5b5333bc10c9423552480d9ed23f4ec91219af66"},"c145390d08218ef37755a09c202a9f6cc4ff4daa85d4e33f6a31a4b285172d4d":{"translations":{"python":{"source":"parent_template = cfn_inc.CfnInclude(self, \"ParentStack\",\n template_file=\"path/to/my-parent-template.json\",\n load_nested_stacks={\n \"ChildStack\": cfn_inc.CfnIncludeProps(\n template_file=\"path/to/my-nested-template.json\"\n )\n }\n)","version":"2"},"csharp":{"source":"var parentTemplate = new CfnInclude(this, \"ParentStack\", new CfnIncludeProps {\n TemplateFile = \"path/to/my-parent-template.json\",\n LoadNestedStacks = new Dictionary {\n { \"ChildStack\", new CfnIncludeProps {\n TemplateFile = \"path/to/my-nested-template.json\"\n } }\n }\n});","version":"1"},"java":{"source":"CfnInclude parentTemplate = CfnInclude.Builder.create(this, \"ParentStack\")\n .templateFile(\"path/to/my-parent-template.json\")\n .loadNestedStacks(Map.of(\n \"ChildStack\", CfnIncludeProps.builder()\n .templateFile(\"path/to/my-nested-template.json\")\n .build()))\n .build();","version":"1"},"go":{"source":"parentTemplate := cfn_inc.NewCfnInclude(this, jsii.String(\"ParentStack\"), &CfnIncludeProps{\n\tTemplateFile: jsii.String(\"path/to/my-parent-template.json\"),\n\tLoadNestedStacks: map[string]cfnIncludeProps{\n\t\t\"ChildStack\": &cfnIncludeProps{\n\t\t\t\"templateFile\": jsii.String(\"path/to/my-nested-template.json\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"const parentTemplate = new cfn_inc.CfnInclude(this, 'ParentStack', {\n templateFile: 'path/to/my-parent-template.json',\n loadNestedStacks: {\n 'ChildStack': {\n templateFile: 'path/to/my-nested-template.json',\n },\n },\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":362}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude","@aws-cdk/cloudformation-include.CfnIncludeProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst parentTemplate = new cfn_inc.CfnInclude(this, 'ParentStack', {\n templateFile: 'path/to/my-parent-template.json',\n loadNestedStacks: {\n 'ChildStack': {\n templateFile: 'path/to/my-nested-template.json',\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":6,"104":1,"193":3,"194":1,"197":1,"225":1,"242":1,"243":1,"281":4},"fqnsFingerprint":"de526d1ed2bed31bcf3b35ff5b5333bc10c9423552480d9ed23f4ec91219af66"},"601418760330bc4cb5419daaf7c3125dadccd25cc02965f2e310b04c91e45981":{"translations":{"python":{"source":"# parent_template: cfn_inc.CfnInclude\n\n\nincluded_child_stack = parent_template.get_nested_stack(\"ChildStack\")\nchild_stack = included_child_stack.stack\nchild_template = included_child_stack.included_template","version":"2"},"csharp":{"source":"CfnInclude parentTemplate;\n\n\nvar includedChildStack = parentTemplate.GetNestedStack(\"ChildStack\");\nvar childStack = includedChildStack.Stack;\nvar childTemplate = includedChildStack.IncludedTemplate;","version":"1"},"java":{"source":"CfnInclude parentTemplate;\n\n\nIncludedNestedStack includedChildStack = parentTemplate.getNestedStack(\"ChildStack\");\nNestedStack childStack = includedChildStack.getStack();\nCfnInclude childTemplate = includedChildStack.getIncludedTemplate();","version":"1"},"go":{"source":"var parentTemplate cfnInclude\n\n\nincludedChildStack := parentTemplate.GetNestedStack(jsii.String(\"ChildStack\"))\nchildStack := includedChildStack.Stack\nchildTemplate := includedChildStack.IncludedTemplate","version":"1"},"$":{"source":"declare const parentTemplate: cfn_inc.CfnInclude;\n\nconst includedChildStack = parentTemplate.getNestedStack('ChildStack');\nconst childStack: core.NestedStack = includedChildStack.stack;\nconst childTemplate: cfn_inc.CfnInclude = includedChildStack.includedTemplate;","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":383}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude","@aws-cdk/cloudformation-include.CfnInclude#getNestedStack","@aws-cdk/cloudformation-include.IncludedNestedStack","@aws-cdk/cloudformation-include.IncludedNestedStack#includedTemplate","@aws-cdk/cloudformation-include.IncludedNestedStack#stack","@aws-cdk/core.NestedStack"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const parentTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst includedChildStack = parentTemplate.getNestedStack('ChildStack');\nconst childStack: core.NestedStack = includedChildStack.stack;\nconst childTemplate: cfn_inc.CfnInclude = includedChildStack.includedTemplate;\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":16,"130":1,"153":3,"169":3,"194":3,"196":1,"225":4,"242":4,"243":4,"290":1},"fqnsFingerprint":"e4ae8951d5e1234a05059bbf14a6168dca882aa7f007f97bd09bbb38f56fb510"},"79b757463f1137c9ab2779b7ed52429abaa866fdb0244ff03861289c77677bec":{"translations":{"python":{"source":"# child_template: cfn_inc.CfnInclude\n\n\ncfn_bucket = child_template.get_resource(\"MyBucket\")\ncfn_bucket.bucket_name = \"my-new-bucket-name\"\n\nrole = iam.Role(self, \"MyRole\",\n assumed_by=iam.AccountRootPrincipal()\n)\n\nrole.add_to_policy(iam.PolicyStatement(\n actions=[\"s3:GetObject*\", \"s3:GetBucket*\", \"s3:List*\"\n ],\n resources=[cfn_bucket.attr_arn]\n))","version":"2"},"csharp":{"source":"CfnInclude childTemplate;\n\n\nvar cfnBucket = (CfnBucket)childTemplate.GetResource(\"MyBucket\");\ncfnBucket.BucketName = \"my-new-bucket-name\";\n\nvar role = new Role(this, \"MyRole\", new RoleProps {\n AssumedBy = new AccountRootPrincipal()\n});\n\nrole.AddToPolicy(new PolicyStatement(new PolicyStatementProps {\n Actions = new [] { \"s3:GetObject*\", \"s3:GetBucket*\", \"s3:List*\" },\n Resources = new [] { cfnBucket.AttrArn }\n}));","version":"1"},"java":{"source":"CfnInclude childTemplate;\n\n\nCfnBucket cfnBucket = (CfnBucket)childTemplate.getResource(\"MyBucket\");\ncfnBucket.getBucketName() = \"my-new-bucket-name\";\n\nRole role = Role.Builder.create(this, \"MyRole\")\n .assumedBy(new AccountRootPrincipal())\n .build();\n\nrole.addToPolicy(PolicyStatement.Builder.create()\n .actions(List.of(\"s3:GetObject*\", \"s3:GetBucket*\", \"s3:List*\"))\n .resources(List.of(cfnBucket.getAttrArn()))\n .build());","version":"1"},"go":{"source":"var childTemplate cfnInclude\n\n\ncfnBucket := childTemplate.GetResource(jsii.String(\"MyBucket\")).(cfnBucket)\ncfnBucket.BucketName = \"my-new-bucket-name\"\n\nrole := iam.NewRole(this, jsii.String(\"MyRole\"), &RoleProps{\n\tAssumedBy: iam.NewAccountRootPrincipal(),\n})\n\nrole.AddToPolicy(iam.NewPolicyStatement(&PolicyStatementProps{\n\tActions: []*string{\n\t\tjsii.String(\"s3:GetObject*\"),\n\t\tjsii.String(\"s3:GetBucket*\"),\n\t\tjsii.String(\"s3:List*\"),\n\t},\n\tResources: []*string{\n\t\tcfnBucket.AttrArn,\n\t},\n}))","version":"1"},"$":{"source":"declare const childTemplate: cfn_inc.CfnInclude;\n\nconst cfnBucket = childTemplate.getResource('MyBucket') as s3.CfnBucket;\ncfnBucket.bucketName = 'my-new-bucket-name';\n\nconst role = new iam.Role(this, 'MyRole', {\n assumedBy: new iam.AccountRootPrincipal(),\n});\n\nrole.addToPolicy(new iam.PolicyStatement({\n actions: [\n 's3:GetObject*',\n 's3:GetBucket*',\n 's3:List*',\n ],\n resources: [cfnBucket.attrArn],\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":394}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-iam.AccountRootPrincipal","@aws-cdk/aws-iam.IPrincipal","@aws-cdk/aws-iam.PolicyStatement","@aws-cdk/aws-iam.PolicyStatementProps","@aws-cdk/aws-iam.Role","@aws-cdk/aws-iam.Role#addToPolicy","@aws-cdk/aws-iam.RoleProps","@aws-cdk/aws-s3.CfnBucket","@aws-cdk/aws-s3.CfnBucket#attrArn","@aws-cdk/aws-s3.CfnBucket#bucketName","@aws-cdk/cloudformation-include.CfnInclude#getResource","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const childTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst cfnBucket = childTemplate.getResource('MyBucket') as s3.CfnBucket;\ncfnBucket.bucketName = 'my-new-bucket-name';\n\nconst role = new iam.Role(this, 'MyRole', {\n assumedBy: new iam.AccountRootPrincipal(),\n});\n\nrole.addToPolicy(new iam.PolicyStatement({\n actions: [\n 's3:GetObject*',\n 's3:GetBucket*',\n 's3:List*',\n ],\n resources: [cfnBucket.attrArn],\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"62":1,"75":24,"104":1,"130":1,"153":2,"169":2,"192":2,"193":2,"194":7,"196":2,"197":3,"209":1,"217":1,"225":3,"226":2,"242":3,"243":3,"281":3,"290":1},"fqnsFingerprint":"a1f1b90b9471aa0176304b73c864443a620774ae586379557aa31d320dcf884a"},"d10e817771e37bdb0bc338183fee19f4350641b0d31cdf06d5b6abff82b3ea88":{"translations":{"python":{"source":"# parent_template: cfn_inc.CfnInclude\n\nincluded_child_stack = parent_template.load_nested_stack(\"ChildTemplate\",\n template_file=\"path/to/my-nested-template.json\"\n)","version":"2"},"csharp":{"source":"CfnInclude parentTemplate;\n\nvar includedChildStack = parentTemplate.LoadNestedStack(\"ChildTemplate\", new CfnIncludeProps {\n TemplateFile = \"path/to/my-nested-template.json\"\n});","version":"1"},"java":{"source":"CfnInclude parentTemplate;\n\nIncludedNestedStack includedChildStack = parentTemplate.loadNestedStack(\"ChildTemplate\", CfnIncludeProps.builder()\n .templateFile(\"path/to/my-nested-template.json\")\n .build());","version":"1"},"go":{"source":"var parentTemplate cfnInclude\n\nincludedChildStack := parentTemplate.LoadNestedStack(jsii.String(\"ChildTemplate\"), &CfnIncludeProps{\n\tTemplateFile: jsii.String(\"path/to/my-nested-template.json\"),\n})","version":"1"},"$":{"source":"declare const parentTemplate: cfn_inc.CfnInclude;\nconst includedChildStack = parentTemplate.loadNestedStack('ChildTemplate', {\n templateFile: 'path/to/my-nested-template.json',\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":417}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude#loadNestedStack","@aws-cdk/cloudformation-include.CfnIncludeProps","@aws-cdk/cloudformation-include.IncludedNestedStack"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const parentTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst includedChildStack = parentTemplate.loadNestedStack('ChildTemplate', {\n templateFile: 'path/to/my-nested-template.json',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":7,"130":1,"153":1,"169":1,"193":1,"194":1,"196":1,"225":2,"242":2,"243":2,"281":1,"290":1},"fqnsFingerprint":"ee16a4600e49ae3e771a880eb8f3feae2dc7a27806ee37929526477817c8d353"},"fdb83eac38cb3a51caaac9a4bfcb3f98cf8ed86186a070a22a469d45f74cc6c6":{"translations":{"python":{"source":"from constructs import Construct\nimport aws_cdk.cloudformation_include as cfn_inc\nimport path as path\n\nclass MyConstruct(Construct):\n def __init__(self, scope, id):\n super().__init__(scope, id)\n\n # include a template inside the Construct\n cfn_inc.CfnInclude(self, \"MyConstruct\",\n template_file=path.join(__dirname, \"my-template.json\"),\n preserve_logical_ids=False\n )","version":"2"},"csharp":{"source":"using Constructs;\nusing Amazon.CDK.CloudFormation.Include;\nusing Path;\n\nclass MyConstruct : Construct\n{\n public MyConstruct(Construct scope, string id) : base(scope, id)\n {\n\n // include a template inside the Construct\n // include a template inside the Construct\n new CfnInclude(this, \"MyConstruct\", new CfnIncludeProps {\n TemplateFile = Join(__dirname, \"my-template.json\"),\n PreserveLogicalIds = false\n });\n }\n}","version":"1"},"java":{"source":"import software.constructs.Construct;\nimport software.amazon.awscdk.cloudformation.include.*;\nimport path.*;\n\npublic class MyConstruct extends Construct {\n public MyConstruct(Construct scope, String id) {\n super(scope, id);\n\n // include a template inside the Construct\n // include a template inside the Construct\n CfnInclude.Builder.create(this, \"MyConstruct\")\n .templateFile(join(__dirname, \"my-template.json\"))\n .preserveLogicalIds(false)\n .build();\n }\n}","version":"1"},"go":{"source":"import \"github.com/aws/constructs-go/constructs\"\nimport cfn_inc \"github.com/aws-samples/dummy/awscdkcloudformationinclude\"\nimport path \"github.com/aws-samples/dummy/path\"\n\ntype MyConstruct struct {\n\tconstruct\n}\n\nfunc NewMyConstruct(scope construct, id *string) *MyConstruct {\n\tthis := &MyConstruct{}\n\tnewConstruct_Override(this, scope, id)\n\n\t// include a template inside the Construct\n\t// include a template inside the Construct\n\tcfn_inc.NewCfnInclude(this, jsii.String(\"MyConstruct\"), &CfnIncludeProps{\n\t\tTemplateFile: path.join(__dirname, jsii.String(\"my-template.json\")),\n\t\tPreserveLogicalIds: jsii.Boolean(false),\n\t})\n\treturn this\n}","version":"1"},"$":{"source":"import { Construct } from 'constructs';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as path from 'path';\n\nexport class MyConstruct extends Construct {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // include a template inside the Construct\n new cfn_inc.CfnInclude(this, 'MyConstruct', {\n templateFile: path.join(__dirname, 'my-template.json'),\n preserveLogicalIds: false, // <--- !!!\n });\n }\n}","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/cloudformation-include"},"field":{"field":"markdown","line":431}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude","@aws-cdk/cloudformation-include.CfnIncludeProps","constructs.Construct"],"fullSource":"import { Construct } from 'constructs';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as path from 'path';\n\nexport class MyConstruct extends Construct {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // include a template inside the Construct\n new cfn_inc.CfnInclude(this, 'MyConstruct', {\n templateFile: path.join(__dirname, 'my-template.json'),\n preserveLogicalIds: false, // <--- !!!\n });\n }\n}","syntaxKindCounter":{"10":5,"75":17,"89":1,"91":1,"102":1,"104":1,"143":1,"156":2,"162":1,"169":1,"193":1,"194":2,"196":2,"197":1,"216":1,"223":1,"226":2,"245":1,"254":3,"255":3,"256":2,"257":1,"258":1,"279":1,"281":2,"290":1},"fqnsFingerprint":"de526d1ed2bed31bcf3b35ff5b5333bc10c9423552480d9ed23f4ec91219af66"},"6ea5ba5697afe0c72f9fcf73a0a2f766317e8e7f32645d37422034d1f873c01a":{"translations":{"python":{"source":"cfn_template = cfn_inc.CfnInclude(self, \"Template\",\n template_file=\"my-template.json\"\n)","version":"2"},"csharp":{"source":"var cfnTemplate = new CfnInclude(this, \"Template\", new CfnIncludeProps {\n TemplateFile = \"my-template.json\"\n});","version":"1"},"java":{"source":"CfnInclude cfnTemplate = CfnInclude.Builder.create(this, \"Template\")\n .templateFile(\"my-template.json\")\n .build();","version":"1"},"go":{"source":"cfnTemplate := cfn_inc.NewCfnInclude(this, jsii.String(\"Template\"), &CfnIncludeProps{\n\tTemplateFile: jsii.String(\"my-template.json\"),\n})","version":"1"},"$":{"source":"const cfnTemplate = new cfn_inc.CfnInclude(this, 'Template', {\n templateFile: 'my-template.json',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/cloudformation-include.CfnInclude"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude","@aws-cdk/cloudformation-include.CfnIncludeProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst cfnTemplate = new cfn_inc.CfnInclude(this, 'Template', {\n templateFile: 'my-template.json',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":2,"75":4,"104":1,"193":1,"194":1,"197":1,"225":1,"242":1,"243":1,"281":1},"fqnsFingerprint":"de526d1ed2bed31bcf3b35ff5b5333bc10c9423552480d9ed23f4ec91219af66"},"8b3b4a75ddecd60c7facddd6f813c8521719ee078d365990c9d1ed76b7a2399c":{"translations":{"python":{"source":"parent_template = cfn_inc.CfnInclude(self, \"ParentStack\",\n template_file=\"path/to/my-parent-template.json\",\n load_nested_stacks={\n \"ChildStack\": cfn_inc.CfnIncludeProps(\n template_file=\"path/to/my-nested-template.json\"\n )\n }\n)","version":"2"},"csharp":{"source":"var parentTemplate = new CfnInclude(this, \"ParentStack\", new CfnIncludeProps {\n TemplateFile = \"path/to/my-parent-template.json\",\n LoadNestedStacks = new Dictionary {\n { \"ChildStack\", new CfnIncludeProps {\n TemplateFile = \"path/to/my-nested-template.json\"\n } }\n }\n});","version":"1"},"java":{"source":"CfnInclude parentTemplate = CfnInclude.Builder.create(this, \"ParentStack\")\n .templateFile(\"path/to/my-parent-template.json\")\n .loadNestedStacks(Map.of(\n \"ChildStack\", CfnIncludeProps.builder()\n .templateFile(\"path/to/my-nested-template.json\")\n .build()))\n .build();","version":"1"},"go":{"source":"parentTemplate := cfn_inc.NewCfnInclude(this, jsii.String(\"ParentStack\"), &CfnIncludeProps{\n\tTemplateFile: jsii.String(\"path/to/my-parent-template.json\"),\n\tLoadNestedStacks: map[string]cfnIncludeProps{\n\t\t\"ChildStack\": &cfnIncludeProps{\n\t\t\t\"templateFile\": jsii.String(\"path/to/my-nested-template.json\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"const parentTemplate = new cfn_inc.CfnInclude(this, 'ParentStack', {\n templateFile: 'path/to/my-parent-template.json',\n loadNestedStacks: {\n 'ChildStack': {\n templateFile: 'path/to/my-nested-template.json',\n },\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/cloudformation-include.CfnIncludeProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude","@aws-cdk/cloudformation-include.CfnIncludeProps","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst parentTemplate = new cfn_inc.CfnInclude(this, 'ParentStack', {\n templateFile: 'path/to/my-parent-template.json',\n loadNestedStacks: {\n 'ChildStack': {\n templateFile: 'path/to/my-nested-template.json',\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":6,"104":1,"193":3,"194":1,"197":1,"225":1,"242":1,"243":1,"281":4},"fqnsFingerprint":"de526d1ed2bed31bcf3b35ff5b5333bc10c9423552480d9ed23f4ec91219af66"},"2b7c3237c7e41114dba1f16460a7a401caee2990a32447ca4cf7cac65fe6c490":{"translations":{"python":{"source":"# parent_template: cfn_inc.CfnInclude\n\n\nincluded_child_stack = parent_template.get_nested_stack(\"ChildStack\")\nchild_stack = included_child_stack.stack\nchild_template = included_child_stack.included_template","version":"2"},"csharp":{"source":"CfnInclude parentTemplate;\n\n\nvar includedChildStack = parentTemplate.GetNestedStack(\"ChildStack\");\nvar childStack = includedChildStack.Stack;\nvar childTemplate = includedChildStack.IncludedTemplate;","version":"1"},"java":{"source":"CfnInclude parentTemplate;\n\n\nIncludedNestedStack includedChildStack = parentTemplate.getNestedStack(\"ChildStack\");\nNestedStack childStack = includedChildStack.getStack();\nCfnInclude childTemplate = includedChildStack.getIncludedTemplate();","version":"1"},"go":{"source":"var parentTemplate cfnInclude\n\n\nincludedChildStack := parentTemplate.GetNestedStack(jsii.String(\"ChildStack\"))\nchildStack := includedChildStack.Stack\nchildTemplate := includedChildStack.IncludedTemplate","version":"1"},"$":{"source":"declare const parentTemplate: cfn_inc.CfnInclude;\n\nconst includedChildStack = parentTemplate.getNestedStack('ChildStack');\nconst childStack: core.NestedStack = includedChildStack.stack;\nconst childTemplate: cfn_inc.CfnInclude = includedChildStack.includedTemplate;","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/cloudformation-include.IncludedNestedStack"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/cloudformation-include.CfnInclude","@aws-cdk/cloudformation-include.CfnInclude#getNestedStack","@aws-cdk/cloudformation-include.IncludedNestedStack","@aws-cdk/cloudformation-include.IncludedNestedStack#includedTemplate","@aws-cdk/cloudformation-include.IncludedNestedStack#stack","@aws-cdk/core.NestedStack"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\ndeclare const parentTemplate: cfn_inc.CfnInclude;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Stack } from '@aws-cdk/core';\nimport * as core from '@aws-cdk/core';\nimport * as path from 'path';\nimport * as cfn_inc from '@aws-cdk/cloudformation-include';\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as kms from '@aws-cdk/aws-kms';\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst includedChildStack = parentTemplate.getNestedStack('ChildStack');\nconst childStack: core.NestedStack = includedChildStack.stack;\nconst childTemplate: cfn_inc.CfnInclude = includedChildStack.includedTemplate;\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":16,"130":1,"153":3,"169":3,"194":3,"196":1,"225":4,"242":4,"243":4,"290":1},"fqnsFingerprint":"e4ae8951d5e1234a05059bbf14a6168dca882aa7f007f97bd09bbb38f56fb510"}}}