Viewing docs for Launch Darkly v0.0.6
published on Sunday, Feb 19, 2023 by lbrlabs
published on Sunday, Feb 19, 2023 by lbrlabs
Viewing docs for Launch Darkly v0.0.6
published on Sunday, Feb 19, 2023 by lbrlabs
published on Sunday, Feb 19, 2023 by lbrlabs
Provides a LaunchDarkly webhook data source.
This data source allows you to retrieve webhook information from your LaunchDarkly organization.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Launchdarkly = Pulumi.Launchdarkly;
return await Deployment.RunAsync(() =>
{
var example = Launchdarkly.GetWebhook.Invoke(new()
{
Id = "57c0af6099690907435299",
});
});
package main
import (
"github.com/lbrlabs/pulumi-launchdarkly/sdk/go/launchdarkly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err = launchdarkly.LookupWebhook(ctx, &launchdarkly.LookupWebhookArgs{
Id: "57c0af6099690907435299",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.launchdarkly.LaunchdarklyFunctions;
import com.pulumi.launchdarkly.inputs.GetWebhookArgs;
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) {
final var example = LaunchdarklyFunctions.getWebhook(GetWebhookArgs.builder()
.id("57c0af6099690907435299")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as launchdarkly from "@pulumi/launchdarkly";
const example = launchdarkly.getWebhook({
id: "57c0af6099690907435299",
});
import pulumi
import pulumi_launchdarkly as launchdarkly
example = launchdarkly.get_webhook(id="57c0af6099690907435299")
variables:
example:
fn::invoke:
Function: launchdarkly:getWebhook
Arguments:
id: 57c0af6099690907435299
Using getWebhook
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWebhook(args: GetWebhookArgs, opts?: InvokeOptions): Promise<GetWebhookResult>
function getWebhookOutput(args: GetWebhookOutputArgs, opts?: InvokeOptions): Output<GetWebhookResult>def get_webhook(id: Optional[str] = None,
name: Optional[str] = None,
secret: Optional[str] = None,
statements: Optional[Sequence[GetWebhookStatement]] = None,
tags: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetWebhookResult
def get_webhook_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
secret: Optional[pulumi.Input[str]] = None,
statements: Optional[pulumi.Input[Sequence[pulumi.Input[GetWebhookStatementArgs]]]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWebhookResult]func LookupWebhook(ctx *Context, args *LookupWebhookArgs, opts ...InvokeOption) (*LookupWebhookResult, error)
func LookupWebhookOutput(ctx *Context, args *LookupWebhookOutputArgs, opts ...InvokeOption) LookupWebhookResultOutput> Note: This function is named LookupWebhook in the Go SDK.
public static class GetWebhook
{
public static Task<GetWebhookResult> InvokeAsync(GetWebhookArgs args, InvokeOptions? opts = null)
public static Output<GetWebhookResult> Invoke(GetWebhookInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
public static Output<GetWebhookResult> getWebhook(GetWebhookArgs args, InvokeOptions options)
fn::invoke:
function: launchdarkly:index/getWebhook:getWebhook
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The unique webhook ID.
- Name string
- The webhook's human-readable name.
- Secret string
- The secret used to sign the webhook.
- Statements
List<Lbrlabs.
Pulumi Package. Launchdarkly. Inputs. Get Webhook Statement> - List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- List<string>
- Set of tags associated with the webhook.
- Id string
- The unique webhook ID.
- Name string
- The webhook's human-readable name.
- Secret string
- The secret used to sign the webhook.
- Statements
[]Get
Webhook Statement - List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- []string
- Set of tags associated with the webhook.
- id String
- The unique webhook ID.
- name String
- The webhook's human-readable name.
- secret String
- The secret used to sign the webhook.
- statements
List<Get
Webhook Statement> - List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- List<String>
- Set of tags associated with the webhook.
- id string
- The unique webhook ID.
- name string
- The webhook's human-readable name.
- secret string
- The secret used to sign the webhook.
- statements
Get
Webhook Statement[] - List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- string[]
- Set of tags associated with the webhook.
- id str
- The unique webhook ID.
- name str
- The webhook's human-readable name.
- secret str
- The secret used to sign the webhook.
- statements
Sequence[Get
Webhook Statement] - List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- Sequence[str]
- Set of tags associated with the webhook.
- id String
- The unique webhook ID.
- name String
- The webhook's human-readable name.
- secret String
- The secret used to sign the webhook.
- statements List<Property Map>
- List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- List<String>
- Set of tags associated with the webhook.
getWebhook Result
The following output properties are available:
- Id string
- On bool
- Whether the webhook is enabled.
- Url string
- The URL of the remote webhook.
- Name string
- The webhook's human-readable name.
- Secret string
- The secret used to sign the webhook.
- Statements
List<Lbrlabs.
Pulumi Package. Launchdarkly. Outputs. Get Webhook Statement> - List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- List<string>
- Set of tags associated with the webhook.
- Id string
- On bool
- Whether the webhook is enabled.
- Url string
- The URL of the remote webhook.
- Name string
- The webhook's human-readable name.
- Secret string
- The secret used to sign the webhook.
- Statements
[]Get
Webhook Statement - List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- []string
- Set of tags associated with the webhook.
- id String
- on Boolean
- Whether the webhook is enabled.
- url String
- The URL of the remote webhook.
- name String
- The webhook's human-readable name.
- secret String
- The secret used to sign the webhook.
- statements
List<Get
Webhook Statement> - List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- List<String>
- Set of tags associated with the webhook.
- id string
- on boolean
- Whether the webhook is enabled.
- url string
- The URL of the remote webhook.
- name string
- The webhook's human-readable name.
- secret string
- The secret used to sign the webhook.
- statements
Get
Webhook Statement[] - List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- string[]
- Set of tags associated with the webhook.
- id str
- on bool
- Whether the webhook is enabled.
- url str
- The URL of the remote webhook.
- name str
- The webhook's human-readable name.
- secret str
- The secret used to sign the webhook.
- statements
Sequence[Get
Webhook Statement] - List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- Sequence[str]
- Set of tags associated with the webhook.
- id String
- on Boolean
- Whether the webhook is enabled.
- url String
- The URL of the remote webhook.
- name String
- The webhook's human-readable name.
- secret String
- The secret used to sign the webhook.
- statements List<Property Map>
- List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read Adding a policy filter. To learn more, read Policy Statement Blocks.
- List<String>
- Set of tags associated with the webhook.
Supporting Types
GetWebhookStatement
- Effect string
- Either
allowordeny. This argument defines whether the statement allows or denies access to the named resources and actions. - Actions List<string>
- Not
Actions List<string> - Not
Resources List<string> - The list of resource specifiers defining the resources to which the statement does not apply. 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. For a list of available resources read Understanding resource types and scopes.
- Effect string
- Either
allowordeny. This argument defines whether the statement allows or denies access to the named resources and actions. - Actions []string
- Not
Actions []string - Not
Resources []string - The list of resource specifiers defining the resources to which the statement does not apply. 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. For a list of available resources read Understanding resource types and scopes.
- effect String
- Either
allowordeny. This argument defines whether the statement allows or denies access to the named resources and actions. - actions List<String>
- not
Actions List<String> - not
Resources List<String> - The list of resource specifiers defining the resources to which the statement does not apply. 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. For a list of available resources read Understanding resource types and scopes.
- effect string
- Either
allowordeny. This argument defines whether the statement allows or denies access to the named resources and actions. - actions string[]
- not
Actions string[] - not
Resources string[] - The list of resource specifiers defining the resources to which the statement does not apply. 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. For a list of available resources read Understanding resource types and scopes.
- effect str
- Either
allowordeny. This argument defines whether the statement allows or denies access to the named resources and actions. - actions Sequence[str]
- not_
actions Sequence[str] - not_
resources Sequence[str] - The list of resource specifiers defining the resources to which the statement does not apply. 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. For a list of available resources read Understanding resource types and scopes.
- effect String
- Either
allowordeny. This argument defines whether the statement allows or denies access to the named resources and actions. - actions List<String>
- not
Actions List<String> - not
Resources List<String> - The list of resource specifiers defining the resources to which the statement does not apply. 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. For a list of available resources read Understanding resource types and scopes.
Package Details
- Repository
- launchdarkly lbrlabs/pulumi-launchdarkly
- License
- Notes
- This Pulumi package is based on the
launchdarklyTerraform Provider.
Viewing docs for Launch Darkly v0.0.6
published on Sunday, Feb 19, 2023 by lbrlabs
published on Sunday, Feb 19, 2023 by lbrlabs
