aws-cdk
Version:
CDK Toolkit, the command line tool for CDK apps
53 lines (52 loc) • 1.24 kB
JSON
{
"Resources": {
"Func": {
"Type": "AWS::Lambda::Function",
"Properties": {
"Code": {
"S3Bucket": {
"Ref": "referencetoChildS3BucketParam"
},
"S3Key": {
"Ref": "referencetoChildS3KeyParam"
}
},
"FunctionName": "my-function"
},
"Metadata": {
"aws:asset:path": "old-path"
}
},
"GrandChildStack": {
"Type": "AWS::CloudFormation::Stack",
"Properties": {
"TemplateURL": "https://www.magic-url.com",
"Parameters": {
"referencetoS3BucketParam": {
"Ref": "referencetoGrandChildS3BucketParam"
},
"referencetoS3KeyParam": {
"Ref": "referencetoGrandChildS3KeyParam"
}
}
},
"Metadata": {
"aws:asset:path": "one-lambda-stack-with-asset-parameters.nested.template.json"
}
}
},
"Parameters": {
"referencetoGrandChildS3BucketParam": {
"Type": "String"
},
"referencetoGrandChildS3KeyParam": {
"Type": "String"
},
"referencetoChildS3BucketParam": {
"Type": "String"
},
"referencetoChildS3KeyParam": {
"Type": "String"
}
}
}