跳到主要内容

AWS App Runner监测

POST参数

List with common parameters for all Buddy actions

NameTypeDescription
action 必填String操作名称
type 必填StringThe type of the action. Should be set to AWS_APP_RUNNER_MONITOR.
service 必填StringThe ID of the App Runner service ARN.
region 必填StringThe name of the Amazon region. The full list of regions is available here.
integration_hash 必填StringThe ID of the integration.
timeout 必填IntWait for operation_in_progress to complete (0-5400 seconds). Default is set to 5400.

Sample Request

POST https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/2/actions

JSON

{
"name": "App Runner Monitor",
"type": "AWS_APP_RUNNER_MONITOR",
"service": "arn-aws-apprunner-service",
"region": "us-east-1",
"integration": {
"hash_id": "5ddb7c180fb38be67bd78a88a"
},
"timeout": 5400
}

示例响应

HTTP

Status: 201 Created
X-Rate-Limit-Limit: 1
X-Rate-Limit-Remaining: 999

JSON

{
"url": "https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/2/actions/2",
"html_url": "https://app.buddy.works/buddy/company-website/pipelines/action/2/edit",
"id": 2,
"name": "App Runner Monitor",
"type": "AWS_APP_RUNNER_MONITOR",
"service": "arn-aws-apprunner-service",
"region": "us-east-1",
"integration": {
"hash_id": "5ddb7c180fb38be67bd78a88a"
},
"timeout": 5400
"trigger_time": "ON_EVERY_EXECUTION",
"last_execution_status": "INITIAL",
"pipeline": {
"url": "https://api.buddy.works/workspaces/buddy/projects/company-website/pipelines/2",
"html_url": "https://app.buddy.works/buddy/company-website/pipelines/pipeline/2",
"id": 2,
"name": "Live mirror",
"on": "CLICK",
"refs": [
"refs/heads/master"
],
"last_execution_status": "SUCCESSFUL",
"last_execution_revision": "506a3963507943d6908154f4bc9646e829128a08"
}
}

Questions?

Not sure how to configure a pipeline for your process? Reach out on the live-chat, contact support, or ask our community on our forum.