Package Events

When a package is created or revised in a Quilt stack bucket, the stack emits a package-revision event on the default EventBridge bus. These events have the following structure:

{
    "version": "0",
    "id": "6425eb6a-9627-e6a1-2ae8-9d2d8883dc74",
    "detail-type": "package-revision",
    "source": "com.quiltdata",
    "account": "012345678901",
    "time": "2024-04-25T14:46:51Z",
    "region": "us-east-1",
    "resources": [],
    "detail": {
        "version": "0.1",
        "type": "created",
        "bucket": "example",
        "handle": "some/package",
        "topHash": "a0fddace2eb2fd91faa697d237a5dbdcfa77f0fd38ca8b4c850dbd93d142ee69"
    }
}

You can create an EventBridge rule similar to the following to respond to package-revision events:

Example: send email on package creation

Last updated

Was this helpful?