We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
aws-native.codepipeline.getWebhook
Start a Neo task
Explain and create an aws-native.codepipeline.getWebhook resource
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
Resource Type definition for AWS::CodePipeline::Webhook
Using getWebhook
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWebhook(args: GetWebhookArgs, opts?: InvokeOptions): Promise<GetWebhookResult>
function getWebhookOutput(args: GetWebhookOutputArgs, opts?: InvokeOptions): Output<GetWebhookResult>def get_webhook(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWebhookResult
def get_webhook_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWebhookResult]func LookupWebhook(ctx *Context, args *LookupWebhookArgs, opts ...InvokeOption) (*LookupWebhookResult, error)
func LookupWebhookOutput(ctx *Context, args *LookupWebhookOutputArgs, opts ...InvokeOption) LookupWebhookResultOutput> Note: This function is named LookupWebhook in the Go SDK.
public static class GetWebhook
{
public static Task<GetWebhookResult> InvokeAsync(GetWebhookArgs args, InvokeOptions? opts = null)
public static Output<GetWebhookResult> Invoke(GetWebhookInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
public static Output<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:codepipeline:getWebhook
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- logical id of the webhook
- Id string
- logical id of the webhook
- id String
- logical id of the webhook
- id string
- logical id of the webhook
- id str
- logical id of the webhook
- id String
- logical id of the webhook
getWebhook Result
The following output properties are available:
- Authentication
Pulumi.
Aws Native. Code Pipeline. Webhook Authentication - Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.
- Authentication
Configuration Pulumi.Aws Native. Code Pipeline. Outputs. Webhook Auth Configuration - Properties that configure the authentication applied to incoming webhook trigger requests
- Filters
List<Pulumi.
Aws Native. Code Pipeline. Outputs. Webhook Filter Rule> - A list of rules applied to the body/payload sent in the POST request to a webhook URL
- Id string
- logical id of the webhook
- Target
Action string - The name of the action in a pipeline you want to connect to the webhook.
- Target
Pipeline string - The name of the pipeline you want to connect to the webhook.
- Url string
- The webhook URL generated by AWS CodePipeline
- Authentication
Webhook
Authentication - Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.
- Authentication
Configuration WebhookAuth Configuration - Properties that configure the authentication applied to incoming webhook trigger requests
- Filters
[]Webhook
Filter Rule - A list of rules applied to the body/payload sent in the POST request to a webhook URL
- Id string
- logical id of the webhook
- Target
Action string - The name of the action in a pipeline you want to connect to the webhook.
- Target
Pipeline string - The name of the pipeline you want to connect to the webhook.
- Url string
- The webhook URL generated by AWS CodePipeline
- authentication
Webhook
Authentication - Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.
- authentication
Configuration WebhookAuth Configuration - Properties that configure the authentication applied to incoming webhook trigger requests
- filters
List<Webhook
Filter Rule> - A list of rules applied to the body/payload sent in the POST request to a webhook URL
- id String
- logical id of the webhook
- target
Action String - The name of the action in a pipeline you want to connect to the webhook.
- target
Pipeline String - The name of the pipeline you want to connect to the webhook.
- url String
- The webhook URL generated by AWS CodePipeline
- authentication
Webhook
Authentication - Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.
- authentication
Configuration WebhookAuth Configuration - Properties that configure the authentication applied to incoming webhook trigger requests
- filters
Webhook
Filter Rule[] - A list of rules applied to the body/payload sent in the POST request to a webhook URL
- id string
- logical id of the webhook
- target
Action string - The name of the action in a pipeline you want to connect to the webhook.
- target
Pipeline string - The name of the pipeline you want to connect to the webhook.
- url string
- The webhook URL generated by AWS CodePipeline
- authentication
Webhook
Authentication - Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.
- authentication_
configuration WebhookAuth Configuration - Properties that configure the authentication applied to incoming webhook trigger requests
- filters
Sequence[Webhook
Filter Rule] - A list of rules applied to the body/payload sent in the POST request to a webhook URL
- id str
- logical id of the webhook
- target_
action str - The name of the action in a pipeline you want to connect to the webhook.
- target_
pipeline str - The name of the pipeline you want to connect to the webhook.
- url str
- The webhook URL generated by AWS CodePipeline
- authentication "GITHUB_HMAC" | "IP" | "UNAUTHENTICATED"
- Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.
- authentication
Configuration Property Map - Properties that configure the authentication applied to incoming webhook trigger requests
- filters List<Property Map>
- A list of rules applied to the body/payload sent in the POST request to a webhook URL
- id String
- logical id of the webhook
- target
Action String - The name of the action in a pipeline you want to connect to the webhook.
- target
Pipeline String - The name of the pipeline you want to connect to the webhook.
- url String
- The webhook URL generated by AWS CodePipeline
Supporting Types
WebhookAuthConfiguration
- Allowed
Ip stringRange - 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.
- Secret
Token string - The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.
- Allowed
Ip stringRange - 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.
- Secret
Token string - The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.
- allowed
Ip StringRange - 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.
- secret
Token String - The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.
- allowed
Ip stringRange - 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.
- secret
Token string - The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.
- allowed_
ip_ strrange - 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.
- secret_
token str - The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.
- allowed
Ip StringRange - 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.
- secret
Token String - The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.
WebhookAuthentication
WebhookFilterRule
- Json
Path string - A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the JsonPath expression must match the value specified in the MatchEquals field. Otherwise, the request is ignored.
- Match
Equals string - The value selected by the JsonPath expression must match what is supplied in the MatchEquals field. Otherwise, the request is ignored.
- Json
Path string - A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the JsonPath expression must match the value specified in the MatchEquals field. Otherwise, the request is ignored.
- Match
Equals string - The value selected by the JsonPath expression must match what is supplied in the MatchEquals field. Otherwise, the request is ignored.
- json
Path String - A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the JsonPath expression must match the value specified in the MatchEquals field. Otherwise, the request is ignored.
- match
Equals String - The value selected by the JsonPath expression must match what is supplied in the MatchEquals field. Otherwise, the request is ignored.
- json
Path string - A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the JsonPath expression must match the value specified in the MatchEquals field. Otherwise, the request is ignored.
- match
Equals string - The value selected by the JsonPath expression must match what is supplied in the MatchEquals field. Otherwise, the request is ignored.
- json_
path str - A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the JsonPath expression must match the value specified in the MatchEquals field. Otherwise, the request is ignored.
- match_
equals str - The value selected by the JsonPath expression must match what is supplied in the MatchEquals field. Otherwise, the request is ignored.
- json
Path String - A JsonPath expression that is applied to the body/payload of the webhook. The value selected by the JsonPath expression must match the value specified in the MatchEquals field. Otherwise, the request is ignored.
- match
Equals String - The value selected by the JsonPath expression must match what is supplied in the MatchEquals field. Otherwise, the request is ignored.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
