Class: Aws::CodePipeline::Types::PutWebhookInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodePipeline::Types::PutWebhookInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codepipeline/types.rb
Overview
Note:
When making an API call, you may pass PutWebhookInput data as a hash:
{
webhook: { # required
name: "WebhookName", # required
target_pipeline: "PipelineName", # required
target_action: "ActionName", # required
filters: [ # required
{
json_path: "JsonPath", # required
match_equals: "MatchEquals",
},
],
authentication: "GITHUB_HMAC", # required, accepts GITHUB_HMAC, IP, UNAUTHENTICATED
authentication_configuration: { # required
allowed_ip_range: "WebhookAuthConfigurationAllowedIPRange",
secret_token: "WebhookAuthConfigurationSecretToken",
},
},
}
Instance Attribute Summary collapse
-
#webhook ⇒ Types::WebhookDefinition
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name.
Instance Attribute Details
#webhook ⇒ Types::WebhookDefinition
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name which identifies the webhook being defined. You may choose to name the webhook after the pipeline and action it targets so that you can easily recognize what it’s used for later.
2687 2688 2689 2690 |
# File 'lib/aws-sdk-codepipeline/types.rb', line 2687 class PutWebhookInput < Struct.new( :webhook) include Aws::Structure end |