artifactory.BuildWebhook
Explore with Pulumi AI
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.
Example Usage
.
import * as pulumi from "@pulumi/pulumi";
import * as artifactory from "@pulumi/artifactory";
const build_webhook = new artifactory.BuildWebhook("build-webhook", {
    key: "build-webhook",
    eventTypes: [
        "uploaded",
        "deleted",
        "promoted",
    ],
    criteria: {
        anyBuild: true,
        selectedBuilds: ["build-id"],
        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
build_webhook = artifactory.BuildWebhook("build-webhook",
    key="build-webhook",
    event_types=[
        "uploaded",
        "deleted",
        "promoted",
    ],
    criteria={
        "any_build": True,
        "selected_builds": ["build-id"],
        "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.NewBuildWebhook(ctx, "build-webhook", &artifactory.BuildWebhookArgs{
			Key: pulumi.String("build-webhook"),
			EventTypes: pulumi.StringArray{
				pulumi.String("uploaded"),
				pulumi.String("deleted"),
				pulumi.String("promoted"),
			},
			Criteria: &artifactory.BuildWebhookCriteriaArgs{
				AnyBuild: pulumi.Bool(true),
				SelectedBuilds: pulumi.StringArray{
					pulumi.String("build-id"),
				},
				IncludePatterns: pulumi.StringArray{
					pulumi.String("foo/**"),
				},
				ExcludePatterns: pulumi.StringArray{
					pulumi.String("bar/**"),
				},
			},
			Handlers: artifactory.BuildWebhookHandlerArray{
				&artifactory.BuildWebhookHandlerArgs{
					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 build_webhook = new Artifactory.BuildWebhook("build-webhook", new()
    {
        Key = "build-webhook",
        EventTypes = new[]
        {
            "uploaded",
            "deleted",
            "promoted",
        },
        Criteria = new Artifactory.Inputs.BuildWebhookCriteriaArgs
        {
            AnyBuild = true,
            SelectedBuilds = new[]
            {
                "build-id",
            },
            IncludePatterns = new[]
            {
                "foo/**",
            },
            ExcludePatterns = new[]
            {
                "bar/**",
            },
        },
        Handlers = new[]
        {
            new Artifactory.Inputs.BuildWebhookHandlerArgs
            {
                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.BuildWebhook;
import com.pulumi.artifactory.BuildWebhookArgs;
import com.pulumi.artifactory.inputs.BuildWebhookCriteriaArgs;
import com.pulumi.artifactory.inputs.BuildWebhookHandlerArgs;
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 build_webhook = new BuildWebhook("build-webhook", BuildWebhookArgs.builder()
            .key("build-webhook")
            .eventTypes(            
                "uploaded",
                "deleted",
                "promoted")
            .criteria(BuildWebhookCriteriaArgs.builder()
                .anyBuild(true)
                .selectedBuilds("build-id")
                .includePatterns("foo/**")
                .excludePatterns("bar/**")
                .build())
            .handlers(BuildWebhookHandlerArgs.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:
  build-webhook:
    type: artifactory:BuildWebhook
    properties:
      key: build-webhook
      eventTypes:
        - uploaded
        - deleted
        - promoted
      criteria:
        anyBuild: true
        selectedBuilds:
          - build-id
        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 BuildWebhook Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BuildWebhook(name: string, args: BuildWebhookArgs, opts?: CustomResourceOptions);@overload
def BuildWebhook(resource_name: str,
                 args: BuildWebhookArgs,
                 opts: Optional[ResourceOptions] = None)
@overload
def BuildWebhook(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 event_types: Optional[Sequence[str]] = None,
                 key: Optional[str] = None,
                 criteria: Optional[BuildWebhookCriteriaArgs] = None,
                 description: Optional[str] = None,
                 enabled: Optional[bool] = None,
                 handlers: Optional[Sequence[BuildWebhookHandlerArgs]] = None)func NewBuildWebhook(ctx *Context, name string, args BuildWebhookArgs, opts ...ResourceOption) (*BuildWebhook, error)public BuildWebhook(string name, BuildWebhookArgs args, CustomResourceOptions? opts = null)public BuildWebhook(String name, BuildWebhookArgs args)
public BuildWebhook(String name, BuildWebhookArgs args, CustomResourceOptions options)
type: artifactory:BuildWebhook
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string
- The unique name of the resource.
- args
This property is required. BuildWebhookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str
- The unique name of the resource.
- args
This property is required. BuildWebhookArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string
- The unique name of the resource.
- args
This property is required. BuildWebhookArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string
- The unique name of the resource.
- args
This property is required. BuildWebhookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String
- The unique name of the resource.
- args
This property is required. BuildWebhookArgs
- 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 buildWebhookResource = new Artifactory.BuildWebhook("buildWebhookResource", new()
{
    EventTypes = new[]
    {
        "string",
    },
    Key = "string",
    Criteria = new Artifactory.Inputs.BuildWebhookCriteriaArgs
    {
        AnyBuild = false,
        SelectedBuilds = new[]
        {
            "string",
        },
        ExcludePatterns = new[]
        {
            "string",
        },
        IncludePatterns = new[]
        {
            "string",
        },
    },
    Description = "string",
    Enabled = false,
    Handlers = new[]
    {
        new Artifactory.Inputs.BuildWebhookHandlerArgs
        {
            Url = "string",
            CustomHttpHeaders = 
            {
                { "string", "string" },
            },
            Proxy = "string",
            Secret = "string",
            UseSecretForSigning = false,
        },
    },
});
example, err := artifactory.NewBuildWebhook(ctx, "buildWebhookResource", &artifactory.BuildWebhookArgs{
	EventTypes: pulumi.StringArray{
		pulumi.String("string"),
	},
	Key: pulumi.String("string"),
	Criteria: &artifactory.BuildWebhookCriteriaArgs{
		AnyBuild: pulumi.Bool(false),
		SelectedBuilds: 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.BuildWebhookHandlerArray{
		&artifactory.BuildWebhookHandlerArgs{
			Url: pulumi.String("string"),
			CustomHttpHeaders: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Proxy:               pulumi.String("string"),
			Secret:              pulumi.String("string"),
			UseSecretForSigning: pulumi.Bool(false),
		},
	},
})
var buildWebhookResource = new BuildWebhook("buildWebhookResource", BuildWebhookArgs.builder()
    .eventTypes("string")
    .key("string")
    .criteria(BuildWebhookCriteriaArgs.builder()
        .anyBuild(false)
        .selectedBuilds("string")
        .excludePatterns("string")
        .includePatterns("string")
        .build())
    .description("string")
    .enabled(false)
    .handlers(BuildWebhookHandlerArgs.builder()
        .url("string")
        .customHttpHeaders(Map.of("string", "string"))
        .proxy("string")
        .secret("string")
        .useSecretForSigning(false)
        .build())
    .build());
build_webhook_resource = artifactory.BuildWebhook("buildWebhookResource",
    event_types=["string"],
    key="string",
    criteria={
        "any_build": False,
        "selected_builds": ["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 buildWebhookResource = new artifactory.BuildWebhook("buildWebhookResource", {
    eventTypes: ["string"],
    key: "string",
    criteria: {
        anyBuild: false,
        selectedBuilds: ["string"],
        excludePatterns: ["string"],
        includePatterns: ["string"],
    },
    description: "string",
    enabled: false,
    handlers: [{
        url: "string",
        customHttpHeaders: {
            string: "string",
        },
        proxy: "string",
        secret: "string",
        useSecretForSigning: false,
    }],
});
type: artifactory:BuildWebhook
properties:
    criteria:
        anyBuild: false
        excludePatterns:
            - string
        includePatterns:
            - string
        selectedBuilds:
            - string
    description: string
    enabled: false
    eventTypes:
        - string
    handlers:
        - customHttpHeaders:
            string: string
          proxy: string
          secret: string
          url: string
          useSecretForSigning: false
    key: string
BuildWebhook 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 BuildWebhook resource accepts the following input properties:
- EventTypes This property is required. List<string>
- List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: uploaded,deleted,promoted.
- Key
This property is required. string
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- Criteria
BuildWebhook Criteria 
- 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<BuildWebhook Handler> 
- At least one is required.
- EventTypes This property is required. []string
- List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: uploaded,deleted,promoted.
- Key
This property is required. string
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- Criteria
BuildWebhook Criteria Args 
- 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
[]BuildWebhook Handler Args 
- At least one is required.
- eventTypes This property is required. List<String>
- List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: uploaded,deleted,promoted.
- key
This property is required. String
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- criteria
BuildWebhook Criteria 
- 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<BuildWebhook Handler> 
- At least one is required.
- eventTypes This property is required. string[]
- List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: uploaded,deleted,promoted.
- key
This property is required. string
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- criteria
BuildWebhook Criteria 
- 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
BuildWebhook Handler[] 
- At least one is required.
- event_types This property is required. Sequence[str]
- List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: uploaded,deleted,promoted.
- key
This property is required. str
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- criteria
BuildWebhook Criteria Args 
- 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[BuildWebhook Handler Args] 
- At least one is required.
- eventTypes This property is required. List<String>
- List of Events in Artifactory, Distribution, Release Bundle that function as the event trigger for the Webhook. Allow values: uploaded,deleted,promoted.
- key
This property is required. 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 BuildWebhook 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 BuildWebhook Resource
Get an existing BuildWebhook 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?: BuildWebhookState, opts?: CustomResourceOptions): BuildWebhook@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        criteria: Optional[BuildWebhookCriteriaArgs] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        event_types: Optional[Sequence[str]] = None,
        handlers: Optional[Sequence[BuildWebhookHandlerArgs]] = None,
        key: Optional[str] = None) -> BuildWebhookfunc GetBuildWebhook(ctx *Context, name string, id IDInput, state *BuildWebhookState, opts ...ResourceOption) (*BuildWebhook, error)public static BuildWebhook Get(string name, Input<string> id, BuildWebhookState? state, CustomResourceOptions? opts = null)public static BuildWebhook get(String name, Output<String> id, BuildWebhookState state, CustomResourceOptions options)resources:  _:    type: artifactory:BuildWebhook    get:      id: ${id}- name
This property is required. 
- The unique name of the resulting resource.
- id
This property is required. 
- 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
This property is required. 
- The unique name of the resulting resource.
- id
This property is required. 
- The unique provider ID of the resource to lookup.
- name
This property is required. 
- The unique name of the resulting resource.
- id
This property is required. 
- 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
This property is required. 
- The unique name of the resulting resource.
- id
This property is required. 
- 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
This property is required. 
- The unique name of the resulting resource.
- id
This property is required. 
- 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.
- Criteria
BuildWebhook Criteria 
- 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: uploaded,deleted,promoted.
- Handlers
List<BuildWebhook Handler> 
- At least one is required.
- Key string
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- Criteria
BuildWebhook Criteria Args 
- 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: uploaded,deleted,promoted.
- Handlers
[]BuildWebhook Handler Args 
- At least one is required.
- Key string
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- criteria
BuildWebhook Criteria 
- 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: uploaded,deleted,promoted.
- handlers
List<BuildWebhook Handler> 
- At least one is required.
- key String
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- criteria
BuildWebhook Criteria 
- 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: uploaded,deleted,promoted.
- handlers
BuildWebhook Handler[] 
- At least one is required.
- key string
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- criteria
BuildWebhook Criteria Args 
- 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: uploaded,deleted,promoted.
- handlers
Sequence[BuildWebhook Handler Args] 
- 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: uploaded,deleted,promoted.
- 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
BuildWebhookCriteria, BuildWebhookCriteriaArgs      
- AnyBuild This property is required. bool
- Trigger on any build.
- SelectedBuilds This property is required. List<string>
- Trigger on this list of build 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/**.
- AnyBuild This property is required. bool
- Trigger on any build.
- SelectedBuilds This property is required. []string
- Trigger on this list of build 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/**.
- anyBuild This property is required. Boolean
- Trigger on any build.
- selectedBuilds This property is required. List<String>
- Trigger on this list of build 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/**.
- anyBuild This property is required. boolean
- Trigger on any build.
- selectedBuilds This property is required. string[]
- Trigger on this list of build 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_build This property is required. bool
- Trigger on any build.
- selected_builds This property is required. Sequence[str]
- Trigger on this list of build 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/**.
- anyBuild This property is required. Boolean
- Trigger on any build.
- selectedBuilds This property is required. List<String>
- Trigger on this list of build 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/**.
BuildWebhookHandler, BuildWebhookHandlerArgs      
- Url
This property is required. string
- Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
- CustomHttp Dictionary<string, string>Headers 
- 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-authheader.
- UseSecret boolFor Signing 
- 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 tofalse, the secret is passed through theX-JFrog-Event-AuthHTTP header.
- Url
This property is required. string
- Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
- CustomHttp map[string]stringHeaders 
- 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-authheader.
- UseSecret boolFor Signing 
- 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 tofalse, the secret is passed through theX-JFrog-Event-AuthHTTP header.
- url
This property is required. String
- Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
- customHttp Map<String,String>Headers 
- 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-authheader.
- useSecret BooleanFor Signing 
- 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 tofalse, the secret is passed through theX-JFrog-Event-AuthHTTP header.
- url
This property is required. string
- Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
- customHttp {[key: string]: string}Headers 
- 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-authheader.
- useSecret booleanFor Signing 
- 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 tofalse, the secret is passed through theX-JFrog-Event-AuthHTTP header.
- url
This property is required. str
- Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
- custom_http_ Mapping[str, str]headers 
- 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-authheader.
- use_secret_ boolfor_ signing 
- 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 tofalse, the secret is passed through theX-JFrog-Event-AuthHTTP header.
- url
This property is required. String
- Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
- customHttp Map<String>Headers 
- 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-authheader.
- useSecret BooleanFor Signing 
- 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 tofalse, the secret is passed through theX-JFrog-Event-AuthHTTP header.
Package Details
- Repository
- artifactory pulumi/pulumi-artifactory
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the artifactoryTerraform Provider.