1. Packages
  2. AWS Classic
  3. API Docs
  4. codepipeline
  5. Webhook

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi

aws.codepipeline.Webhook

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi

    Provides a CodePipeline Webhook.

    Example Usage

    Coming soon!```
    </pulumi-choosable>
    </div>
    <div>
    <pulumi-choosable type="language" values="python">
    

    Coming soon!```

    Coming soon!```
    </pulumi-choosable>
    </div>
    <div>
    <pulumi-choosable type="language" values="csharp">
    

    Coming soon!```

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.codepipeline.Pipeline;
    import com.pulumi.aws.codepipeline.PipelineArgs;
    import com.pulumi.aws.codepipeline.inputs.PipelineArtifactStoreArgs;
    import com.pulumi.aws.codepipeline.inputs.PipelineArtifactStoreEncryptionKeyArgs;
    import com.pulumi.aws.codepipeline.inputs.PipelineStageArgs;
    import com.pulumi.aws.codepipeline.Webhook;
    import com.pulumi.aws.codepipeline.WebhookArgs;
    import com.pulumi.aws.codepipeline.inputs.WebhookAuthenticationConfigurationArgs;
    import com.pulumi.aws.codepipeline.inputs.WebhookFilterArgs;
    import com.pulumi.github.RepositoryWebhook;
    import com.pulumi.github.RepositoryWebhookArgs;
    import com.pulumi.github.inputs.RepositoryWebhookConfigurationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var bar = new Pipeline("bar", PipelineArgs.builder()        
                .name("tf-test-pipeline")
                .roleArn(barAwsIamRole.arn())
                .artifactStores(PipelineArtifactStoreArgs.builder()
                    .location(barAwsS3Bucket.bucket())
                    .type("S3")
                    .encryptionKey(PipelineArtifactStoreEncryptionKeyArgs.builder()
                        .id(s3kmskey.arn())
                        .type("KMS")
                        .build())
                    .build())
                .stages(            
                    PipelineStageArgs.builder()
                        .name("Source")
                        .actions(PipelineStageActionArgs.builder()
                            .name("Source")
                            .category("Source")
                            .owner("ThirdParty")
                            .provider("GitHub")
                            .version("1")
                            .outputArtifacts("test")
                            .configuration(Map.ofEntries(
                                Map.entry("Owner", "my-organization"),
                                Map.entry("Repo", "test"),
                                Map.entry("Branch", "master")
                            ))
                            .build())
                        .build(),
                    PipelineStageArgs.builder()
                        .name("Build")
                        .actions(PipelineStageActionArgs.builder()
                            .name("Build")
                            .category("Build")
                            .owner("AWS")
                            .provider("CodeBuild")
                            .inputArtifacts("test")
                            .version("1")
                            .configuration(Map.of("ProjectName", "test"))
                            .build())
                        .build())
                .build());
    
            final var webhookSecret = "super-secret";
    
            var barWebhook = new Webhook("barWebhook", WebhookArgs.builder()        
                .name("test-webhook-github-bar")
                .authentication("GITHUB_HMAC")
                .targetAction("Source")
                .targetPipeline(bar.name())
                .authenticationConfiguration(WebhookAuthenticationConfigurationArgs.builder()
                    .secretToken(webhookSecret)
                    .build())
                .filters(WebhookFilterArgs.builder()
                    .jsonPath("$.ref")
                    .matchEquals("refs/heads/{Branch}")
                    .build())
                .build());
    
            var barRepositoryWebhook = new RepositoryWebhook("barRepositoryWebhook", RepositoryWebhookArgs.builder()        
                .repository(repo.name())
                .name("web")
                .configuration(RepositoryWebhookConfigurationArgs.builder()
                    .url(barWebhook.url())
                    .contentType("json")
                    .insecureSsl(true)
                    .secret(webhookSecret)
                    .build())
                .events("push")
                .build());
    
        }
    }
    
    resources:
      bar:
        type: aws:codepipeline:Pipeline
        properties:
          name: tf-test-pipeline
          roleArn: ${barAwsIamRole.arn}
          artifactStores:
            - location: ${barAwsS3Bucket.bucket}
              type: S3
              encryptionKey:
                id: ${s3kmskey.arn}
                type: KMS
          stages:
            - name: Source
              actions:
                - name: Source
                  category: Source
                  owner: ThirdParty
                  provider: GitHub
                  version: '1'
                  outputArtifacts:
                    - test
                  configuration:
                    Owner: my-organization
                    Repo: test
                    Branch: master
            - name: Build
              actions:
                - name: Build
                  category: Build
                  owner: AWS
                  provider: CodeBuild
                  inputArtifacts:
                    - test
                  version: '1'
                  configuration:
                    ProjectName: test
      barWebhook:
        type: aws:codepipeline:Webhook
        name: bar
        properties:
          name: test-webhook-github-bar
          authentication: GITHUB_HMAC
          targetAction: Source
          targetPipeline: ${bar.name}
          authenticationConfiguration:
            secretToken: ${webhookSecret}
          filters:
            - jsonPath: $.ref
              matchEquals: refs/heads/{Branch}
      # Wire the CodePipeline webhook into a GitHub repository.
      barRepositoryWebhook:
        type: github:RepositoryWebhook
        name: bar
        properties:
          repository: ${repo.name}
          name: web
          configuration:
            url: ${barWebhook.url}
            contentType: json
            insecureSsl: true
            secret: ${webhookSecret}
          events:
            - push
    variables:
      webhookSecret: super-secret
    

    Create Webhook Resource

    new Webhook(name: string, args: WebhookArgs, opts?: CustomResourceOptions);
    @overload
    def Webhook(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                authentication: Optional[str] = None,
                authentication_configuration: Optional[WebhookAuthenticationConfigurationArgs] = None,
                filters: Optional[Sequence[WebhookFilterArgs]] = None,
                name: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None,
                target_action: Optional[str] = None,
                target_pipeline: Optional[str] = None)
    @overload
    def Webhook(resource_name: str,
                args: WebhookArgs,
                opts: Optional[ResourceOptions] = None)
    func NewWebhook(ctx *Context, name string, args WebhookArgs, opts ...ResourceOption) (*Webhook, error)
    public Webhook(string name, WebhookArgs args, CustomResourceOptions? opts = null)
    public Webhook(String name, WebhookArgs args)
    public Webhook(String name, WebhookArgs args, CustomResourceOptions options)
    
    type: aws:codepipeline:Webhook
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args WebhookArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WebhookArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WebhookArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebhookArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebhookArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Webhook Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Webhook resource accepts the following input properties:

    Authentication string
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    Filters List<WebhookFilter>
    One or more filter blocks. Filter blocks are documented below.
    TargetAction string
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    TargetPipeline string
    The name of the pipeline.
    AuthenticationConfiguration WebhookAuthenticationConfiguration
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    Name string
    The name of the webhook.
    Tags Dictionary<string, string>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Authentication string
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    Filters []WebhookFilterArgs
    One or more filter blocks. Filter blocks are documented below.
    TargetAction string
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    TargetPipeline string
    The name of the pipeline.
    AuthenticationConfiguration WebhookAuthenticationConfigurationArgs
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    Name string
    The name of the webhook.
    Tags map[string]string
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    authentication String
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    filters List<WebhookFilter>
    One or more filter blocks. Filter blocks are documented below.
    targetAction String
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    targetPipeline String
    The name of the pipeline.
    authenticationConfiguration WebhookAuthenticationConfiguration
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    name String
    The name of the webhook.
    tags Map<String,String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    authentication string
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    filters WebhookFilter[]
    One or more filter blocks. Filter blocks are documented below.
    targetAction string
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    targetPipeline string
    The name of the pipeline.
    authenticationConfiguration WebhookAuthenticationConfiguration
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    name string
    The name of the webhook.
    tags {[key: string]: string}
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    authentication str
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    filters Sequence[WebhookFilterArgs]
    One or more filter blocks. Filter blocks are documented below.
    target_action str
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    target_pipeline str
    The name of the pipeline.
    authentication_configuration WebhookAuthenticationConfigurationArgs
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    name str
    The name of the webhook.
    tags Mapping[str, str]
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    authentication String
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    filters List<Property Map>
    One or more filter blocks. Filter blocks are documented below.
    targetAction String
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    targetPipeline String
    The name of the pipeline.
    authenticationConfiguration Property Map
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    name String
    The name of the webhook.
    tags Map<String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Webhook resource produces the following output properties:

    Arn string
    The CodePipeline webhook's ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    Url string
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
    Arn string
    The CodePipeline webhook's ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    Url string
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
    arn String
    The CodePipeline webhook's ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    url String
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
    arn string
    The CodePipeline webhook's ARN.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    url string
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
    arn str
    The CodePipeline webhook's ARN.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    url str
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
    arn String
    The CodePipeline webhook's ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    url String
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.

    Look up Existing Webhook Resource

    Get an existing Webhook resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WebhookState, opts?: CustomResourceOptions): Webhook
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            authentication: Optional[str] = None,
            authentication_configuration: Optional[WebhookAuthenticationConfigurationArgs] = None,
            filters: Optional[Sequence[WebhookFilterArgs]] = None,
            name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            target_action: Optional[str] = None,
            target_pipeline: Optional[str] = None,
            url: Optional[str] = None) -> Webhook
    func GetWebhook(ctx *Context, name string, id IDInput, state *WebhookState, opts ...ResourceOption) (*Webhook, error)
    public static Webhook Get(string name, Input<string> id, WebhookState? state, CustomResourceOptions? opts = null)
    public static Webhook get(String name, Output<String> id, WebhookState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    The CodePipeline webhook's ARN.
    Authentication string
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    AuthenticationConfiguration WebhookAuthenticationConfiguration
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    Filters List<WebhookFilter>
    One or more filter blocks. Filter blocks are documented below.
    Name string
    The name of the webhook.
    Tags Dictionary<string, string>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    TargetAction string
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    TargetPipeline string
    The name of the pipeline.
    Url string
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
    Arn string
    The CodePipeline webhook's ARN.
    Authentication string
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    AuthenticationConfiguration WebhookAuthenticationConfigurationArgs
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    Filters []WebhookFilterArgs
    One or more filter blocks. Filter blocks are documented below.
    Name string
    The name of the webhook.
    Tags map[string]string
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    TargetAction string
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    TargetPipeline string
    The name of the pipeline.
    Url string
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
    arn String
    The CodePipeline webhook's ARN.
    authentication String
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    authenticationConfiguration WebhookAuthenticationConfiguration
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    filters List<WebhookFilter>
    One or more filter blocks. Filter blocks are documented below.
    name String
    The name of the webhook.
    tags Map<String,String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    targetAction String
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    targetPipeline String
    The name of the pipeline.
    url String
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
    arn string
    The CodePipeline webhook's ARN.
    authentication string
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    authenticationConfiguration WebhookAuthenticationConfiguration
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    filters WebhookFilter[]
    One or more filter blocks. Filter blocks are documented below.
    name string
    The name of the webhook.
    tags {[key: string]: string}
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    targetAction string
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    targetPipeline string
    The name of the pipeline.
    url string
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
    arn str
    The CodePipeline webhook's ARN.
    authentication str
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    authentication_configuration WebhookAuthenticationConfigurationArgs
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    filters Sequence[WebhookFilterArgs]
    One or more filter blocks. Filter blocks are documented below.
    name str
    The name of the webhook.
    tags Mapping[str, str]
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    target_action str
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    target_pipeline str
    The name of the pipeline.
    url str
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
    arn String
    The CodePipeline webhook's ARN.
    authentication String
    The type of authentication to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
    authenticationConfiguration Property Map
    An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
    filters List<Property Map>
    One or more filter blocks. Filter blocks are documented below.
    name String
    The name of the webhook.
    tags Map<String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    targetAction String
    The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
    targetPipeline String
    The name of the pipeline.
    url String
    The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.

    Supporting Types

    WebhookAuthenticationConfiguration, WebhookAuthenticationConfigurationArgs

    AllowedIpRange string
    A valid CIDR block for IP filtering. Required for IP.
    SecretToken string
    The shared secret for the GitHub repository webhook. Set this as secret in your github_repository_webhook's configuration block. Required for GITHUB_HMAC.
    AllowedIpRange string
    A valid CIDR block for IP filtering. Required for IP.
    SecretToken string
    The shared secret for the GitHub repository webhook. Set this as secret in your github_repository_webhook's configuration block. Required for GITHUB_HMAC.
    allowedIpRange String
    A valid CIDR block for IP filtering. Required for IP.
    secretToken String
    The shared secret for the GitHub repository webhook. Set this as secret in your github_repository_webhook's configuration block. Required for GITHUB_HMAC.
    allowedIpRange string
    A valid CIDR block for IP filtering. Required for IP.
    secretToken string
    The shared secret for the GitHub repository webhook. Set this as secret in your github_repository_webhook's configuration block. Required for GITHUB_HMAC.
    allowed_ip_range str
    A valid CIDR block for IP filtering. Required for IP.
    secret_token str
    The shared secret for the GitHub repository webhook. Set this as secret in your github_repository_webhook's configuration block. Required for GITHUB_HMAC.
    allowedIpRange String
    A valid CIDR block for IP filtering. Required for IP.
    secretToken String
    The shared secret for the GitHub repository webhook. Set this as secret in your github_repository_webhook's configuration block. Required for GITHUB_HMAC.

    WebhookFilter, WebhookFilterArgs

    JsonPath string
    The JSON path to filter on.
    MatchEquals string
    The value to match on (e.g., refs/heads/{Branch}). See AWS docs for details.
    JsonPath string
    The JSON path to filter on.
    MatchEquals string
    The value to match on (e.g., refs/heads/{Branch}). See AWS docs for details.
    jsonPath String
    The JSON path to filter on.
    matchEquals String
    The value to match on (e.g., refs/heads/{Branch}). See AWS docs for details.
    jsonPath string
    The JSON path to filter on.
    matchEquals string
    The value to match on (e.g., refs/heads/{Branch}). See AWS docs for details.
    json_path str
    The JSON path to filter on.
    match_equals str
    The value to match on (e.g., refs/heads/{Branch}). See AWS docs for details.
    jsonPath String
    The JSON path to filter on.
    matchEquals String
    The value to match on (e.g., refs/heads/{Branch}). See AWS docs for details.

    Import

    Using pulumi import, import CodePipeline Webhooks using their ARN. For example:

    $ pulumi import aws:codepipeline/webhook:Webhook example arn:aws:codepipeline:us-west-2:123456789012:webhook:example
    

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi