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 audit log subscription data source.
This data source allows you to retrieve information about LaunchDarkly audit log subscriptions.
import * as pulumi from "@pulumi/pulumi";
import * as launchdarkly from "@pulumi/launchdarkly";
const test = launchdarkly.getAuditLogSubscription({
id: "5f0cd446a77cba0b4c5644a7",
integrationKey: "msteams",
});
import pulumi
import pulumi_launchdarkly as launchdarkly
test = launchdarkly.get_audit_log_subscription(id="5f0cd446a77cba0b4c5644a7",
integration_key="msteams")
using System.Collections.Generic;
using Pulumi;
using Launchdarkly = Pulumi.Launchdarkly;
return await Deployment.RunAsync(() =>
{
var test = Launchdarkly.GetAuditLogSubscription.Invoke(new()
{
Id = "5f0cd446a77cba0b4c5644a7",
IntegrationKey = "msteams",
});
});
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.LookupAuditLogSubscription(ctx, &launchdarkly.LookupAuditLogSubscriptionArgs{
Id: "5f0cd446a77cba0b4c5644a7",
IntegrationKey: "msteams",
}, 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.GetAuditLogSubscriptionArgs;
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 test = LaunchdarklyFunctions.getAuditLogSubscription(GetAuditLogSubscriptionArgs.builder()
.id("5f0cd446a77cba0b4c5644a7")
.integrationKey("msteams")
.build());
}
}
variables:
test:
fn::invoke:
Function: launchdarkly:getAuditLogSubscription
Arguments:
id: 5f0cd446a77cba0b4c5644a7
integrationKey: msteams
Using getAuditLogSubscription
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 getAuditLogSubscription(args: GetAuditLogSubscriptionArgs, opts?: InvokeOptions): Promise<GetAuditLogSubscriptionResult>
function getAuditLogSubscriptionOutput(args: GetAuditLogSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetAuditLogSubscriptionResult>def get_audit_log_subscription(config: Optional[Mapping[str, Any]] = None,
id: Optional[str] = None,
integration_key: Optional[str] = None,
name: Optional[str] = None,
on: Optional[bool] = None,
statements: Optional[Sequence[GetAuditLogSubscriptionStatement]] = None,
tags: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetAuditLogSubscriptionResult
def get_audit_log_subscription_output(config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
id: Optional[pulumi.Input[str]] = None,
integration_key: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
on: Optional[pulumi.Input[bool]] = None,
statements: Optional[pulumi.Input[Sequence[pulumi.Input[GetAuditLogSubscriptionStatementArgs]]]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAuditLogSubscriptionResult]func LookupAuditLogSubscription(ctx *Context, args *LookupAuditLogSubscriptionArgs, opts ...InvokeOption) (*LookupAuditLogSubscriptionResult, error)
func LookupAuditLogSubscriptionOutput(ctx *Context, args *LookupAuditLogSubscriptionOutputArgs, opts ...InvokeOption) LookupAuditLogSubscriptionResultOutput> Note: This function is named LookupAuditLogSubscription in the Go SDK.
public static class GetAuditLogSubscription
{
public static Task<GetAuditLogSubscriptionResult> InvokeAsync(GetAuditLogSubscriptionArgs args, InvokeOptions? opts = null)
public static Output<GetAuditLogSubscriptionResult> Invoke(GetAuditLogSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAuditLogSubscriptionResult> getAuditLogSubscription(GetAuditLogSubscriptionArgs args, InvokeOptions options)
public static Output<GetAuditLogSubscriptionResult> getAuditLogSubscription(GetAuditLogSubscriptionArgs args, InvokeOptions options)
fn::invoke:
function: launchdarkly:index/getAuditLogSubscription:getAuditLogSubscription
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The unique subscription ID. This can be found in the URL of the pull-out configuration sidebar for the given subscription on your LaunchDarkly Integrations page.
- Integration
Key string - The integration key. As of February 2022, supported integrations are
"datadog","dynatrace","elastic","honeycomb","logdna","msteams","new-relic-apm","signalfx","slack", and"splunk". - Config Dictionary<string, object>
- A block of configuration fields associated with your integration type.
- Name string
- The subscription's human-readable name.
- On bool
- Whether the subscription is enabled.
- Statements
List<Lbrlabs.
Pulumi Package. Launchdarkly. Inputs. Get Audit Log Subscription Statement> - The statement block used to filter subscription events. To learn more, read Statement Blocks.
- List<string>
- Set of tags associated with the subscription.
- Id string
- The unique subscription ID. This can be found in the URL of the pull-out configuration sidebar for the given subscription on your LaunchDarkly Integrations page.
- Integration
Key string - The integration key. As of February 2022, supported integrations are
"datadog","dynatrace","elastic","honeycomb","logdna","msteams","new-relic-apm","signalfx","slack", and"splunk". - Config map[string]interface{}
- A block of configuration fields associated with your integration type.
- Name string
- The subscription's human-readable name.
- On bool
- Whether the subscription is enabled.
- Statements
[]Get
Audit Log Subscription Statement - The statement block used to filter subscription events. To learn more, read Statement Blocks.
- []string
- Set of tags associated with the subscription.
- id String
- The unique subscription ID. This can be found in the URL of the pull-out configuration sidebar for the given subscription on your LaunchDarkly Integrations page.
- integration
Key String - The integration key. As of February 2022, supported integrations are
"datadog","dynatrace","elastic","honeycomb","logdna","msteams","new-relic-apm","signalfx","slack", and"splunk". - config Map<String,Object>
- A block of configuration fields associated with your integration type.
- name String
- The subscription's human-readable name.
- on Boolean
- Whether the subscription is enabled.
- statements
List<Get
Audit Log Subscription Statement> - The statement block used to filter subscription events. To learn more, read Statement Blocks.
- List<String>
- Set of tags associated with the subscription.
- id string
- The unique subscription ID. This can be found in the URL of the pull-out configuration sidebar for the given subscription on your LaunchDarkly Integrations page.
- integration
Key string - The integration key. As of February 2022, supported integrations are
"datadog","dynatrace","elastic","honeycomb","logdna","msteams","new-relic-apm","signalfx","slack", and"splunk". - config {[key: string]: any}
- A block of configuration fields associated with your integration type.
- name string
- The subscription's human-readable name.
- on boolean
- Whether the subscription is enabled.
- statements
Get
Audit Log Subscription Statement[] - The statement block used to filter subscription events. To learn more, read Statement Blocks.
- string[]
- Set of tags associated with the subscription.
- id str
- The unique subscription ID. This can be found in the URL of the pull-out configuration sidebar for the given subscription on your LaunchDarkly Integrations page.
- integration_
key str - The integration key. As of February 2022, supported integrations are
"datadog","dynatrace","elastic","honeycomb","logdna","msteams","new-relic-apm","signalfx","slack", and"splunk". - config Mapping[str, Any]
- A block of configuration fields associated with your integration type.
- name str
- The subscription's human-readable name.
- on bool
- Whether the subscription is enabled.
- statements
Sequence[Get
Audit Log Subscription Statement] - The statement block used to filter subscription events. To learn more, read Statement Blocks.
- Sequence[str]
- Set of tags associated with the subscription.
- id String
- The unique subscription ID. This can be found in the URL of the pull-out configuration sidebar for the given subscription on your LaunchDarkly Integrations page.
- integration
Key String - The integration key. As of February 2022, supported integrations are
"datadog","dynatrace","elastic","honeycomb","logdna","msteams","new-relic-apm","signalfx","slack", and"splunk". - config Map<Any>
- A block of configuration fields associated with your integration type.
- name String
- The subscription's human-readable name.
- on Boolean
- Whether the subscription is enabled.
- statements List<Property Map>
- The statement block used to filter subscription events. To learn more, read Statement Blocks.
- List<String>
- Set of tags associated with the subscription.
getAuditLogSubscription Result
The following output properties are available:
- Id string
- Integration
Key string - Config Dictionary<string, object>
- A block of configuration fields associated with your integration type.
- Name string
- The subscription's human-readable name.
- On bool
- Whether the subscription is enabled.
- Statements
List<Lbrlabs.
Pulumi Package. Launchdarkly. Outputs. Get Audit Log Subscription Statement> - The statement block used to filter subscription events. To learn more, read Statement Blocks.
- List<string>
- Set of tags associated with the subscription.
- Id string
- Integration
Key string - Config map[string]interface{}
- A block of configuration fields associated with your integration type.
- Name string
- The subscription's human-readable name.
- On bool
- Whether the subscription is enabled.
- Statements
[]Get
Audit Log Subscription Statement - The statement block used to filter subscription events. To learn more, read Statement Blocks.
- []string
- Set of tags associated with the subscription.
- id String
- integration
Key String - config Map<String,Object>
- A block of configuration fields associated with your integration type.
- name String
- The subscription's human-readable name.
- on Boolean
- Whether the subscription is enabled.
- statements
List<Get
Audit Log Subscription Statement> - The statement block used to filter subscription events. To learn more, read Statement Blocks.
- List<String>
- Set of tags associated with the subscription.
- id string
- integration
Key string - config {[key: string]: any}
- A block of configuration fields associated with your integration type.
- name string
- The subscription's human-readable name.
- on boolean
- Whether the subscription is enabled.
- statements
Get
Audit Log Subscription Statement[] - The statement block used to filter subscription events. To learn more, read Statement Blocks.
- string[]
- Set of tags associated with the subscription.
- id str
- integration_
key str - config Mapping[str, Any]
- A block of configuration fields associated with your integration type.
- name str
- The subscription's human-readable name.
- on bool
- Whether the subscription is enabled.
- statements
Sequence[Get
Audit Log Subscription Statement] - The statement block used to filter subscription events. To learn more, read Statement Blocks.
- Sequence[str]
- Set of tags associated with the subscription.
- id String
- integration
Key String - config Map<Any>
- A block of configuration fields associated with your integration type.
- name String
- The subscription's human-readable name.
- on Boolean
- Whether the subscription is enabled.
- statements List<Property Map>
- The statement block used to filter subscription events. To learn more, read Statement Blocks.
- List<String>
- Set of tags associated with the subscription.
Supporting Types
GetAuditLogSubscriptionStatement
- 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. To learn more about how to configure these, read Using resources.
- Resources List<string>
- The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these read Using resources.
- 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. To learn more about how to configure these, read Using resources.
- Resources []string
- The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these read Using resources.
- 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. To learn more about how to configure these, read Using resources.
- resources List<String>
- The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these read Using resources.
- 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. To learn more about how to configure these, read Using resources.
- resources string[]
- The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these read Using resources.
- 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. To learn more about how to configure these, read Using resources.
- resources Sequence[str]
- The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these read Using resources.
- 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. To learn more about how to configure these, read Using resources.
- resources List<String>
- The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these read Using resources.
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
