Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions lambda/specs/actions/adjust-provisioned-concurrency.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "Adjust provisioned concurrency",
"slug": "adjust-provisioned-concurrency",
"type": "custom",
"retryable": true,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"icon": "material-symbols:expand-rounded",
"annotations": {
"show_on": ["performance"],
"runs_over": "scope"
},
"enabled_when": "",
"parameters": {
"schema": {
"type": "object",
"required": ["scope_id", "value"],
"properties": {
"scope_id": {
"type": "number",
"readOnly": true,
"visibleOn": []
},
"value": {
"type": "integer",
"description": "Number of provisioned concurrent executions (0 to remove provisioning)",
"minimum": 0
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
32 changes: 32 additions & 0 deletions lambda/specs/actions/adjust-reserved-concurrency.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "adjust-reserved-concurrency",
"slug": "adjust-reserved-concurrency",
"type": "custom",
"retryable": true,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": ["scope_id", "value"],
"properties": {
"scope_id": {
"type": "string"
},
"value": {
"type": "integer",
"description": "Number of reserved concurrent executions (0 to remove reservation)",
"minimum": 0
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
29 changes: 29 additions & 0 deletions lambda/specs/actions/create-scope.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "create-scope",
"slug": "create-scope",
"type": "create",
"retryable": false,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id"
],
"properties": {
"scope_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
33 changes: 33 additions & 0 deletions lambda/specs/actions/delete-deployment.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "delete-deployment",
"slug": "delete-deployment",
"type": "custom",
"retryable": false,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id",
"deployment_id"
],
"properties": {
"scope_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
29 changes: 29 additions & 0 deletions lambda/specs/actions/delete-scope.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "delete-scope",
"slug": "delete-scope",
"type": "custom",
"retryable": false,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id"
],
"properties": {
"scope_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
33 changes: 33 additions & 0 deletions lambda/specs/actions/diagnose-deployment.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "diagnose-deployment",
"slug": "diagnose-deployment",
"type": "custom",
"retryable": true,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id",
"deployment_id"
],
"properties": {
"scope_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
29 changes: 29 additions & 0 deletions lambda/specs/actions/diagnose-scope.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "diagnose-scope",
"slug": "diagnose-scope",
"type": "custom",
"retryable": true,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id"
],
"properties": {
"scope_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
33 changes: 33 additions & 0 deletions lambda/specs/actions/finalize-blue-green.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "finalize-blue-green",
"slug": "finalize-blue-green",
"type": "custom",
"retryable": false,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id",
"deployment_id"
],
"properties": {
"scope_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
42 changes: 42 additions & 0 deletions lambda/specs/actions/invoke.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "Invoke",
"slug": "invoke",
"type": "custom",
"retryable": true,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"icon": "material-symbols:pin-invoke-rounded",
"annotations": {
"show_on": ["performance"],
"runs_over": "scope"
},
"enabled_when": "",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id"
],
"properties": {
"scope_id": {
"type": "number",
"readOnly": true,
"visibleOn": []
},
"payload": {
"type": "string",
"description": "JSON payload to send to the Lambda function (optional)",
"default": "{}"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
33 changes: 33 additions & 0 deletions lambda/specs/actions/rollback-deployment.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "rollback-deployment",
"slug": "rollback-deployment",
"type": "custom",
"retryable": true,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id",
"deployment_id"
],
"properties": {
"scope_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
33 changes: 33 additions & 0 deletions lambda/specs/actions/start-blue-green.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "start-blue-green",
"slug": "start-blue-green",
"type": "custom",
"retryable": true,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id",
"deployment_id"
],
"properties": {
"scope_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
Loading