import * as core from "@terrascript/core"; export interface WebhookArgs extends core.ResourceArgs { /** * (Required) The unique ID for an Amplify app. */ appId: string | core.StringOut; /** * (Required) The name for a branch that is part of the Amplify app. */ branchName: string | core.StringOut; /** * (Optional) The description for a webhook. */ description?: string | core.StringOut; } export class Webhook extends core.Resource { /** * (Required) The unique ID for an Amplify app. */ @core.attr(String) public appId!: string | core.StringOut; /** * The Amazon Resource Name (ARN) for the webhook. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Required) The name for a branch that is part of the Amplify app. */ @core.attr(String) public branchName!: string | core.StringOut; /** * (Optional) The description for a webhook. */ @core.attr(String) public description?: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The URL of the webhook. */ @core.attr(String, { computed: true }) public url!: string | core.StringOut; constructor(name: string, args?: WebhookArgs) { super(name, "aws_amplify_webhook", args); } public override getNamespace(): string { return "aws_amplify"; } }