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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


3262
3263
3264
3265
3266
# File 'lib/aws-sdk-codepipeline/types.rb', line 3262

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)


3262
3263
3264
3265
3266
# File 'lib/aws-sdk-codepipeline/types.rb', line 3262

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