@amazon-codecatalyst/blueprints.sam-serverless-application
Version:
This blueprint creates a project that leverages a serverless application model (SAM) to quickly create and deploy an API. You can choose Java, TypeScript, or Python as the programming language
37 lines (36 loc) • 962 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "/interface/FileCaching/1",
"type": "object",
"title": "FileCaching",
"description": "When file caching is enabled, the build and test actions save on-disk files to a cache and restore them from that cache in subsequent workflow runs.",
"additionalProperties": false,
"minProperties": 1,
"maxProperties": 5,
"patternProperties": {
"^[A-Za-z0-9\\-_.]+$": {
"type": "object",
"minLength": 1,
"maxLength": 180,
"required": ["Path"],
"properties": {
"Path": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"RestoreKeys": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"minItems": 1,
"maxItems": 5
}
},
"additionalProperties": false
}
}
}