mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
20 lines
511 B
YAML
20 lines
511 B
YAML
service: service
|
|
configValidationMode: error
|
|
|
|
provider:
|
|
name: aws
|
|
runtime: nodejs16.x
|
|
|
|
custom:
|
|
importedFile: ${file(config.json)}
|
|
importedFileWithKey: ${file(config.json):foo}
|
|
awsVariable: ${AWS::Region}
|
|
cloudFormationReference: ${AnotherResource}
|
|
selfReference: ${self:custom.importedFileWithKey}
|
|
nestedRef: nestedVal
|
|
nestedVal:
|
|
prop: resolvedNested
|
|
nestedReference: ${self:custom.${self:custom.nestedRef}.prop}
|
|
prototype:
|
|
nestedInPrototype: ${file(config.json):foo}-in-prototype
|