Webhook

public struct Webhook : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A regular expression used to determine which repository branches are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If branchFilter is empty, then all branches are built. It is recommended that you use filterGroups instead of branchFilter.

    Declaration

    Swift

    public let branchFilter: String?
  • Specifies the type of build this webhook will trigger.

    Declaration

    Swift

    public let buildType: WebhookBuildType?
  • An array of arrays of WebhookFilter objects used to determine which webhooks are triggered. At least one WebhookFilter in the array must specify EVENT as its type. For a build to be triggered, at least one filter group in the filterGroups array must pass. For a filter group to pass, each of its filters must pass.

    Declaration

    Swift

    public let filterGroups: [[WebhookFilter]]?
  • A timestamp that indicates the last time a repository’s secret token was modified.

    Declaration

    Swift

    public let lastModifiedSecret: TimeStamp?
  • The AWS CodeBuild endpoint where webhook events are sent.

    Declaration

    Swift

    public let payloadUrl: String?
  • The secret token of the associated repository. A Bitbucket webhook does not support secret.

    Declaration

    Swift

    public let secret: String?
  • url

    The URL to the webhook.

    Declaration

    Swift

    public let url: String?
  • Undocumented

    Declaration

    Swift

    public init(branchFilter: String? = nil, buildType: WebhookBuildType? = nil, filterGroups: [[WebhookFilter]]? = nil, lastModifiedSecret: TimeStamp? = nil, payloadUrl: String? = nil, secret: String? = nil, url: String? = nil)