CreateWebhookRequest: {
    domainId: string;
    eventTypes?: WebhookEventType[];
    name: string;
    projectId?: string;
    region?: Region;
    snsArn: string;
}

Type declaration

  • domainId: string

    ID of the Domain to watch for triggering events.

  • OptionaleventTypes?: WebhookEventType[]

    List of event types that will trigger an event.

  • name: string

    Name of the Webhook.

  • OptionalprojectId?: string

    ID of the project to which the Webhook belongs.

  • Optionalregion?: Region

    Region to target. If none is passed will use default region from the config.

  • snsArn: string

    Scaleway SNS ARN topic to push the events to.