launchdarkly.Destination
Explore with Pulumi AI
Provides a LaunchDarkly Data Export Destination resource.
Note: Data Export is available to customers on an Enterprise LaunchDarkly plan. To learn more, read about our pricing. To upgrade your plan, contact LaunchDarkly Sales.
Data Export Destinations are locations that receive exported data. This resource allows you to configure destinations for the export of raw analytics data, including feature flag requests, analytics events, custom events, and more.
To learn more about data export, read Data Export Documentation.
Example Usage
Currently the following five types of destinations are available: kinesis, google-pubsub, mparticle, azure-event-hubs, and segment. Please note that config fields will vary depending on which destination you are trying to configure / access.
using System.Collections.Generic;
using Pulumi;
using Launchdarkly = Lbrlabs.PulumiPackage.Launchdarkly;
return await Deployment.RunAsync(() =>
{
var example = new Launchdarkly.Destination("example", new()
{
ProjectKey = "example-project",
EnvKey = "example-env",
Kind = "kinesis",
Config =
{
{ "region", "us-east-1" },
{ "role_arn", "arn:aws:iam::123456789012:role/marketingadmin" },
{ "stream_name", "cat-stream" },
},
On = true,
Tags = new[]
{
"terraform",
},
});
});
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.NewDestination(ctx, "example", &launchdarkly.DestinationArgs{
ProjectKey: pulumi.String("example-project"),
EnvKey: pulumi.String("example-env"),
Kind: pulumi.String("kinesis"),
Config: pulumi.StringMap{
"region": pulumi.String("us-east-1"),
"role_arn": pulumi.String("arn:aws:iam::123456789012:role/marketingadmin"),
"stream_name": pulumi.String("cat-stream"),
},
On: pulumi.Bool(true),
Tags: pulumi.StringArray{
pulumi.String("terraform"),
},
})
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.Destination;
import com.pulumi.launchdarkly.DestinationArgs;
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 example = new Destination("example", DestinationArgs.builder()
.projectKey("example-project")
.envKey("example-env")
.kind("kinesis")
.config(Map.ofEntries(
Map.entry("region", "us-east-1"),
Map.entry("role_arn", "arn:aws:iam::123456789012:role/marketingadmin"),
Map.entry("stream_name", "cat-stream")
))
.on(true)
.tags("terraform")
.build());
}
}
import pulumi
import lbrlabs_pulumi_launchdarkly as launchdarkly
example = launchdarkly.Destination("example",
project_key="example-project",
env_key="example-env",
kind="kinesis",
config={
"region": "us-east-1",
"role_arn": "arn:aws:iam::123456789012:role/marketingadmin",
"stream_name": "cat-stream",
},
on=True,
tags=["terraform"])
import * as pulumi from "@pulumi/pulumi";
import * as launchdarkly from "@lbrlabs/pulumi-launchdarkly";
const example = new launchdarkly.Destination("example", {
projectKey: "example-project",
envKey: "example-env",
kind: "kinesis",
config: {
region: "us-east-1",
role_arn: "arn:aws:iam::123456789012:role/marketingadmin",
stream_name: "cat-stream",
},
on: true,
tags: ["terraform"],
});
resources:
example:
type: launchdarkly:Destination
properties:
projectKey: example-project
envKey: example-env
kind: kinesis
config:
region: us-east-1
role_arn: arn:aws:iam::123456789012:role/marketingadmin
stream_name: cat-stream
on: true
tags:
- terraform
using System.Collections.Generic;
using Pulumi;
using Launchdarkly = Lbrlabs.PulumiPackage.Launchdarkly;
return await Deployment.RunAsync(() =>
{
var example = new Launchdarkly.Destination("example", new()
{
ProjectKey = "example-project",
EnvKey = "example-env",
Kind = "google-pubsub",
Config =
{
{ "project", "example-pub-sub-project" },
{ "topic", "example-topic" },
},
On = true,
Tags = new[]
{
"terraform",
},
});
});
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.NewDestination(ctx, "example", &launchdarkly.DestinationArgs{
ProjectKey: pulumi.String("example-project"),
EnvKey: pulumi.String("example-env"),
Kind: pulumi.String("google-pubsub"),
Config: pulumi.StringMap{
"project": pulumi.String("example-pub-sub-project"),
"topic": pulumi.String("example-topic"),
},
On: pulumi.Bool(true),
Tags: pulumi.StringArray{
pulumi.String("terraform"),
},
})
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.Destination;
import com.pulumi.launchdarkly.DestinationArgs;
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 example = new Destination("example", DestinationArgs.builder()
.projectKey("example-project")
.envKey("example-env")
.kind("google-pubsub")
.config(Map.ofEntries(
Map.entry("project", "example-pub-sub-project"),
Map.entry("topic", "example-topic")
))
.on(true)
.tags("terraform")
.build());
}
}
import pulumi
import lbrlabs_pulumi_launchdarkly as launchdarkly
example = launchdarkly.Destination("example",
project_key="example-project",
env_key="example-env",
kind="google-pubsub",
config={
"project": "example-pub-sub-project",
"topic": "example-topic",
},
on=True,
tags=["terraform"])
import * as pulumi from "@pulumi/pulumi";
import * as launchdarkly from "@lbrlabs/pulumi-launchdarkly";
const example = new launchdarkly.Destination("example", {
projectKey: "example-project",
envKey: "example-env",
kind: "google-pubsub",
config: {
project: "example-pub-sub-project",
topic: "example-topic",
},
on: true,
tags: ["terraform"],
});
resources:
example:
type: launchdarkly:Destination
properties:
projectKey: example-project
envKey: example-env
kind: google-pubsub
config:
project: example-pub-sub-project
topic: example-topic
on: true
tags:
- terraform
using System.Collections.Generic;
using Pulumi;
using Launchdarkly = Lbrlabs.PulumiPackage.Launchdarkly;
return await Deployment.RunAsync(() =>
{
var example = new Launchdarkly.Destination("example", new()
{
ProjectKey = "example-project",
EnvKey = "example-env",
Kind = "mparticle",
Config =
{
{ "api_key", "apiKeyfromMParticle" },
{ "secret", "mParticleSecret" },
{ "user_identity", "customer_id" },
{ "environment", "production" },
},
On = true,
Tags = new[]
{
"terraform",
},
});
});
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.NewDestination(ctx, "example", &launchdarkly.DestinationArgs{
ProjectKey: pulumi.String("example-project"),
EnvKey: pulumi.String("example-env"),
Kind: pulumi.String("mparticle"),
Config: pulumi.StringMap{
"api_key": pulumi.String("apiKeyfromMParticle"),
"secret": pulumi.String("mParticleSecret"),
"user_identity": pulumi.String("customer_id"),
"environment": pulumi.String("production"),
},
On: pulumi.Bool(true),
Tags: pulumi.StringArray{
pulumi.String("terraform"),
},
})
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.Destination;
import com.pulumi.launchdarkly.DestinationArgs;
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 example = new Destination("example", DestinationArgs.builder()
.projectKey("example-project")
.envKey("example-env")
.kind("mparticle")
.config(Map.ofEntries(
Map.entry("api_key", "apiKeyfromMParticle"),
Map.entry("secret", "mParticleSecret"),
Map.entry("user_identity", "customer_id"),
Map.entry("environment", "production")
))
.on(true)
.tags("terraform")
.build());
}
}
import pulumi
import lbrlabs_pulumi_launchdarkly as launchdarkly
example = launchdarkly.Destination("example",
project_key="example-project",
env_key="example-env",
kind="mparticle",
config={
"api_key": "apiKeyfromMParticle",
"secret": "mParticleSecret",
"user_identity": "customer_id",
"environment": "production",
},
on=True,
tags=["terraform"])
import * as pulumi from "@pulumi/pulumi";
import * as launchdarkly from "@lbrlabs/pulumi-launchdarkly";
const example = new launchdarkly.Destination("example", {
projectKey: "example-project",
envKey: "example-env",
kind: "mparticle",
config: {
api_key: "apiKeyfromMParticle",
secret: "mParticleSecret",
user_identity: "customer_id",
environment: "production",
},
on: true,
tags: ["terraform"],
});
resources:
example:
type: launchdarkly:Destination
properties:
projectKey: example-project
envKey: example-env
kind: mparticle
config:
api_key: apiKeyfromMParticle
secret: mParticleSecret
user_identity: customer_id
environment: production
on: true
tags:
- terraform
using System.Collections.Generic;
using Pulumi;
using Launchdarkly = Lbrlabs.PulumiPackage.Launchdarkly;
return await Deployment.RunAsync(() =>
{
var example = new Launchdarkly.Destination("example", new()
{
Config =
{
{ "name", "example-azure-name" },
{ "namespace", "example-azure-namespace" },
{ "policy_key", "azure-event-hubs-policy-key" },
{ "policy_name", "example-policy-name" },
},
EnvKey = "example-env",
Kind = "azure-event-hubs",
On = true,
ProjectKey = "example-project",
Tags = new[]
{
"terraform",
},
});
});
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.NewDestination(ctx, "example", &launchdarkly.DestinationArgs{
Config: pulumi.StringMap{
"name": pulumi.String("example-azure-name"),
"namespace": pulumi.String("example-azure-namespace"),
"policy_key": pulumi.String("azure-event-hubs-policy-key"),
"policy_name": pulumi.String("example-policy-name"),
},
EnvKey: pulumi.String("example-env"),
Kind: pulumi.String("azure-event-hubs"),
On: pulumi.Bool(true),
ProjectKey: pulumi.String("example-project"),
Tags: pulumi.StringArray{
pulumi.String("terraform"),
},
})
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.Destination;
import com.pulumi.launchdarkly.DestinationArgs;
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 example = new Destination("example", DestinationArgs.builder()
.config(Map.ofEntries(
Map.entry("name", "example-azure-name"),
Map.entry("namespace", "example-azure-namespace"),
Map.entry("policy_key", "azure-event-hubs-policy-key"),
Map.entry("policy_name", "example-policy-name")
))
.envKey("example-env")
.kind("azure-event-hubs")
.on(true)
.projectKey("example-project")
.tags("terraform")
.build());
}
}
import pulumi
import lbrlabs_pulumi_launchdarkly as launchdarkly
example = launchdarkly.Destination("example",
config={
"name": "example-azure-name",
"namespace": "example-azure-namespace",
"policy_key": "azure-event-hubs-policy-key",
"policy_name": "example-policy-name",
},
env_key="example-env",
kind="azure-event-hubs",
on=True,
project_key="example-project",
tags=["terraform"])
import * as pulumi from "@pulumi/pulumi";
import * as launchdarkly from "@lbrlabs/pulumi-launchdarkly";
const example = new launchdarkly.Destination("example", {
config: {
name: "example-azure-name",
namespace: "example-azure-namespace",
policy_key: "azure-event-hubs-policy-key",
policy_name: "example-policy-name",
},
envKey: "example-env",
kind: "azure-event-hubs",
on: true,
projectKey: "example-project",
tags: ["terraform"],
});
resources:
example:
type: launchdarkly:Destination
properties:
config:
name: example-azure-name
namespace: example-azure-namespace
policy_key: azure-event-hubs-policy-key
policy_name: example-policy-name
envKey: example-env
kind: azure-event-hubs
on: true
projectKey: example-project
tags:
- terraform
using System.Collections.Generic;
using Pulumi;
using Launchdarkly = Lbrlabs.PulumiPackage.Launchdarkly;
return await Deployment.RunAsync(() =>
{
var example = new Launchdarkly.Destination("example", new()
{
ProjectKey = "example-project",
EnvKey = "example-env",
Kind = "segment",
Config =
{
{ "write_key", "segment-write-key" },
},
On = true,
Tags = new[]
{
"terraform",
},
});
});
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.NewDestination(ctx, "example", &launchdarkly.DestinationArgs{
ProjectKey: pulumi.String("example-project"),
EnvKey: pulumi.String("example-env"),
Kind: pulumi.String("segment"),
Config: pulumi.StringMap{
"write_key": pulumi.String("segment-write-key"),
},
On: pulumi.Bool(true),
Tags: pulumi.StringArray{
pulumi.String("terraform"),
},
})
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.Destination;
import com.pulumi.launchdarkly.DestinationArgs;
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 example = new Destination("example", DestinationArgs.builder()
.projectKey("example-project")
.envKey("example-env")
.kind("segment")
.config(Map.of("write_key", "segment-write-key"))
.on(true)
.tags("terraform")
.build());
}
}
import pulumi
import lbrlabs_pulumi_launchdarkly as launchdarkly
example = launchdarkly.Destination("example",
project_key="example-project",
env_key="example-env",
kind="segment",
config={
"write_key": "segment-write-key",
},
on=True,
tags=["terraform"])
import * as pulumi from "@pulumi/pulumi";
import * as launchdarkly from "@lbrlabs/pulumi-launchdarkly";
const example = new launchdarkly.Destination("example", {
projectKey: "example-project",
envKey: "example-env",
kind: "segment",
config: {
write_key: "segment-write-key",
},
on: true,
tags: ["terraform"],
});
resources:
example:
type: launchdarkly:Destination
properties:
projectKey: example-project
envKey: example-env
kind: segment
config:
write_key: segment-write-key
on: true
tags:
- terraform
Create Destination Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Destination(name: string, args: DestinationArgs, opts?: CustomResourceOptions);
@overload
def Destination(resource_name: str,
args: DestinationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Destination(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[Mapping[str, str]] = None,
env_key: Optional[str] = None,
kind: Optional[str] = None,
project_key: Optional[str] = None,
name: Optional[str] = None,
on: Optional[bool] = None,
tags: Optional[Sequence[str]] = None)
func NewDestination(ctx *Context, name string, args DestinationArgs, opts ...ResourceOption) (*Destination, error)
public Destination(string name, DestinationArgs args, CustomResourceOptions? opts = null)
public Destination(String name, DestinationArgs args)
public Destination(String name, DestinationArgs args, CustomResourceOptions options)
type: launchdarkly:Destination
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 DestinationArgs
- 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 DestinationArgs
- 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 DestinationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DestinationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DestinationArgs
- 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 destinationResource = new Launchdarkly.Destination("destinationResource", new()
{
Config =
{
{ "string", "string" },
},
EnvKey = "string",
Kind = "string",
ProjectKey = "string",
Name = "string",
On = false,
Tags = new[]
{
"string",
},
});
example, err := launchdarkly.NewDestination(ctx, "destinationResource", &launchdarkly.DestinationArgs{
Config: pulumi.StringMap{
"string": pulumi.String("string"),
},
EnvKey: pulumi.String("string"),
Kind: pulumi.String("string"),
ProjectKey: pulumi.String("string"),
Name: pulumi.String("string"),
On: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var destinationResource = new Destination("destinationResource", DestinationArgs.builder()
.config(Map.of("string", "string"))
.envKey("string")
.kind("string")
.projectKey("string")
.name("string")
.on(false)
.tags("string")
.build());
destination_resource = launchdarkly.Destination("destinationResource",
config={
"string": "string",
},
env_key="string",
kind="string",
project_key="string",
name="string",
on=False,
tags=["string"])
const destinationResource = new launchdarkly.Destination("destinationResource", {
config: {
string: "string",
},
envKey: "string",
kind: "string",
projectKey: "string",
name: "string",
on: false,
tags: ["string"],
});
type: launchdarkly:Destination
properties:
config:
string: string
envKey: string
kind: string
name: string
"on": false
projectKey: string
tags:
- string
Destination 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 Destination resource accepts the following input properties:
- Config Dictionary<string, string>
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- Env
Key string - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Kind string
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- Project
Key string - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Name string
- On bool
- Whether the data export destination is on or not.
- List<string>
- Tags associated with your resource
- Config map[string]string
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- Env
Key string - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Kind string
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- Project
Key string - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Name string
- On bool
- Whether the data export destination is on or not.
- []string
- Tags associated with your resource
- config Map<String,String>
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- env
Key String - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- kind String
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- project
Key String - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- name String
- on Boolean
- Whether the data export destination is on or not.
- List<String>
- Tags associated with your resource
- config {[key: string]: string}
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- env
Key string - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- kind string
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- project
Key string - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- name string
- on boolean
- Whether the data export destination is on or not.
- string[]
- Tags associated with your resource
- config Mapping[str, str]
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- env_
key str - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- kind str
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- project_
key str - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- name str
- on bool
- Whether the data export destination is on or not.
- Sequence[str]
- Tags associated with your resource
- config Map<String>
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- env
Key String - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- kind String
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- project
Key String - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- name String
- on Boolean
- Whether the data export destination is on or not.
- List<String>
- Tags associated with your resource
Outputs
All input properties are implicitly available as output properties. Additionally, the Destination 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 Destination Resource
Get an existing Destination 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?: DestinationState, opts?: CustomResourceOptions): Destination
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config: Optional[Mapping[str, str]] = None,
env_key: Optional[str] = None,
kind: Optional[str] = None,
name: Optional[str] = None,
on: Optional[bool] = None,
project_key: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> Destination
func GetDestination(ctx *Context, name string, id IDInput, state *DestinationState, opts ...ResourceOption) (*Destination, error)
public static Destination Get(string name, Input<string> id, DestinationState? state, CustomResourceOptions? opts = null)
public static Destination get(String name, Output<String> id, DestinationState 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.
- Config Dictionary<string, string>
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- Env
Key string - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Kind string
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- Name string
- On bool
- Whether the data export destination is on or not.
- Project
Key string - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- List<string>
- Tags associated with your resource
- Config map[string]string
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- Env
Key string - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Kind string
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- Name string
- On bool
- Whether the data export destination is on or not.
- Project
Key string - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- []string
- Tags associated with your resource
- config Map<String,String>
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- env
Key String - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- kind String
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- name String
- on Boolean
- Whether the data export destination is on or not.
- project
Key String - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- List<String>
- Tags associated with your resource
- config {[key: string]: string}
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- env
Key string - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- kind string
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- name string
- on boolean
- Whether the data export destination is on or not.
- project
Key string - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- string[]
- Tags associated with your resource
- config Mapping[str, str]
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- env_
key str - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- kind str
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- name str
- on bool
- Whether the data export destination is on or not.
- project_
key str - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- Sequence[str]
- Tags associated with your resource
- config Map<String>
- The destination-specific configuration. To learn more, read Destination-Specific Configs.
- env
Key String - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- kind String
- The data export destination type. Available choices are
kinesis
,google-pubsub
,mparticle
,azure-event-hubs
, andsegment
. A change in this field will force the destruction of the existing resource and the creation of a new one.
- The data export destination type. Available choices are
- name String
- on Boolean
- Whether the data export destination is on or not.
- project
Key String - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
- List<String>
- Tags associated with your resource
Import
You can import a data export destination using the destination’s full ID in the format project_key/environment_key/id
. For example
$ pulumi import launchdarkly:index/destination:Destination example example-project/example-env/57c0af609969090743529967
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- launchdarkly lbrlabs/pulumi-launchdarkly
- License
- Notes
- This Pulumi package is based on the
launchdarkly
Terraform Provider.