aws-cdk
Version:
CDK Toolkit, the command line tool for CDK apps
31 lines (30 loc) • 605 B
JSON
{
"Type": "AWS::CloudFormation::Stack",
"Resources": {
"Func": {
"Type": "AWS::Lambda::Function",
"Properties": {
"Code": {
"S3Bucket": {
"Ref": "referenceToS3BucketParam"
},
"S3Key": {
"Ref": "referenceToS3StackKeyOutput"
}
},
"FunctionName": "my-function"
},
"Metadata": {
"aws:asset:path": "old-path"
}
}
},
"Parameters": {
"referenceToS3BucketParam": {
"Type": "String"
},
"referenceToS3StackKeyOutput": {
"Type": "String"
}
}
}