You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeBuild::Types::Webhook

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb

Overview

Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.

Instance Attribute Summary collapse

Instance Attribute Details

#branch_filterString

A regular expression used to determine which branches in a repository are built when a webhook is triggered. If the name of a branch matches the regular expression, then it is built. If it doesn't match, then it is not. If branchFilter is empty, then all branches are built.

Returns:

  • (String)


2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2117

class Webhook < Struct.new(
  :url,
  :payload_url,
  :secret,
  :branch_filter,
  :last_modified_secret)
  include Aws::Structure
end

#last_modified_secretTime

A timestamp indicating the last time a repository's secret token was modified.

Returns:

  • (Time)


2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2117

class Webhook < Struct.new(
  :url,
  :payload_url,
  :secret,
  :branch_filter,
  :last_modified_secret)
  include Aws::Structure
end

#payload_urlString

The CodeBuild endpoint where webhook events are sent.

Returns:

  • (String)


2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2117

class Webhook < Struct.new(
  :url,
  :payload_url,
  :secret,
  :branch_filter,
  :last_modified_secret)
  include Aws::Structure
end

#secretString

The secret token of the associated repository.

Returns:

  • (String)


2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2117

class Webhook < Struct.new(
  :url,
  :payload_url,
  :secret,
  :branch_filter,
  :last_modified_secret)
  include Aws::Structure
end

#urlString

The URL to the webhook.

Returns:

  • (String)


2117
2118
2119
2120
2121
2122
2123
2124
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 2117

class Webhook < Struct.new(
  :url,
  :payload_url,
  :secret,
  :branch_filter,
  :last_modified_secret)
  include Aws::Structure
end