UpdateWebhookInput
public struct UpdateWebhookInput : 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 if a webhook event can trigger a build. A filter group must contain at least one EVENT WebhookFilter.
Declaration
Swift
public let filterGroups: [[WebhookFilter]]?
-
The name of the AWS CodeBuild project.
Declaration
Swift
public let projectName: String
-
A boolean value that specifies whether the associated GitHub repository’s secret token should be updated. If you use Bitbucket for your repository, rotateSecret is ignored.
Declaration
Swift
public let rotateSecret: Bool?
-
Undocumented
Declaration
Swift
public init(branchFilter: String? = nil, buildType: WebhookBuildType? = nil, filterGroups: [[WebhookFilter]]? = nil, projectName: String, rotateSecret: Bool? = nil)
-
Declaration
Swift
public func validate(name: String) throws