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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_ip_rangeString

The property used to configure acceptance of webhooks in an IP address range. For IP, only the AllowedIPRange property must be set. This property must be set to a valid CIDR range.

Returns:

  • (String)


4338
4339
4340
4341
4342
4343
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4338

class WebhookAuthConfiguration < Struct.new(
  :allowed_ip_range,
  :secret_token)
  SENSITIVE = []
  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)


4338
4339
4340
4341
4342
4343
# File 'gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb', line 4338

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