

launchdarkly.Webhook
Provides a LaunchDarkly webhook resource.
This resource allows you to create and manage webhooks within your LaunchDarkly organization.
Create Webhook Resource
new Webhook(name: string, args: WebhookArgs, opts?: CustomResourceOptions);
@overload
def Webhook(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
on: Optional[bool] = None,
secret: Optional[str] = None,
statements: Optional[Sequence[WebhookStatementArgs]] = None,
tags: Optional[Sequence[str]] = None,
url: Optional[str] = None)
@overload
def Webhook(resource_name: str,
args: WebhookArgs,
opts: Optional[ResourceOptions] = None)
func NewWebhook(ctx *Context, name string, args WebhookArgs, opts ...ResourceOption) (*Webhook, error)
public Webhook(string name, WebhookArgs args, CustomResourceOptions? opts = null)
public Webhook(String name, WebhookArgs args)
public Webhook(String name, WebhookArgs args, CustomResourceOptions options)
type: launchdarkly:Webhook
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebhookArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Webhook Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Webhook resource accepts the following input properties:
- Url string
The URL of the remote webhook.
- Name string
The webhook's human-readable name.
- On bool
Specifies whether the webhook is enabled.
- Secret string
The secret used to sign the webhook.
- Statements
List<Lbrlabs.
Pulumi Package. Launchdarkly. Inputs. Webhook Statement Args> - List<string>
Set of tags associated with the webhook.
- Url string
The URL of the remote webhook.
- Name string
The webhook's human-readable name.
- On bool
Specifies whether the webhook is enabled.
- Secret string
The secret used to sign the webhook.
- Statements
[]Webhook
Statement Args - []string
Set of tags associated with the webhook.
- url String
The URL of the remote webhook.
- name String
The webhook's human-readable name.
- on Boolean
Specifies whether the webhook is enabled.
- secret String
The secret used to sign the webhook.
- statements
List<Webhook
Statement Args> - List<String>
Set of tags associated with the webhook.
- url string
The URL of the remote webhook.
- name string
The webhook's human-readable name.
- on boolean
Specifies whether the webhook is enabled.
- secret string
The secret used to sign the webhook.
- statements
Webhook
Statement Args[] - string[]
Set of tags associated with the webhook.
- url str
The URL of the remote webhook.
- name str
The webhook's human-readable name.
- on bool
Specifies whether the webhook is enabled.
- secret str
The secret used to sign the webhook.
- statements
Sequence[Webhook
Statement Args] - Sequence[str]
Set of tags associated with the webhook.
- url String
The URL of the remote webhook.
- name String
The webhook's human-readable name.
- on Boolean
Specifies whether the webhook is enabled.
- secret String
The secret used to sign the webhook.
- statements List<Property Map>
- List<String>
Set of tags associated with the webhook.
Outputs
All input properties are implicitly available as output properties. Additionally, the Webhook 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 Webhook Resource
Get an existing Webhook resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WebhookState, opts?: CustomResourceOptions): Webhook
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
on: Optional[bool] = None,
secret: Optional[str] = None,
statements: Optional[Sequence[WebhookStatementArgs]] = None,
tags: Optional[Sequence[str]] = None,
url: Optional[str] = None) -> Webhook
func GetWebhook(ctx *Context, name string, id IDInput, state *WebhookState, opts ...ResourceOption) (*Webhook, error)
public static Webhook Get(string name, Input<string> id, WebhookState? state, CustomResourceOptions? opts = null)
public static Webhook get(String name, Output<String> id, WebhookState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Name string
The webhook's human-readable name.
- On bool
Specifies whether the webhook is enabled.
- Secret string
The secret used to sign the webhook.
- Statements
List<Lbrlabs.
Pulumi Package. Launchdarkly. Inputs. Webhook Statement Args> - List<string>
Set of tags associated with the webhook.
- Url string
The URL of the remote webhook.
- Name string
The webhook's human-readable name.
- On bool
Specifies whether the webhook is enabled.
- Secret string
The secret used to sign the webhook.
- Statements
[]Webhook
Statement Args - []string
Set of tags associated with the webhook.
- Url string
The URL of the remote webhook.
- name String
The webhook's human-readable name.
- on Boolean
Specifies whether the webhook is enabled.
- secret String
The secret used to sign the webhook.
- statements
List<Webhook
Statement Args> - List<String>
Set of tags associated with the webhook.
- url String
The URL of the remote webhook.
- name string
The webhook's human-readable name.
- on boolean
Specifies whether the webhook is enabled.
- secret string
The secret used to sign the webhook.
- statements
Webhook
Statement Args[] - string[]
Set of tags associated with the webhook.
- url string
The URL of the remote webhook.
- name str
The webhook's human-readable name.
- on bool
Specifies whether the webhook is enabled.
- secret str
The secret used to sign the webhook.
- statements
Sequence[Webhook
Statement Args] - Sequence[str]
Set of tags associated with the webhook.
- url str
The URL of the remote webhook.
- name String
The webhook's human-readable name.
- on Boolean
Specifies whether the webhook is enabled.
- secret String
The secret used to sign the webhook.
- statements List<Property Map>
- List<String>
Set of tags associated with the webhook.
- url String
The URL of the remote webhook.
Supporting Types
WebhookStatement
- Effect string
Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.- Actions List<string>
The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- Not
Actions List<string> The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- Not
Resources List<string> The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.- Resources List<string>
The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- Effect string
Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.- Actions []string
The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- Not
Actions []string The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- Not
Resources []string The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.- Resources []string
The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- effect String
Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.- actions List<String>
The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- not
Actions List<String> The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- not
Resources List<String> The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.- resources List<String>
The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- effect string
Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.- actions string[]
The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- not
Actions string[] The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- not
Resources string[] The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.- resources string[]
The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- effect str
Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.- actions Sequence[str]
The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- not_
actions Sequence[str] The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- not_
resources Sequence[str] The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.- resources Sequence[str]
The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
- effect String
Either
allow
ordeny
. This argument defines whether the statement allows or denies access to the named resources and actions.- actions List<String>
The list of action specifiers defining the actions to which the statement applies. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- not
Actions List<String> The list of action specifiers defining the actions to which the statement does not apply. Either
actions
ornot_actions
must be specified. For a list of available actions read Actions reference.- not
Resources List<String> The list of resource specifiers defining the resources to which the statement does not apply. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.- resources List<String>
The list of resource specifiers defining the resources to which the statement applies. Either
resources
ornot_resources
must be specified. For a list of available resources read Understanding resource types and scopes.
Import
LaunchDarkly webhooks can be imported using the webhook’s 24 character ID, e.g.
$ pulumi import launchdarkly:index/webhook:Webhook example 57c0af609969090743529967
Package Details
- Repository
- launchdarkly lbrlabs/pulumi-launchdarkly
- License
- Notes
This Pulumi package is based on the
launchdarkly
Terraform Provider.