import * as core from "@terrascript/core"; export interface FilterArgs extends core.SchemaArgs { excludeMatchedPattern?: boolean | core.BooleanOut; pattern: string | core.StringOut; type: string | core.StringOut; } export declare class Filter extends core.Schema { excludeMatchedPattern?: boolean | core.BooleanOut; pattern: string | core.StringOut; type: string | core.StringOut; } export interface FilterGroupArgs extends core.SchemaArgs { filter?: core.Array | core.ArrayOut; } export declare class FilterGroup extends core.Schema { filter?: core.Array | core.ArrayOut; } export interface WebhookArgs extends core.ResourceArgs { /** * (Optional) A regular expression used to determine which branches get built. Default is all branches * are built. We recommend using `filter_group` over `branch_filter`. */ branchFilter?: string | core.StringOut; /** * (Optional) The type of build this webhook will trigger. Valid values for this parameter are: `BUILD` * , `BUILD_BATCH`. */ buildType?: string | core.StringOut; /** * (Optional) Information about the webhook's trigger. Filter group blocks are documented below. */ filterGroup?: core.Array | core.ArrayOut; /** * (Required) The name of the build project. */ projectName: string | core.StringOut; } export declare class Webhook extends core.Resource { /** * (Optional) A regular expression used to determine which branches get built. Default is all branches * are built. We recommend using `filter_group` over `branch_filter`. */ branchFilter?: string | core.StringOut; /** * (Optional) The type of build this webhook will trigger. Valid values for this parameter are: `BUILD` * , `BUILD_BATCH`. */ buildType?: string | core.StringOut; /** * (Optional) Information about the webhook's trigger. Filter group blocks are documented below. */ filterGroup?: core.Array | core.ArrayOut; /** * The name of the build project. */ id: string | core.StringOut; /** * The CodeBuild endpoint where webhook events are sent. */ payloadUrl: string | core.StringOut; /** * (Required) The name of the build project. */ projectName: string | core.StringOut; /** * The secret token of the associated repository. Not returned by the CodeBuild API for all source type * s. */ secret: string | core.StringOut; /** * The URL to the webhook. */ url: string | core.StringOut; constructor(name: string, args?: WebhookArgs); getNamespace(): string; } //# sourceMappingURL=webhook.d.ts.map