1. Packages
  2. Artifactory Provider
  3. API Docs
  4. ArtifactoryReleaseBundleWebhook
artifactory v8.4.0 published on Tuesday, Nov 19, 2024 by Pulumi

artifactory.ArtifactoryReleaseBundleWebhook

Explore with Pulumi AI

artifactory logo
artifactory v8.4.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Provides an Artifactory webhook resource. This can be used to register and manage Artifactory webhook subscription which enables you to be notified or notify other users when such events take place in Artifactory.

    ~>This resource is being deprecated. Use artifactory.DestinationWebhook instead.

    Example Usage

    .

    import * as pulumi from "@pulumi/pulumi";
    import * as artifactory from "@pulumi/artifactory";
    
    const artifactory_release_bundle_webhook = new artifactory.ArtifactoryReleaseBundleWebhook("artifactory-release-bundle-webhook", {
        key: "artifactory-release-bundle-webhook",
        eventTypes: [
            "received",
            "delete_started",
            "delete_completed",
            "delete_failed",
        ],
        criteria: {
            anyReleaseBundle: false,
            registeredReleaseBundleNames: ["bundle-name"],
            includePatterns: ["foo/**"],
            excludePatterns: ["bar/**"],
        },
        handlers: [{
            url: "http://tempurl.org/webhook",
            secret: "some-secret",
            proxy: "proxy-key",
            customHttpHeaders: {
                "header-1": "value-1",
                "header-2": "value-2",
            },
        }],
    });
    
    import pulumi
    import pulumi_artifactory as artifactory
    
    artifactory_release_bundle_webhook = artifactory.ArtifactoryReleaseBundleWebhook("artifactory-release-bundle-webhook",
        key="artifactory-release-bundle-webhook",
        event_types=[
            "received",
            "delete_started",
            "delete_completed",
            "delete_failed",
        ],
        criteria={
            "any_release_bundle": False,
            "registered_release_bundle_names": ["bundle-name"],
            "include_patterns": ["foo/**"],
            "exclude_patterns": ["bar/**"],
        },
        handlers=[{
            "url": "http://tempurl.org/webhook",
            "secret": "some-secret",
            "proxy": "proxy-key",
            "custom_http_headers": {
                "header-1": "value-1",
                "header-2": "value-2",
            },
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-artifactory/sdk/v8/go/artifactory"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := artifactory.NewArtifactoryReleaseBundleWebhook(ctx, "artifactory-release-bundle-webhook", &artifactory.ArtifactoryReleaseBundleWebhookArgs{
    			Key: pulumi.String("artifactory-release-bundle-webhook"),
    			EventTypes: pulumi.StringArray{
    				pulumi.String("received"),
    				pulumi.String("delete_started"),
    				pulumi.String("delete_completed"),
    				pulumi.String("delete_failed"),
    			},
    			Criteria: &artifactory.ArtifactoryReleaseBundleWebhookCriteriaArgs{
    				AnyReleaseBundle: pulumi.Bool(false),
    				RegisteredReleaseBundleNames: pulumi.StringArray{
    					pulumi.String("bundle-name"),
    				},
    				IncludePatterns: pulumi.StringArray{
    					pulumi.String("foo/**"),
    				},
    				ExcludePatterns: pulumi.StringArray{
    					pulumi.String("bar/**"),
    				},
    			},
    			Handlers: artifactory.ArtifactoryReleaseBundleWebhookHandlerArray{
    				&artifactory.ArtifactoryReleaseBundleWebhookHandlerArgs{
    					Url:    pulumi.String("http://tempurl.org/webhook"),
    					Secret: pulumi.String("some-secret"),
    					Proxy:  pulumi.String("proxy-key"),
    					CustomHttpHeaders: pulumi.StringMap{
    						"header-1": pulumi.String("value-1"),
    						"header-2": pulumi.String("value-2"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Artifactory = Pulumi.Artifactory;
    
    return await Deployment.RunAsync(() => 
    {
        var artifactory_release_bundle_webhook = new Artifactory.ArtifactoryReleaseBundleWebhook("artifactory-release-bundle-webhook", new()
        {
            Key = "artifactory-release-bundle-webhook",
            EventTypes = new[]
            {
                "received",
                "delete_started",
                "delete_completed",
                "delete_failed",
            },
            Criteria = new Artifactory.Inputs.ArtifactoryReleaseBundleWebhookCriteriaArgs
            {
                AnyReleaseBundle = false,
                RegisteredReleaseBundleNames = new[]
                {
                    "bundle-name",
                },
                IncludePatterns = new[]
                {
                    "foo/**",
                },
                ExcludePatterns = new[]
                {
                    "bar/**",
                },
            },
            Handlers = new[]
            {
                new Artifactory.Inputs.ArtifactoryReleaseBundleWebhookHandlerArgs
                {
                    Url = "http://tempurl.org/webhook",
                    Secret = "some-secret",
                    Proxy = "proxy-key",
                    CustomHttpHeaders = 
                    {
                        { "header-1", "value-1" },
                        { "header-2", "value-2" },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.artifactory.ArtifactoryReleaseBundleWebhook;
    import com.pulumi.artifactory.ArtifactoryReleaseBundleWebhookArgs;
    import com.pulumi.artifactory.inputs.ArtifactoryReleaseBundleWebhookCriteriaArgs;
    import com.pulumi.artifactory.inputs.ArtifactoryReleaseBundleWebhookHandlerArgs;
    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 artifactory_release_bundle_webhook = new ArtifactoryReleaseBundleWebhook("artifactory-release-bundle-webhook", ArtifactoryReleaseBundleWebhookArgs.builder()
                .key("artifactory-release-bundle-webhook")
                .eventTypes(            
                    "received",
                    "delete_started",
                    "delete_completed",
                    "delete_failed")
                .criteria(ArtifactoryReleaseBundleWebhookCriteriaArgs.builder()
                    .anyReleaseBundle(false)
                    .registeredReleaseBundleNames("bundle-name")
                    .includePatterns("foo/**")
                    .excludePatterns("bar/**")
                    .build())
                .handlers(ArtifactoryReleaseBundleWebhookHandlerArgs.builder()
                    .url("http://tempurl.org/webhook")
                    .secret("some-secret")
                    .proxy("proxy-key")
                    .customHttpHeaders(Map.ofEntries(
                        Map.entry("header-1", "value-1"),
                        Map.entry("header-2", "value-2")
                    ))
                    .build())
                .build());
    
        }
    }
    
    resources:
      artifactory-release-bundle-webhook:
        type: artifactory:ArtifactoryReleaseBundleWebhook
        properties:
          key: artifactory-release-bundle-webhook
          eventTypes:
            - received
            - delete_started
            - delete_completed
            - delete_failed
          criteria:
            anyReleaseBundle: false
            registeredReleaseBundleNames:
              - bundle-name
            includePatterns:
              - foo/**
            excludePatterns:
              - bar/**
          handlers:
            - url: http://tempurl.org/webhook
              secret: some-secret
              proxy: proxy-key
              customHttpHeaders:
                header-1: value-1
                header-2: value-2
    

    Create ArtifactoryReleaseBundleWebhook Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ArtifactoryReleaseBundleWebhook(name: string, args: ArtifactoryReleaseBundleWebhookArgs, opts?: CustomResourceOptions);
    @overload
    def ArtifactoryReleaseBundleWebhook(resource_name: str,
                                        args: ArtifactoryReleaseBundleWebhookArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ArtifactoryReleaseBundleWebhook(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        event_types: Optional[Sequence[str]] = None,
                                        key: Optional[str] = None,
                                        criteria: Optional[ArtifactoryReleaseBundleWebhookCriteriaArgs] = None,
                                        description: Optional[str] = None,
                                        enabled: Optional[bool] = None,
                                        handlers: Optional[Sequence[ArtifactoryReleaseBundleWebhookHandlerArgs]] = None)
    func NewArtifactoryReleaseBundleWebhook(ctx *Context, name string, args ArtifactoryReleaseBundleWebhookArgs, opts ...ResourceOption) (*ArtifactoryReleaseBundleWebhook, error)
    public ArtifactoryReleaseBundleWebhook(string name, ArtifactoryReleaseBundleWebhookArgs args, CustomResourceOptions? opts = null)
    public ArtifactoryReleaseBundleWebhook(String name, ArtifactoryReleaseBundleWebhookArgs args)
    public ArtifactoryReleaseBundleWebhook(String name, ArtifactoryReleaseBundleWebhookArgs args, CustomResourceOptions options)
    
    type: artifactory:ArtifactoryReleaseBundleWebhook
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ArtifactoryReleaseBundleWebhookArgs
    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 ArtifactoryReleaseBundleWebhookArgs
    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 ArtifactoryReleaseBundleWebhookArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ArtifactoryReleaseBundleWebhookArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ArtifactoryReleaseBundleWebhookArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var artifactoryReleaseBundleWebhookResource = new Artifactory.ArtifactoryReleaseBundleWebhook("artifactoryReleaseBundleWebhookResource", new()
    {
        EventTypes = new[]
        {
            "string",
        },
        Key = "string",
        Criteria = new Artifactory.Inputs.ArtifactoryReleaseBundleWebhookCriteriaArgs
        {
            AnyReleaseBundle = false,
            RegisteredReleaseBundleNames = new[]
            {
                "string",
            },
            ExcludePatterns = new[]
            {
                "string",
            },
            IncludePatterns = new[]
            {
                "string",
            },
        },
        Description = "string",
        Enabled = false,
        Handlers = new[]
        {
            new Artifactory.Inputs.ArtifactoryReleaseBundleWebhookHandlerArgs
            {
                Url = "string",
                CustomHttpHeaders = 
                {
                    { "string", "string" },
                },
                Proxy = "string",
                Secret = "string",
                UseSecretForSigning = false,
            },
        },
    });
    
    example, err := artifactory.NewArtifactoryReleaseBundleWebhook(ctx, "artifactoryReleaseBundleWebhookResource", &artifactory.ArtifactoryReleaseBundleWebhookArgs{
    	EventTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Key: pulumi.String("string"),
    	Criteria: &artifactory.ArtifactoryReleaseBundleWebhookCriteriaArgs{
    		AnyReleaseBundle: pulumi.Bool(false),
    		RegisteredReleaseBundleNames: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ExcludePatterns: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IncludePatterns: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	Enabled:     pulumi.Bool(false),
    	Handlers: artifactory.ArtifactoryReleaseBundleWebhookHandlerArray{
    		&artifactory.ArtifactoryReleaseBundleWebhookHandlerArgs{
    			Url: pulumi.String("string"),
    			CustomHttpHeaders: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Proxy:               pulumi.String("string"),
    			Secret:              pulumi.String("string"),
    			UseSecretForSigning: pulumi.Bool(false),
    		},
    	},
    })
    
    var artifactoryReleaseBundleWebhookResource = new ArtifactoryReleaseBundleWebhook("artifactoryReleaseBundleWebhookResource", ArtifactoryReleaseBundleWebhookArgs.builder()
        .eventTypes("string")
        .key("string")
        .criteria(ArtifactoryReleaseBundleWebhookCriteriaArgs.builder()
            .anyReleaseBundle(false)
            .registeredReleaseBundleNames("string")
            .excludePatterns("string")
            .includePatterns("string")
            .build())
        .description("string")
        .enabled(false)
        .handlers(ArtifactoryReleaseBundleWebhookHandlerArgs.builder()
            .url("string")
            .customHttpHeaders(Map.of("string", "string"))
            .proxy("string")
            .secret("string")
            .useSecretForSigning(false)
            .build())
        .build());
    
    artifactory_release_bundle_webhook_resource = artifactory.ArtifactoryReleaseBundleWebhook("artifactoryReleaseBundleWebhookResource",
        event_types=["string"],
        key="string",
        criteria={
            "any_release_bundle": False,
            "registered_release_bundle_names": ["string"],
            "exclude_patterns": ["string"],
            "include_patterns": ["string"],
        },
        description="string",
        enabled=False,
        handlers=[{
            "url": "string",
            "custom_http_headers": {
                "string": "string",
            },
            "proxy": "string",
            "secret": "string",
            "use_secret_for_signing": False,
        }])
    
    const artifactoryReleaseBundleWebhookResource = new artifactory.ArtifactoryReleaseBundleWebhook("artifactoryReleaseBundleWebhookResource", {
        eventTypes: ["string"],
        key: "string",
        criteria: {
            anyReleaseBundle: false,
            registeredReleaseBundleNames: ["string"],
            excludePatterns: ["string"],
            includePatterns: ["string"],
        },
        description: "string",
        enabled: false,
        handlers: [{
            url: "string",
            customHttpHeaders: {
                string: "string",
            },
            proxy: "string",
            secret: "string",
            useSecretForSigning: false,
        }],
    });
    
    type: artifactory:ArtifactoryReleaseBundleWebhook
    properties:
        criteria:
            anyReleaseBundle: false
            excludePatterns:
                - string
            includePatterns:
                - string
            registeredReleaseBundleNames:
                - string
        description: string
        enabled: false
        eventTypes:
            - string
        handlers:
            - customHttpHeaders:
                string: string
              proxy: string
              secret: string
              url: string
              useSecretForSigning: false
        key: string
    

    ArtifactoryReleaseBundleWebhook Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ArtifactoryReleaseBundleWebhook resource accepts the following input properties:

    EventTypes List<string>
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    Key string
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    Criteria ArtifactoryReleaseBundleWebhookCriteria
    Specifies where the webhook will be applied on which repositories.
    Description string
    Webhook description. Max length 1000 characters.
    Enabled bool
    Status of webhook. Default to true
    Handlers List<ArtifactoryReleaseBundleWebhookHandler>
    At least one is required.
    EventTypes []string
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    Key string
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    Criteria ArtifactoryReleaseBundleWebhookCriteriaArgs
    Specifies where the webhook will be applied on which repositories.
    Description string
    Webhook description. Max length 1000 characters.
    Enabled bool
    Status of webhook. Default to true
    Handlers []ArtifactoryReleaseBundleWebhookHandlerArgs
    At least one is required.
    eventTypes List<String>
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    key String
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    criteria ArtifactoryReleaseBundleWebhookCriteria
    Specifies where the webhook will be applied on which repositories.
    description String
    Webhook description. Max length 1000 characters.
    enabled Boolean
    Status of webhook. Default to true
    handlers List<ArtifactoryReleaseBundleWebhookHandler>
    At least one is required.
    eventTypes string[]
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    key string
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    criteria ArtifactoryReleaseBundleWebhookCriteria
    Specifies where the webhook will be applied on which repositories.
    description string
    Webhook description. Max length 1000 characters.
    enabled boolean
    Status of webhook. Default to true
    handlers ArtifactoryReleaseBundleWebhookHandler[]
    At least one is required.
    event_types Sequence[str]
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    key str
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    criteria ArtifactoryReleaseBundleWebhookCriteriaArgs
    Specifies where the webhook will be applied on which repositories.
    description str
    Webhook description. Max length 1000 characters.
    enabled bool
    Status of webhook. Default to true
    handlers Sequence[ArtifactoryReleaseBundleWebhookHandlerArgs]
    At least one is required.
    eventTypes List<String>
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    key String
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    criteria Property Map
    Specifies where the webhook will be applied on which repositories.
    description String
    Webhook description. Max length 1000 characters.
    enabled Boolean
    Status of webhook. Default to true
    handlers List<Property Map>
    At least one is required.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ArtifactoryReleaseBundleWebhook Resource

    Get an existing ArtifactoryReleaseBundleWebhook 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?: ArtifactoryReleaseBundleWebhookState, opts?: CustomResourceOptions): ArtifactoryReleaseBundleWebhook
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            criteria: Optional[ArtifactoryReleaseBundleWebhookCriteriaArgs] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            event_types: Optional[Sequence[str]] = None,
            handlers: Optional[Sequence[ArtifactoryReleaseBundleWebhookHandlerArgs]] = None,
            key: Optional[str] = None) -> ArtifactoryReleaseBundleWebhook
    func GetArtifactoryReleaseBundleWebhook(ctx *Context, name string, id IDInput, state *ArtifactoryReleaseBundleWebhookState, opts ...ResourceOption) (*ArtifactoryReleaseBundleWebhook, error)
    public static ArtifactoryReleaseBundleWebhook Get(string name, Input<string> id, ArtifactoryReleaseBundleWebhookState? state, CustomResourceOptions? opts = null)
    public static ArtifactoryReleaseBundleWebhook get(String name, Output<String> id, ArtifactoryReleaseBundleWebhookState 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:
    Criteria ArtifactoryReleaseBundleWebhookCriteria
    Specifies where the webhook will be applied on which repositories.
    Description string
    Webhook description. Max length 1000 characters.
    Enabled bool
    Status of webhook. Default to true
    EventTypes List<string>
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    Handlers List<ArtifactoryReleaseBundleWebhookHandler>
    At least one is required.
    Key string
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    Criteria ArtifactoryReleaseBundleWebhookCriteriaArgs
    Specifies where the webhook will be applied on which repositories.
    Description string
    Webhook description. Max length 1000 characters.
    Enabled bool
    Status of webhook. Default to true
    EventTypes []string
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    Handlers []ArtifactoryReleaseBundleWebhookHandlerArgs
    At least one is required.
    Key string
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    criteria ArtifactoryReleaseBundleWebhookCriteria
    Specifies where the webhook will be applied on which repositories.
    description String
    Webhook description. Max length 1000 characters.
    enabled Boolean
    Status of webhook. Default to true
    eventTypes List<String>
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    handlers List<ArtifactoryReleaseBundleWebhookHandler>
    At least one is required.
    key String
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    criteria ArtifactoryReleaseBundleWebhookCriteria
    Specifies where the webhook will be applied on which repositories.
    description string
    Webhook description. Max length 1000 characters.
    enabled boolean
    Status of webhook. Default to true
    eventTypes string[]
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    handlers ArtifactoryReleaseBundleWebhookHandler[]
    At least one is required.
    key string
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    criteria ArtifactoryReleaseBundleWebhookCriteriaArgs
    Specifies where the webhook will be applied on which repositories.
    description str
    Webhook description. Max length 1000 characters.
    enabled bool
    Status of webhook. Default to true
    event_types Sequence[str]
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    handlers Sequence[ArtifactoryReleaseBundleWebhookHandlerArgs]
    At least one is required.
    key str
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
    criteria Property Map
    Specifies where the webhook will be applied on which repositories.
    description String
    Webhook description. Max length 1000 characters.
    enabled Boolean
    Status of webhook. Default to true
    eventTypes List<String>
    List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: received, delete_started, delete_completed, delete_failed
    handlers List<Property Map>
    At least one is required.
    key String
    The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.

    Supporting Types

    ArtifactoryReleaseBundleWebhookCriteria, ArtifactoryReleaseBundleWebhookCriteriaArgs

    AnyReleaseBundle bool
    Trigger on any release bundle
    RegisteredReleaseBundleNames List<string>
    Trigger on this list of release bundle names
    ExcludePatterns List<string>
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    IncludePatterns List<string>
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    AnyReleaseBundle bool
    Trigger on any release bundle
    RegisteredReleaseBundleNames []string
    Trigger on this list of release bundle names
    ExcludePatterns []string
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    IncludePatterns []string
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    anyReleaseBundle Boolean
    Trigger on any release bundle
    registeredReleaseBundleNames List<String>
    Trigger on this list of release bundle names
    excludePatterns List<String>
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    includePatterns List<String>
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    anyReleaseBundle boolean
    Trigger on any release bundle
    registeredReleaseBundleNames string[]
    Trigger on this list of release bundle names
    excludePatterns string[]
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    includePatterns string[]
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    any_release_bundle bool
    Trigger on any release bundle
    registered_release_bundle_names Sequence[str]
    Trigger on this list of release bundle names
    exclude_patterns Sequence[str]
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    include_patterns Sequence[str]
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    anyReleaseBundle Boolean
    Trigger on any release bundle
    registeredReleaseBundleNames List<String>
    Trigger on this list of release bundle names
    excludePatterns List<String>
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**
    includePatterns List<String>
    Simple comma separated wildcard patterns for repository artifact paths (with no leading slash). Ant-style path expressions are supported (*, **, ?). For example: org/apache/**

    ArtifactoryReleaseBundleWebhookHandler, ArtifactoryReleaseBundleWebhookHandlerArgs

    Url string
    Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
    CustomHttpHeaders Dictionary<string, string>
    Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
    Proxy string
    Proxy key from Artifactory UI (Administration > Proxies > Configuration).
    Secret string
    Secret authentication token that will be sent to the configured URL. The value will be sent as x-jfrog-event-auth header.
    UseSecretForSigning bool
    When set to true, the secret will be used to sign the event payload, allowing the target to validate that the payload content has not been changed and will not be passed as part of the event. If left unset or set to false, the secret is passed through the X-JFrog-Event-Auth HTTP header.
    Url string
    Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
    CustomHttpHeaders map[string]string
    Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
    Proxy string
    Proxy key from Artifactory UI (Administration > Proxies > Configuration).
    Secret string
    Secret authentication token that will be sent to the configured URL. The value will be sent as x-jfrog-event-auth header.
    UseSecretForSigning bool
    When set to true, the secret will be used to sign the event payload, allowing the target to validate that the payload content has not been changed and will not be passed as part of the event. If left unset or set to false, the secret is passed through the X-JFrog-Event-Auth HTTP header.
    url String
    Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
    customHttpHeaders Map<String,String>
    Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
    proxy String
    Proxy key from Artifactory UI (Administration > Proxies > Configuration).
    secret String
    Secret authentication token that will be sent to the configured URL. The value will be sent as x-jfrog-event-auth header.
    useSecretForSigning Boolean
    When set to true, the secret will be used to sign the event payload, allowing the target to validate that the payload content has not been changed and will not be passed as part of the event. If left unset or set to false, the secret is passed through the X-JFrog-Event-Auth HTTP header.
    url string
    Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
    customHttpHeaders {[key: string]: string}
    Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
    proxy string
    Proxy key from Artifactory UI (Administration > Proxies > Configuration).
    secret string
    Secret authentication token that will be sent to the configured URL. The value will be sent as x-jfrog-event-auth header.
    useSecretForSigning boolean
    When set to true, the secret will be used to sign the event payload, allowing the target to validate that the payload content has not been changed and will not be passed as part of the event. If left unset or set to false, the secret is passed through the X-JFrog-Event-Auth HTTP header.
    url str
    Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
    custom_http_headers Mapping[str, str]
    Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
    proxy str
    Proxy key from Artifactory UI (Administration > Proxies > Configuration).
    secret str
    Secret authentication token that will be sent to the configured URL. The value will be sent as x-jfrog-event-auth header.
    use_secret_for_signing bool
    When set to true, the secret will be used to sign the event payload, allowing the target to validate that the payload content has not been changed and will not be passed as part of the event. If left unset or set to false, the secret is passed through the X-JFrog-Event-Auth HTTP header.
    url String
    Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
    customHttpHeaders Map<String>
    Custom HTTP headers you wish to use to invoke the Webhook, comprise of key/value pair.
    proxy String
    Proxy key from Artifactory UI (Administration > Proxies > Configuration).
    secret String
    Secret authentication token that will be sent to the configured URL. The value will be sent as x-jfrog-event-auth header.
    useSecretForSigning Boolean
    When set to true, the secret will be used to sign the event payload, allowing the target to validate that the payload content has not been changed and will not be passed as part of the event. If left unset or set to false, the secret is passed through the X-JFrog-Event-Auth HTTP header.

    Package Details

    Repository
    artifactory pulumi/pulumi-artifactory
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the artifactory Terraform Provider.
    artifactory logo
    artifactory v8.4.0 published on Tuesday, Nov 19, 2024 by Pulumi