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

#payload_urlString

This is the server endpoint that will receive the webhook payload.

Returns:

  • (String)


1909
1910
1911
1912
1913
1914
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1909

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

#secretString

Use this secret while creating a webhook in GitHub for Enterprise. The secret allows webhook requests sent by GitHub for Enterprise to be authenticated by AWS CodeBuild.

Returns:

  • (String)


1909
1910
1911
1912
1913
1914
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1909

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

#urlString

The URL to the webhook.

Returns:

  • (String)


1909
1910
1911
1912
1913
1914
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1909

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