CreateWebhookInput

public struct CreateWebhookInput : 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]]?
  • The name of the AWS CodeBuild project.

    Declaration

    Swift

    public let projectName: String
  • Undocumented

    Declaration

    Swift

    public init(branchFilter: String? = nil, buildType: WebhookBuildType? = nil, filterGroups: [[WebhookFilter]]? = nil, projectName: String)
  • Declaration

    Swift

    public func validate(name: String) throws