@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
60 lines (59 loc) • 1.46 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "/interface/OutputArtifacts/1",
"title": "OutputArtifacts",
"description": "An artifact is the output of a workflow action, and typically consists of a folder or archive of files",
"oneOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"Name": {
"type": "string",
"pattern": "^[A-Za-z0-9_]+$",
"minLength": 1,
"maxLength": 100
},
"Files": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"minItems": 1,
"maxItems": 256
}
},
"additionalProperties": false
},
"minItems": 1,
"maxItems": 5
},
{
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"maxProperties": 5,
"patternProperties": {
"^[A-Za-z0-9_]+$": {
"type": "object",
"properties": {
"Files": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
},
"minItems": 1,
"maxItems": 256
}
},
"additionalProperties": false
}
}
}
]
}