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

Class: Aws::CodePipeline::Types::WebhookAuthConfiguration

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

Overview

Note:

When making an API call, you may pass WebhookAuthConfiguration data as a hash:

{
  allowed_ip_range: "WebhookAuthConfigurationAllowedIPRange",
  secret_token: "WebhookAuthConfigurationSecretToken",
}

The authentication applied to incoming webhook trigger requests.

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_ip_rangeString

The property used to configure acceptance of webhooks within a specific IP range. For IP, only the AllowedIPRange property must be set, and this property must be set to a valid CIDR range.

Returns:

  • (String)


3808
3809
3810
3811
3812
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 3808

class WebhookAuthConfiguration < Struct.new(
  :allowed_ip_range,
  :secret_token)
  include Aws::Structure
end

#secret_tokenString

The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.

Returns:

  • (String)


3808
3809
3810
3811
3812
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 3808

class WebhookAuthConfiguration < Struct.new(
  :allowed_ip_range,
  :secret_token)
  include Aws::Structure
end