artifactory.ReleaseBundleV2PromotionWebhook
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 release_bundle_v2_promotion_webhook = new artifactory.ReleaseBundleV2PromotionWebhook("release-bundle-v2-promotion-webhook", {
key: "release-bundle-v2-promotion-webhook",
eventTypes: [
"release_bundle_v2_promotion_completed",
"release_bundle_v2_promotion_failed",
"release_bundle_v2_promotion_started",
],
criteria: {
selectedEnvironments: [
"PROD",
"DEV",
],
},
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
release_bundle_v2_promotion_webhook = artifactory.ReleaseBundleV2PromotionWebhook("release-bundle-v2-promotion-webhook",
key="release-bundle-v2-promotion-webhook",
event_types=[
"release_bundle_v2_promotion_completed",
"release_bundle_v2_promotion_failed",
"release_bundle_v2_promotion_started",
],
criteria={
"selected_environments": [
"PROD",
"DEV",
],
},
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.NewReleaseBundleV2PromotionWebhook(ctx, "release-bundle-v2-promotion-webhook", &artifactory.ReleaseBundleV2PromotionWebhookArgs{
Key: pulumi.String("release-bundle-v2-promotion-webhook"),
EventTypes: pulumi.StringArray{
pulumi.String("release_bundle_v2_promotion_completed"),
pulumi.String("release_bundle_v2_promotion_failed"),
pulumi.String("release_bundle_v2_promotion_started"),
},
Criteria: &artifactory.ReleaseBundleV2PromotionWebhookCriteriaArgs{
SelectedEnvironments: pulumi.StringArray{
pulumi.String("PROD"),
pulumi.String("DEV"),
},
},
Handlers: artifactory.ReleaseBundleV2PromotionWebhookHandlerArray{
&artifactory.ReleaseBundleV2PromotionWebhookHandlerArgs{
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 release_bundle_v2_promotion_webhook = new Artifactory.ReleaseBundleV2PromotionWebhook("release-bundle-v2-promotion-webhook", new()
{
Key = "release-bundle-v2-promotion-webhook",
EventTypes = new[]
{
"release_bundle_v2_promotion_completed",
"release_bundle_v2_promotion_failed",
"release_bundle_v2_promotion_started",
},
Criteria = new Artifactory.Inputs.ReleaseBundleV2PromotionWebhookCriteriaArgs
{
SelectedEnvironments = new[]
{
"PROD",
"DEV",
},
},
Handlers = new[]
{
new Artifactory.Inputs.ReleaseBundleV2PromotionWebhookHandlerArgs
{
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.ReleaseBundleV2PromotionWebhook;
import com.pulumi.artifactory.ReleaseBundleV2PromotionWebhookArgs;
import com.pulumi.artifactory.inputs.ReleaseBundleV2PromotionWebhookCriteriaArgs;
import com.pulumi.artifactory.inputs.ReleaseBundleV2PromotionWebhookHandlerArgs;
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 release_bundle_v2_promotion_webhook = new ReleaseBundleV2PromotionWebhook("release-bundle-v2-promotion-webhook", ReleaseBundleV2PromotionWebhookArgs.builder()
.key("release-bundle-v2-promotion-webhook")
.eventTypes(
"release_bundle_v2_promotion_completed",
"release_bundle_v2_promotion_failed",
"release_bundle_v2_promotion_started")
.criteria(ReleaseBundleV2PromotionWebhookCriteriaArgs.builder()
.selectedEnvironments(
"PROD",
"DEV")
.build())
.handlers(ReleaseBundleV2PromotionWebhookHandlerArgs.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:
release-bundle-v2-promotion-webhook:
type: artifactory:ReleaseBundleV2PromotionWebhook
properties:
key: release-bundle-v2-promotion-webhook
eventTypes:
- release_bundle_v2_promotion_completed
- release_bundle_v2_promotion_failed
- release_bundle_v2_promotion_started
criteria:
selectedEnvironments:
- PROD
- DEV
handlers:
- url: http://tempurl.org/webhook
secret: some-secret
proxy: proxy-key
customHttpHeaders:
header-1: value-1
header-2: value-2
Create ReleaseBundleV2PromotionWebhook Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReleaseBundleV2PromotionWebhook(name: string, args: ReleaseBundleV2PromotionWebhookArgs, opts?: CustomResourceOptions);
@overload
def ReleaseBundleV2PromotionWebhook(resource_name: str,
args: ReleaseBundleV2PromotionWebhookArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ReleaseBundleV2PromotionWebhook(resource_name: str,
opts: Optional[ResourceOptions] = None,
criteria: Optional[ReleaseBundleV2PromotionWebhookCriteriaArgs] = None,
event_types: Optional[Sequence[str]] = None,
handlers: Optional[Sequence[ReleaseBundleV2PromotionWebhookHandlerArgs]] = None,
key: Optional[str] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None)
func NewReleaseBundleV2PromotionWebhook(ctx *Context, name string, args ReleaseBundleV2PromotionWebhookArgs, opts ...ResourceOption) (*ReleaseBundleV2PromotionWebhook, error)
public ReleaseBundleV2PromotionWebhook(string name, ReleaseBundleV2PromotionWebhookArgs args, CustomResourceOptions? opts = null)
public ReleaseBundleV2PromotionWebhook(String name, ReleaseBundleV2PromotionWebhookArgs args)
public ReleaseBundleV2PromotionWebhook(String name, ReleaseBundleV2PromotionWebhookArgs args, CustomResourceOptions options)
type: artifactory:ReleaseBundleV2PromotionWebhook
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 ReleaseBundleV2PromotionWebhookArgs
- 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 ReleaseBundleV2PromotionWebhookArgs
- 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 ReleaseBundleV2PromotionWebhookArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReleaseBundleV2PromotionWebhookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReleaseBundleV2PromotionWebhookArgs
- 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 releaseBundleV2PromotionWebhookResource = new Artifactory.ReleaseBundleV2PromotionWebhook("releaseBundleV2PromotionWebhookResource", new()
{
Criteria = new Artifactory.Inputs.ReleaseBundleV2PromotionWebhookCriteriaArgs
{
SelectedEnvironments = new[]
{
"string",
},
ExcludePatterns = new[]
{
"string",
},
IncludePatterns = new[]
{
"string",
},
},
EventTypes = new[]
{
"string",
},
Handlers = new[]
{
new Artifactory.Inputs.ReleaseBundleV2PromotionWebhookHandlerArgs
{
Url = "string",
CustomHttpHeaders =
{
{ "string", "string" },
},
Proxy = "string",
Secret = "string",
UseSecretForSigning = false,
},
},
Key = "string",
Description = "string",
Enabled = false,
});
example, err := artifactory.NewReleaseBundleV2PromotionWebhook(ctx, "releaseBundleV2PromotionWebhookResource", &artifactory.ReleaseBundleV2PromotionWebhookArgs{
Criteria: &artifactory.ReleaseBundleV2PromotionWebhookCriteriaArgs{
SelectedEnvironments: pulumi.StringArray{
pulumi.String("string"),
},
ExcludePatterns: pulumi.StringArray{
pulumi.String("string"),
},
IncludePatterns: pulumi.StringArray{
pulumi.String("string"),
},
},
EventTypes: pulumi.StringArray{
pulumi.String("string"),
},
Handlers: artifactory.ReleaseBundleV2PromotionWebhookHandlerArray{
&artifactory.ReleaseBundleV2PromotionWebhookHandlerArgs{
Url: pulumi.String("string"),
CustomHttpHeaders: pulumi.StringMap{
"string": pulumi.String("string"),
},
Proxy: pulumi.String("string"),
Secret: pulumi.String("string"),
UseSecretForSigning: pulumi.Bool(false),
},
},
Key: pulumi.String("string"),
Description: pulumi.String("string"),
Enabled: pulumi.Bool(false),
})
var releaseBundleV2PromotionWebhookResource = new ReleaseBundleV2PromotionWebhook("releaseBundleV2PromotionWebhookResource", ReleaseBundleV2PromotionWebhookArgs.builder()
.criteria(ReleaseBundleV2PromotionWebhookCriteriaArgs.builder()
.selectedEnvironments("string")
.excludePatterns("string")
.includePatterns("string")
.build())
.eventTypes("string")
.handlers(ReleaseBundleV2PromotionWebhookHandlerArgs.builder()
.url("string")
.customHttpHeaders(Map.of("string", "string"))
.proxy("string")
.secret("string")
.useSecretForSigning(false)
.build())
.key("string")
.description("string")
.enabled(false)
.build());
release_bundle_v2_promotion_webhook_resource = artifactory.ReleaseBundleV2PromotionWebhook("releaseBundleV2PromotionWebhookResource",
criteria=artifactory.ReleaseBundleV2PromotionWebhookCriteriaArgs(
selected_environments=["string"],
exclude_patterns=["string"],
include_patterns=["string"],
),
event_types=["string"],
handlers=[artifactory.ReleaseBundleV2PromotionWebhookHandlerArgs(
url="string",
custom_http_headers={
"string": "string",
},
proxy="string",
secret="string",
use_secret_for_signing=False,
)],
key="string",
description="string",
enabled=False)
const releaseBundleV2PromotionWebhookResource = new artifactory.ReleaseBundleV2PromotionWebhook("releaseBundleV2PromotionWebhookResource", {
criteria: {
selectedEnvironments: ["string"],
excludePatterns: ["string"],
includePatterns: ["string"],
},
eventTypes: ["string"],
handlers: [{
url: "string",
customHttpHeaders: {
string: "string",
},
proxy: "string",
secret: "string",
useSecretForSigning: false,
}],
key: "string",
description: "string",
enabled: false,
});
type: artifactory:ReleaseBundleV2PromotionWebhook
properties:
criteria:
excludePatterns:
- string
includePatterns:
- string
selectedEnvironments:
- string
description: string
enabled: false
eventTypes:
- string
handlers:
- customHttpHeaders:
string: string
proxy: string
secret: string
url: string
useSecretForSigning: false
key: string
ReleaseBundleV2PromotionWebhook 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 ReleaseBundleV2PromotionWebhook resource accepts the following input properties:
- Criteria
Release
Bundle V2Promotion Webhook Criteria - Specifies where the webhook will be applied on which enviroments.
- Event
Types List<string> - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_failed
- Handlers
List<Release
Bundle V2Promotion Webhook Handler> - At least one is required.
- Key string
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- Description string
- Webhook description. Max length 1000 characters.
- Enabled bool
- Status of webhook. Default to
true
- Criteria
Release
Bundle V2Promotion Webhook Criteria Args - Specifies where the webhook will be applied on which enviroments.
- Event
Types []string - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_failed
- Handlers
[]Release
Bundle V2Promotion Webhook 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.
- Description string
- Webhook description. Max length 1000 characters.
- Enabled bool
- Status of webhook. Default to
true
- criteria
Release
Bundle V2Promotion Webhook Criteria - Specifies where the webhook will be applied on which enviroments.
- event
Types List<String> - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_failed
- handlers
List<Release
Bundle V2Promotion Webhook Handler> - At least one is required.
- key String
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- description String
- Webhook description. Max length 1000 characters.
- enabled Boolean
- Status of webhook. Default to
true
- criteria
Release
Bundle V2Promotion Webhook Criteria - Specifies where the webhook will be applied on which enviroments.
- event
Types string[] - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_failed
- handlers
Release
Bundle V2Promotion Webhook Handler[] - At least one is required.
- key string
- The identity key of the webhook. Must be between 2 and 200 characters. Cannot contain spaces.
- description string
- Webhook description. Max length 1000 characters.
- enabled boolean
- Status of webhook. Default to
true
- criteria
Release
Bundle V2Promotion Webhook Criteria Args - Specifies where the webhook will be applied on which enviroments.
- event_
types Sequence[str] - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_failed
- handlers
Sequence[Release
Bundle V2Promotion Webhook 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.
- description str
- Webhook description. Max length 1000 characters.
- enabled bool
- Status of webhook. Default to
true
- criteria Property Map
- Specifies where the webhook will be applied on which enviroments.
- event
Types List<String> - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_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.
- description String
- Webhook description. Max length 1000 characters.
- enabled Boolean
- Status of webhook. Default to
true
Outputs
All input properties are implicitly available as output properties. Additionally, the ReleaseBundleV2PromotionWebhook 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 ReleaseBundleV2PromotionWebhook Resource
Get an existing ReleaseBundleV2PromotionWebhook 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?: ReleaseBundleV2PromotionWebhookState, opts?: CustomResourceOptions): ReleaseBundleV2PromotionWebhook
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
criteria: Optional[ReleaseBundleV2PromotionWebhookCriteriaArgs] = None,
description: Optional[str] = None,
enabled: Optional[bool] = None,
event_types: Optional[Sequence[str]] = None,
handlers: Optional[Sequence[ReleaseBundleV2PromotionWebhookHandlerArgs]] = None,
key: Optional[str] = None) -> ReleaseBundleV2PromotionWebhook
func GetReleaseBundleV2PromotionWebhook(ctx *Context, name string, id IDInput, state *ReleaseBundleV2PromotionWebhookState, opts ...ResourceOption) (*ReleaseBundleV2PromotionWebhook, error)
public static ReleaseBundleV2PromotionWebhook Get(string name, Input<string> id, ReleaseBundleV2PromotionWebhookState? state, CustomResourceOptions? opts = null)
public static ReleaseBundleV2PromotionWebhook get(String name, Output<String> id, ReleaseBundleV2PromotionWebhookState 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.
- Criteria
Release
Bundle V2Promotion Webhook Criteria - Specifies where the webhook will be applied on which enviroments.
- Description string
- Webhook description. Max length 1000 characters.
- Enabled bool
- Status of webhook. Default to
true
- Event
Types List<string> - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_failed
- Handlers
List<Release
Bundle V2Promotion Webhook 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
Release
Bundle V2Promotion Webhook Criteria Args - Specifies where the webhook will be applied on which enviroments.
- Description string
- Webhook description. Max length 1000 characters.
- Enabled bool
- Status of webhook. Default to
true
- Event
Types []string - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_failed
- Handlers
[]Release
Bundle V2Promotion Webhook 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
Release
Bundle V2Promotion Webhook Criteria - Specifies where the webhook will be applied on which enviroments.
- description String
- Webhook description. Max length 1000 characters.
- enabled Boolean
- Status of webhook. Default to
true
- event
Types List<String> - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_failed
- handlers
List<Release
Bundle V2Promotion Webhook 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
Release
Bundle V2Promotion Webhook Criteria - Specifies where the webhook will be applied on which enviroments.
- description string
- Webhook description. Max length 1000 characters.
- enabled boolean
- Status of webhook. Default to
true
- event
Types string[] - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_failed
- handlers
Release
Bundle V2Promotion Webhook 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
Release
Bundle V2Promotion Webhook Criteria Args - Specifies where the webhook will be applied on which enviroments.
- description str
- Webhook description. Max length 1000 characters.
- enabled bool
- Status of webhook. Default to
true
- event_
types Sequence[str] - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_failed
- handlers
Sequence[Release
Bundle V2Promotion Webhook 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 enviroments.
- description String
- Webhook description. Max length 1000 characters.
- enabled Boolean
- Status of webhook. Default to
true
- event
Types List<String> - List of event triggers for the Webhook. Allow values:
release_bundle_v2_promotion_started
,release_bundle_v2_promotion_completed
,release_bundle_v2_promotion_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
ReleaseBundleV2PromotionWebhookCriteria, ReleaseBundleV2PromotionWebhookCriteriaArgs
- Selected
Environments List<string> - Trigger on this list of environment names.
- Exclude
Patterns List<string> - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- Include
Patterns List<string> - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- Selected
Environments []string - Trigger on this list of environment names.
- Exclude
Patterns []string - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- Include
Patterns []string - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- selected
Environments List<String> - Trigger on this list of environment names.
- exclude
Patterns List<String> - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- include
Patterns List<String> - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- selected
Environments string[] - Trigger on this list of environment names.
- exclude
Patterns string[] - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- include
Patterns string[] - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- selected_
environments Sequence[str] - Trigger on this list of environment names.
- exclude_
patterns Sequence[str] - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- include_
patterns Sequence[str] - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- selected
Environments List<String> - Trigger on this list of environment names.
- exclude
Patterns List<String> - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
- include
Patterns List<String> - Simple comma separated wildcard patterns for repository artifact paths (with no leading slash).\nAnt-style path expressions are supported (*, , ?).\nFor example: "org/apache/"
ReleaseBundleV2PromotionWebhookHandler, ReleaseBundleV2PromotionWebhookHandlerArgs
- Url string
- Specifies the URL that the Webhook invokes. This will be the URL that Artifactory will send an HTTP POST request to.
- Custom
Http 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-auth
header. - 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-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.
- Custom
Http 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-auth
header. - 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-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.
- custom
Http 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-auth
header. - use
Secret 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-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.
- custom
Http {[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-auth
header. - use
Secret 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-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_ 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-auth
header. - 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-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.
- custom
Http 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-auth
header. - use
Secret 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-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.