launchdarkly

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing launch darkly cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type AccessToken

type AccessToken struct {
	pulumi.CustomResourceState

	// A list of custom role IDs to use as access limits for the access token
	CustomRoles pulumi.StringArrayOutput `pulumi:"customRoles"`
	// The default API version for this token. Defaults to the latest API version. A change in this field will force the destruction of the existing token in state and the creation of a new one.
	DefaultApiVersion pulumi.IntOutput `pulumi:"defaultApiVersion"`
	// An expiration time for the current token secret, expressed as a Unix epoch time. Replace the computed token secret with a new value. The expired secret will no longer be able to authorize usage of the LaunchDarkly API. This field argument is **deprecated**. Please update your config to remove `expire` to maintain compatibility with future versions.
	//
	// Deprecated: 'expire' is deprecated and will be removed in the next major release of the LaunchDarkly provider
	Expire pulumi.IntPtrOutput `pulumi:"expire"`
	// An array of statements represented as config blocks with 3 attributes: effect, resources, actions. May be used in place
	// of a built-in or custom role.
	InlineRoles AccessTokenInlineRoleArrayOutput `pulumi:"inlineRoles"`
	// A human-friendly name for the access token.
	Name pulumi.StringOutput `pulumi:"name"`
	// Define inline custom roles. An array of statements represented as config blocks with three attributes: effect, resources, actions. May be used in place of a built-in or custom role. May be specified more than once. This field argument is **deprecated**. Update your config to use `inlineRole` to maintain compatibility with future versions.
	//
	// Deprecated: 'policy_statements' is deprecated in favor of 'inline_roles'. This field will be removed in the next major release of the LaunchDarkly provider
	PolicyStatements AccessTokenPolicyStatementArrayOutput `pulumi:"policyStatements"`
	// A built-in LaunchDarkly role. Can be `reader`, `writer`, or `admin`
	Role pulumi.StringPtrOutput `pulumi:"role"`
	// Whether the token will be a [service token](https://docs.launchdarkly.com/home/account-security/api-access-tokens#service-tokens). A change in this field will force the destruction of the existing token and the creation of a new one.
	ServiceToken pulumi.BoolPtrOutput `pulumi:"serviceToken"`
	// The access token used to authorize usage of the LaunchDarkly API.
	Token pulumi.StringOutput `pulumi:"token"`
}

## Example Usage

The resource must contain either a `role`, `customRole` or an `inlineRoles` (previously `policyStatements`) block. As of v1.7.0, `policyStatements` has been deprecated in favor of `inlineRoles`.

With a built-in role

```go 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.NewAccessToken(ctx, "readerToken", &launchdarkly.AccessTokenArgs{
			Role: pulumi.String("reader"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With a custom role

```go 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.NewAccessToken(ctx, "customRoleToken", &launchdarkly.AccessTokenArgs{
			CustomRoles: pulumi.StringArray{
				pulumi.String("ops"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With an inline custom role (policy statements)

```go 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.NewAccessToken(ctx, "tokenWithPolicyStatements", &launchdarkly.AccessTokenArgs{
			InlineRoles: launchdarkly.AccessTokenInlineRoleArray{
				&launchdarkly.AccessTokenInlineRoleArgs{
					Actions: pulumi.StringArray{
						pulumi.String("*"),
					},
					Effect: pulumi.String("deny"),
					Resources: pulumi.StringArray{
						pulumi.String("proj/*:env/production"),
					},
				},
			},
			ServiceToken: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetAccessToken

func GetAccessToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccessTokenState, opts ...pulumi.ResourceOption) (*AccessToken, error)

GetAccessToken gets an existing AccessToken resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccessToken

func NewAccessToken(ctx *pulumi.Context,
	name string, args *AccessTokenArgs, opts ...pulumi.ResourceOption) (*AccessToken, error)

NewAccessToken registers a new resource with the given unique name, arguments, and options.

func (*AccessToken) ElementType

func (*AccessToken) ElementType() reflect.Type

func (*AccessToken) ToAccessTokenOutput

func (i *AccessToken) ToAccessTokenOutput() AccessTokenOutput

func (*AccessToken) ToAccessTokenOutputWithContext

func (i *AccessToken) ToAccessTokenOutputWithContext(ctx context.Context) AccessTokenOutput

type AccessTokenArgs

type AccessTokenArgs struct {
	// A list of custom role IDs to use as access limits for the access token
	CustomRoles pulumi.StringArrayInput
	// The default API version for this token. Defaults to the latest API version. A change in this field will force the destruction of the existing token in state and the creation of a new one.
	DefaultApiVersion pulumi.IntPtrInput
	// An expiration time for the current token secret, expressed as a Unix epoch time. Replace the computed token secret with a new value. The expired secret will no longer be able to authorize usage of the LaunchDarkly API. This field argument is **deprecated**. Please update your config to remove `expire` to maintain compatibility with future versions.
	//
	// Deprecated: 'expire' is deprecated and will be removed in the next major release of the LaunchDarkly provider
	Expire pulumi.IntPtrInput
	// An array of statements represented as config blocks with 3 attributes: effect, resources, actions. May be used in place
	// of a built-in or custom role.
	InlineRoles AccessTokenInlineRoleArrayInput
	// A human-friendly name for the access token.
	Name pulumi.StringPtrInput
	// Define inline custom roles. An array of statements represented as config blocks with three attributes: effect, resources, actions. May be used in place of a built-in or custom role. May be specified more than once. This field argument is **deprecated**. Update your config to use `inlineRole` to maintain compatibility with future versions.
	//
	// Deprecated: 'policy_statements' is deprecated in favor of 'inline_roles'. This field will be removed in the next major release of the LaunchDarkly provider
	PolicyStatements AccessTokenPolicyStatementArrayInput
	// A built-in LaunchDarkly role. Can be `reader`, `writer`, or `admin`
	Role pulumi.StringPtrInput
	// Whether the token will be a [service token](https://docs.launchdarkly.com/home/account-security/api-access-tokens#service-tokens). A change in this field will force the destruction of the existing token and the creation of a new one.
	ServiceToken pulumi.BoolPtrInput
}

The set of arguments for constructing a AccessToken resource.

func (AccessTokenArgs) ElementType

func (AccessTokenArgs) ElementType() reflect.Type

type AccessTokenArray

type AccessTokenArray []AccessTokenInput

func (AccessTokenArray) ElementType

func (AccessTokenArray) ElementType() reflect.Type

func (AccessTokenArray) ToAccessTokenArrayOutput

func (i AccessTokenArray) ToAccessTokenArrayOutput() AccessTokenArrayOutput

func (AccessTokenArray) ToAccessTokenArrayOutputWithContext

func (i AccessTokenArray) ToAccessTokenArrayOutputWithContext(ctx context.Context) AccessTokenArrayOutput

type AccessTokenArrayInput

type AccessTokenArrayInput interface {
	pulumi.Input

	ToAccessTokenArrayOutput() AccessTokenArrayOutput
	ToAccessTokenArrayOutputWithContext(context.Context) AccessTokenArrayOutput
}

AccessTokenArrayInput is an input type that accepts AccessTokenArray and AccessTokenArrayOutput values. You can construct a concrete instance of `AccessTokenArrayInput` via:

AccessTokenArray{ AccessTokenArgs{...} }

type AccessTokenArrayOutput

type AccessTokenArrayOutput struct{ *pulumi.OutputState }

func (AccessTokenArrayOutput) ElementType

func (AccessTokenArrayOutput) ElementType() reflect.Type

func (AccessTokenArrayOutput) Index

func (AccessTokenArrayOutput) ToAccessTokenArrayOutput

func (o AccessTokenArrayOutput) ToAccessTokenArrayOutput() AccessTokenArrayOutput

func (AccessTokenArrayOutput) ToAccessTokenArrayOutputWithContext

func (o AccessTokenArrayOutput) ToAccessTokenArrayOutputWithContext(ctx context.Context) AccessTokenArrayOutput

type AccessTokenInlineRole

type AccessTokenInlineRole struct {
	// The list of action specifiers defining the actions to which the statement applies.
	Actions []string `pulumi:"actions"`
	// - Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect string `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the statement does not apply.
	NotActions []string `pulumi:"notActions"`
	// - The list of resource specifiers defining the resources to which the statement does not apply.
	NotResources []string `pulumi:"notResources"`
	// - The list of resource specifiers defining the resources to which the statement applies.
	Resources []string `pulumi:"resources"`
}

type AccessTokenInlineRoleArgs

type AccessTokenInlineRoleArgs struct {
	// The list of action specifiers defining the actions to which the statement applies.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// - Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect pulumi.StringInput `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the statement does not apply.
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// - The list of resource specifiers defining the resources to which the statement does not apply.
	NotResources pulumi.StringArrayInput `pulumi:"notResources"`
	// - The list of resource specifiers defining the resources to which the statement applies.
	Resources pulumi.StringArrayInput `pulumi:"resources"`
}

func (AccessTokenInlineRoleArgs) ElementType

func (AccessTokenInlineRoleArgs) ElementType() reflect.Type

func (AccessTokenInlineRoleArgs) ToAccessTokenInlineRoleOutput

func (i AccessTokenInlineRoleArgs) ToAccessTokenInlineRoleOutput() AccessTokenInlineRoleOutput

func (AccessTokenInlineRoleArgs) ToAccessTokenInlineRoleOutputWithContext

func (i AccessTokenInlineRoleArgs) ToAccessTokenInlineRoleOutputWithContext(ctx context.Context) AccessTokenInlineRoleOutput

type AccessTokenInlineRoleArray

type AccessTokenInlineRoleArray []AccessTokenInlineRoleInput

func (AccessTokenInlineRoleArray) ElementType

func (AccessTokenInlineRoleArray) ElementType() reflect.Type

func (AccessTokenInlineRoleArray) ToAccessTokenInlineRoleArrayOutput

func (i AccessTokenInlineRoleArray) ToAccessTokenInlineRoleArrayOutput() AccessTokenInlineRoleArrayOutput

func (AccessTokenInlineRoleArray) ToAccessTokenInlineRoleArrayOutputWithContext

func (i AccessTokenInlineRoleArray) ToAccessTokenInlineRoleArrayOutputWithContext(ctx context.Context) AccessTokenInlineRoleArrayOutput

type AccessTokenInlineRoleArrayInput

type AccessTokenInlineRoleArrayInput interface {
	pulumi.Input

	ToAccessTokenInlineRoleArrayOutput() AccessTokenInlineRoleArrayOutput
	ToAccessTokenInlineRoleArrayOutputWithContext(context.Context) AccessTokenInlineRoleArrayOutput
}

AccessTokenInlineRoleArrayInput is an input type that accepts AccessTokenInlineRoleArray and AccessTokenInlineRoleArrayOutput values. You can construct a concrete instance of `AccessTokenInlineRoleArrayInput` via:

AccessTokenInlineRoleArray{ AccessTokenInlineRoleArgs{...} }

type AccessTokenInlineRoleArrayOutput

type AccessTokenInlineRoleArrayOutput struct{ *pulumi.OutputState }

func (AccessTokenInlineRoleArrayOutput) ElementType

func (AccessTokenInlineRoleArrayOutput) Index

func (AccessTokenInlineRoleArrayOutput) ToAccessTokenInlineRoleArrayOutput

func (o AccessTokenInlineRoleArrayOutput) ToAccessTokenInlineRoleArrayOutput() AccessTokenInlineRoleArrayOutput

func (AccessTokenInlineRoleArrayOutput) ToAccessTokenInlineRoleArrayOutputWithContext

func (o AccessTokenInlineRoleArrayOutput) ToAccessTokenInlineRoleArrayOutputWithContext(ctx context.Context) AccessTokenInlineRoleArrayOutput

type AccessTokenInlineRoleInput

type AccessTokenInlineRoleInput interface {
	pulumi.Input

	ToAccessTokenInlineRoleOutput() AccessTokenInlineRoleOutput
	ToAccessTokenInlineRoleOutputWithContext(context.Context) AccessTokenInlineRoleOutput
}

AccessTokenInlineRoleInput is an input type that accepts AccessTokenInlineRoleArgs and AccessTokenInlineRoleOutput values. You can construct a concrete instance of `AccessTokenInlineRoleInput` via:

AccessTokenInlineRoleArgs{...}

type AccessTokenInlineRoleOutput

type AccessTokenInlineRoleOutput struct{ *pulumi.OutputState }

func (AccessTokenInlineRoleOutput) Actions

The list of action specifiers defining the actions to which the statement applies.

func (AccessTokenInlineRoleOutput) Effect

- Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.

func (AccessTokenInlineRoleOutput) ElementType

func (AccessTokenInlineRoleOutput) NotActions

The list of action specifiers defining the actions to which the statement does not apply.

func (AccessTokenInlineRoleOutput) NotResources

- The list of resource specifiers defining the resources to which the statement does not apply.

func (AccessTokenInlineRoleOutput) Resources

- The list of resource specifiers defining the resources to which the statement applies.

func (AccessTokenInlineRoleOutput) ToAccessTokenInlineRoleOutput

func (o AccessTokenInlineRoleOutput) ToAccessTokenInlineRoleOutput() AccessTokenInlineRoleOutput

func (AccessTokenInlineRoleOutput) ToAccessTokenInlineRoleOutputWithContext

func (o AccessTokenInlineRoleOutput) ToAccessTokenInlineRoleOutputWithContext(ctx context.Context) AccessTokenInlineRoleOutput

type AccessTokenInput

type AccessTokenInput interface {
	pulumi.Input

	ToAccessTokenOutput() AccessTokenOutput
	ToAccessTokenOutputWithContext(ctx context.Context) AccessTokenOutput
}

type AccessTokenMap

type AccessTokenMap map[string]AccessTokenInput

func (AccessTokenMap) ElementType

func (AccessTokenMap) ElementType() reflect.Type

func (AccessTokenMap) ToAccessTokenMapOutput

func (i AccessTokenMap) ToAccessTokenMapOutput() AccessTokenMapOutput

func (AccessTokenMap) ToAccessTokenMapOutputWithContext

func (i AccessTokenMap) ToAccessTokenMapOutputWithContext(ctx context.Context) AccessTokenMapOutput

type AccessTokenMapInput

type AccessTokenMapInput interface {
	pulumi.Input

	ToAccessTokenMapOutput() AccessTokenMapOutput
	ToAccessTokenMapOutputWithContext(context.Context) AccessTokenMapOutput
}

AccessTokenMapInput is an input type that accepts AccessTokenMap and AccessTokenMapOutput values. You can construct a concrete instance of `AccessTokenMapInput` via:

AccessTokenMap{ "key": AccessTokenArgs{...} }

type AccessTokenMapOutput

type AccessTokenMapOutput struct{ *pulumi.OutputState }

func (AccessTokenMapOutput) ElementType

func (AccessTokenMapOutput) ElementType() reflect.Type

func (AccessTokenMapOutput) MapIndex

func (AccessTokenMapOutput) ToAccessTokenMapOutput

func (o AccessTokenMapOutput) ToAccessTokenMapOutput() AccessTokenMapOutput

func (AccessTokenMapOutput) ToAccessTokenMapOutputWithContext

func (o AccessTokenMapOutput) ToAccessTokenMapOutputWithContext(ctx context.Context) AccessTokenMapOutput

type AccessTokenOutput

type AccessTokenOutput struct{ *pulumi.OutputState }

func (AccessTokenOutput) CustomRoles

func (o AccessTokenOutput) CustomRoles() pulumi.StringArrayOutput

A list of custom role IDs to use as access limits for the access token

func (AccessTokenOutput) DefaultApiVersion

func (o AccessTokenOutput) DefaultApiVersion() pulumi.IntOutput

The default API version for this token. Defaults to the latest API version. A change in this field will force the destruction of the existing token in state and the creation of a new one.

func (AccessTokenOutput) ElementType

func (AccessTokenOutput) ElementType() reflect.Type

func (AccessTokenOutput) Expire deprecated

An expiration time for the current token secret, expressed as a Unix epoch time. Replace the computed token secret with a new value. The expired secret will no longer be able to authorize usage of the LaunchDarkly API. This field argument is **deprecated**. Please update your config to remove `expire` to maintain compatibility with future versions.

Deprecated: 'expire' is deprecated and will be removed in the next major release of the LaunchDarkly provider

func (AccessTokenOutput) InlineRoles

An array of statements represented as config blocks with 3 attributes: effect, resources, actions. May be used in place of a built-in or custom role.

func (AccessTokenOutput) Name

A human-friendly name for the access token.

func (AccessTokenOutput) PolicyStatements deprecated

Define inline custom roles. An array of statements represented as config blocks with three attributes: effect, resources, actions. May be used in place of a built-in or custom role. May be specified more than once. This field argument is **deprecated**. Update your config to use `inlineRole` to maintain compatibility with future versions.

Deprecated: 'policy_statements' is deprecated in favor of 'inline_roles'. This field will be removed in the next major release of the LaunchDarkly provider

func (AccessTokenOutput) Role

A built-in LaunchDarkly role. Can be `reader`, `writer`, or `admin`

func (AccessTokenOutput) ServiceToken

func (o AccessTokenOutput) ServiceToken() pulumi.BoolPtrOutput

Whether the token will be a [service token](https://docs.launchdarkly.com/home/account-security/api-access-tokens#service-tokens). A change in this field will force the destruction of the existing token and the creation of a new one.

func (AccessTokenOutput) ToAccessTokenOutput

func (o AccessTokenOutput) ToAccessTokenOutput() AccessTokenOutput

func (AccessTokenOutput) ToAccessTokenOutputWithContext

func (o AccessTokenOutput) ToAccessTokenOutputWithContext(ctx context.Context) AccessTokenOutput

func (AccessTokenOutput) Token

The access token used to authorize usage of the LaunchDarkly API.

type AccessTokenPolicyStatement

type AccessTokenPolicyStatement struct {
	// The list of action specifiers defining the actions to which the statement applies.
	Actions []string `pulumi:"actions"`
	// - Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect string `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the statement does not apply.
	NotActions []string `pulumi:"notActions"`
	// - The list of resource specifiers defining the resources to which the statement does not apply.
	NotResources []string `pulumi:"notResources"`
	// - The list of resource specifiers defining the resources to which the statement applies.
	Resources []string `pulumi:"resources"`
}

type AccessTokenPolicyStatementArgs

type AccessTokenPolicyStatementArgs struct {
	// The list of action specifiers defining the actions to which the statement applies.
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// - Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect pulumi.StringInput `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the statement does not apply.
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// - The list of resource specifiers defining the resources to which the statement does not apply.
	NotResources pulumi.StringArrayInput `pulumi:"notResources"`
	// - The list of resource specifiers defining the resources to which the statement applies.
	Resources pulumi.StringArrayInput `pulumi:"resources"`
}

func (AccessTokenPolicyStatementArgs) ElementType

func (AccessTokenPolicyStatementArgs) ToAccessTokenPolicyStatementOutput

func (i AccessTokenPolicyStatementArgs) ToAccessTokenPolicyStatementOutput() AccessTokenPolicyStatementOutput

func (AccessTokenPolicyStatementArgs) ToAccessTokenPolicyStatementOutputWithContext

func (i AccessTokenPolicyStatementArgs) ToAccessTokenPolicyStatementOutputWithContext(ctx context.Context) AccessTokenPolicyStatementOutput

type AccessTokenPolicyStatementArray

type AccessTokenPolicyStatementArray []AccessTokenPolicyStatementInput

func (AccessTokenPolicyStatementArray) ElementType

func (AccessTokenPolicyStatementArray) ToAccessTokenPolicyStatementArrayOutput

func (i AccessTokenPolicyStatementArray) ToAccessTokenPolicyStatementArrayOutput() AccessTokenPolicyStatementArrayOutput

func (AccessTokenPolicyStatementArray) ToAccessTokenPolicyStatementArrayOutputWithContext

func (i AccessTokenPolicyStatementArray) ToAccessTokenPolicyStatementArrayOutputWithContext(ctx context.Context) AccessTokenPolicyStatementArrayOutput

type AccessTokenPolicyStatementArrayInput

type AccessTokenPolicyStatementArrayInput interface {
	pulumi.Input

	ToAccessTokenPolicyStatementArrayOutput() AccessTokenPolicyStatementArrayOutput
	ToAccessTokenPolicyStatementArrayOutputWithContext(context.Context) AccessTokenPolicyStatementArrayOutput
}

AccessTokenPolicyStatementArrayInput is an input type that accepts AccessTokenPolicyStatementArray and AccessTokenPolicyStatementArrayOutput values. You can construct a concrete instance of `AccessTokenPolicyStatementArrayInput` via:

AccessTokenPolicyStatementArray{ AccessTokenPolicyStatementArgs{...} }

type AccessTokenPolicyStatementArrayOutput

type AccessTokenPolicyStatementArrayOutput struct{ *pulumi.OutputState }

func (AccessTokenPolicyStatementArrayOutput) ElementType

func (AccessTokenPolicyStatementArrayOutput) Index

func (AccessTokenPolicyStatementArrayOutput) ToAccessTokenPolicyStatementArrayOutput

func (o AccessTokenPolicyStatementArrayOutput) ToAccessTokenPolicyStatementArrayOutput() AccessTokenPolicyStatementArrayOutput

func (AccessTokenPolicyStatementArrayOutput) ToAccessTokenPolicyStatementArrayOutputWithContext

func (o AccessTokenPolicyStatementArrayOutput) ToAccessTokenPolicyStatementArrayOutputWithContext(ctx context.Context) AccessTokenPolicyStatementArrayOutput

type AccessTokenPolicyStatementInput

type AccessTokenPolicyStatementInput interface {
	pulumi.Input

	ToAccessTokenPolicyStatementOutput() AccessTokenPolicyStatementOutput
	ToAccessTokenPolicyStatementOutputWithContext(context.Context) AccessTokenPolicyStatementOutput
}

AccessTokenPolicyStatementInput is an input type that accepts AccessTokenPolicyStatementArgs and AccessTokenPolicyStatementOutput values. You can construct a concrete instance of `AccessTokenPolicyStatementInput` via:

AccessTokenPolicyStatementArgs{...}

type AccessTokenPolicyStatementOutput

type AccessTokenPolicyStatementOutput struct{ *pulumi.OutputState }

func (AccessTokenPolicyStatementOutput) Actions

The list of action specifiers defining the actions to which the statement applies.

func (AccessTokenPolicyStatementOutput) Effect

- Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.

func (AccessTokenPolicyStatementOutput) ElementType

func (AccessTokenPolicyStatementOutput) NotActions

The list of action specifiers defining the actions to which the statement does not apply.

func (AccessTokenPolicyStatementOutput) NotResources

- The list of resource specifiers defining the resources to which the statement does not apply.

func (AccessTokenPolicyStatementOutput) Resources

- The list of resource specifiers defining the resources to which the statement applies.

func (AccessTokenPolicyStatementOutput) ToAccessTokenPolicyStatementOutput

func (o AccessTokenPolicyStatementOutput) ToAccessTokenPolicyStatementOutput() AccessTokenPolicyStatementOutput

func (AccessTokenPolicyStatementOutput) ToAccessTokenPolicyStatementOutputWithContext

func (o AccessTokenPolicyStatementOutput) ToAccessTokenPolicyStatementOutputWithContext(ctx context.Context) AccessTokenPolicyStatementOutput

type AccessTokenState

type AccessTokenState struct {
	// A list of custom role IDs to use as access limits for the access token
	CustomRoles pulumi.StringArrayInput
	// The default API version for this token. Defaults to the latest API version. A change in this field will force the destruction of the existing token in state and the creation of a new one.
	DefaultApiVersion pulumi.IntPtrInput
	// An expiration time for the current token secret, expressed as a Unix epoch time. Replace the computed token secret with a new value. The expired secret will no longer be able to authorize usage of the LaunchDarkly API. This field argument is **deprecated**. Please update your config to remove `expire` to maintain compatibility with future versions.
	//
	// Deprecated: 'expire' is deprecated and will be removed in the next major release of the LaunchDarkly provider
	Expire pulumi.IntPtrInput
	// An array of statements represented as config blocks with 3 attributes: effect, resources, actions. May be used in place
	// of a built-in or custom role.
	InlineRoles AccessTokenInlineRoleArrayInput
	// A human-friendly name for the access token.
	Name pulumi.StringPtrInput
	// Define inline custom roles. An array of statements represented as config blocks with three attributes: effect, resources, actions. May be used in place of a built-in or custom role. May be specified more than once. This field argument is **deprecated**. Update your config to use `inlineRole` to maintain compatibility with future versions.
	//
	// Deprecated: 'policy_statements' is deprecated in favor of 'inline_roles'. This field will be removed in the next major release of the LaunchDarkly provider
	PolicyStatements AccessTokenPolicyStatementArrayInput
	// A built-in LaunchDarkly role. Can be `reader`, `writer`, or `admin`
	Role pulumi.StringPtrInput
	// Whether the token will be a [service token](https://docs.launchdarkly.com/home/account-security/api-access-tokens#service-tokens). A change in this field will force the destruction of the existing token and the creation of a new one.
	ServiceToken pulumi.BoolPtrInput
	// The access token used to authorize usage of the LaunchDarkly API.
	Token pulumi.StringPtrInput
}

func (AccessTokenState) ElementType

func (AccessTokenState) ElementType() reflect.Type

type AuditLogSubscription

type AuditLogSubscription struct {
	pulumi.CustomResourceState

	Config pulumi.MapOutput `pulumi:"config"`
	// The integration key. As of January 2022, supported integrations are `"datadog"`, `"dynatrace"`, `"elastic"`, `"honeycomb"`, `"logdna"`, `"msteams"`, `"new-relic-apm"`, `"signalfx"`, `"slack"`, and `"splunk"`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	IntegrationKey pulumi.StringOutput `pulumi:"integrationKey"`
	// A human-friendly name for your audit log subscription viewable from within the LaunchDarkly Integrations page.
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether or not you want your subscription enabled, i.e. to actively send events.
	On pulumi.BoolOutput `pulumi:"on"`
	// A block representing the resources to which you wish to subscribe. To learn more about how to configure these blocks, read Nested Subscription Statements Blocks.
	Statements AuditLogSubscriptionStatementArrayOutput `pulumi:"statements"`
	// Set of tags associated with the subscription object.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

Provides a LaunchDarkly audit log subscription resource.

This resource allows you to create and manage LaunchDarkly audit log subscriptions.

```go 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.NewAuditLogSubscription(ctx, "example", &launchdarkly.AuditLogSubscriptionArgs{
			Config: pulumi.AnyMap{
				"api_key":  pulumi.Any("yoursecretkey"),
				"host_url": pulumi.Any("https://api.datadoghq.com"),
			},
			IntegrationKey: pulumi.String("datadog"),
			Statements: launchdarkly.AuditLogSubscriptionStatementArray{
				&launchdarkly.AuditLogSubscriptionStatementArgs{
					Actions: pulumi.StringArray{
						pulumi.String("*"),
					},
					Effect: pulumi.String("allow"),
					Resources: pulumi.StringArray{
						pulumi.String("proj/*:env/*:flag/*"),
					},
				},
			},
			Tags: pulumi.StringArray{
				pulumi.String("integrations"),
				pulumi.String("terraform"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetAuditLogSubscription

func GetAuditLogSubscription(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuditLogSubscriptionState, opts ...pulumi.ResourceOption) (*AuditLogSubscription, error)

GetAuditLogSubscription gets an existing AuditLogSubscription resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAuditLogSubscription

func NewAuditLogSubscription(ctx *pulumi.Context,
	name string, args *AuditLogSubscriptionArgs, opts ...pulumi.ResourceOption) (*AuditLogSubscription, error)

NewAuditLogSubscription registers a new resource with the given unique name, arguments, and options.

func (*AuditLogSubscription) ElementType

func (*AuditLogSubscription) ElementType() reflect.Type

func (*AuditLogSubscription) ToAuditLogSubscriptionOutput

func (i *AuditLogSubscription) ToAuditLogSubscriptionOutput() AuditLogSubscriptionOutput

func (*AuditLogSubscription) ToAuditLogSubscriptionOutputWithContext

func (i *AuditLogSubscription) ToAuditLogSubscriptionOutputWithContext(ctx context.Context) AuditLogSubscriptionOutput

type AuditLogSubscriptionArgs

type AuditLogSubscriptionArgs struct {
	Config pulumi.MapInput
	// The integration key. As of January 2022, supported integrations are `"datadog"`, `"dynatrace"`, `"elastic"`, `"honeycomb"`, `"logdna"`, `"msteams"`, `"new-relic-apm"`, `"signalfx"`, `"slack"`, and `"splunk"`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	IntegrationKey pulumi.StringInput
	// A human-friendly name for your audit log subscription viewable from within the LaunchDarkly Integrations page.
	Name pulumi.StringPtrInput
	// Whether or not you want your subscription enabled, i.e. to actively send events.
	On pulumi.BoolInput
	// A block representing the resources to which you wish to subscribe. To learn more about how to configure these blocks, read Nested Subscription Statements Blocks.
	Statements AuditLogSubscriptionStatementArrayInput
	// Set of tags associated with the subscription object.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a AuditLogSubscription resource.

func (AuditLogSubscriptionArgs) ElementType

func (AuditLogSubscriptionArgs) ElementType() reflect.Type

type AuditLogSubscriptionArray

type AuditLogSubscriptionArray []AuditLogSubscriptionInput

func (AuditLogSubscriptionArray) ElementType

func (AuditLogSubscriptionArray) ElementType() reflect.Type

func (AuditLogSubscriptionArray) ToAuditLogSubscriptionArrayOutput

func (i AuditLogSubscriptionArray) ToAuditLogSubscriptionArrayOutput() AuditLogSubscriptionArrayOutput

func (AuditLogSubscriptionArray) ToAuditLogSubscriptionArrayOutputWithContext

func (i AuditLogSubscriptionArray) ToAuditLogSubscriptionArrayOutputWithContext(ctx context.Context) AuditLogSubscriptionArrayOutput

type AuditLogSubscriptionArrayInput

type AuditLogSubscriptionArrayInput interface {
	pulumi.Input

	ToAuditLogSubscriptionArrayOutput() AuditLogSubscriptionArrayOutput
	ToAuditLogSubscriptionArrayOutputWithContext(context.Context) AuditLogSubscriptionArrayOutput
}

AuditLogSubscriptionArrayInput is an input type that accepts AuditLogSubscriptionArray and AuditLogSubscriptionArrayOutput values. You can construct a concrete instance of `AuditLogSubscriptionArrayInput` via:

AuditLogSubscriptionArray{ AuditLogSubscriptionArgs{...} }

type AuditLogSubscriptionArrayOutput

type AuditLogSubscriptionArrayOutput struct{ *pulumi.OutputState }

func (AuditLogSubscriptionArrayOutput) ElementType

func (AuditLogSubscriptionArrayOutput) Index

func (AuditLogSubscriptionArrayOutput) ToAuditLogSubscriptionArrayOutput

func (o AuditLogSubscriptionArrayOutput) ToAuditLogSubscriptionArrayOutput() AuditLogSubscriptionArrayOutput

func (AuditLogSubscriptionArrayOutput) ToAuditLogSubscriptionArrayOutputWithContext

func (o AuditLogSubscriptionArrayOutput) ToAuditLogSubscriptionArrayOutputWithContext(ctx context.Context) AuditLogSubscriptionArrayOutput

type AuditLogSubscriptionInput

type AuditLogSubscriptionInput interface {
	pulumi.Input

	ToAuditLogSubscriptionOutput() AuditLogSubscriptionOutput
	ToAuditLogSubscriptionOutputWithContext(ctx context.Context) AuditLogSubscriptionOutput
}

type AuditLogSubscriptionMap

type AuditLogSubscriptionMap map[string]AuditLogSubscriptionInput

func (AuditLogSubscriptionMap) ElementType

func (AuditLogSubscriptionMap) ElementType() reflect.Type

func (AuditLogSubscriptionMap) ToAuditLogSubscriptionMapOutput

func (i AuditLogSubscriptionMap) ToAuditLogSubscriptionMapOutput() AuditLogSubscriptionMapOutput

func (AuditLogSubscriptionMap) ToAuditLogSubscriptionMapOutputWithContext

func (i AuditLogSubscriptionMap) ToAuditLogSubscriptionMapOutputWithContext(ctx context.Context) AuditLogSubscriptionMapOutput

type AuditLogSubscriptionMapInput

type AuditLogSubscriptionMapInput interface {
	pulumi.Input

	ToAuditLogSubscriptionMapOutput() AuditLogSubscriptionMapOutput
	ToAuditLogSubscriptionMapOutputWithContext(context.Context) AuditLogSubscriptionMapOutput
}

AuditLogSubscriptionMapInput is an input type that accepts AuditLogSubscriptionMap and AuditLogSubscriptionMapOutput values. You can construct a concrete instance of `AuditLogSubscriptionMapInput` via:

AuditLogSubscriptionMap{ "key": AuditLogSubscriptionArgs{...} }

type AuditLogSubscriptionMapOutput

type AuditLogSubscriptionMapOutput struct{ *pulumi.OutputState }

func (AuditLogSubscriptionMapOutput) ElementType

func (AuditLogSubscriptionMapOutput) MapIndex

func (AuditLogSubscriptionMapOutput) ToAuditLogSubscriptionMapOutput

func (o AuditLogSubscriptionMapOutput) ToAuditLogSubscriptionMapOutput() AuditLogSubscriptionMapOutput

func (AuditLogSubscriptionMapOutput) ToAuditLogSubscriptionMapOutputWithContext

func (o AuditLogSubscriptionMapOutput) ToAuditLogSubscriptionMapOutputWithContext(ctx context.Context) AuditLogSubscriptionMapOutput

type AuditLogSubscriptionOutput

type AuditLogSubscriptionOutput struct{ *pulumi.OutputState }

func (AuditLogSubscriptionOutput) Config

func (AuditLogSubscriptionOutput) ElementType

func (AuditLogSubscriptionOutput) ElementType() reflect.Type

func (AuditLogSubscriptionOutput) IntegrationKey

func (o AuditLogSubscriptionOutput) IntegrationKey() pulumi.StringOutput

The integration key. As of January 2022, supported integrations are `"datadog"`, `"dynatrace"`, `"elastic"`, `"honeycomb"`, `"logdna"`, `"msteams"`, `"new-relic-apm"`, `"signalfx"`, `"slack"`, and `"splunk"`. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (AuditLogSubscriptionOutput) Name

A human-friendly name for your audit log subscription viewable from within the LaunchDarkly Integrations page.

func (AuditLogSubscriptionOutput) On

Whether or not you want your subscription enabled, i.e. to actively send events.

func (AuditLogSubscriptionOutput) Statements

A block representing the resources to which you wish to subscribe. To learn more about how to configure these blocks, read Nested Subscription Statements Blocks.

func (AuditLogSubscriptionOutput) Tags

Set of tags associated with the subscription object.

func (AuditLogSubscriptionOutput) ToAuditLogSubscriptionOutput

func (o AuditLogSubscriptionOutput) ToAuditLogSubscriptionOutput() AuditLogSubscriptionOutput

func (AuditLogSubscriptionOutput) ToAuditLogSubscriptionOutputWithContext

func (o AuditLogSubscriptionOutput) ToAuditLogSubscriptionOutputWithContext(ctx context.Context) AuditLogSubscriptionOutput

type AuditLogSubscriptionState

type AuditLogSubscriptionState struct {
	Config pulumi.MapInput
	// The integration key. As of January 2022, supported integrations are `"datadog"`, `"dynatrace"`, `"elastic"`, `"honeycomb"`, `"logdna"`, `"msteams"`, `"new-relic-apm"`, `"signalfx"`, `"slack"`, and `"splunk"`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	IntegrationKey pulumi.StringPtrInput
	// A human-friendly name for your audit log subscription viewable from within the LaunchDarkly Integrations page.
	Name pulumi.StringPtrInput
	// Whether or not you want your subscription enabled, i.e. to actively send events.
	On pulumi.BoolPtrInput
	// A block representing the resources to which you wish to subscribe. To learn more about how to configure these blocks, read Nested Subscription Statements Blocks.
	Statements AuditLogSubscriptionStatementArrayInput
	// Set of tags associated with the subscription object.
	Tags pulumi.StringArrayInput
}

func (AuditLogSubscriptionState) ElementType

func (AuditLogSubscriptionState) ElementType() reflect.Type

type AuditLogSubscriptionStatement

type AuditLogSubscriptionStatement struct {
	// The list of action specifiers defining the actions to which the statement applies. For a list of available actions, read [Using actions](https://docs.launchdarkly.com/home/members/role-actions).
	Actions []string `pulumi:"actions"`
	// Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect string `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the statement does not apply. For a list of available actions, read [Using actions](https://docs.launchdarkly.com/home/members/role-actions).
	NotActions []string `pulumi:"notActions"`
	// 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](https://docs.launchdarkly.com/home/members/role-resources).
	NotResources []string `pulumi:"notResources"`
	// The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these, read [Using resources](https://docs.launchdarkly.com/home/members/role-resources).
	Resources []string `pulumi:"resources"`
}

type AuditLogSubscriptionStatementArgs

type AuditLogSubscriptionStatementArgs struct {
	// The list of action specifiers defining the actions to which the statement applies. For a list of available actions, read [Using actions](https://docs.launchdarkly.com/home/members/role-actions).
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect pulumi.StringInput `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the statement does not apply. For a list of available actions, read [Using actions](https://docs.launchdarkly.com/home/members/role-actions).
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// 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](https://docs.launchdarkly.com/home/members/role-resources).
	NotResources pulumi.StringArrayInput `pulumi:"notResources"`
	// The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these, read [Using resources](https://docs.launchdarkly.com/home/members/role-resources).
	Resources pulumi.StringArrayInput `pulumi:"resources"`
}

func (AuditLogSubscriptionStatementArgs) ElementType

func (AuditLogSubscriptionStatementArgs) ToAuditLogSubscriptionStatementOutput

func (i AuditLogSubscriptionStatementArgs) ToAuditLogSubscriptionStatementOutput() AuditLogSubscriptionStatementOutput

func (AuditLogSubscriptionStatementArgs) ToAuditLogSubscriptionStatementOutputWithContext

func (i AuditLogSubscriptionStatementArgs) ToAuditLogSubscriptionStatementOutputWithContext(ctx context.Context) AuditLogSubscriptionStatementOutput

type AuditLogSubscriptionStatementArray

type AuditLogSubscriptionStatementArray []AuditLogSubscriptionStatementInput

func (AuditLogSubscriptionStatementArray) ElementType

func (AuditLogSubscriptionStatementArray) ToAuditLogSubscriptionStatementArrayOutput

func (i AuditLogSubscriptionStatementArray) ToAuditLogSubscriptionStatementArrayOutput() AuditLogSubscriptionStatementArrayOutput

func (AuditLogSubscriptionStatementArray) ToAuditLogSubscriptionStatementArrayOutputWithContext

func (i AuditLogSubscriptionStatementArray) ToAuditLogSubscriptionStatementArrayOutputWithContext(ctx context.Context) AuditLogSubscriptionStatementArrayOutput

type AuditLogSubscriptionStatementArrayInput

type AuditLogSubscriptionStatementArrayInput interface {
	pulumi.Input

	ToAuditLogSubscriptionStatementArrayOutput() AuditLogSubscriptionStatementArrayOutput
	ToAuditLogSubscriptionStatementArrayOutputWithContext(context.Context) AuditLogSubscriptionStatementArrayOutput
}

AuditLogSubscriptionStatementArrayInput is an input type that accepts AuditLogSubscriptionStatementArray and AuditLogSubscriptionStatementArrayOutput values. You can construct a concrete instance of `AuditLogSubscriptionStatementArrayInput` via:

AuditLogSubscriptionStatementArray{ AuditLogSubscriptionStatementArgs{...} }

type AuditLogSubscriptionStatementArrayOutput

type AuditLogSubscriptionStatementArrayOutput struct{ *pulumi.OutputState }

func (AuditLogSubscriptionStatementArrayOutput) ElementType

func (AuditLogSubscriptionStatementArrayOutput) Index

func (AuditLogSubscriptionStatementArrayOutput) ToAuditLogSubscriptionStatementArrayOutput

func (o AuditLogSubscriptionStatementArrayOutput) ToAuditLogSubscriptionStatementArrayOutput() AuditLogSubscriptionStatementArrayOutput

func (AuditLogSubscriptionStatementArrayOutput) ToAuditLogSubscriptionStatementArrayOutputWithContext

func (o AuditLogSubscriptionStatementArrayOutput) ToAuditLogSubscriptionStatementArrayOutputWithContext(ctx context.Context) AuditLogSubscriptionStatementArrayOutput

type AuditLogSubscriptionStatementInput

type AuditLogSubscriptionStatementInput interface {
	pulumi.Input

	ToAuditLogSubscriptionStatementOutput() AuditLogSubscriptionStatementOutput
	ToAuditLogSubscriptionStatementOutputWithContext(context.Context) AuditLogSubscriptionStatementOutput
}

AuditLogSubscriptionStatementInput is an input type that accepts AuditLogSubscriptionStatementArgs and AuditLogSubscriptionStatementOutput values. You can construct a concrete instance of `AuditLogSubscriptionStatementInput` via:

AuditLogSubscriptionStatementArgs{...}

type AuditLogSubscriptionStatementOutput

type AuditLogSubscriptionStatementOutput struct{ *pulumi.OutputState }

func (AuditLogSubscriptionStatementOutput) Actions

The list of action specifiers defining the actions to which the statement applies. For a list of available actions, read [Using actions](https://docs.launchdarkly.com/home/members/role-actions).

func (AuditLogSubscriptionStatementOutput) Effect

Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.

func (AuditLogSubscriptionStatementOutput) ElementType

func (AuditLogSubscriptionStatementOutput) NotActions

The list of action specifiers defining the actions to which the statement does not apply. For a list of available actions, read [Using actions](https://docs.launchdarkly.com/home/members/role-actions).

func (AuditLogSubscriptionStatementOutput) NotResources

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](https://docs.launchdarkly.com/home/members/role-resources).

func (AuditLogSubscriptionStatementOutput) Resources

The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these, read [Using resources](https://docs.launchdarkly.com/home/members/role-resources).

func (AuditLogSubscriptionStatementOutput) ToAuditLogSubscriptionStatementOutput

func (o AuditLogSubscriptionStatementOutput) ToAuditLogSubscriptionStatementOutput() AuditLogSubscriptionStatementOutput

func (AuditLogSubscriptionStatementOutput) ToAuditLogSubscriptionStatementOutputWithContext

func (o AuditLogSubscriptionStatementOutput) ToAuditLogSubscriptionStatementOutputWithContext(ctx context.Context) AuditLogSubscriptionStatementOutput

type CustomRole

type CustomRole struct {
	pulumi.CustomResourceState

	// The base permission level. Either `reader` or `noAccess`. Defaults to `reader` if not set.
	BasePermissions pulumi.StringPtrOutput `pulumi:"basePermissions"`
	// The description of the custom role.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringOutput `pulumi:"key"`
	// The human-readable name for the custom role.
	Name pulumi.StringOutput `pulumi:"name"`
	// Deprecated: 'policy' is now deprecated. Please migrate to 'policy_statements' to maintain future compatability.
	Policies CustomRolePolicyArrayOutput `pulumi:"policies"`
	// The custom role policy block. To learn more, read [Using policies](https://docs.launchdarkly.com/home/members/role-policies).
	PolicyStatements CustomRolePolicyStatementArrayOutput `pulumi:"policyStatements"`
}

Provides a LaunchDarkly custom role resource.

> **Note:** Custom roles are available to customers on an Enterprise LaunchDarkly plan. To learn more, read about our pricing. To upgrade your plan, [contact LaunchDarkly Sales](https://launchdarkly.com/contact-sales/).

This resource allows you to create and manage custom roles within your LaunchDarkly organization.

## Example Usage

```go 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.NewCustomRole(ctx, "example", &launchdarkly.CustomRoleArgs{
			Description: pulumi.String("This is an example role"),
			Key:         pulumi.String("example-role-key-1"),
			PolicyStatements: launchdarkly.CustomRolePolicyStatementArray{
				&launchdarkly.CustomRolePolicyStatementArgs{
					Actions: pulumi.StringArray{
						pulumi.String("*"),
					},
					Effect: pulumi.String("allow"),
					Resources: pulumi.StringArray{
						pulumi.String("proj/*:env/production:flag/*"),
					},
				},
				&launchdarkly.CustomRolePolicyStatementArgs{
					Actions: pulumi.StringArray{
						pulumi.String("*"),
					},
					Effect: pulumi.String("allow"),
					Resources: pulumi.StringArray{
						pulumi.String("proj/*:env/production"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import LaunchDarkly custom roles by using an existing custom role `key`. For example

```sh

$ pulumi import launchdarkly:index/customRole:CustomRole example example-role-key-1

```

func GetCustomRole

func GetCustomRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomRoleState, opts ...pulumi.ResourceOption) (*CustomRole, error)

GetCustomRole gets an existing CustomRole resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomRole

func NewCustomRole(ctx *pulumi.Context,
	name string, args *CustomRoleArgs, opts ...pulumi.ResourceOption) (*CustomRole, error)

NewCustomRole registers a new resource with the given unique name, arguments, and options.

func (*CustomRole) ElementType

func (*CustomRole) ElementType() reflect.Type

func (*CustomRole) ToCustomRoleOutput

func (i *CustomRole) ToCustomRoleOutput() CustomRoleOutput

func (*CustomRole) ToCustomRoleOutputWithContext

func (i *CustomRole) ToCustomRoleOutputWithContext(ctx context.Context) CustomRoleOutput

type CustomRoleArgs

type CustomRoleArgs struct {
	// The base permission level. Either `reader` or `noAccess`. Defaults to `reader` if not set.
	BasePermissions pulumi.StringPtrInput
	// The description of the custom role.
	Description pulumi.StringPtrInput
	// The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringInput
	// The human-readable name for the custom role.
	Name pulumi.StringPtrInput
	// Deprecated: 'policy' is now deprecated. Please migrate to 'policy_statements' to maintain future compatability.
	Policies CustomRolePolicyArrayInput
	// The custom role policy block. To learn more, read [Using policies](https://docs.launchdarkly.com/home/members/role-policies).
	PolicyStatements CustomRolePolicyStatementArrayInput
}

The set of arguments for constructing a CustomRole resource.

func (CustomRoleArgs) ElementType

func (CustomRoleArgs) ElementType() reflect.Type

type CustomRoleArray

type CustomRoleArray []CustomRoleInput

func (CustomRoleArray) ElementType

func (CustomRoleArray) ElementType() reflect.Type

func (CustomRoleArray) ToCustomRoleArrayOutput

func (i CustomRoleArray) ToCustomRoleArrayOutput() CustomRoleArrayOutput

func (CustomRoleArray) ToCustomRoleArrayOutputWithContext

func (i CustomRoleArray) ToCustomRoleArrayOutputWithContext(ctx context.Context) CustomRoleArrayOutput

type CustomRoleArrayInput

type CustomRoleArrayInput interface {
	pulumi.Input

	ToCustomRoleArrayOutput() CustomRoleArrayOutput
	ToCustomRoleArrayOutputWithContext(context.Context) CustomRoleArrayOutput
}

CustomRoleArrayInput is an input type that accepts CustomRoleArray and CustomRoleArrayOutput values. You can construct a concrete instance of `CustomRoleArrayInput` via:

CustomRoleArray{ CustomRoleArgs{...} }

type CustomRoleArrayOutput

type CustomRoleArrayOutput struct{ *pulumi.OutputState }

func (CustomRoleArrayOutput) ElementType

func (CustomRoleArrayOutput) ElementType() reflect.Type

func (CustomRoleArrayOutput) Index

func (CustomRoleArrayOutput) ToCustomRoleArrayOutput

func (o CustomRoleArrayOutput) ToCustomRoleArrayOutput() CustomRoleArrayOutput

func (CustomRoleArrayOutput) ToCustomRoleArrayOutputWithContext

func (o CustomRoleArrayOutput) ToCustomRoleArrayOutputWithContext(ctx context.Context) CustomRoleArrayOutput

type CustomRoleInput

type CustomRoleInput interface {
	pulumi.Input

	ToCustomRoleOutput() CustomRoleOutput
	ToCustomRoleOutputWithContext(ctx context.Context) CustomRoleOutput
}

type CustomRoleMap

type CustomRoleMap map[string]CustomRoleInput

func (CustomRoleMap) ElementType

func (CustomRoleMap) ElementType() reflect.Type

func (CustomRoleMap) ToCustomRoleMapOutput

func (i CustomRoleMap) ToCustomRoleMapOutput() CustomRoleMapOutput

func (CustomRoleMap) ToCustomRoleMapOutputWithContext

func (i CustomRoleMap) ToCustomRoleMapOutputWithContext(ctx context.Context) CustomRoleMapOutput

type CustomRoleMapInput

type CustomRoleMapInput interface {
	pulumi.Input

	ToCustomRoleMapOutput() CustomRoleMapOutput
	ToCustomRoleMapOutputWithContext(context.Context) CustomRoleMapOutput
}

CustomRoleMapInput is an input type that accepts CustomRoleMap and CustomRoleMapOutput values. You can construct a concrete instance of `CustomRoleMapInput` via:

CustomRoleMap{ "key": CustomRoleArgs{...} }

type CustomRoleMapOutput

type CustomRoleMapOutput struct{ *pulumi.OutputState }

func (CustomRoleMapOutput) ElementType

func (CustomRoleMapOutput) ElementType() reflect.Type

func (CustomRoleMapOutput) MapIndex

func (CustomRoleMapOutput) ToCustomRoleMapOutput

func (o CustomRoleMapOutput) ToCustomRoleMapOutput() CustomRoleMapOutput

func (CustomRoleMapOutput) ToCustomRoleMapOutputWithContext

func (o CustomRoleMapOutput) ToCustomRoleMapOutputWithContext(ctx context.Context) CustomRoleMapOutput

type CustomRoleOutput

type CustomRoleOutput struct{ *pulumi.OutputState }

func (CustomRoleOutput) BasePermissions

func (o CustomRoleOutput) BasePermissions() pulumi.StringPtrOutput

The base permission level. Either `reader` or `noAccess`. Defaults to `reader` if not set.

func (CustomRoleOutput) Description

func (o CustomRoleOutput) Description() pulumi.StringPtrOutput

The description of the custom role.

func (CustomRoleOutput) ElementType

func (CustomRoleOutput) ElementType() reflect.Type

func (CustomRoleOutput) Key

The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (CustomRoleOutput) Name

The human-readable name for the custom role.

func (CustomRoleOutput) Policies deprecated

Deprecated: 'policy' is now deprecated. Please migrate to 'policy_statements' to maintain future compatability.

func (CustomRoleOutput) PolicyStatements

The custom role policy block. To learn more, read [Using policies](https://docs.launchdarkly.com/home/members/role-policies).

func (CustomRoleOutput) ToCustomRoleOutput

func (o CustomRoleOutput) ToCustomRoleOutput() CustomRoleOutput

func (CustomRoleOutput) ToCustomRoleOutputWithContext

func (o CustomRoleOutput) ToCustomRoleOutputWithContext(ctx context.Context) CustomRoleOutput

type CustomRolePolicy

type CustomRolePolicy struct {
	// The list of action specifiers defining the actions to which the statement applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/members/role-actions#actions-reference).
	Actions []string `pulumi:"actions"`
	// - Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect string `pulumi:"effect"`
	// - The list of resource specifiers defining the resources to which the statement applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/members/role-resources#understanding-resource-types-and-scopes).
	Resources []string `pulumi:"resources"`
}

type CustomRolePolicyArgs

type CustomRolePolicyArgs struct {
	// The list of action specifiers defining the actions to which the statement applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/members/role-actions#actions-reference).
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// - Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect pulumi.StringInput `pulumi:"effect"`
	// - The list of resource specifiers defining the resources to which the statement applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/members/role-resources#understanding-resource-types-and-scopes).
	Resources pulumi.StringArrayInput `pulumi:"resources"`
}

func (CustomRolePolicyArgs) ElementType

func (CustomRolePolicyArgs) ElementType() reflect.Type

func (CustomRolePolicyArgs) ToCustomRolePolicyOutput

func (i CustomRolePolicyArgs) ToCustomRolePolicyOutput() CustomRolePolicyOutput

func (CustomRolePolicyArgs) ToCustomRolePolicyOutputWithContext

func (i CustomRolePolicyArgs) ToCustomRolePolicyOutputWithContext(ctx context.Context) CustomRolePolicyOutput

type CustomRolePolicyArray

type CustomRolePolicyArray []CustomRolePolicyInput

func (CustomRolePolicyArray) ElementType

func (CustomRolePolicyArray) ElementType() reflect.Type

func (CustomRolePolicyArray) ToCustomRolePolicyArrayOutput

func (i CustomRolePolicyArray) ToCustomRolePolicyArrayOutput() CustomRolePolicyArrayOutput

func (CustomRolePolicyArray) ToCustomRolePolicyArrayOutputWithContext

func (i CustomRolePolicyArray) ToCustomRolePolicyArrayOutputWithContext(ctx context.Context) CustomRolePolicyArrayOutput

type CustomRolePolicyArrayInput

type CustomRolePolicyArrayInput interface {
	pulumi.Input

	ToCustomRolePolicyArrayOutput() CustomRolePolicyArrayOutput
	ToCustomRolePolicyArrayOutputWithContext(context.Context) CustomRolePolicyArrayOutput
}

CustomRolePolicyArrayInput is an input type that accepts CustomRolePolicyArray and CustomRolePolicyArrayOutput values. You can construct a concrete instance of `CustomRolePolicyArrayInput` via:

CustomRolePolicyArray{ CustomRolePolicyArgs{...} }

type CustomRolePolicyArrayOutput

type CustomRolePolicyArrayOutput struct{ *pulumi.OutputState }

func (CustomRolePolicyArrayOutput) ElementType

func (CustomRolePolicyArrayOutput) Index

func (CustomRolePolicyArrayOutput) ToCustomRolePolicyArrayOutput

func (o CustomRolePolicyArrayOutput) ToCustomRolePolicyArrayOutput() CustomRolePolicyArrayOutput

func (CustomRolePolicyArrayOutput) ToCustomRolePolicyArrayOutputWithContext

func (o CustomRolePolicyArrayOutput) ToCustomRolePolicyArrayOutputWithContext(ctx context.Context) CustomRolePolicyArrayOutput

type CustomRolePolicyInput

type CustomRolePolicyInput interface {
	pulumi.Input

	ToCustomRolePolicyOutput() CustomRolePolicyOutput
	ToCustomRolePolicyOutputWithContext(context.Context) CustomRolePolicyOutput
}

CustomRolePolicyInput is an input type that accepts CustomRolePolicyArgs and CustomRolePolicyOutput values. You can construct a concrete instance of `CustomRolePolicyInput` via:

CustomRolePolicyArgs{...}

type CustomRolePolicyOutput

type CustomRolePolicyOutput struct{ *pulumi.OutputState }

func (CustomRolePolicyOutput) Actions

The list of action specifiers defining the actions to which the statement applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/members/role-actions#actions-reference).

func (CustomRolePolicyOutput) Effect

- Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.

func (CustomRolePolicyOutput) ElementType

func (CustomRolePolicyOutput) ElementType() reflect.Type

func (CustomRolePolicyOutput) Resources

- The list of resource specifiers defining the resources to which the statement applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/members/role-resources#understanding-resource-types-and-scopes).

func (CustomRolePolicyOutput) ToCustomRolePolicyOutput

func (o CustomRolePolicyOutput) ToCustomRolePolicyOutput() CustomRolePolicyOutput

func (CustomRolePolicyOutput) ToCustomRolePolicyOutputWithContext

func (o CustomRolePolicyOutput) ToCustomRolePolicyOutputWithContext(ctx context.Context) CustomRolePolicyOutput

type CustomRolePolicyStatement

type CustomRolePolicyStatement struct {
	// The list of action specifiers defining the actions to which the statement applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/members/role-actions#actions-reference).
	Actions []string `pulumi:"actions"`
	// - Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect string `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the statement does not apply. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/members/role-actions#actions-reference).
	NotActions []string `pulumi:"notActions"`
	// - The list of resource specifiers defining the resources to which the statement does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/members/role-resources#understanding-resource-types-and-scopes).
	NotResources []string `pulumi:"notResources"`
	// - The list of resource specifiers defining the resources to which the statement applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/members/role-resources#understanding-resource-types-and-scopes).
	Resources []string `pulumi:"resources"`
}

type CustomRolePolicyStatementArgs

type CustomRolePolicyStatementArgs struct {
	// The list of action specifiers defining the actions to which the statement applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/members/role-actions#actions-reference).
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// - Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect pulumi.StringInput `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the statement does not apply. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/members/role-actions#actions-reference).
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// - The list of resource specifiers defining the resources to which the statement does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/members/role-resources#understanding-resource-types-and-scopes).
	NotResources pulumi.StringArrayInput `pulumi:"notResources"`
	// - The list of resource specifiers defining the resources to which the statement applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/members/role-resources#understanding-resource-types-and-scopes).
	Resources pulumi.StringArrayInput `pulumi:"resources"`
}

func (CustomRolePolicyStatementArgs) ElementType

func (CustomRolePolicyStatementArgs) ToCustomRolePolicyStatementOutput

func (i CustomRolePolicyStatementArgs) ToCustomRolePolicyStatementOutput() CustomRolePolicyStatementOutput

func (CustomRolePolicyStatementArgs) ToCustomRolePolicyStatementOutputWithContext

func (i CustomRolePolicyStatementArgs) ToCustomRolePolicyStatementOutputWithContext(ctx context.Context) CustomRolePolicyStatementOutput

type CustomRolePolicyStatementArray

type CustomRolePolicyStatementArray []CustomRolePolicyStatementInput

func (CustomRolePolicyStatementArray) ElementType

func (CustomRolePolicyStatementArray) ToCustomRolePolicyStatementArrayOutput

func (i CustomRolePolicyStatementArray) ToCustomRolePolicyStatementArrayOutput() CustomRolePolicyStatementArrayOutput

func (CustomRolePolicyStatementArray) ToCustomRolePolicyStatementArrayOutputWithContext

func (i CustomRolePolicyStatementArray) ToCustomRolePolicyStatementArrayOutputWithContext(ctx context.Context) CustomRolePolicyStatementArrayOutput

type CustomRolePolicyStatementArrayInput

type CustomRolePolicyStatementArrayInput interface {
	pulumi.Input

	ToCustomRolePolicyStatementArrayOutput() CustomRolePolicyStatementArrayOutput
	ToCustomRolePolicyStatementArrayOutputWithContext(context.Context) CustomRolePolicyStatementArrayOutput
}

CustomRolePolicyStatementArrayInput is an input type that accepts CustomRolePolicyStatementArray and CustomRolePolicyStatementArrayOutput values. You can construct a concrete instance of `CustomRolePolicyStatementArrayInput` via:

CustomRolePolicyStatementArray{ CustomRolePolicyStatementArgs{...} }

type CustomRolePolicyStatementArrayOutput

type CustomRolePolicyStatementArrayOutput struct{ *pulumi.OutputState }

func (CustomRolePolicyStatementArrayOutput) ElementType

func (CustomRolePolicyStatementArrayOutput) Index

func (CustomRolePolicyStatementArrayOutput) ToCustomRolePolicyStatementArrayOutput

func (o CustomRolePolicyStatementArrayOutput) ToCustomRolePolicyStatementArrayOutput() CustomRolePolicyStatementArrayOutput

func (CustomRolePolicyStatementArrayOutput) ToCustomRolePolicyStatementArrayOutputWithContext

func (o CustomRolePolicyStatementArrayOutput) ToCustomRolePolicyStatementArrayOutputWithContext(ctx context.Context) CustomRolePolicyStatementArrayOutput

type CustomRolePolicyStatementInput

type CustomRolePolicyStatementInput interface {
	pulumi.Input

	ToCustomRolePolicyStatementOutput() CustomRolePolicyStatementOutput
	ToCustomRolePolicyStatementOutputWithContext(context.Context) CustomRolePolicyStatementOutput
}

CustomRolePolicyStatementInput is an input type that accepts CustomRolePolicyStatementArgs and CustomRolePolicyStatementOutput values. You can construct a concrete instance of `CustomRolePolicyStatementInput` via:

CustomRolePolicyStatementArgs{...}

type CustomRolePolicyStatementOutput

type CustomRolePolicyStatementOutput struct{ *pulumi.OutputState }

func (CustomRolePolicyStatementOutput) Actions

The list of action specifiers defining the actions to which the statement applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/members/role-actions#actions-reference).

func (CustomRolePolicyStatementOutput) Effect

- Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.

func (CustomRolePolicyStatementOutput) ElementType

func (CustomRolePolicyStatementOutput) NotActions

The list of action specifiers defining the actions to which the statement does not apply. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/members/role-actions#actions-reference).

func (CustomRolePolicyStatementOutput) NotResources

- The list of resource specifiers defining the resources to which the statement does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/members/role-resources#understanding-resource-types-and-scopes).

func (CustomRolePolicyStatementOutput) Resources

- The list of resource specifiers defining the resources to which the statement applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/members/role-resources#understanding-resource-types-and-scopes).

func (CustomRolePolicyStatementOutput) ToCustomRolePolicyStatementOutput

func (o CustomRolePolicyStatementOutput) ToCustomRolePolicyStatementOutput() CustomRolePolicyStatementOutput

func (CustomRolePolicyStatementOutput) ToCustomRolePolicyStatementOutputWithContext

func (o CustomRolePolicyStatementOutput) ToCustomRolePolicyStatementOutputWithContext(ctx context.Context) CustomRolePolicyStatementOutput

type CustomRoleState

type CustomRoleState struct {
	// The base permission level. Either `reader` or `noAccess`. Defaults to `reader` if not set.
	BasePermissions pulumi.StringPtrInput
	// The description of the custom role.
	Description pulumi.StringPtrInput
	// The unique key that references the custom role. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringPtrInput
	// The human-readable name for the custom role.
	Name pulumi.StringPtrInput
	// Deprecated: 'policy' is now deprecated. Please migrate to 'policy_statements' to maintain future compatability.
	Policies CustomRolePolicyArrayInput
	// The custom role policy block. To learn more, read [Using policies](https://docs.launchdarkly.com/home/members/role-policies).
	PolicyStatements CustomRolePolicyStatementArrayInput
}

func (CustomRoleState) ElementType

func (CustomRoleState) ElementType() reflect.Type

type Destination

type Destination struct {
	pulumi.CustomResourceState

	// - The destination-specific configuration. To learn more, read Destination-Specific Configs.
	Config pulumi.StringMapOutput `pulumi:"config"`
	// - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringOutput `pulumi:"envKey"`
	// - The data export destination type. Available choices are `kinesis`, `google-pubsub`, `mparticle`, `azure-event-hubs`, and `segment`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// -
	Name pulumi.StringOutput `pulumi:"name"`
	// - Whether the data export destination is on or not.
	On pulumi.BoolPtrOutput `pulumi:"on"`
	// - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringOutput `pulumi:"projectKey"`
	// Tags associated with your resource
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

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](https://launchdarkly.com/contact-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](https://docs.launchdarkly.com/integrations/data-export).

## 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.

```go 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
	})
}

```

```go 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
	})
}

```

```go 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
	})
}

```

```go 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
	})
}

```

```go 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
	})
}

```

## Import

You can import a data export destination using the destination's full ID in the format `project_key/environment_key/id`. For example

```sh

$ pulumi import launchdarkly:index/destination:Destination example example-project/example-env/57c0af609969090743529967

```

func GetDestination

func GetDestination(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DestinationState, opts ...pulumi.ResourceOption) (*Destination, error)

GetDestination gets an existing Destination resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDestination

func NewDestination(ctx *pulumi.Context,
	name string, args *DestinationArgs, opts ...pulumi.ResourceOption) (*Destination, error)

NewDestination registers a new resource with the given unique name, arguments, and options.

func (*Destination) ElementType

func (*Destination) ElementType() reflect.Type

func (*Destination) ToDestinationOutput

func (i *Destination) ToDestinationOutput() DestinationOutput

func (*Destination) ToDestinationOutputWithContext

func (i *Destination) ToDestinationOutputWithContext(ctx context.Context) DestinationOutput

type DestinationArgs

type DestinationArgs struct {
	// - The destination-specific configuration. To learn more, read Destination-Specific Configs.
	Config pulumi.StringMapInput
	// - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringInput
	// - The data export destination type. Available choices are `kinesis`, `google-pubsub`, `mparticle`, `azure-event-hubs`, and `segment`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Kind pulumi.StringInput
	// -
	Name pulumi.StringPtrInput
	// - Whether the data export destination is on or not.
	On pulumi.BoolPtrInput
	// - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringInput
	// Tags associated with your resource
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a Destination resource.

func (DestinationArgs) ElementType

func (DestinationArgs) ElementType() reflect.Type

type DestinationArray

type DestinationArray []DestinationInput

func (DestinationArray) ElementType

func (DestinationArray) ElementType() reflect.Type

func (DestinationArray) ToDestinationArrayOutput

func (i DestinationArray) ToDestinationArrayOutput() DestinationArrayOutput

func (DestinationArray) ToDestinationArrayOutputWithContext

func (i DestinationArray) ToDestinationArrayOutputWithContext(ctx context.Context) DestinationArrayOutput

type DestinationArrayInput

type DestinationArrayInput interface {
	pulumi.Input

	ToDestinationArrayOutput() DestinationArrayOutput
	ToDestinationArrayOutputWithContext(context.Context) DestinationArrayOutput
}

DestinationArrayInput is an input type that accepts DestinationArray and DestinationArrayOutput values. You can construct a concrete instance of `DestinationArrayInput` via:

DestinationArray{ DestinationArgs{...} }

type DestinationArrayOutput

type DestinationArrayOutput struct{ *pulumi.OutputState }

func (DestinationArrayOutput) ElementType

func (DestinationArrayOutput) ElementType() reflect.Type

func (DestinationArrayOutput) Index

func (DestinationArrayOutput) ToDestinationArrayOutput

func (o DestinationArrayOutput) ToDestinationArrayOutput() DestinationArrayOutput

func (DestinationArrayOutput) ToDestinationArrayOutputWithContext

func (o DestinationArrayOutput) ToDestinationArrayOutputWithContext(ctx context.Context) DestinationArrayOutput

type DestinationInput

type DestinationInput interface {
	pulumi.Input

	ToDestinationOutput() DestinationOutput
	ToDestinationOutputWithContext(ctx context.Context) DestinationOutput
}

type DestinationMap

type DestinationMap map[string]DestinationInput

func (DestinationMap) ElementType

func (DestinationMap) ElementType() reflect.Type

func (DestinationMap) ToDestinationMapOutput

func (i DestinationMap) ToDestinationMapOutput() DestinationMapOutput

func (DestinationMap) ToDestinationMapOutputWithContext

func (i DestinationMap) ToDestinationMapOutputWithContext(ctx context.Context) DestinationMapOutput

type DestinationMapInput

type DestinationMapInput interface {
	pulumi.Input

	ToDestinationMapOutput() DestinationMapOutput
	ToDestinationMapOutputWithContext(context.Context) DestinationMapOutput
}

DestinationMapInput is an input type that accepts DestinationMap and DestinationMapOutput values. You can construct a concrete instance of `DestinationMapInput` via:

DestinationMap{ "key": DestinationArgs{...} }

type DestinationMapOutput

type DestinationMapOutput struct{ *pulumi.OutputState }

func (DestinationMapOutput) ElementType

func (DestinationMapOutput) ElementType() reflect.Type

func (DestinationMapOutput) MapIndex

func (DestinationMapOutput) ToDestinationMapOutput

func (o DestinationMapOutput) ToDestinationMapOutput() DestinationMapOutput

func (DestinationMapOutput) ToDestinationMapOutputWithContext

func (o DestinationMapOutput) ToDestinationMapOutputWithContext(ctx context.Context) DestinationMapOutput

type DestinationOutput

type DestinationOutput struct{ *pulumi.OutputState }

func (DestinationOutput) Config

- The destination-specific configuration. To learn more, read Destination-Specific Configs.

func (DestinationOutput) ElementType

func (DestinationOutput) ElementType() reflect.Type

func (DestinationOutput) EnvKey

- The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (DestinationOutput) Kind

- The data export destination type. Available choices are `kinesis`, `google-pubsub`, `mparticle`, `azure-event-hubs`, and `segment`. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (DestinationOutput) Name

-

func (DestinationOutput) On

- Whether the data export destination is on or not.

func (DestinationOutput) ProjectKey

func (o DestinationOutput) ProjectKey() pulumi.StringOutput

- The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (DestinationOutput) Tags

Tags associated with your resource

func (DestinationOutput) ToDestinationOutput

func (o DestinationOutput) ToDestinationOutput() DestinationOutput

func (DestinationOutput) ToDestinationOutputWithContext

func (o DestinationOutput) ToDestinationOutputWithContext(ctx context.Context) DestinationOutput

type DestinationState

type DestinationState struct {
	// - The destination-specific configuration. To learn more, read Destination-Specific Configs.
	Config pulumi.StringMapInput
	// - The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringPtrInput
	// - The data export destination type. Available choices are `kinesis`, `google-pubsub`, `mparticle`, `azure-event-hubs`, and `segment`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Kind pulumi.StringPtrInput
	// -
	Name pulumi.StringPtrInput
	// - Whether the data export destination is on or not.
	On pulumi.BoolPtrInput
	// - The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringPtrInput
	// Tags associated with your resource
	Tags pulumi.StringArrayInput
}

func (DestinationState) ElementType

func (DestinationState) ElementType() reflect.Type

type Environment

type Environment struct {
	pulumi.CustomResourceState

	// The environment's SDK key.
	ApiKey           pulumi.StringOutput                   `pulumi:"apiKey"`
	ApprovalSettings EnvironmentApprovalSettingArrayOutput `pulumi:"approvalSettings"`
	// The environment's client-side ID.
	ClientSideId pulumi.StringOutput `pulumi:"clientSideId"`
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`.
	Color pulumi.StringOutput `pulumi:"color"`
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	ConfirmChanges pulumi.BoolPtrOutput `pulumi:"confirmChanges"`
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents pulumi.BoolPtrOutput `pulumi:"defaultTrackEvents"`
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTtl pulumi.IntPtrOutput `pulumi:"defaultTtl"`
	// The project-unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringOutput `pulumi:"key"`
	// The environment's mobile key.
	MobileKey pulumi.StringOutput `pulumi:"mobileKey"`
	// The name of the environment.
	Name pulumi.StringOutput `pulumi:"name"`
	// - The environment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringOutput `pulumi:"projectKey"`
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	RequireComments pulumi.BoolPtrOutput `pulumi:"requireComments"`
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	SecureMode pulumi.BoolPtrOutput `pulumi:"secureMode"`
	// Set of tags associated with the environment.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

## Example Usage

```go 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.NewEnvironment(ctx, "staging", &launchdarkly.EnvironmentArgs{
			Key:   pulumi.String("staging"),
			Color: pulumi.String("ff00ff"),
			Tags: pulumi.StringArray{
				pulumi.String("terraform"),
				pulumi.String("staging"),
			},
			ProjectKey: pulumi.Any(launchdarkly_project.Example.Key),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go 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.NewEnvironment(ctx, "approvalsExample", &launchdarkly.EnvironmentArgs{
			Key:   pulumi.String("approvals-example"),
			Color: pulumi.String("ff00ff"),
			Tags: pulumi.StringArray{
				pulumi.String("terraform"),
				pulumi.String("staging"),
			},
			ApprovalSettings: launchdarkly.EnvironmentApprovalSettingArray{
				&launchdarkly.EnvironmentApprovalSettingArgs{
					Required:                pulumi.Bool(true),
					CanReviewOwnRequest:     pulumi.Bool(true),
					MinNumApprovals:         pulumi.Int(2),
					CanApplyDeclinedChanges: pulumi.Bool(true),
				},
			},
			ProjectKey: pulumi.Any(launchdarkly_project.Example.Key),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a LaunchDarkly environment using this format`project_key/environment_key`. For example

```sh

$ pulumi import launchdarkly:index/environment:Environment staging example-project/staging

```

func GetEnvironment

func GetEnvironment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)

GetEnvironment gets an existing Environment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEnvironment

func NewEnvironment(ctx *pulumi.Context,
	name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)

NewEnvironment registers a new resource with the given unique name, arguments, and options.

func (*Environment) ElementType

func (*Environment) ElementType() reflect.Type

func (*Environment) ToEnvironmentOutput

func (i *Environment) ToEnvironmentOutput() EnvironmentOutput

func (*Environment) ToEnvironmentOutputWithContext

func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput

type EnvironmentApprovalSetting

type EnvironmentApprovalSetting struct {
	// Set to `true` if changes can be applied as long as the `minNumApprovals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.
	CanApplyDeclinedChanges *bool `pulumi:"canApplyDeclinedChanges"`
	// Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.
	CanReviewOwnRequest *bool `pulumi:"canReviewOwnRequest"`
	// The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	MinNumApprovals *int `pulumi:"minNumApprovals"`
	// Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `requiredApprovalTags` is not set and vice versa. Defaults to `false`.
	Required *bool `pulumi:"required"`
	// An array of tags used to specify which flags with those tags require approval. You may only set `requiredApprovalTags` if `required` is not set to `true` and vice versa.
	RequiredApprovalTags []string `pulumi:"requiredApprovalTags"`
}

type EnvironmentApprovalSettingArgs

type EnvironmentApprovalSettingArgs struct {
	// Set to `true` if changes can be applied as long as the `minNumApprovals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.
	CanApplyDeclinedChanges pulumi.BoolPtrInput `pulumi:"canApplyDeclinedChanges"`
	// Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.
	CanReviewOwnRequest pulumi.BoolPtrInput `pulumi:"canReviewOwnRequest"`
	// The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	MinNumApprovals pulumi.IntPtrInput `pulumi:"minNumApprovals"`
	// Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `requiredApprovalTags` is not set and vice versa. Defaults to `false`.
	Required pulumi.BoolPtrInput `pulumi:"required"`
	// An array of tags used to specify which flags with those tags require approval. You may only set `requiredApprovalTags` if `required` is not set to `true` and vice versa.
	RequiredApprovalTags pulumi.StringArrayInput `pulumi:"requiredApprovalTags"`
}

func (EnvironmentApprovalSettingArgs) ElementType

func (EnvironmentApprovalSettingArgs) ToEnvironmentApprovalSettingOutput

func (i EnvironmentApprovalSettingArgs) ToEnvironmentApprovalSettingOutput() EnvironmentApprovalSettingOutput

func (EnvironmentApprovalSettingArgs) ToEnvironmentApprovalSettingOutputWithContext

func (i EnvironmentApprovalSettingArgs) ToEnvironmentApprovalSettingOutputWithContext(ctx context.Context) EnvironmentApprovalSettingOutput

type EnvironmentApprovalSettingArray

type EnvironmentApprovalSettingArray []EnvironmentApprovalSettingInput

func (EnvironmentApprovalSettingArray) ElementType

func (EnvironmentApprovalSettingArray) ToEnvironmentApprovalSettingArrayOutput

func (i EnvironmentApprovalSettingArray) ToEnvironmentApprovalSettingArrayOutput() EnvironmentApprovalSettingArrayOutput

func (EnvironmentApprovalSettingArray) ToEnvironmentApprovalSettingArrayOutputWithContext

func (i EnvironmentApprovalSettingArray) ToEnvironmentApprovalSettingArrayOutputWithContext(ctx context.Context) EnvironmentApprovalSettingArrayOutput

type EnvironmentApprovalSettingArrayInput

type EnvironmentApprovalSettingArrayInput interface {
	pulumi.Input

	ToEnvironmentApprovalSettingArrayOutput() EnvironmentApprovalSettingArrayOutput
	ToEnvironmentApprovalSettingArrayOutputWithContext(context.Context) EnvironmentApprovalSettingArrayOutput
}

EnvironmentApprovalSettingArrayInput is an input type that accepts EnvironmentApprovalSettingArray and EnvironmentApprovalSettingArrayOutput values. You can construct a concrete instance of `EnvironmentApprovalSettingArrayInput` via:

EnvironmentApprovalSettingArray{ EnvironmentApprovalSettingArgs{...} }

type EnvironmentApprovalSettingArrayOutput

type EnvironmentApprovalSettingArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentApprovalSettingArrayOutput) ElementType

func (EnvironmentApprovalSettingArrayOutput) Index

func (EnvironmentApprovalSettingArrayOutput) ToEnvironmentApprovalSettingArrayOutput

func (o EnvironmentApprovalSettingArrayOutput) ToEnvironmentApprovalSettingArrayOutput() EnvironmentApprovalSettingArrayOutput

func (EnvironmentApprovalSettingArrayOutput) ToEnvironmentApprovalSettingArrayOutputWithContext

func (o EnvironmentApprovalSettingArrayOutput) ToEnvironmentApprovalSettingArrayOutputWithContext(ctx context.Context) EnvironmentApprovalSettingArrayOutput

type EnvironmentApprovalSettingInput

type EnvironmentApprovalSettingInput interface {
	pulumi.Input

	ToEnvironmentApprovalSettingOutput() EnvironmentApprovalSettingOutput
	ToEnvironmentApprovalSettingOutputWithContext(context.Context) EnvironmentApprovalSettingOutput
}

EnvironmentApprovalSettingInput is an input type that accepts EnvironmentApprovalSettingArgs and EnvironmentApprovalSettingOutput values. You can construct a concrete instance of `EnvironmentApprovalSettingInput` via:

EnvironmentApprovalSettingArgs{...}

type EnvironmentApprovalSettingOutput

type EnvironmentApprovalSettingOutput struct{ *pulumi.OutputState }

func (EnvironmentApprovalSettingOutput) CanApplyDeclinedChanges

func (o EnvironmentApprovalSettingOutput) CanApplyDeclinedChanges() pulumi.BoolPtrOutput

Set to `true` if changes can be applied as long as the `minNumApprovals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.

func (EnvironmentApprovalSettingOutput) CanReviewOwnRequest

func (o EnvironmentApprovalSettingOutput) CanReviewOwnRequest() pulumi.BoolPtrOutput

Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.

func (EnvironmentApprovalSettingOutput) ElementType

func (EnvironmentApprovalSettingOutput) MinNumApprovals

The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.

func (EnvironmentApprovalSettingOutput) Required

Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `requiredApprovalTags` is not set and vice versa. Defaults to `false`.

func (EnvironmentApprovalSettingOutput) RequiredApprovalTags

An array of tags used to specify which flags with those tags require approval. You may only set `requiredApprovalTags` if `required` is not set to `true` and vice versa.

func (EnvironmentApprovalSettingOutput) ToEnvironmentApprovalSettingOutput

func (o EnvironmentApprovalSettingOutput) ToEnvironmentApprovalSettingOutput() EnvironmentApprovalSettingOutput

func (EnvironmentApprovalSettingOutput) ToEnvironmentApprovalSettingOutputWithContext

func (o EnvironmentApprovalSettingOutput) ToEnvironmentApprovalSettingOutputWithContext(ctx context.Context) EnvironmentApprovalSettingOutput

type EnvironmentArgs

type EnvironmentArgs struct {
	ApprovalSettings EnvironmentApprovalSettingArrayInput
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`.
	Color pulumi.StringInput
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	ConfirmChanges pulumi.BoolPtrInput
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents pulumi.BoolPtrInput
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTtl pulumi.IntPtrInput
	// The project-unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringInput
	// The name of the environment.
	Name pulumi.StringPtrInput
	// - The environment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringInput
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	RequireComments pulumi.BoolPtrInput
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	SecureMode pulumi.BoolPtrInput
	// Set of tags associated with the environment.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a Environment resource.

func (EnvironmentArgs) ElementType

func (EnvironmentArgs) ElementType() reflect.Type

type EnvironmentArray

type EnvironmentArray []EnvironmentInput

func (EnvironmentArray) ElementType

func (EnvironmentArray) ElementType() reflect.Type

func (EnvironmentArray) ToEnvironmentArrayOutput

func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArray) ToEnvironmentArrayOutputWithContext

func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput

type EnvironmentArrayInput

type EnvironmentArrayInput interface {
	pulumi.Input

	ToEnvironmentArrayOutput() EnvironmentArrayOutput
	ToEnvironmentArrayOutputWithContext(context.Context) EnvironmentArrayOutput
}

EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. You can construct a concrete instance of `EnvironmentArrayInput` via:

EnvironmentArray{ EnvironmentArgs{...} }

type EnvironmentArrayOutput

type EnvironmentArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentArrayOutput) ElementType

func (EnvironmentArrayOutput) ElementType() reflect.Type

func (EnvironmentArrayOutput) Index

func (EnvironmentArrayOutput) ToEnvironmentArrayOutput

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput

type EnvironmentInput

type EnvironmentInput interface {
	pulumi.Input

	ToEnvironmentOutput() EnvironmentOutput
	ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
}

type EnvironmentMap

type EnvironmentMap map[string]EnvironmentInput

func (EnvironmentMap) ElementType

func (EnvironmentMap) ElementType() reflect.Type

func (EnvironmentMap) ToEnvironmentMapOutput

func (i EnvironmentMap) ToEnvironmentMapOutput() EnvironmentMapOutput

func (EnvironmentMap) ToEnvironmentMapOutputWithContext

func (i EnvironmentMap) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput

type EnvironmentMapInput

type EnvironmentMapInput interface {
	pulumi.Input

	ToEnvironmentMapOutput() EnvironmentMapOutput
	ToEnvironmentMapOutputWithContext(context.Context) EnvironmentMapOutput
}

EnvironmentMapInput is an input type that accepts EnvironmentMap and EnvironmentMapOutput values. You can construct a concrete instance of `EnvironmentMapInput` via:

EnvironmentMap{ "key": EnvironmentArgs{...} }

type EnvironmentMapOutput

type EnvironmentMapOutput struct{ *pulumi.OutputState }

func (EnvironmentMapOutput) ElementType

func (EnvironmentMapOutput) ElementType() reflect.Type

func (EnvironmentMapOutput) MapIndex

func (EnvironmentMapOutput) ToEnvironmentMapOutput

func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput

func (EnvironmentMapOutput) ToEnvironmentMapOutputWithContext

func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput

type EnvironmentOutput

type EnvironmentOutput struct{ *pulumi.OutputState }

func (EnvironmentOutput) ApiKey

The environment's SDK key.

func (EnvironmentOutput) ApprovalSettings

func (EnvironmentOutput) ClientSideId

func (o EnvironmentOutput) ClientSideId() pulumi.StringOutput

The environment's client-side ID.

func (EnvironmentOutput) Color

The color swatch as an RGB hex value with no leading `#`. For example: `000000`.

func (EnvironmentOutput) ConfirmChanges

func (o EnvironmentOutput) ConfirmChanges() pulumi.BoolPtrOutput

Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.

func (EnvironmentOutput) DefaultTrackEvents

func (o EnvironmentOutput) DefaultTrackEvents() pulumi.BoolPtrOutput

Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).

func (EnvironmentOutput) DefaultTtl

func (o EnvironmentOutput) DefaultTtl() pulumi.IntPtrOutput

The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).

func (EnvironmentOutput) ElementType

func (EnvironmentOutput) ElementType() reflect.Type

func (EnvironmentOutput) Key

The project-unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (EnvironmentOutput) MobileKey

func (o EnvironmentOutput) MobileKey() pulumi.StringOutput

The environment's mobile key.

func (EnvironmentOutput) Name

The name of the environment.

func (EnvironmentOutput) ProjectKey

func (o EnvironmentOutput) ProjectKey() pulumi.StringOutput

- The environment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (EnvironmentOutput) RequireComments

func (o EnvironmentOutput) RequireComments() pulumi.BoolPtrOutput

Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.

func (EnvironmentOutput) SecureMode

func (o EnvironmentOutput) SecureMode() pulumi.BoolPtrOutput

Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.

func (EnvironmentOutput) Tags

Set of tags associated with the environment.

func (EnvironmentOutput) ToEnvironmentOutput

func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput

func (EnvironmentOutput) ToEnvironmentOutputWithContext

func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput

type EnvironmentState

type EnvironmentState struct {
	// The environment's SDK key.
	ApiKey           pulumi.StringPtrInput
	ApprovalSettings EnvironmentApprovalSettingArrayInput
	// The environment's client-side ID.
	ClientSideId pulumi.StringPtrInput
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`.
	Color pulumi.StringPtrInput
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	ConfirmChanges pulumi.BoolPtrInput
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents pulumi.BoolPtrInput
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTtl pulumi.IntPtrInput
	// The project-unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringPtrInput
	// The environment's mobile key.
	MobileKey pulumi.StringPtrInput
	// The name of the environment.
	Name pulumi.StringPtrInput
	// - The environment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringPtrInput
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	RequireComments pulumi.BoolPtrInput
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	SecureMode pulumi.BoolPtrInput
	// Set of tags associated with the environment.
	Tags pulumi.StringArrayInput
}

func (EnvironmentState) ElementType

func (EnvironmentState) ElementType() reflect.Type

type FeatureFlag

type FeatureFlag struct {
	pulumi.CustomResourceState

	// Whether to archive the flag
	Archived pulumi.BoolPtrOutput `pulumi:"archived"`
	// A block describing whether this flag should be made available to the client-side JavaScript SDK using the client-side Id, mobile key, or both. This value gets its default from your project configuration if not set. To learn more, read Nested Client-Side Availability Block.
	ClientSideAvailabilities FeatureFlagClientSideAvailabilityArrayOutput `pulumi:"clientSideAvailabilities"`
	// List of nested blocks describing the feature flag's [custom properties](https://docs.launchdarkly.com/home/connecting/custom-properties). To learn more, read Nested Custom Properties.
	CustomProperties FeatureFlagCustomPropertyArrayOutput `pulumi:"customProperties"`
	// A block containing the indices of the variations to be used as the default on and off variations in all new environments. Flag configurations in existing environments will not be changed nor updated if the configuration block is removed. To learn more, read Nested Defaults Blocks.
	Defaults FeatureFlagDefaultsOutput `pulumi:"defaults"`
	// The feature flag's description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// **Deprecated** (Optional) Specifies whether this flag should be made available to the client-side JavaScript SDK using the client-side Id. This value gets its default from your project configuration if not set. `includeInSnippet` is now deprecated. Please migrate to `client_side_availability.using_environment_id` to maintain future compatability.
	//
	// Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'client_side_availability' to maintain future compatability.
	IncludeInSnippet pulumi.BoolOutput `pulumi:"includeInSnippet"`
	// The unique feature flag key that references the flag in your application code. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringOutput `pulumi:"key"`
	// The LaunchDarkly id of the user who will maintain the flag. If not set, the API will automatically apply the member
	// associated with your Terraform API key or the most recently set maintainer
	MaintainerId pulumi.StringOutput `pulumi:"maintainerId"`
	// The human-readable name of the feature flag.
	Name pulumi.StringOutput `pulumi:"name"`
	// The feature flag's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringOutput `pulumi:"projectKey"`
	// Set of feature flag tags.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// Specifies whether the flag is a temporary flag.
	Temporary pulumi.BoolPtrOutput `pulumi:"temporary"`
	// The feature flag's variation type: `boolean`, `string`, `number` or `json`.
	VariationType pulumi.StringOutput `pulumi:"variationType"`
	// List of nested blocks describing the variations associated with the feature flag. You must specify at least two variations. To learn more, read Nested Variations Blocks.
	Variations FeatureFlagVariationArrayOutput `pulumi:"variations"`
}

Provides a LaunchDarkly feature flag resource.

This resource allows you to create and manage feature flags within your LaunchDarkly organization.

## Example Usage

```go 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.NewFeatureFlag(ctx, "buildingMaterials", &launchdarkly.FeatureFlagArgs{
			ProjectKey:    pulumi.Any(launchdarkly_project.Example.Key),
			Key:           pulumi.String("building-materials"),
			Description:   pulumi.String("this is a multivariate flag with string variations."),
			VariationType: pulumi.String("string"),
			Variations: launchdarkly.FeatureFlagVariationArray{
				&launchdarkly.FeatureFlagVariationArgs{
					Value:       pulumi.String("straw"),
					Name:        pulumi.String("Straw"),
					Description: pulumi.String("Watch out for wind."),
				},
				&launchdarkly.FeatureFlagVariationArgs{
					Value:       pulumi.String("sticks"),
					Name:        pulumi.String("Sticks"),
					Description: pulumi.String("Sturdier than straw"),
				},
				&launchdarkly.FeatureFlagVariationArgs{
					Value:       pulumi.String("bricks"),
					Name:        pulumi.String("Bricks"),
					Description: pulumi.String("The strongest variation"),
				},
			},
			Defaults: &launchdarkly.FeatureFlagDefaultsArgs{
				OnVariation:  pulumi.Int(2),
				OffVariation: pulumi.Int(0),
			},
			Tags: pulumi.StringArray{
				pulumi.String("example"),
				pulumi.String("terraform"),
				pulumi.String("multivariate"),
				pulumi.String("building-materials"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

```go package main

import (

"encoding/json"

"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 {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"foo": "bar",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"foos": []string{
				"bar1",
				"bar2",
			},
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		_, err = launchdarkly.NewFeatureFlag(ctx, "jsonExample", &launchdarkly.FeatureFlagArgs{
			ProjectKey:    pulumi.String("example-project"),
			Key:           pulumi.String("json-example"),
			VariationType: pulumi.String("json"),
			Variations: launchdarkly.FeatureFlagVariationArray{
				&launchdarkly.FeatureFlagVariationArgs{
					Name:  pulumi.String("Single foo"),
					Value: pulumi.String(json0),
				},
				&launchdarkly.FeatureFlagVariationArgs{
					Name:  pulumi.String("Multiple foos"),
					Value: pulumi.String(json1),
				},
			},
			Defaults: &launchdarkly.FeatureFlagDefaultsArgs{
				OnVariation:  pulumi.Int(1),
				OffVariation: pulumi.Int(0),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

You can import a feature flag using the feature flag's ID in the format `project_key/flag_key`. For example

```sh

$ pulumi import launchdarkly:index/featureFlag:FeatureFlag building_materials example-project/building-materials

```

func GetFeatureFlag

func GetFeatureFlag(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FeatureFlagState, opts ...pulumi.ResourceOption) (*FeatureFlag, error)

GetFeatureFlag gets an existing FeatureFlag resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFeatureFlag

func NewFeatureFlag(ctx *pulumi.Context,
	name string, args *FeatureFlagArgs, opts ...pulumi.ResourceOption) (*FeatureFlag, error)

NewFeatureFlag registers a new resource with the given unique name, arguments, and options.

func (*FeatureFlag) ElementType

func (*FeatureFlag) ElementType() reflect.Type

func (*FeatureFlag) ToFeatureFlagOutput

func (i *FeatureFlag) ToFeatureFlagOutput() FeatureFlagOutput

func (*FeatureFlag) ToFeatureFlagOutputWithContext

func (i *FeatureFlag) ToFeatureFlagOutputWithContext(ctx context.Context) FeatureFlagOutput

type FeatureFlagArgs

type FeatureFlagArgs struct {
	// Whether to archive the flag
	Archived pulumi.BoolPtrInput
	// A block describing whether this flag should be made available to the client-side JavaScript SDK using the client-side Id, mobile key, or both. This value gets its default from your project configuration if not set. To learn more, read Nested Client-Side Availability Block.
	ClientSideAvailabilities FeatureFlagClientSideAvailabilityArrayInput
	// List of nested blocks describing the feature flag's [custom properties](https://docs.launchdarkly.com/home/connecting/custom-properties). To learn more, read Nested Custom Properties.
	CustomProperties FeatureFlagCustomPropertyArrayInput
	// A block containing the indices of the variations to be used as the default on and off variations in all new environments. Flag configurations in existing environments will not be changed nor updated if the configuration block is removed. To learn more, read Nested Defaults Blocks.
	Defaults FeatureFlagDefaultsPtrInput
	// The feature flag's description.
	Description pulumi.StringPtrInput
	// **Deprecated** (Optional) Specifies whether this flag should be made available to the client-side JavaScript SDK using the client-side Id. This value gets its default from your project configuration if not set. `includeInSnippet` is now deprecated. Please migrate to `client_side_availability.using_environment_id` to maintain future compatability.
	//
	// Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'client_side_availability' to maintain future compatability.
	IncludeInSnippet pulumi.BoolPtrInput
	// The unique feature flag key that references the flag in your application code. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringInput
	// The LaunchDarkly id of the user who will maintain the flag. If not set, the API will automatically apply the member
	// associated with your Terraform API key or the most recently set maintainer
	MaintainerId pulumi.StringPtrInput
	// The human-readable name of the feature flag.
	Name pulumi.StringPtrInput
	// The feature flag's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringInput
	// Set of feature flag tags.
	Tags pulumi.StringArrayInput
	// Specifies whether the flag is a temporary flag.
	Temporary pulumi.BoolPtrInput
	// The feature flag's variation type: `boolean`, `string`, `number` or `json`.
	VariationType pulumi.StringInput
	// List of nested blocks describing the variations associated with the feature flag. You must specify at least two variations. To learn more, read Nested Variations Blocks.
	Variations FeatureFlagVariationArrayInput
}

The set of arguments for constructing a FeatureFlag resource.

func (FeatureFlagArgs) ElementType

func (FeatureFlagArgs) ElementType() reflect.Type

type FeatureFlagArray

type FeatureFlagArray []FeatureFlagInput

func (FeatureFlagArray) ElementType

func (FeatureFlagArray) ElementType() reflect.Type

func (FeatureFlagArray) ToFeatureFlagArrayOutput

func (i FeatureFlagArray) ToFeatureFlagArrayOutput() FeatureFlagArrayOutput

func (FeatureFlagArray) ToFeatureFlagArrayOutputWithContext

func (i FeatureFlagArray) ToFeatureFlagArrayOutputWithContext(ctx context.Context) FeatureFlagArrayOutput

type FeatureFlagArrayInput

type FeatureFlagArrayInput interface {
	pulumi.Input

	ToFeatureFlagArrayOutput() FeatureFlagArrayOutput
	ToFeatureFlagArrayOutputWithContext(context.Context) FeatureFlagArrayOutput
}

FeatureFlagArrayInput is an input type that accepts FeatureFlagArray and FeatureFlagArrayOutput values. You can construct a concrete instance of `FeatureFlagArrayInput` via:

FeatureFlagArray{ FeatureFlagArgs{...} }

type FeatureFlagArrayOutput

type FeatureFlagArrayOutput struct{ *pulumi.OutputState }

func (FeatureFlagArrayOutput) ElementType

func (FeatureFlagArrayOutput) ElementType() reflect.Type

func (FeatureFlagArrayOutput) Index

func (FeatureFlagArrayOutput) ToFeatureFlagArrayOutput

func (o FeatureFlagArrayOutput) ToFeatureFlagArrayOutput() FeatureFlagArrayOutput

func (FeatureFlagArrayOutput) ToFeatureFlagArrayOutputWithContext

func (o FeatureFlagArrayOutput) ToFeatureFlagArrayOutputWithContext(ctx context.Context) FeatureFlagArrayOutput

type FeatureFlagClientSideAvailability

type FeatureFlagClientSideAvailability struct {
	// Whether this flag is available to SDKs using the client-side ID.
	UsingEnvironmentId *bool `pulumi:"usingEnvironmentId"`
	// Whether this flag is available to SDKs using a mobile key.
	UsingMobileKey *bool `pulumi:"usingMobileKey"`
}

type FeatureFlagClientSideAvailabilityArgs

type FeatureFlagClientSideAvailabilityArgs struct {
	// Whether this flag is available to SDKs using the client-side ID.
	UsingEnvironmentId pulumi.BoolPtrInput `pulumi:"usingEnvironmentId"`
	// Whether this flag is available to SDKs using a mobile key.
	UsingMobileKey pulumi.BoolPtrInput `pulumi:"usingMobileKey"`
}

func (FeatureFlagClientSideAvailabilityArgs) ElementType

func (FeatureFlagClientSideAvailabilityArgs) ToFeatureFlagClientSideAvailabilityOutput

func (i FeatureFlagClientSideAvailabilityArgs) ToFeatureFlagClientSideAvailabilityOutput() FeatureFlagClientSideAvailabilityOutput

func (FeatureFlagClientSideAvailabilityArgs) ToFeatureFlagClientSideAvailabilityOutputWithContext

func (i FeatureFlagClientSideAvailabilityArgs) ToFeatureFlagClientSideAvailabilityOutputWithContext(ctx context.Context) FeatureFlagClientSideAvailabilityOutput

type FeatureFlagClientSideAvailabilityArray

type FeatureFlagClientSideAvailabilityArray []FeatureFlagClientSideAvailabilityInput

func (FeatureFlagClientSideAvailabilityArray) ElementType

func (FeatureFlagClientSideAvailabilityArray) ToFeatureFlagClientSideAvailabilityArrayOutput

func (i FeatureFlagClientSideAvailabilityArray) ToFeatureFlagClientSideAvailabilityArrayOutput() FeatureFlagClientSideAvailabilityArrayOutput

func (FeatureFlagClientSideAvailabilityArray) ToFeatureFlagClientSideAvailabilityArrayOutputWithContext

func (i FeatureFlagClientSideAvailabilityArray) ToFeatureFlagClientSideAvailabilityArrayOutputWithContext(ctx context.Context) FeatureFlagClientSideAvailabilityArrayOutput

type FeatureFlagClientSideAvailabilityArrayInput

type FeatureFlagClientSideAvailabilityArrayInput interface {
	pulumi.Input

	ToFeatureFlagClientSideAvailabilityArrayOutput() FeatureFlagClientSideAvailabilityArrayOutput
	ToFeatureFlagClientSideAvailabilityArrayOutputWithContext(context.Context) FeatureFlagClientSideAvailabilityArrayOutput
}

FeatureFlagClientSideAvailabilityArrayInput is an input type that accepts FeatureFlagClientSideAvailabilityArray and FeatureFlagClientSideAvailabilityArrayOutput values. You can construct a concrete instance of `FeatureFlagClientSideAvailabilityArrayInput` via:

FeatureFlagClientSideAvailabilityArray{ FeatureFlagClientSideAvailabilityArgs{...} }

type FeatureFlagClientSideAvailabilityArrayOutput

type FeatureFlagClientSideAvailabilityArrayOutput struct{ *pulumi.OutputState }

func (FeatureFlagClientSideAvailabilityArrayOutput) ElementType

func (FeatureFlagClientSideAvailabilityArrayOutput) Index

func (FeatureFlagClientSideAvailabilityArrayOutput) ToFeatureFlagClientSideAvailabilityArrayOutput

func (o FeatureFlagClientSideAvailabilityArrayOutput) ToFeatureFlagClientSideAvailabilityArrayOutput() FeatureFlagClientSideAvailabilityArrayOutput

func (FeatureFlagClientSideAvailabilityArrayOutput) ToFeatureFlagClientSideAvailabilityArrayOutputWithContext

func (o FeatureFlagClientSideAvailabilityArrayOutput) ToFeatureFlagClientSideAvailabilityArrayOutputWithContext(ctx context.Context) FeatureFlagClientSideAvailabilityArrayOutput

type FeatureFlagClientSideAvailabilityInput

type FeatureFlagClientSideAvailabilityInput interface {
	pulumi.Input

	ToFeatureFlagClientSideAvailabilityOutput() FeatureFlagClientSideAvailabilityOutput
	ToFeatureFlagClientSideAvailabilityOutputWithContext(context.Context) FeatureFlagClientSideAvailabilityOutput
}

FeatureFlagClientSideAvailabilityInput is an input type that accepts FeatureFlagClientSideAvailabilityArgs and FeatureFlagClientSideAvailabilityOutput values. You can construct a concrete instance of `FeatureFlagClientSideAvailabilityInput` via:

FeatureFlagClientSideAvailabilityArgs{...}

type FeatureFlagClientSideAvailabilityOutput

type FeatureFlagClientSideAvailabilityOutput struct{ *pulumi.OutputState }

func (FeatureFlagClientSideAvailabilityOutput) ElementType

func (FeatureFlagClientSideAvailabilityOutput) ToFeatureFlagClientSideAvailabilityOutput

func (o FeatureFlagClientSideAvailabilityOutput) ToFeatureFlagClientSideAvailabilityOutput() FeatureFlagClientSideAvailabilityOutput

func (FeatureFlagClientSideAvailabilityOutput) ToFeatureFlagClientSideAvailabilityOutputWithContext

func (o FeatureFlagClientSideAvailabilityOutput) ToFeatureFlagClientSideAvailabilityOutputWithContext(ctx context.Context) FeatureFlagClientSideAvailabilityOutput

func (FeatureFlagClientSideAvailabilityOutput) UsingEnvironmentId

Whether this flag is available to SDKs using the client-side ID.

func (FeatureFlagClientSideAvailabilityOutput) UsingMobileKey

Whether this flag is available to SDKs using a mobile key.

type FeatureFlagCustomProperty

type FeatureFlagCustomProperty struct {
	// The unique custom property key.
	Key string `pulumi:"key"`
	// The name of the custom property.
	Name string `pulumi:"name"`
	// The list of custom property value strings.
	Values []string `pulumi:"values"`
}

type FeatureFlagCustomPropertyArgs

type FeatureFlagCustomPropertyArgs struct {
	// The unique custom property key.
	Key pulumi.StringInput `pulumi:"key"`
	// The name of the custom property.
	Name pulumi.StringInput `pulumi:"name"`
	// The list of custom property value strings.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (FeatureFlagCustomPropertyArgs) ElementType

func (FeatureFlagCustomPropertyArgs) ToFeatureFlagCustomPropertyOutput

func (i FeatureFlagCustomPropertyArgs) ToFeatureFlagCustomPropertyOutput() FeatureFlagCustomPropertyOutput

func (FeatureFlagCustomPropertyArgs) ToFeatureFlagCustomPropertyOutputWithContext

func (i FeatureFlagCustomPropertyArgs) ToFeatureFlagCustomPropertyOutputWithContext(ctx context.Context) FeatureFlagCustomPropertyOutput

type FeatureFlagCustomPropertyArray

type FeatureFlagCustomPropertyArray []FeatureFlagCustomPropertyInput

func (FeatureFlagCustomPropertyArray) ElementType

func (FeatureFlagCustomPropertyArray) ToFeatureFlagCustomPropertyArrayOutput

func (i FeatureFlagCustomPropertyArray) ToFeatureFlagCustomPropertyArrayOutput() FeatureFlagCustomPropertyArrayOutput

func (FeatureFlagCustomPropertyArray) ToFeatureFlagCustomPropertyArrayOutputWithContext

func (i FeatureFlagCustomPropertyArray) ToFeatureFlagCustomPropertyArrayOutputWithContext(ctx context.Context) FeatureFlagCustomPropertyArrayOutput

type FeatureFlagCustomPropertyArrayInput

type FeatureFlagCustomPropertyArrayInput interface {
	pulumi.Input

	ToFeatureFlagCustomPropertyArrayOutput() FeatureFlagCustomPropertyArrayOutput
	ToFeatureFlagCustomPropertyArrayOutputWithContext(context.Context) FeatureFlagCustomPropertyArrayOutput
}

FeatureFlagCustomPropertyArrayInput is an input type that accepts FeatureFlagCustomPropertyArray and FeatureFlagCustomPropertyArrayOutput values. You can construct a concrete instance of `FeatureFlagCustomPropertyArrayInput` via:

FeatureFlagCustomPropertyArray{ FeatureFlagCustomPropertyArgs{...} }

type FeatureFlagCustomPropertyArrayOutput

type FeatureFlagCustomPropertyArrayOutput struct{ *pulumi.OutputState }

func (FeatureFlagCustomPropertyArrayOutput) ElementType

func (FeatureFlagCustomPropertyArrayOutput) Index

func (FeatureFlagCustomPropertyArrayOutput) ToFeatureFlagCustomPropertyArrayOutput

func (o FeatureFlagCustomPropertyArrayOutput) ToFeatureFlagCustomPropertyArrayOutput() FeatureFlagCustomPropertyArrayOutput

func (FeatureFlagCustomPropertyArrayOutput) ToFeatureFlagCustomPropertyArrayOutputWithContext

func (o FeatureFlagCustomPropertyArrayOutput) ToFeatureFlagCustomPropertyArrayOutputWithContext(ctx context.Context) FeatureFlagCustomPropertyArrayOutput

type FeatureFlagCustomPropertyInput

type FeatureFlagCustomPropertyInput interface {
	pulumi.Input

	ToFeatureFlagCustomPropertyOutput() FeatureFlagCustomPropertyOutput
	ToFeatureFlagCustomPropertyOutputWithContext(context.Context) FeatureFlagCustomPropertyOutput
}

FeatureFlagCustomPropertyInput is an input type that accepts FeatureFlagCustomPropertyArgs and FeatureFlagCustomPropertyOutput values. You can construct a concrete instance of `FeatureFlagCustomPropertyInput` via:

FeatureFlagCustomPropertyArgs{...}

type FeatureFlagCustomPropertyOutput

type FeatureFlagCustomPropertyOutput struct{ *pulumi.OutputState }

func (FeatureFlagCustomPropertyOutput) ElementType

func (FeatureFlagCustomPropertyOutput) Key

The unique custom property key.

func (FeatureFlagCustomPropertyOutput) Name

The name of the custom property.

func (FeatureFlagCustomPropertyOutput) ToFeatureFlagCustomPropertyOutput

func (o FeatureFlagCustomPropertyOutput) ToFeatureFlagCustomPropertyOutput() FeatureFlagCustomPropertyOutput

func (FeatureFlagCustomPropertyOutput) ToFeatureFlagCustomPropertyOutputWithContext

func (o FeatureFlagCustomPropertyOutput) ToFeatureFlagCustomPropertyOutputWithContext(ctx context.Context) FeatureFlagCustomPropertyOutput

func (FeatureFlagCustomPropertyOutput) Values

The list of custom property value strings.

type FeatureFlagDefaults

type FeatureFlagDefaults struct {
	// The index of the variation the flag will default to in all new environments when off.
	OffVariation int `pulumi:"offVariation"`
	// The index of the variation the flag will default to in all new environments when on.
	OnVariation int `pulumi:"onVariation"`
}

type FeatureFlagDefaultsArgs

type FeatureFlagDefaultsArgs struct {
	// The index of the variation the flag will default to in all new environments when off.
	OffVariation pulumi.IntInput `pulumi:"offVariation"`
	// The index of the variation the flag will default to in all new environments when on.
	OnVariation pulumi.IntInput `pulumi:"onVariation"`
}

func (FeatureFlagDefaultsArgs) ElementType

func (FeatureFlagDefaultsArgs) ElementType() reflect.Type

func (FeatureFlagDefaultsArgs) ToFeatureFlagDefaultsOutput

func (i FeatureFlagDefaultsArgs) ToFeatureFlagDefaultsOutput() FeatureFlagDefaultsOutput

func (FeatureFlagDefaultsArgs) ToFeatureFlagDefaultsOutputWithContext

func (i FeatureFlagDefaultsArgs) ToFeatureFlagDefaultsOutputWithContext(ctx context.Context) FeatureFlagDefaultsOutput

func (FeatureFlagDefaultsArgs) ToFeatureFlagDefaultsPtrOutput

func (i FeatureFlagDefaultsArgs) ToFeatureFlagDefaultsPtrOutput() FeatureFlagDefaultsPtrOutput

func (FeatureFlagDefaultsArgs) ToFeatureFlagDefaultsPtrOutputWithContext

func (i FeatureFlagDefaultsArgs) ToFeatureFlagDefaultsPtrOutputWithContext(ctx context.Context) FeatureFlagDefaultsPtrOutput

type FeatureFlagDefaultsInput

type FeatureFlagDefaultsInput interface {
	pulumi.Input

	ToFeatureFlagDefaultsOutput() FeatureFlagDefaultsOutput
	ToFeatureFlagDefaultsOutputWithContext(context.Context) FeatureFlagDefaultsOutput
}

FeatureFlagDefaultsInput is an input type that accepts FeatureFlagDefaultsArgs and FeatureFlagDefaultsOutput values. You can construct a concrete instance of `FeatureFlagDefaultsInput` via:

FeatureFlagDefaultsArgs{...}

type FeatureFlagDefaultsOutput

type FeatureFlagDefaultsOutput struct{ *pulumi.OutputState }

func (FeatureFlagDefaultsOutput) ElementType

func (FeatureFlagDefaultsOutput) ElementType() reflect.Type

func (FeatureFlagDefaultsOutput) OffVariation

func (o FeatureFlagDefaultsOutput) OffVariation() pulumi.IntOutput

The index of the variation the flag will default to in all new environments when off.

func (FeatureFlagDefaultsOutput) OnVariation

func (o FeatureFlagDefaultsOutput) OnVariation() pulumi.IntOutput

The index of the variation the flag will default to in all new environments when on.

func (FeatureFlagDefaultsOutput) ToFeatureFlagDefaultsOutput

func (o FeatureFlagDefaultsOutput) ToFeatureFlagDefaultsOutput() FeatureFlagDefaultsOutput

func (FeatureFlagDefaultsOutput) ToFeatureFlagDefaultsOutputWithContext

func (o FeatureFlagDefaultsOutput) ToFeatureFlagDefaultsOutputWithContext(ctx context.Context) FeatureFlagDefaultsOutput

func (FeatureFlagDefaultsOutput) ToFeatureFlagDefaultsPtrOutput

func (o FeatureFlagDefaultsOutput) ToFeatureFlagDefaultsPtrOutput() FeatureFlagDefaultsPtrOutput

func (FeatureFlagDefaultsOutput) ToFeatureFlagDefaultsPtrOutputWithContext

func (o FeatureFlagDefaultsOutput) ToFeatureFlagDefaultsPtrOutputWithContext(ctx context.Context) FeatureFlagDefaultsPtrOutput

type FeatureFlagDefaultsPtrInput

type FeatureFlagDefaultsPtrInput interface {
	pulumi.Input

	ToFeatureFlagDefaultsPtrOutput() FeatureFlagDefaultsPtrOutput
	ToFeatureFlagDefaultsPtrOutputWithContext(context.Context) FeatureFlagDefaultsPtrOutput
}

FeatureFlagDefaultsPtrInput is an input type that accepts FeatureFlagDefaultsArgs, FeatureFlagDefaultsPtr and FeatureFlagDefaultsPtrOutput values. You can construct a concrete instance of `FeatureFlagDefaultsPtrInput` via:

        FeatureFlagDefaultsArgs{...}

or:

        nil

type FeatureFlagDefaultsPtrOutput

type FeatureFlagDefaultsPtrOutput struct{ *pulumi.OutputState }

func (FeatureFlagDefaultsPtrOutput) Elem

func (FeatureFlagDefaultsPtrOutput) ElementType

func (FeatureFlagDefaultsPtrOutput) OffVariation

The index of the variation the flag will default to in all new environments when off.

func (FeatureFlagDefaultsPtrOutput) OnVariation

The index of the variation the flag will default to in all new environments when on.

func (FeatureFlagDefaultsPtrOutput) ToFeatureFlagDefaultsPtrOutput

func (o FeatureFlagDefaultsPtrOutput) ToFeatureFlagDefaultsPtrOutput() FeatureFlagDefaultsPtrOutput

func (FeatureFlagDefaultsPtrOutput) ToFeatureFlagDefaultsPtrOutputWithContext

func (o FeatureFlagDefaultsPtrOutput) ToFeatureFlagDefaultsPtrOutputWithContext(ctx context.Context) FeatureFlagDefaultsPtrOutput

type FeatureFlagEnvironment

type FeatureFlagEnvironment struct {
	pulumi.CustomResourceState

	// The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringOutput `pulumi:"envKey"`
	// - (Required) Nested block describing the default variation to serve if no `prerequisites`, `target`, or `rules` apply.To learn more, read Nested Fallthrough Block.
	Fallthrough FeatureFlagEnvironmentFallthroughOutput `pulumi:"fallthrough"`
	// The feature flag's unique `id` in the format `project_key/flag_key`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	FlagId pulumi.StringOutput `pulumi:"flagId"`
	// The index of the variation to serve if targeting is disabled.
	OffVariation pulumi.IntOutput `pulumi:"offVariation"`
	// - (Optional) Whether targeting is enabled. Defaults to `false` if not set.
	On pulumi.BoolPtrOutput `pulumi:"on"`
	// List of nested blocks describing prerequisite feature flags rules. To learn more, read Nested Prequisites Blocks.
	Prerequisites FeatureFlagEnvironmentPrerequisiteArrayOutput `pulumi:"prerequisites"`
	// List of logical targeting rules. To learn more, read Nested Rules Blocks.
	Rules FeatureFlagEnvironmentRuleArrayOutput `pulumi:"rules"`
	// - (Optional) Set of nested blocks describing the individual user targets for each variation. To learn more, read Nested Target Blocks.
	Targets FeatureFlagEnvironmentTargetArrayOutput `pulumi:"targets"`
	// Whether to send event data back to LaunchDarkly. Defaults to `false` if not set.
	TrackEvents pulumi.BoolPtrOutput `pulumi:"trackEvents"`
}

## Example Usage

```go 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.NewFeatureFlagEnvironment(ctx, "numberEnv", &launchdarkly.FeatureFlagEnvironmentArgs{
			FlagId: pulumi.Any(launchdarkly_feature_flag.Number.Id),
			EnvKey: pulumi.Any(launchdarkly_environment.Staging.Key),
			On:     pulumi.Bool(true),
			Prerequisites: launchdarkly.FeatureFlagEnvironmentPrerequisiteArray{
				&launchdarkly.FeatureFlagEnvironmentPrerequisiteArgs{
					FlagKey:   pulumi.Any(launchdarkly_feature_flag.Basic.Key),
					Variation: pulumi.Int(0),
				},
			},
			Targets: launchdarkly.FeatureFlagEnvironmentTargetArray{
				&launchdarkly.FeatureFlagEnvironmentTargetArgs{
					Values: pulumi.StringArray{
						pulumi.String("user0"),
					},
					Variation: pulumi.Int(0),
				},
				&launchdarkly.FeatureFlagEnvironmentTargetArgs{
					Values: pulumi.StringArray{
						pulumi.String("user1"),
						pulumi.String("user2"),
					},
					Variation: pulumi.Int(1),
				},
			},
			Rules: launchdarkly.FeatureFlagEnvironmentRuleArray{
				&launchdarkly.FeatureFlagEnvironmentRuleArgs{
					Clauses: launchdarkly.FeatureFlagEnvironmentRuleClauseArray{
						&launchdarkly.FeatureFlagEnvironmentRuleClauseArgs{
							Attribute: pulumi.String("country"),
							Op:        pulumi.String("startsWith"),
							Values: pulumi.StringArray{
								pulumi.String("aus"),
								pulumi.String("de"),
								pulumi.String("united"),
							},
							Negate: pulumi.Bool(false),
						},
						&launchdarkly.FeatureFlagEnvironmentRuleClauseArgs{
							Attribute: pulumi.String("segmentMatch"),
							Op:        pulumi.String("segmentMatch"),
							Values: pulumi.StringArray{
								launchdarkly_segment.Example.Key,
							},
							Negate: pulumi.Bool(false),
						},
					},
					Variation: pulumi.Int(0),
				},
			},
			Fallthrough: &launchdarkly.FeatureFlagEnvironmentFallthroughArgs{
				RolloutWeights: pulumi.IntArray{
					pulumi.Int(60000),
					pulumi.Int(40000),
					pulumi.Int(0),
				},
			},
			OffVariation: pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

LaunchDarkly feature flag environments can be imported using the resource's ID in the form `project_key/env_key/flag_key`, e.g.

```sh

$ pulumi import launchdarkly:index/featureFlagEnvironment:FeatureFlagEnvironment example example-project/example-env/example-flag-key

```

func GetFeatureFlagEnvironment

func GetFeatureFlagEnvironment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FeatureFlagEnvironmentState, opts ...pulumi.ResourceOption) (*FeatureFlagEnvironment, error)

GetFeatureFlagEnvironment gets an existing FeatureFlagEnvironment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFeatureFlagEnvironment

func NewFeatureFlagEnvironment(ctx *pulumi.Context,
	name string, args *FeatureFlagEnvironmentArgs, opts ...pulumi.ResourceOption) (*FeatureFlagEnvironment, error)

NewFeatureFlagEnvironment registers a new resource with the given unique name, arguments, and options.

func (*FeatureFlagEnvironment) ElementType

func (*FeatureFlagEnvironment) ElementType() reflect.Type

func (*FeatureFlagEnvironment) ToFeatureFlagEnvironmentOutput

func (i *FeatureFlagEnvironment) ToFeatureFlagEnvironmentOutput() FeatureFlagEnvironmentOutput

func (*FeatureFlagEnvironment) ToFeatureFlagEnvironmentOutputWithContext

func (i *FeatureFlagEnvironment) ToFeatureFlagEnvironmentOutputWithContext(ctx context.Context) FeatureFlagEnvironmentOutput

type FeatureFlagEnvironmentArgs

type FeatureFlagEnvironmentArgs struct {
	// The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringInput
	// - (Required) Nested block describing the default variation to serve if no `prerequisites`, `target`, or `rules` apply.To learn more, read Nested Fallthrough Block.
	Fallthrough FeatureFlagEnvironmentFallthroughInput
	// The feature flag's unique `id` in the format `project_key/flag_key`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	FlagId pulumi.StringInput
	// The index of the variation to serve if targeting is disabled.
	OffVariation pulumi.IntInput
	// - (Optional) Whether targeting is enabled. Defaults to `false` if not set.
	On pulumi.BoolPtrInput
	// List of nested blocks describing prerequisite feature flags rules. To learn more, read Nested Prequisites Blocks.
	Prerequisites FeatureFlagEnvironmentPrerequisiteArrayInput
	// List of logical targeting rules. To learn more, read Nested Rules Blocks.
	Rules FeatureFlagEnvironmentRuleArrayInput
	// - (Optional) Set of nested blocks describing the individual user targets for each variation. To learn more, read Nested Target Blocks.
	Targets FeatureFlagEnvironmentTargetArrayInput
	// Whether to send event data back to LaunchDarkly. Defaults to `false` if not set.
	TrackEvents pulumi.BoolPtrInput
}

The set of arguments for constructing a FeatureFlagEnvironment resource.

func (FeatureFlagEnvironmentArgs) ElementType

func (FeatureFlagEnvironmentArgs) ElementType() reflect.Type

type FeatureFlagEnvironmentArray

type FeatureFlagEnvironmentArray []FeatureFlagEnvironmentInput

func (FeatureFlagEnvironmentArray) ElementType

func (FeatureFlagEnvironmentArray) ToFeatureFlagEnvironmentArrayOutput

func (i FeatureFlagEnvironmentArray) ToFeatureFlagEnvironmentArrayOutput() FeatureFlagEnvironmentArrayOutput

func (FeatureFlagEnvironmentArray) ToFeatureFlagEnvironmentArrayOutputWithContext

func (i FeatureFlagEnvironmentArray) ToFeatureFlagEnvironmentArrayOutputWithContext(ctx context.Context) FeatureFlagEnvironmentArrayOutput

type FeatureFlagEnvironmentArrayInput

type FeatureFlagEnvironmentArrayInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentArrayOutput() FeatureFlagEnvironmentArrayOutput
	ToFeatureFlagEnvironmentArrayOutputWithContext(context.Context) FeatureFlagEnvironmentArrayOutput
}

FeatureFlagEnvironmentArrayInput is an input type that accepts FeatureFlagEnvironmentArray and FeatureFlagEnvironmentArrayOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentArrayInput` via:

FeatureFlagEnvironmentArray{ FeatureFlagEnvironmentArgs{...} }

type FeatureFlagEnvironmentArrayOutput

type FeatureFlagEnvironmentArrayOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentArrayOutput) ElementType

func (FeatureFlagEnvironmentArrayOutput) Index

func (FeatureFlagEnvironmentArrayOutput) ToFeatureFlagEnvironmentArrayOutput

func (o FeatureFlagEnvironmentArrayOutput) ToFeatureFlagEnvironmentArrayOutput() FeatureFlagEnvironmentArrayOutput

func (FeatureFlagEnvironmentArrayOutput) ToFeatureFlagEnvironmentArrayOutputWithContext

func (o FeatureFlagEnvironmentArrayOutput) ToFeatureFlagEnvironmentArrayOutputWithContext(ctx context.Context) FeatureFlagEnvironmentArrayOutput

type FeatureFlagEnvironmentFallthrough

type FeatureFlagEnvironmentFallthrough struct {
	// Group percentage rollout by a custom attribute. This argument is only valid if `rolloutWeights` is also specified.
	BucketBy *string `pulumi:"bucketBy"`
	// List of integer percentage rollout weights (in thousandths of a percent) to apply to each variation if the rule clauses evaluates to `true`. The sum of the `rolloutWeights` must equal 100000 and the number of rollout weights specified in the array must match the number of flag variations. You must specify either `variation` or `rolloutWeights`.
	RolloutWeights []int `pulumi:"rolloutWeights"`
	// The integer variation index to serve if the rule clauses evaluate to `true`. You must specify either `variation` or `rolloutWeights`.
	Variation *int `pulumi:"variation"`
}

type FeatureFlagEnvironmentFallthroughArgs

type FeatureFlagEnvironmentFallthroughArgs struct {
	// Group percentage rollout by a custom attribute. This argument is only valid if `rolloutWeights` is also specified.
	BucketBy pulumi.StringPtrInput `pulumi:"bucketBy"`
	// List of integer percentage rollout weights (in thousandths of a percent) to apply to each variation if the rule clauses evaluates to `true`. The sum of the `rolloutWeights` must equal 100000 and the number of rollout weights specified in the array must match the number of flag variations. You must specify either `variation` or `rolloutWeights`.
	RolloutWeights pulumi.IntArrayInput `pulumi:"rolloutWeights"`
	// The integer variation index to serve if the rule clauses evaluate to `true`. You must specify either `variation` or `rolloutWeights`.
	Variation pulumi.IntPtrInput `pulumi:"variation"`
}

func (FeatureFlagEnvironmentFallthroughArgs) ElementType

func (FeatureFlagEnvironmentFallthroughArgs) ToFeatureFlagEnvironmentFallthroughOutput

func (i FeatureFlagEnvironmentFallthroughArgs) ToFeatureFlagEnvironmentFallthroughOutput() FeatureFlagEnvironmentFallthroughOutput

func (FeatureFlagEnvironmentFallthroughArgs) ToFeatureFlagEnvironmentFallthroughOutputWithContext

func (i FeatureFlagEnvironmentFallthroughArgs) ToFeatureFlagEnvironmentFallthroughOutputWithContext(ctx context.Context) FeatureFlagEnvironmentFallthroughOutput

func (FeatureFlagEnvironmentFallthroughArgs) ToFeatureFlagEnvironmentFallthroughPtrOutput

func (i FeatureFlagEnvironmentFallthroughArgs) ToFeatureFlagEnvironmentFallthroughPtrOutput() FeatureFlagEnvironmentFallthroughPtrOutput

func (FeatureFlagEnvironmentFallthroughArgs) ToFeatureFlagEnvironmentFallthroughPtrOutputWithContext

func (i FeatureFlagEnvironmentFallthroughArgs) ToFeatureFlagEnvironmentFallthroughPtrOutputWithContext(ctx context.Context) FeatureFlagEnvironmentFallthroughPtrOutput

type FeatureFlagEnvironmentFallthroughInput

type FeatureFlagEnvironmentFallthroughInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentFallthroughOutput() FeatureFlagEnvironmentFallthroughOutput
	ToFeatureFlagEnvironmentFallthroughOutputWithContext(context.Context) FeatureFlagEnvironmentFallthroughOutput
}

FeatureFlagEnvironmentFallthroughInput is an input type that accepts FeatureFlagEnvironmentFallthroughArgs and FeatureFlagEnvironmentFallthroughOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentFallthroughInput` via:

FeatureFlagEnvironmentFallthroughArgs{...}

type FeatureFlagEnvironmentFallthroughOutput

type FeatureFlagEnvironmentFallthroughOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentFallthroughOutput) BucketBy

Group percentage rollout by a custom attribute. This argument is only valid if `rolloutWeights` is also specified.

func (FeatureFlagEnvironmentFallthroughOutput) ElementType

func (FeatureFlagEnvironmentFallthroughOutput) RolloutWeights

List of integer percentage rollout weights (in thousandths of a percent) to apply to each variation if the rule clauses evaluates to `true`. The sum of the `rolloutWeights` must equal 100000 and the number of rollout weights specified in the array must match the number of flag variations. You must specify either `variation` or `rolloutWeights`.

func (FeatureFlagEnvironmentFallthroughOutput) ToFeatureFlagEnvironmentFallthroughOutput

func (o FeatureFlagEnvironmentFallthroughOutput) ToFeatureFlagEnvironmentFallthroughOutput() FeatureFlagEnvironmentFallthroughOutput

func (FeatureFlagEnvironmentFallthroughOutput) ToFeatureFlagEnvironmentFallthroughOutputWithContext

func (o FeatureFlagEnvironmentFallthroughOutput) ToFeatureFlagEnvironmentFallthroughOutputWithContext(ctx context.Context) FeatureFlagEnvironmentFallthroughOutput

func (FeatureFlagEnvironmentFallthroughOutput) ToFeatureFlagEnvironmentFallthroughPtrOutput

func (o FeatureFlagEnvironmentFallthroughOutput) ToFeatureFlagEnvironmentFallthroughPtrOutput() FeatureFlagEnvironmentFallthroughPtrOutput

func (FeatureFlagEnvironmentFallthroughOutput) ToFeatureFlagEnvironmentFallthroughPtrOutputWithContext

func (o FeatureFlagEnvironmentFallthroughOutput) ToFeatureFlagEnvironmentFallthroughPtrOutputWithContext(ctx context.Context) FeatureFlagEnvironmentFallthroughPtrOutput

func (FeatureFlagEnvironmentFallthroughOutput) Variation

The integer variation index to serve if the rule clauses evaluate to `true`. You must specify either `variation` or `rolloutWeights`.

type FeatureFlagEnvironmentFallthroughPtrInput

type FeatureFlagEnvironmentFallthroughPtrInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentFallthroughPtrOutput() FeatureFlagEnvironmentFallthroughPtrOutput
	ToFeatureFlagEnvironmentFallthroughPtrOutputWithContext(context.Context) FeatureFlagEnvironmentFallthroughPtrOutput
}

FeatureFlagEnvironmentFallthroughPtrInput is an input type that accepts FeatureFlagEnvironmentFallthroughArgs, FeatureFlagEnvironmentFallthroughPtr and FeatureFlagEnvironmentFallthroughPtrOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentFallthroughPtrInput` via:

        FeatureFlagEnvironmentFallthroughArgs{...}

or:

        nil

type FeatureFlagEnvironmentFallthroughPtrOutput

type FeatureFlagEnvironmentFallthroughPtrOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentFallthroughPtrOutput) BucketBy

Group percentage rollout by a custom attribute. This argument is only valid if `rolloutWeights` is also specified.

func (FeatureFlagEnvironmentFallthroughPtrOutput) Elem

func (FeatureFlagEnvironmentFallthroughPtrOutput) ElementType

func (FeatureFlagEnvironmentFallthroughPtrOutput) RolloutWeights

List of integer percentage rollout weights (in thousandths of a percent) to apply to each variation if the rule clauses evaluates to `true`. The sum of the `rolloutWeights` must equal 100000 and the number of rollout weights specified in the array must match the number of flag variations. You must specify either `variation` or `rolloutWeights`.

func (FeatureFlagEnvironmentFallthroughPtrOutput) ToFeatureFlagEnvironmentFallthroughPtrOutput

func (o FeatureFlagEnvironmentFallthroughPtrOutput) ToFeatureFlagEnvironmentFallthroughPtrOutput() FeatureFlagEnvironmentFallthroughPtrOutput

func (FeatureFlagEnvironmentFallthroughPtrOutput) ToFeatureFlagEnvironmentFallthroughPtrOutputWithContext

func (o FeatureFlagEnvironmentFallthroughPtrOutput) ToFeatureFlagEnvironmentFallthroughPtrOutputWithContext(ctx context.Context) FeatureFlagEnvironmentFallthroughPtrOutput

func (FeatureFlagEnvironmentFallthroughPtrOutput) Variation

The integer variation index to serve if the rule clauses evaluate to `true`. You must specify either `variation` or `rolloutWeights`.

type FeatureFlagEnvironmentInput

type FeatureFlagEnvironmentInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentOutput() FeatureFlagEnvironmentOutput
	ToFeatureFlagEnvironmentOutputWithContext(ctx context.Context) FeatureFlagEnvironmentOutput
}

type FeatureFlagEnvironmentMap

type FeatureFlagEnvironmentMap map[string]FeatureFlagEnvironmentInput

func (FeatureFlagEnvironmentMap) ElementType

func (FeatureFlagEnvironmentMap) ElementType() reflect.Type

func (FeatureFlagEnvironmentMap) ToFeatureFlagEnvironmentMapOutput

func (i FeatureFlagEnvironmentMap) ToFeatureFlagEnvironmentMapOutput() FeatureFlagEnvironmentMapOutput

func (FeatureFlagEnvironmentMap) ToFeatureFlagEnvironmentMapOutputWithContext

func (i FeatureFlagEnvironmentMap) ToFeatureFlagEnvironmentMapOutputWithContext(ctx context.Context) FeatureFlagEnvironmentMapOutput

type FeatureFlagEnvironmentMapInput

type FeatureFlagEnvironmentMapInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentMapOutput() FeatureFlagEnvironmentMapOutput
	ToFeatureFlagEnvironmentMapOutputWithContext(context.Context) FeatureFlagEnvironmentMapOutput
}

FeatureFlagEnvironmentMapInput is an input type that accepts FeatureFlagEnvironmentMap and FeatureFlagEnvironmentMapOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentMapInput` via:

FeatureFlagEnvironmentMap{ "key": FeatureFlagEnvironmentArgs{...} }

type FeatureFlagEnvironmentMapOutput

type FeatureFlagEnvironmentMapOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentMapOutput) ElementType

func (FeatureFlagEnvironmentMapOutput) MapIndex

func (FeatureFlagEnvironmentMapOutput) ToFeatureFlagEnvironmentMapOutput

func (o FeatureFlagEnvironmentMapOutput) ToFeatureFlagEnvironmentMapOutput() FeatureFlagEnvironmentMapOutput

func (FeatureFlagEnvironmentMapOutput) ToFeatureFlagEnvironmentMapOutputWithContext

func (o FeatureFlagEnvironmentMapOutput) ToFeatureFlagEnvironmentMapOutputWithContext(ctx context.Context) FeatureFlagEnvironmentMapOutput

type FeatureFlagEnvironmentOutput

type FeatureFlagEnvironmentOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentOutput) ElementType

func (FeatureFlagEnvironmentOutput) EnvKey

The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (FeatureFlagEnvironmentOutput) Fallthrough

- (Required) Nested block describing the default variation to serve if no `prerequisites`, `target`, or `rules` apply.To learn more, read Nested Fallthrough Block.

func (FeatureFlagEnvironmentOutput) FlagId

The feature flag's unique `id` in the format `project_key/flag_key`. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (FeatureFlagEnvironmentOutput) OffVariation

The index of the variation to serve if targeting is disabled.

func (FeatureFlagEnvironmentOutput) On

- (Optional) Whether targeting is enabled. Defaults to `false` if not set.

func (FeatureFlagEnvironmentOutput) Prerequisites

List of nested blocks describing prerequisite feature flags rules. To learn more, read Nested Prequisites Blocks.

func (FeatureFlagEnvironmentOutput) Rules

List of logical targeting rules. To learn more, read Nested Rules Blocks.

func (FeatureFlagEnvironmentOutput) Targets

- (Optional) Set of nested blocks describing the individual user targets for each variation. To learn more, read Nested Target Blocks.

func (FeatureFlagEnvironmentOutput) ToFeatureFlagEnvironmentOutput

func (o FeatureFlagEnvironmentOutput) ToFeatureFlagEnvironmentOutput() FeatureFlagEnvironmentOutput

func (FeatureFlagEnvironmentOutput) ToFeatureFlagEnvironmentOutputWithContext

func (o FeatureFlagEnvironmentOutput) ToFeatureFlagEnvironmentOutputWithContext(ctx context.Context) FeatureFlagEnvironmentOutput

func (FeatureFlagEnvironmentOutput) TrackEvents

Whether to send event data back to LaunchDarkly. Defaults to `false` if not set.

type FeatureFlagEnvironmentPrerequisite

type FeatureFlagEnvironmentPrerequisite struct {
	// The prerequisite feature flag's `key`.
	FlagKey string `pulumi:"flagKey"`
	// The index of the prerequisite feature flag's variation to target.
	Variation int `pulumi:"variation"`
}

type FeatureFlagEnvironmentPrerequisiteArgs

type FeatureFlagEnvironmentPrerequisiteArgs struct {
	// The prerequisite feature flag's `key`.
	FlagKey pulumi.StringInput `pulumi:"flagKey"`
	// The index of the prerequisite feature flag's variation to target.
	Variation pulumi.IntInput `pulumi:"variation"`
}

func (FeatureFlagEnvironmentPrerequisiteArgs) ElementType

func (FeatureFlagEnvironmentPrerequisiteArgs) ToFeatureFlagEnvironmentPrerequisiteOutput

func (i FeatureFlagEnvironmentPrerequisiteArgs) ToFeatureFlagEnvironmentPrerequisiteOutput() FeatureFlagEnvironmentPrerequisiteOutput

func (FeatureFlagEnvironmentPrerequisiteArgs) ToFeatureFlagEnvironmentPrerequisiteOutputWithContext

func (i FeatureFlagEnvironmentPrerequisiteArgs) ToFeatureFlagEnvironmentPrerequisiteOutputWithContext(ctx context.Context) FeatureFlagEnvironmentPrerequisiteOutput

type FeatureFlagEnvironmentPrerequisiteArray

type FeatureFlagEnvironmentPrerequisiteArray []FeatureFlagEnvironmentPrerequisiteInput

func (FeatureFlagEnvironmentPrerequisiteArray) ElementType

func (FeatureFlagEnvironmentPrerequisiteArray) ToFeatureFlagEnvironmentPrerequisiteArrayOutput

func (i FeatureFlagEnvironmentPrerequisiteArray) ToFeatureFlagEnvironmentPrerequisiteArrayOutput() FeatureFlagEnvironmentPrerequisiteArrayOutput

func (FeatureFlagEnvironmentPrerequisiteArray) ToFeatureFlagEnvironmentPrerequisiteArrayOutputWithContext

func (i FeatureFlagEnvironmentPrerequisiteArray) ToFeatureFlagEnvironmentPrerequisiteArrayOutputWithContext(ctx context.Context) FeatureFlagEnvironmentPrerequisiteArrayOutput

type FeatureFlagEnvironmentPrerequisiteArrayInput

type FeatureFlagEnvironmentPrerequisiteArrayInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentPrerequisiteArrayOutput() FeatureFlagEnvironmentPrerequisiteArrayOutput
	ToFeatureFlagEnvironmentPrerequisiteArrayOutputWithContext(context.Context) FeatureFlagEnvironmentPrerequisiteArrayOutput
}

FeatureFlagEnvironmentPrerequisiteArrayInput is an input type that accepts FeatureFlagEnvironmentPrerequisiteArray and FeatureFlagEnvironmentPrerequisiteArrayOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentPrerequisiteArrayInput` via:

FeatureFlagEnvironmentPrerequisiteArray{ FeatureFlagEnvironmentPrerequisiteArgs{...} }

type FeatureFlagEnvironmentPrerequisiteArrayOutput

type FeatureFlagEnvironmentPrerequisiteArrayOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentPrerequisiteArrayOutput) ElementType

func (FeatureFlagEnvironmentPrerequisiteArrayOutput) Index

func (FeatureFlagEnvironmentPrerequisiteArrayOutput) ToFeatureFlagEnvironmentPrerequisiteArrayOutput

func (o FeatureFlagEnvironmentPrerequisiteArrayOutput) ToFeatureFlagEnvironmentPrerequisiteArrayOutput() FeatureFlagEnvironmentPrerequisiteArrayOutput

func (FeatureFlagEnvironmentPrerequisiteArrayOutput) ToFeatureFlagEnvironmentPrerequisiteArrayOutputWithContext

func (o FeatureFlagEnvironmentPrerequisiteArrayOutput) ToFeatureFlagEnvironmentPrerequisiteArrayOutputWithContext(ctx context.Context) FeatureFlagEnvironmentPrerequisiteArrayOutput

type FeatureFlagEnvironmentPrerequisiteInput

type FeatureFlagEnvironmentPrerequisiteInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentPrerequisiteOutput() FeatureFlagEnvironmentPrerequisiteOutput
	ToFeatureFlagEnvironmentPrerequisiteOutputWithContext(context.Context) FeatureFlagEnvironmentPrerequisiteOutput
}

FeatureFlagEnvironmentPrerequisiteInput is an input type that accepts FeatureFlagEnvironmentPrerequisiteArgs and FeatureFlagEnvironmentPrerequisiteOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentPrerequisiteInput` via:

FeatureFlagEnvironmentPrerequisiteArgs{...}

type FeatureFlagEnvironmentPrerequisiteOutput

type FeatureFlagEnvironmentPrerequisiteOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentPrerequisiteOutput) ElementType

func (FeatureFlagEnvironmentPrerequisiteOutput) FlagKey

The prerequisite feature flag's `key`.

func (FeatureFlagEnvironmentPrerequisiteOutput) ToFeatureFlagEnvironmentPrerequisiteOutput

func (o FeatureFlagEnvironmentPrerequisiteOutput) ToFeatureFlagEnvironmentPrerequisiteOutput() FeatureFlagEnvironmentPrerequisiteOutput

func (FeatureFlagEnvironmentPrerequisiteOutput) ToFeatureFlagEnvironmentPrerequisiteOutputWithContext

func (o FeatureFlagEnvironmentPrerequisiteOutput) ToFeatureFlagEnvironmentPrerequisiteOutputWithContext(ctx context.Context) FeatureFlagEnvironmentPrerequisiteOutput

func (FeatureFlagEnvironmentPrerequisiteOutput) Variation

The index of the prerequisite feature flag's variation to target.

type FeatureFlagEnvironmentRule

type FeatureFlagEnvironmentRule struct {
	// Group percentage rollout by a custom attribute. This argument is only valid if `rolloutWeights` is also specified.
	BucketBy *string `pulumi:"bucketBy"`
	// List of nested blocks specifying the logical clauses to evaluate. To learn more, read Nested Clauses Blocks.
	Clauses []FeatureFlagEnvironmentRuleClause `pulumi:"clauses"`
	// List of integer percentage rollout weights (in thousandths of a percent) to apply to each variation if the rule clauses evaluates to `true`. The sum of the `rolloutWeights` must equal 100000 and the number of rollout weights specified in the array must match the number of flag variations. You must specify either `variation` or `rolloutWeights`.
	RolloutWeights []int `pulumi:"rolloutWeights"`
	// The integer variation index to serve if the rule clauses evaluate to `true`. You must specify either `variation` or `rolloutWeights`.
	Variation *int `pulumi:"variation"`
}

type FeatureFlagEnvironmentRuleArgs

type FeatureFlagEnvironmentRuleArgs struct {
	// Group percentage rollout by a custom attribute. This argument is only valid if `rolloutWeights` is also specified.
	BucketBy pulumi.StringPtrInput `pulumi:"bucketBy"`
	// List of nested blocks specifying the logical clauses to evaluate. To learn more, read Nested Clauses Blocks.
	Clauses FeatureFlagEnvironmentRuleClauseArrayInput `pulumi:"clauses"`
	// List of integer percentage rollout weights (in thousandths of a percent) to apply to each variation if the rule clauses evaluates to `true`. The sum of the `rolloutWeights` must equal 100000 and the number of rollout weights specified in the array must match the number of flag variations. You must specify either `variation` or `rolloutWeights`.
	RolloutWeights pulumi.IntArrayInput `pulumi:"rolloutWeights"`
	// The integer variation index to serve if the rule clauses evaluate to `true`. You must specify either `variation` or `rolloutWeights`.
	Variation pulumi.IntPtrInput `pulumi:"variation"`
}

func (FeatureFlagEnvironmentRuleArgs) ElementType

func (FeatureFlagEnvironmentRuleArgs) ToFeatureFlagEnvironmentRuleOutput

func (i FeatureFlagEnvironmentRuleArgs) ToFeatureFlagEnvironmentRuleOutput() FeatureFlagEnvironmentRuleOutput

func (FeatureFlagEnvironmentRuleArgs) ToFeatureFlagEnvironmentRuleOutputWithContext

func (i FeatureFlagEnvironmentRuleArgs) ToFeatureFlagEnvironmentRuleOutputWithContext(ctx context.Context) FeatureFlagEnvironmentRuleOutput

type FeatureFlagEnvironmentRuleArray

type FeatureFlagEnvironmentRuleArray []FeatureFlagEnvironmentRuleInput

func (FeatureFlagEnvironmentRuleArray) ElementType

func (FeatureFlagEnvironmentRuleArray) ToFeatureFlagEnvironmentRuleArrayOutput

func (i FeatureFlagEnvironmentRuleArray) ToFeatureFlagEnvironmentRuleArrayOutput() FeatureFlagEnvironmentRuleArrayOutput

func (FeatureFlagEnvironmentRuleArray) ToFeatureFlagEnvironmentRuleArrayOutputWithContext

func (i FeatureFlagEnvironmentRuleArray) ToFeatureFlagEnvironmentRuleArrayOutputWithContext(ctx context.Context) FeatureFlagEnvironmentRuleArrayOutput

type FeatureFlagEnvironmentRuleArrayInput

type FeatureFlagEnvironmentRuleArrayInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentRuleArrayOutput() FeatureFlagEnvironmentRuleArrayOutput
	ToFeatureFlagEnvironmentRuleArrayOutputWithContext(context.Context) FeatureFlagEnvironmentRuleArrayOutput
}

FeatureFlagEnvironmentRuleArrayInput is an input type that accepts FeatureFlagEnvironmentRuleArray and FeatureFlagEnvironmentRuleArrayOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentRuleArrayInput` via:

FeatureFlagEnvironmentRuleArray{ FeatureFlagEnvironmentRuleArgs{...} }

type FeatureFlagEnvironmentRuleArrayOutput

type FeatureFlagEnvironmentRuleArrayOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentRuleArrayOutput) ElementType

func (FeatureFlagEnvironmentRuleArrayOutput) Index

func (FeatureFlagEnvironmentRuleArrayOutput) ToFeatureFlagEnvironmentRuleArrayOutput

func (o FeatureFlagEnvironmentRuleArrayOutput) ToFeatureFlagEnvironmentRuleArrayOutput() FeatureFlagEnvironmentRuleArrayOutput

func (FeatureFlagEnvironmentRuleArrayOutput) ToFeatureFlagEnvironmentRuleArrayOutputWithContext

func (o FeatureFlagEnvironmentRuleArrayOutput) ToFeatureFlagEnvironmentRuleArrayOutputWithContext(ctx context.Context) FeatureFlagEnvironmentRuleArrayOutput

type FeatureFlagEnvironmentRuleClause

type FeatureFlagEnvironmentRuleClause struct {
	// The user attribute to operate on.
	Attribute string `pulumi:"attribute"`
	// Whether to negate the rule clause.
	Negate *bool `pulumi:"negate"`
	// The operator associated with the rule clause. Available options are `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.
	Op string `pulumi:"op"`
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`. If omitted, `valueType` defaults to `string`.
	ValueType *string `pulumi:"valueType"`
	// The list of values associated with the rule clause.
	Values []string `pulumi:"values"`
}

type FeatureFlagEnvironmentRuleClauseArgs

type FeatureFlagEnvironmentRuleClauseArgs struct {
	// The user attribute to operate on.
	Attribute pulumi.StringInput `pulumi:"attribute"`
	// Whether to negate the rule clause.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// The operator associated with the rule clause. Available options are `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.
	Op pulumi.StringInput `pulumi:"op"`
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`. If omitted, `valueType` defaults to `string`.
	ValueType pulumi.StringPtrInput `pulumi:"valueType"`
	// The list of values associated with the rule clause.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (FeatureFlagEnvironmentRuleClauseArgs) ElementType

func (FeatureFlagEnvironmentRuleClauseArgs) ToFeatureFlagEnvironmentRuleClauseOutput

func (i FeatureFlagEnvironmentRuleClauseArgs) ToFeatureFlagEnvironmentRuleClauseOutput() FeatureFlagEnvironmentRuleClauseOutput

func (FeatureFlagEnvironmentRuleClauseArgs) ToFeatureFlagEnvironmentRuleClauseOutputWithContext

func (i FeatureFlagEnvironmentRuleClauseArgs) ToFeatureFlagEnvironmentRuleClauseOutputWithContext(ctx context.Context) FeatureFlagEnvironmentRuleClauseOutput

type FeatureFlagEnvironmentRuleClauseArray

type FeatureFlagEnvironmentRuleClauseArray []FeatureFlagEnvironmentRuleClauseInput

func (FeatureFlagEnvironmentRuleClauseArray) ElementType

func (FeatureFlagEnvironmentRuleClauseArray) ToFeatureFlagEnvironmentRuleClauseArrayOutput

func (i FeatureFlagEnvironmentRuleClauseArray) ToFeatureFlagEnvironmentRuleClauseArrayOutput() FeatureFlagEnvironmentRuleClauseArrayOutput

func (FeatureFlagEnvironmentRuleClauseArray) ToFeatureFlagEnvironmentRuleClauseArrayOutputWithContext

func (i FeatureFlagEnvironmentRuleClauseArray) ToFeatureFlagEnvironmentRuleClauseArrayOutputWithContext(ctx context.Context) FeatureFlagEnvironmentRuleClauseArrayOutput

type FeatureFlagEnvironmentRuleClauseArrayInput

type FeatureFlagEnvironmentRuleClauseArrayInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentRuleClauseArrayOutput() FeatureFlagEnvironmentRuleClauseArrayOutput
	ToFeatureFlagEnvironmentRuleClauseArrayOutputWithContext(context.Context) FeatureFlagEnvironmentRuleClauseArrayOutput
}

FeatureFlagEnvironmentRuleClauseArrayInput is an input type that accepts FeatureFlagEnvironmentRuleClauseArray and FeatureFlagEnvironmentRuleClauseArrayOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentRuleClauseArrayInput` via:

FeatureFlagEnvironmentRuleClauseArray{ FeatureFlagEnvironmentRuleClauseArgs{...} }

type FeatureFlagEnvironmentRuleClauseArrayOutput

type FeatureFlagEnvironmentRuleClauseArrayOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentRuleClauseArrayOutput) ElementType

func (FeatureFlagEnvironmentRuleClauseArrayOutput) Index

func (FeatureFlagEnvironmentRuleClauseArrayOutput) ToFeatureFlagEnvironmentRuleClauseArrayOutput

func (o FeatureFlagEnvironmentRuleClauseArrayOutput) ToFeatureFlagEnvironmentRuleClauseArrayOutput() FeatureFlagEnvironmentRuleClauseArrayOutput

func (FeatureFlagEnvironmentRuleClauseArrayOutput) ToFeatureFlagEnvironmentRuleClauseArrayOutputWithContext

func (o FeatureFlagEnvironmentRuleClauseArrayOutput) ToFeatureFlagEnvironmentRuleClauseArrayOutputWithContext(ctx context.Context) FeatureFlagEnvironmentRuleClauseArrayOutput

type FeatureFlagEnvironmentRuleClauseInput

type FeatureFlagEnvironmentRuleClauseInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentRuleClauseOutput() FeatureFlagEnvironmentRuleClauseOutput
	ToFeatureFlagEnvironmentRuleClauseOutputWithContext(context.Context) FeatureFlagEnvironmentRuleClauseOutput
}

FeatureFlagEnvironmentRuleClauseInput is an input type that accepts FeatureFlagEnvironmentRuleClauseArgs and FeatureFlagEnvironmentRuleClauseOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentRuleClauseInput` via:

FeatureFlagEnvironmentRuleClauseArgs{...}

type FeatureFlagEnvironmentRuleClauseOutput

type FeatureFlagEnvironmentRuleClauseOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentRuleClauseOutput) Attribute

The user attribute to operate on.

func (FeatureFlagEnvironmentRuleClauseOutput) ElementType

func (FeatureFlagEnvironmentRuleClauseOutput) Negate

Whether to negate the rule clause.

func (FeatureFlagEnvironmentRuleClauseOutput) Op

The operator associated with the rule clause. Available options are `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.

func (FeatureFlagEnvironmentRuleClauseOutput) ToFeatureFlagEnvironmentRuleClauseOutput

func (o FeatureFlagEnvironmentRuleClauseOutput) ToFeatureFlagEnvironmentRuleClauseOutput() FeatureFlagEnvironmentRuleClauseOutput

func (FeatureFlagEnvironmentRuleClauseOutput) ToFeatureFlagEnvironmentRuleClauseOutputWithContext

func (o FeatureFlagEnvironmentRuleClauseOutput) ToFeatureFlagEnvironmentRuleClauseOutputWithContext(ctx context.Context) FeatureFlagEnvironmentRuleClauseOutput

func (FeatureFlagEnvironmentRuleClauseOutput) ValueType

The type for each of the clause's values. Available types are `boolean`, `string`, and `number`. If omitted, `valueType` defaults to `string`.

func (FeatureFlagEnvironmentRuleClauseOutput) Values

The list of values associated with the rule clause.

type FeatureFlagEnvironmentRuleInput

type FeatureFlagEnvironmentRuleInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentRuleOutput() FeatureFlagEnvironmentRuleOutput
	ToFeatureFlagEnvironmentRuleOutputWithContext(context.Context) FeatureFlagEnvironmentRuleOutput
}

FeatureFlagEnvironmentRuleInput is an input type that accepts FeatureFlagEnvironmentRuleArgs and FeatureFlagEnvironmentRuleOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentRuleInput` via:

FeatureFlagEnvironmentRuleArgs{...}

type FeatureFlagEnvironmentRuleOutput

type FeatureFlagEnvironmentRuleOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentRuleOutput) BucketBy

Group percentage rollout by a custom attribute. This argument is only valid if `rolloutWeights` is also specified.

func (FeatureFlagEnvironmentRuleOutput) Clauses

List of nested blocks specifying the logical clauses to evaluate. To learn more, read Nested Clauses Blocks.

func (FeatureFlagEnvironmentRuleOutput) ElementType

func (FeatureFlagEnvironmentRuleOutput) RolloutWeights

List of integer percentage rollout weights (in thousandths of a percent) to apply to each variation if the rule clauses evaluates to `true`. The sum of the `rolloutWeights` must equal 100000 and the number of rollout weights specified in the array must match the number of flag variations. You must specify either `variation` or `rolloutWeights`.

func (FeatureFlagEnvironmentRuleOutput) ToFeatureFlagEnvironmentRuleOutput

func (o FeatureFlagEnvironmentRuleOutput) ToFeatureFlagEnvironmentRuleOutput() FeatureFlagEnvironmentRuleOutput

func (FeatureFlagEnvironmentRuleOutput) ToFeatureFlagEnvironmentRuleOutputWithContext

func (o FeatureFlagEnvironmentRuleOutput) ToFeatureFlagEnvironmentRuleOutputWithContext(ctx context.Context) FeatureFlagEnvironmentRuleOutput

func (FeatureFlagEnvironmentRuleOutput) Variation

The integer variation index to serve if the rule clauses evaluate to `true`. You must specify either `variation` or `rolloutWeights`.

type FeatureFlagEnvironmentState

type FeatureFlagEnvironmentState struct {
	// The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringPtrInput
	// - (Required) Nested block describing the default variation to serve if no `prerequisites`, `target`, or `rules` apply.To learn more, read Nested Fallthrough Block.
	Fallthrough FeatureFlagEnvironmentFallthroughPtrInput
	// The feature flag's unique `id` in the format `project_key/flag_key`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	FlagId pulumi.StringPtrInput
	// The index of the variation to serve if targeting is disabled.
	OffVariation pulumi.IntPtrInput
	// - (Optional) Whether targeting is enabled. Defaults to `false` if not set.
	On pulumi.BoolPtrInput
	// List of nested blocks describing prerequisite feature flags rules. To learn more, read Nested Prequisites Blocks.
	Prerequisites FeatureFlagEnvironmentPrerequisiteArrayInput
	// List of logical targeting rules. To learn more, read Nested Rules Blocks.
	Rules FeatureFlagEnvironmentRuleArrayInput
	// - (Optional) Set of nested blocks describing the individual user targets for each variation. To learn more, read Nested Target Blocks.
	Targets FeatureFlagEnvironmentTargetArrayInput
	// Whether to send event data back to LaunchDarkly. Defaults to `false` if not set.
	TrackEvents pulumi.BoolPtrInput
}

func (FeatureFlagEnvironmentState) ElementType

type FeatureFlagEnvironmentTarget

type FeatureFlagEnvironmentTarget struct {
	// List of `user` strings to target.
	Values []string `pulumi:"values"`
	// The index of the variation to serve is a user target value is matched.
	Variation int `pulumi:"variation"`
}

type FeatureFlagEnvironmentTargetArgs

type FeatureFlagEnvironmentTargetArgs struct {
	// List of `user` strings to target.
	Values pulumi.StringArrayInput `pulumi:"values"`
	// The index of the variation to serve is a user target value is matched.
	Variation pulumi.IntInput `pulumi:"variation"`
}

func (FeatureFlagEnvironmentTargetArgs) ElementType

func (FeatureFlagEnvironmentTargetArgs) ToFeatureFlagEnvironmentTargetOutput

func (i FeatureFlagEnvironmentTargetArgs) ToFeatureFlagEnvironmentTargetOutput() FeatureFlagEnvironmentTargetOutput

func (FeatureFlagEnvironmentTargetArgs) ToFeatureFlagEnvironmentTargetOutputWithContext

func (i FeatureFlagEnvironmentTargetArgs) ToFeatureFlagEnvironmentTargetOutputWithContext(ctx context.Context) FeatureFlagEnvironmentTargetOutput

type FeatureFlagEnvironmentTargetArray

type FeatureFlagEnvironmentTargetArray []FeatureFlagEnvironmentTargetInput

func (FeatureFlagEnvironmentTargetArray) ElementType

func (FeatureFlagEnvironmentTargetArray) ToFeatureFlagEnvironmentTargetArrayOutput

func (i FeatureFlagEnvironmentTargetArray) ToFeatureFlagEnvironmentTargetArrayOutput() FeatureFlagEnvironmentTargetArrayOutput

func (FeatureFlagEnvironmentTargetArray) ToFeatureFlagEnvironmentTargetArrayOutputWithContext

func (i FeatureFlagEnvironmentTargetArray) ToFeatureFlagEnvironmentTargetArrayOutputWithContext(ctx context.Context) FeatureFlagEnvironmentTargetArrayOutput

type FeatureFlagEnvironmentTargetArrayInput

type FeatureFlagEnvironmentTargetArrayInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentTargetArrayOutput() FeatureFlagEnvironmentTargetArrayOutput
	ToFeatureFlagEnvironmentTargetArrayOutputWithContext(context.Context) FeatureFlagEnvironmentTargetArrayOutput
}

FeatureFlagEnvironmentTargetArrayInput is an input type that accepts FeatureFlagEnvironmentTargetArray and FeatureFlagEnvironmentTargetArrayOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentTargetArrayInput` via:

FeatureFlagEnvironmentTargetArray{ FeatureFlagEnvironmentTargetArgs{...} }

type FeatureFlagEnvironmentTargetArrayOutput

type FeatureFlagEnvironmentTargetArrayOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentTargetArrayOutput) ElementType

func (FeatureFlagEnvironmentTargetArrayOutput) Index

func (FeatureFlagEnvironmentTargetArrayOutput) ToFeatureFlagEnvironmentTargetArrayOutput

func (o FeatureFlagEnvironmentTargetArrayOutput) ToFeatureFlagEnvironmentTargetArrayOutput() FeatureFlagEnvironmentTargetArrayOutput

func (FeatureFlagEnvironmentTargetArrayOutput) ToFeatureFlagEnvironmentTargetArrayOutputWithContext

func (o FeatureFlagEnvironmentTargetArrayOutput) ToFeatureFlagEnvironmentTargetArrayOutputWithContext(ctx context.Context) FeatureFlagEnvironmentTargetArrayOutput

type FeatureFlagEnvironmentTargetInput

type FeatureFlagEnvironmentTargetInput interface {
	pulumi.Input

	ToFeatureFlagEnvironmentTargetOutput() FeatureFlagEnvironmentTargetOutput
	ToFeatureFlagEnvironmentTargetOutputWithContext(context.Context) FeatureFlagEnvironmentTargetOutput
}

FeatureFlagEnvironmentTargetInput is an input type that accepts FeatureFlagEnvironmentTargetArgs and FeatureFlagEnvironmentTargetOutput values. You can construct a concrete instance of `FeatureFlagEnvironmentTargetInput` via:

FeatureFlagEnvironmentTargetArgs{...}

type FeatureFlagEnvironmentTargetOutput

type FeatureFlagEnvironmentTargetOutput struct{ *pulumi.OutputState }

func (FeatureFlagEnvironmentTargetOutput) ElementType

func (FeatureFlagEnvironmentTargetOutput) ToFeatureFlagEnvironmentTargetOutput

func (o FeatureFlagEnvironmentTargetOutput) ToFeatureFlagEnvironmentTargetOutput() FeatureFlagEnvironmentTargetOutput

func (FeatureFlagEnvironmentTargetOutput) ToFeatureFlagEnvironmentTargetOutputWithContext

func (o FeatureFlagEnvironmentTargetOutput) ToFeatureFlagEnvironmentTargetOutputWithContext(ctx context.Context) FeatureFlagEnvironmentTargetOutput

func (FeatureFlagEnvironmentTargetOutput) Values

List of `user` strings to target.

func (FeatureFlagEnvironmentTargetOutput) Variation

The index of the variation to serve is a user target value is matched.

type FeatureFlagInput

type FeatureFlagInput interface {
	pulumi.Input

	ToFeatureFlagOutput() FeatureFlagOutput
	ToFeatureFlagOutputWithContext(ctx context.Context) FeatureFlagOutput
}

type FeatureFlagMap

type FeatureFlagMap map[string]FeatureFlagInput

func (FeatureFlagMap) ElementType

func (FeatureFlagMap) ElementType() reflect.Type

func (FeatureFlagMap) ToFeatureFlagMapOutput

func (i FeatureFlagMap) ToFeatureFlagMapOutput() FeatureFlagMapOutput

func (FeatureFlagMap) ToFeatureFlagMapOutputWithContext

func (i FeatureFlagMap) ToFeatureFlagMapOutputWithContext(ctx context.Context) FeatureFlagMapOutput

type FeatureFlagMapInput

type FeatureFlagMapInput interface {
	pulumi.Input

	ToFeatureFlagMapOutput() FeatureFlagMapOutput
	ToFeatureFlagMapOutputWithContext(context.Context) FeatureFlagMapOutput
}

FeatureFlagMapInput is an input type that accepts FeatureFlagMap and FeatureFlagMapOutput values. You can construct a concrete instance of `FeatureFlagMapInput` via:

FeatureFlagMap{ "key": FeatureFlagArgs{...} }

type FeatureFlagMapOutput

type FeatureFlagMapOutput struct{ *pulumi.OutputState }

func (FeatureFlagMapOutput) ElementType

func (FeatureFlagMapOutput) ElementType() reflect.Type

func (FeatureFlagMapOutput) MapIndex

func (FeatureFlagMapOutput) ToFeatureFlagMapOutput

func (o FeatureFlagMapOutput) ToFeatureFlagMapOutput() FeatureFlagMapOutput

func (FeatureFlagMapOutput) ToFeatureFlagMapOutputWithContext

func (o FeatureFlagMapOutput) ToFeatureFlagMapOutputWithContext(ctx context.Context) FeatureFlagMapOutput

type FeatureFlagOutput

type FeatureFlagOutput struct{ *pulumi.OutputState }

func (FeatureFlagOutput) Archived

func (o FeatureFlagOutput) Archived() pulumi.BoolPtrOutput

Whether to archive the flag

func (FeatureFlagOutput) ClientSideAvailabilities

A block describing whether this flag should be made available to the client-side JavaScript SDK using the client-side Id, mobile key, or both. This value gets its default from your project configuration if not set. To learn more, read Nested Client-Side Availability Block.

func (FeatureFlagOutput) CustomProperties

List of nested blocks describing the feature flag's [custom properties](https://docs.launchdarkly.com/home/connecting/custom-properties). To learn more, read Nested Custom Properties.

func (FeatureFlagOutput) Defaults

A block containing the indices of the variations to be used as the default on and off variations in all new environments. Flag configurations in existing environments will not be changed nor updated if the configuration block is removed. To learn more, read Nested Defaults Blocks.

func (FeatureFlagOutput) Description

func (o FeatureFlagOutput) Description() pulumi.StringPtrOutput

The feature flag's description.

func (FeatureFlagOutput) ElementType

func (FeatureFlagOutput) ElementType() reflect.Type

func (FeatureFlagOutput) IncludeInSnippet deprecated

func (o FeatureFlagOutput) IncludeInSnippet() pulumi.BoolOutput

**Deprecated** (Optional) Specifies whether this flag should be made available to the client-side JavaScript SDK using the client-side Id. This value gets its default from your project configuration if not set. `includeInSnippet` is now deprecated. Please migrate to `client_side_availability.using_environment_id` to maintain future compatability.

Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'client_side_availability' to maintain future compatability.

func (FeatureFlagOutput) Key

The unique feature flag key that references the flag in your application code. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (FeatureFlagOutput) MaintainerId

func (o FeatureFlagOutput) MaintainerId() pulumi.StringOutput

The LaunchDarkly id of the user who will maintain the flag. If not set, the API will automatically apply the member associated with your Terraform API key or the most recently set maintainer

func (FeatureFlagOutput) Name

The human-readable name of the feature flag.

func (FeatureFlagOutput) ProjectKey

func (o FeatureFlagOutput) ProjectKey() pulumi.StringOutput

The feature flag's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (FeatureFlagOutput) Tags

Set of feature flag tags.

func (FeatureFlagOutput) Temporary

func (o FeatureFlagOutput) Temporary() pulumi.BoolPtrOutput

Specifies whether the flag is a temporary flag.

func (FeatureFlagOutput) ToFeatureFlagOutput

func (o FeatureFlagOutput) ToFeatureFlagOutput() FeatureFlagOutput

func (FeatureFlagOutput) ToFeatureFlagOutputWithContext

func (o FeatureFlagOutput) ToFeatureFlagOutputWithContext(ctx context.Context) FeatureFlagOutput

func (FeatureFlagOutput) VariationType

func (o FeatureFlagOutput) VariationType() pulumi.StringOutput

The feature flag's variation type: `boolean`, `string`, `number` or `json`.

func (FeatureFlagOutput) Variations

List of nested blocks describing the variations associated with the feature flag. You must specify at least two variations. To learn more, read Nested Variations Blocks.

type FeatureFlagState

type FeatureFlagState struct {
	// Whether to archive the flag
	Archived pulumi.BoolPtrInput
	// A block describing whether this flag should be made available to the client-side JavaScript SDK using the client-side Id, mobile key, or both. This value gets its default from your project configuration if not set. To learn more, read Nested Client-Side Availability Block.
	ClientSideAvailabilities FeatureFlagClientSideAvailabilityArrayInput
	// List of nested blocks describing the feature flag's [custom properties](https://docs.launchdarkly.com/home/connecting/custom-properties). To learn more, read Nested Custom Properties.
	CustomProperties FeatureFlagCustomPropertyArrayInput
	// A block containing the indices of the variations to be used as the default on and off variations in all new environments. Flag configurations in existing environments will not be changed nor updated if the configuration block is removed. To learn more, read Nested Defaults Blocks.
	Defaults FeatureFlagDefaultsPtrInput
	// The feature flag's description.
	Description pulumi.StringPtrInput
	// **Deprecated** (Optional) Specifies whether this flag should be made available to the client-side JavaScript SDK using the client-side Id. This value gets its default from your project configuration if not set. `includeInSnippet` is now deprecated. Please migrate to `client_side_availability.using_environment_id` to maintain future compatability.
	//
	// Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'client_side_availability' to maintain future compatability.
	IncludeInSnippet pulumi.BoolPtrInput
	// The unique feature flag key that references the flag in your application code. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringPtrInput
	// The LaunchDarkly id of the user who will maintain the flag. If not set, the API will automatically apply the member
	// associated with your Terraform API key or the most recently set maintainer
	MaintainerId pulumi.StringPtrInput
	// The human-readable name of the feature flag.
	Name pulumi.StringPtrInput
	// The feature flag's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringPtrInput
	// Set of feature flag tags.
	Tags pulumi.StringArrayInput
	// Specifies whether the flag is a temporary flag.
	Temporary pulumi.BoolPtrInput
	// The feature flag's variation type: `boolean`, `string`, `number` or `json`.
	VariationType pulumi.StringPtrInput
	// List of nested blocks describing the variations associated with the feature flag. You must specify at least two variations. To learn more, read Nested Variations Blocks.
	Variations FeatureFlagVariationArrayInput
}

func (FeatureFlagState) ElementType

func (FeatureFlagState) ElementType() reflect.Type

type FeatureFlagVariation

type FeatureFlagVariation struct {
	// The variation's description.
	Description *string `pulumi:"description"`
	// The name of the variation.
	Name *string `pulumi:"name"`
	// The variation value. The value's type must correspond to the `variationType` argument. For example: `variationType = "boolean"` accepts only `true` or `false`. The `"number"` variation type accepts both floats and ints, but please note that any trailing zeroes on floats will be trimmed (i.e. `1.1` and `1.100` will both be converted to `1.1`).
	Value string `pulumi:"value"`
}

type FeatureFlagVariationArgs

type FeatureFlagVariationArgs struct {
	// The variation's description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The name of the variation.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The variation value. The value's type must correspond to the `variationType` argument. For example: `variationType = "boolean"` accepts only `true` or `false`. The `"number"` variation type accepts both floats and ints, but please note that any trailing zeroes on floats will be trimmed (i.e. `1.1` and `1.100` will both be converted to `1.1`).
	Value pulumi.StringInput `pulumi:"value"`
}

func (FeatureFlagVariationArgs) ElementType

func (FeatureFlagVariationArgs) ElementType() reflect.Type

func (FeatureFlagVariationArgs) ToFeatureFlagVariationOutput

func (i FeatureFlagVariationArgs) ToFeatureFlagVariationOutput() FeatureFlagVariationOutput

func (FeatureFlagVariationArgs) ToFeatureFlagVariationOutputWithContext

func (i FeatureFlagVariationArgs) ToFeatureFlagVariationOutputWithContext(ctx context.Context) FeatureFlagVariationOutput

type FeatureFlagVariationArray

type FeatureFlagVariationArray []FeatureFlagVariationInput

func (FeatureFlagVariationArray) ElementType

func (FeatureFlagVariationArray) ElementType() reflect.Type

func (FeatureFlagVariationArray) ToFeatureFlagVariationArrayOutput

func (i FeatureFlagVariationArray) ToFeatureFlagVariationArrayOutput() FeatureFlagVariationArrayOutput

func (FeatureFlagVariationArray) ToFeatureFlagVariationArrayOutputWithContext

func (i FeatureFlagVariationArray) ToFeatureFlagVariationArrayOutputWithContext(ctx context.Context) FeatureFlagVariationArrayOutput

type FeatureFlagVariationArrayInput

type FeatureFlagVariationArrayInput interface {
	pulumi.Input

	ToFeatureFlagVariationArrayOutput() FeatureFlagVariationArrayOutput
	ToFeatureFlagVariationArrayOutputWithContext(context.Context) FeatureFlagVariationArrayOutput
}

FeatureFlagVariationArrayInput is an input type that accepts FeatureFlagVariationArray and FeatureFlagVariationArrayOutput values. You can construct a concrete instance of `FeatureFlagVariationArrayInput` via:

FeatureFlagVariationArray{ FeatureFlagVariationArgs{...} }

type FeatureFlagVariationArrayOutput

type FeatureFlagVariationArrayOutput struct{ *pulumi.OutputState }

func (FeatureFlagVariationArrayOutput) ElementType

func (FeatureFlagVariationArrayOutput) Index

func (FeatureFlagVariationArrayOutput) ToFeatureFlagVariationArrayOutput

func (o FeatureFlagVariationArrayOutput) ToFeatureFlagVariationArrayOutput() FeatureFlagVariationArrayOutput

func (FeatureFlagVariationArrayOutput) ToFeatureFlagVariationArrayOutputWithContext

func (o FeatureFlagVariationArrayOutput) ToFeatureFlagVariationArrayOutputWithContext(ctx context.Context) FeatureFlagVariationArrayOutput

type FeatureFlagVariationInput

type FeatureFlagVariationInput interface {
	pulumi.Input

	ToFeatureFlagVariationOutput() FeatureFlagVariationOutput
	ToFeatureFlagVariationOutputWithContext(context.Context) FeatureFlagVariationOutput
}

FeatureFlagVariationInput is an input type that accepts FeatureFlagVariationArgs and FeatureFlagVariationOutput values. You can construct a concrete instance of `FeatureFlagVariationInput` via:

FeatureFlagVariationArgs{...}

type FeatureFlagVariationOutput

type FeatureFlagVariationOutput struct{ *pulumi.OutputState }

func (FeatureFlagVariationOutput) Description

The variation's description.

func (FeatureFlagVariationOutput) ElementType

func (FeatureFlagVariationOutput) ElementType() reflect.Type

func (FeatureFlagVariationOutput) Name

The name of the variation.

func (FeatureFlagVariationOutput) ToFeatureFlagVariationOutput

func (o FeatureFlagVariationOutput) ToFeatureFlagVariationOutput() FeatureFlagVariationOutput

func (FeatureFlagVariationOutput) ToFeatureFlagVariationOutputWithContext

func (o FeatureFlagVariationOutput) ToFeatureFlagVariationOutputWithContext(ctx context.Context) FeatureFlagVariationOutput

func (FeatureFlagVariationOutput) Value

The variation value. The value's type must correspond to the `variationType` argument. For example: `variationType = "boolean"` accepts only `true` or `false`. The `"number"` variation type accepts both floats and ints, but please note that any trailing zeroes on floats will be trimmed (i.e. `1.1` and `1.100` will both be converted to `1.1`).

type FlagTrigger

type FlagTrigger struct {
	pulumi.CustomResourceState

	// Whether the trigger is currently active or not. This property defaults to true upon creation
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The unique key of the environment the flag trigger will work in. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringOutput `pulumi:"envKey"`
	// The unique key of the associated flag. A change in this field will force the destruction of the existing resource and the creation of a new one.
	FlagKey pulumi.StringOutput `pulumi:"flagKey"`
	// Instructions containing the action to perform when invoking the trigger. Currently supported flag actions are `"turnFlagOn"` and `"turnFlagOff"`. This must be passed as the key-value pair `{ kind = "<flag_action>" }`.
	Instructions FlagTriggerInstructionsOutput `pulumi:"instructions"`
	// The unique identifier of the integration you intend to set your trigger up with. Currently supported are `"datadog"`, `"dynatrace"`, `"honeycomb"`, `"new-relic-apm"`, `"signalfx"`, and `"generic-trigger"`. `"generic-trigger"` should be used for integrations not explicitly supported. A change in this field will force the destruction of the existing resource and the creation of a new one.
	IntegrationKey pulumi.StringOutput `pulumi:"integrationKey"`
	// The LaunchDarkly ID of the member who maintains the trigger. The API will automatically apply the member associated with
	// your Terraform API key or the most recently-set maintainer
	MaintainerId pulumi.StringOutput `pulumi:"maintainerId"`
	// The unique key of the project encompassing the associated flag. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringOutput `pulumi:"projectKey"`
	// The unique trigger URL
	TriggerUrl pulumi.StringOutput `pulumi:"triggerUrl"`
}

## Import

LaunchDarkly flag triggers can be imported using the following syntax

```sh

$ pulumi import launchdarkly:index/flagTrigger:FlagTrigger example example-project-key/example-env-key/example-flag-key/62581d4488def814b831abc3

```

where the string following the final slash is your unique trigger ID. The unique trigger ID can be found in your saved trigger URLhttps://app.launchdarkly.com/webhook/triggers/THIS_IS_YOUR_TRIGGER_ID/aff25a53-17d9-4112-a9b8-12718d1a2e79 Please note that if you did not save this upon creation of the resource, you will have to reset it to get a new value, which can cause breaking changes.

func GetFlagTrigger

func GetFlagTrigger(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FlagTriggerState, opts ...pulumi.ResourceOption) (*FlagTrigger, error)

GetFlagTrigger gets an existing FlagTrigger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFlagTrigger

func NewFlagTrigger(ctx *pulumi.Context,
	name string, args *FlagTriggerArgs, opts ...pulumi.ResourceOption) (*FlagTrigger, error)

NewFlagTrigger registers a new resource with the given unique name, arguments, and options.

func (*FlagTrigger) ElementType

func (*FlagTrigger) ElementType() reflect.Type

func (*FlagTrigger) ToFlagTriggerOutput

func (i *FlagTrigger) ToFlagTriggerOutput() FlagTriggerOutput

func (*FlagTrigger) ToFlagTriggerOutputWithContext

func (i *FlagTrigger) ToFlagTriggerOutputWithContext(ctx context.Context) FlagTriggerOutput

type FlagTriggerArgs

type FlagTriggerArgs struct {
	// Whether the trigger is currently active or not. This property defaults to true upon creation
	Enabled pulumi.BoolInput
	// The unique key of the environment the flag trigger will work in. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringInput
	// The unique key of the associated flag. A change in this field will force the destruction of the existing resource and the creation of a new one.
	FlagKey pulumi.StringInput
	// Instructions containing the action to perform when invoking the trigger. Currently supported flag actions are `"turnFlagOn"` and `"turnFlagOff"`. This must be passed as the key-value pair `{ kind = "<flag_action>" }`.
	Instructions FlagTriggerInstructionsInput
	// The unique identifier of the integration you intend to set your trigger up with. Currently supported are `"datadog"`, `"dynatrace"`, `"honeycomb"`, `"new-relic-apm"`, `"signalfx"`, and `"generic-trigger"`. `"generic-trigger"` should be used for integrations not explicitly supported. A change in this field will force the destruction of the existing resource and the creation of a new one.
	IntegrationKey pulumi.StringInput
	// The unique key of the project encompassing the associated flag. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringInput
}

The set of arguments for constructing a FlagTrigger resource.

func (FlagTriggerArgs) ElementType

func (FlagTriggerArgs) ElementType() reflect.Type

type FlagTriggerArray

type FlagTriggerArray []FlagTriggerInput

func (FlagTriggerArray) ElementType

func (FlagTriggerArray) ElementType() reflect.Type

func (FlagTriggerArray) ToFlagTriggerArrayOutput

func (i FlagTriggerArray) ToFlagTriggerArrayOutput() FlagTriggerArrayOutput

func (FlagTriggerArray) ToFlagTriggerArrayOutputWithContext

func (i FlagTriggerArray) ToFlagTriggerArrayOutputWithContext(ctx context.Context) FlagTriggerArrayOutput

type FlagTriggerArrayInput

type FlagTriggerArrayInput interface {
	pulumi.Input

	ToFlagTriggerArrayOutput() FlagTriggerArrayOutput
	ToFlagTriggerArrayOutputWithContext(context.Context) FlagTriggerArrayOutput
}

FlagTriggerArrayInput is an input type that accepts FlagTriggerArray and FlagTriggerArrayOutput values. You can construct a concrete instance of `FlagTriggerArrayInput` via:

FlagTriggerArray{ FlagTriggerArgs{...} }

type FlagTriggerArrayOutput

type FlagTriggerArrayOutput struct{ *pulumi.OutputState }

func (FlagTriggerArrayOutput) ElementType

func (FlagTriggerArrayOutput) ElementType() reflect.Type

func (FlagTriggerArrayOutput) Index

func (FlagTriggerArrayOutput) ToFlagTriggerArrayOutput

func (o FlagTriggerArrayOutput) ToFlagTriggerArrayOutput() FlagTriggerArrayOutput

func (FlagTriggerArrayOutput) ToFlagTriggerArrayOutputWithContext

func (o FlagTriggerArrayOutput) ToFlagTriggerArrayOutputWithContext(ctx context.Context) FlagTriggerArrayOutput

type FlagTriggerInput

type FlagTriggerInput interface {
	pulumi.Input

	ToFlagTriggerOutput() FlagTriggerOutput
	ToFlagTriggerOutputWithContext(ctx context.Context) FlagTriggerOutput
}

type FlagTriggerInstructions

type FlagTriggerInstructions struct {
	Kind string `pulumi:"kind"`
}

type FlagTriggerInstructionsArgs

type FlagTriggerInstructionsArgs struct {
	Kind pulumi.StringInput `pulumi:"kind"`
}

func (FlagTriggerInstructionsArgs) ElementType

func (FlagTriggerInstructionsArgs) ToFlagTriggerInstructionsOutput

func (i FlagTriggerInstructionsArgs) ToFlagTriggerInstructionsOutput() FlagTriggerInstructionsOutput

func (FlagTriggerInstructionsArgs) ToFlagTriggerInstructionsOutputWithContext

func (i FlagTriggerInstructionsArgs) ToFlagTriggerInstructionsOutputWithContext(ctx context.Context) FlagTriggerInstructionsOutput

func (FlagTriggerInstructionsArgs) ToFlagTriggerInstructionsPtrOutput

func (i FlagTriggerInstructionsArgs) ToFlagTriggerInstructionsPtrOutput() FlagTriggerInstructionsPtrOutput

func (FlagTriggerInstructionsArgs) ToFlagTriggerInstructionsPtrOutputWithContext

func (i FlagTriggerInstructionsArgs) ToFlagTriggerInstructionsPtrOutputWithContext(ctx context.Context) FlagTriggerInstructionsPtrOutput

type FlagTriggerInstructionsInput

type FlagTriggerInstructionsInput interface {
	pulumi.Input

	ToFlagTriggerInstructionsOutput() FlagTriggerInstructionsOutput
	ToFlagTriggerInstructionsOutputWithContext(context.Context) FlagTriggerInstructionsOutput
}

FlagTriggerInstructionsInput is an input type that accepts FlagTriggerInstructionsArgs and FlagTriggerInstructionsOutput values. You can construct a concrete instance of `FlagTriggerInstructionsInput` via:

FlagTriggerInstructionsArgs{...}

type FlagTriggerInstructionsOutput

type FlagTriggerInstructionsOutput struct{ *pulumi.OutputState }

func (FlagTriggerInstructionsOutput) ElementType

func (FlagTriggerInstructionsOutput) Kind

func (FlagTriggerInstructionsOutput) ToFlagTriggerInstructionsOutput

func (o FlagTriggerInstructionsOutput) ToFlagTriggerInstructionsOutput() FlagTriggerInstructionsOutput

func (FlagTriggerInstructionsOutput) ToFlagTriggerInstructionsOutputWithContext

func (o FlagTriggerInstructionsOutput) ToFlagTriggerInstructionsOutputWithContext(ctx context.Context) FlagTriggerInstructionsOutput

func (FlagTriggerInstructionsOutput) ToFlagTriggerInstructionsPtrOutput

func (o FlagTriggerInstructionsOutput) ToFlagTriggerInstructionsPtrOutput() FlagTriggerInstructionsPtrOutput

func (FlagTriggerInstructionsOutput) ToFlagTriggerInstructionsPtrOutputWithContext

func (o FlagTriggerInstructionsOutput) ToFlagTriggerInstructionsPtrOutputWithContext(ctx context.Context) FlagTriggerInstructionsPtrOutput

type FlagTriggerInstructionsPtrInput

type FlagTriggerInstructionsPtrInput interface {
	pulumi.Input

	ToFlagTriggerInstructionsPtrOutput() FlagTriggerInstructionsPtrOutput
	ToFlagTriggerInstructionsPtrOutputWithContext(context.Context) FlagTriggerInstructionsPtrOutput
}

FlagTriggerInstructionsPtrInput is an input type that accepts FlagTriggerInstructionsArgs, FlagTriggerInstructionsPtr and FlagTriggerInstructionsPtrOutput values. You can construct a concrete instance of `FlagTriggerInstructionsPtrInput` via:

        FlagTriggerInstructionsArgs{...}

or:

        nil

type FlagTriggerInstructionsPtrOutput

type FlagTriggerInstructionsPtrOutput struct{ *pulumi.OutputState }

func (FlagTriggerInstructionsPtrOutput) Elem

func (FlagTriggerInstructionsPtrOutput) ElementType

func (FlagTriggerInstructionsPtrOutput) Kind

func (FlagTriggerInstructionsPtrOutput) ToFlagTriggerInstructionsPtrOutput

func (o FlagTriggerInstructionsPtrOutput) ToFlagTriggerInstructionsPtrOutput() FlagTriggerInstructionsPtrOutput

func (FlagTriggerInstructionsPtrOutput) ToFlagTriggerInstructionsPtrOutputWithContext

func (o FlagTriggerInstructionsPtrOutput) ToFlagTriggerInstructionsPtrOutputWithContext(ctx context.Context) FlagTriggerInstructionsPtrOutput

type FlagTriggerMap

type FlagTriggerMap map[string]FlagTriggerInput

func (FlagTriggerMap) ElementType

func (FlagTriggerMap) ElementType() reflect.Type

func (FlagTriggerMap) ToFlagTriggerMapOutput

func (i FlagTriggerMap) ToFlagTriggerMapOutput() FlagTriggerMapOutput

func (FlagTriggerMap) ToFlagTriggerMapOutputWithContext

func (i FlagTriggerMap) ToFlagTriggerMapOutputWithContext(ctx context.Context) FlagTriggerMapOutput

type FlagTriggerMapInput

type FlagTriggerMapInput interface {
	pulumi.Input

	ToFlagTriggerMapOutput() FlagTriggerMapOutput
	ToFlagTriggerMapOutputWithContext(context.Context) FlagTriggerMapOutput
}

FlagTriggerMapInput is an input type that accepts FlagTriggerMap and FlagTriggerMapOutput values. You can construct a concrete instance of `FlagTriggerMapInput` via:

FlagTriggerMap{ "key": FlagTriggerArgs{...} }

type FlagTriggerMapOutput

type FlagTriggerMapOutput struct{ *pulumi.OutputState }

func (FlagTriggerMapOutput) ElementType

func (FlagTriggerMapOutput) ElementType() reflect.Type

func (FlagTriggerMapOutput) MapIndex

func (FlagTriggerMapOutput) ToFlagTriggerMapOutput

func (o FlagTriggerMapOutput) ToFlagTriggerMapOutput() FlagTriggerMapOutput

func (FlagTriggerMapOutput) ToFlagTriggerMapOutputWithContext

func (o FlagTriggerMapOutput) ToFlagTriggerMapOutputWithContext(ctx context.Context) FlagTriggerMapOutput

type FlagTriggerOutput

type FlagTriggerOutput struct{ *pulumi.OutputState }

func (FlagTriggerOutput) ElementType

func (FlagTriggerOutput) ElementType() reflect.Type

func (FlagTriggerOutput) Enabled

func (o FlagTriggerOutput) Enabled() pulumi.BoolOutput

Whether the trigger is currently active or not. This property defaults to true upon creation

func (FlagTriggerOutput) EnvKey

The unique key of the environment the flag trigger will work in. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (FlagTriggerOutput) FlagKey

The unique key of the associated flag. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (FlagTriggerOutput) Instructions

Instructions containing the action to perform when invoking the trigger. Currently supported flag actions are `"turnFlagOn"` and `"turnFlagOff"`. This must be passed as the key-value pair `{ kind = "<flag_action>" }`.

func (FlagTriggerOutput) IntegrationKey

func (o FlagTriggerOutput) IntegrationKey() pulumi.StringOutput

The unique identifier of the integration you intend to set your trigger up with. Currently supported are `"datadog"`, `"dynatrace"`, `"honeycomb"`, `"new-relic-apm"`, `"signalfx"`, and `"generic-trigger"`. `"generic-trigger"` should be used for integrations not explicitly supported. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (FlagTriggerOutput) MaintainerId

func (o FlagTriggerOutput) MaintainerId() pulumi.StringOutput

The LaunchDarkly ID of the member who maintains the trigger. The API will automatically apply the member associated with your Terraform API key or the most recently-set maintainer

func (FlagTriggerOutput) ProjectKey

func (o FlagTriggerOutput) ProjectKey() pulumi.StringOutput

The unique key of the project encompassing the associated flag. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (FlagTriggerOutput) ToFlagTriggerOutput

func (o FlagTriggerOutput) ToFlagTriggerOutput() FlagTriggerOutput

func (FlagTriggerOutput) ToFlagTriggerOutputWithContext

func (o FlagTriggerOutput) ToFlagTriggerOutputWithContext(ctx context.Context) FlagTriggerOutput

func (FlagTriggerOutput) TriggerUrl

func (o FlagTriggerOutput) TriggerUrl() pulumi.StringOutput

The unique trigger URL

type FlagTriggerState

type FlagTriggerState struct {
	// Whether the trigger is currently active or not. This property defaults to true upon creation
	Enabled pulumi.BoolPtrInput
	// The unique key of the environment the flag trigger will work in. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringPtrInput
	// The unique key of the associated flag. A change in this field will force the destruction of the existing resource and the creation of a new one.
	FlagKey pulumi.StringPtrInput
	// Instructions containing the action to perform when invoking the trigger. Currently supported flag actions are `"turnFlagOn"` and `"turnFlagOff"`. This must be passed as the key-value pair `{ kind = "<flag_action>" }`.
	Instructions FlagTriggerInstructionsPtrInput
	// The unique identifier of the integration you intend to set your trigger up with. Currently supported are `"datadog"`, `"dynatrace"`, `"honeycomb"`, `"new-relic-apm"`, `"signalfx"`, and `"generic-trigger"`. `"generic-trigger"` should be used for integrations not explicitly supported. A change in this field will force the destruction of the existing resource and the creation of a new one.
	IntegrationKey pulumi.StringPtrInput
	// The LaunchDarkly ID of the member who maintains the trigger. The API will automatically apply the member associated with
	// your Terraform API key or the most recently-set maintainer
	MaintainerId pulumi.StringPtrInput
	// The unique key of the project encompassing the associated flag. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringPtrInput
	// The unique trigger URL
	TriggerUrl pulumi.StringPtrInput
}

func (FlagTriggerState) ElementType

func (FlagTriggerState) ElementType() reflect.Type

type GetAuditLogSubscriptionStatement

type GetAuditLogSubscriptionStatement struct {
	Actions []string `pulumi:"actions"`
	// Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect     string   `pulumi:"effect"`
	NotActions []string `pulumi:"notActions"`
	// 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](https://docs.launchdarkly.com/home/members/role-resources).
	NotResources []string `pulumi:"notResources"`
	// The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these read [Using resources](https://docs.launchdarkly.com/home/members/role-resources).
	Resources []string `pulumi:"resources"`
}

type GetAuditLogSubscriptionStatementArgs

type GetAuditLogSubscriptionStatementArgs struct {
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect     pulumi.StringInput      `pulumi:"effect"`
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// 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](https://docs.launchdarkly.com/home/members/role-resources).
	NotResources pulumi.StringArrayInput `pulumi:"notResources"`
	// The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these read [Using resources](https://docs.launchdarkly.com/home/members/role-resources).
	Resources pulumi.StringArrayInput `pulumi:"resources"`
}

func (GetAuditLogSubscriptionStatementArgs) ElementType

func (GetAuditLogSubscriptionStatementArgs) ToGetAuditLogSubscriptionStatementOutput

func (i GetAuditLogSubscriptionStatementArgs) ToGetAuditLogSubscriptionStatementOutput() GetAuditLogSubscriptionStatementOutput

func (GetAuditLogSubscriptionStatementArgs) ToGetAuditLogSubscriptionStatementOutputWithContext

func (i GetAuditLogSubscriptionStatementArgs) ToGetAuditLogSubscriptionStatementOutputWithContext(ctx context.Context) GetAuditLogSubscriptionStatementOutput

type GetAuditLogSubscriptionStatementArray

type GetAuditLogSubscriptionStatementArray []GetAuditLogSubscriptionStatementInput

func (GetAuditLogSubscriptionStatementArray) ElementType

func (GetAuditLogSubscriptionStatementArray) ToGetAuditLogSubscriptionStatementArrayOutput

func (i GetAuditLogSubscriptionStatementArray) ToGetAuditLogSubscriptionStatementArrayOutput() GetAuditLogSubscriptionStatementArrayOutput

func (GetAuditLogSubscriptionStatementArray) ToGetAuditLogSubscriptionStatementArrayOutputWithContext

func (i GetAuditLogSubscriptionStatementArray) ToGetAuditLogSubscriptionStatementArrayOutputWithContext(ctx context.Context) GetAuditLogSubscriptionStatementArrayOutput

type GetAuditLogSubscriptionStatementArrayInput

type GetAuditLogSubscriptionStatementArrayInput interface {
	pulumi.Input

	ToGetAuditLogSubscriptionStatementArrayOutput() GetAuditLogSubscriptionStatementArrayOutput
	ToGetAuditLogSubscriptionStatementArrayOutputWithContext(context.Context) GetAuditLogSubscriptionStatementArrayOutput
}

GetAuditLogSubscriptionStatementArrayInput is an input type that accepts GetAuditLogSubscriptionStatementArray and GetAuditLogSubscriptionStatementArrayOutput values. You can construct a concrete instance of `GetAuditLogSubscriptionStatementArrayInput` via:

GetAuditLogSubscriptionStatementArray{ GetAuditLogSubscriptionStatementArgs{...} }

type GetAuditLogSubscriptionStatementArrayOutput

type GetAuditLogSubscriptionStatementArrayOutput struct{ *pulumi.OutputState }

func (GetAuditLogSubscriptionStatementArrayOutput) ElementType

func (GetAuditLogSubscriptionStatementArrayOutput) Index

func (GetAuditLogSubscriptionStatementArrayOutput) ToGetAuditLogSubscriptionStatementArrayOutput

func (o GetAuditLogSubscriptionStatementArrayOutput) ToGetAuditLogSubscriptionStatementArrayOutput() GetAuditLogSubscriptionStatementArrayOutput

func (GetAuditLogSubscriptionStatementArrayOutput) ToGetAuditLogSubscriptionStatementArrayOutputWithContext

func (o GetAuditLogSubscriptionStatementArrayOutput) ToGetAuditLogSubscriptionStatementArrayOutputWithContext(ctx context.Context) GetAuditLogSubscriptionStatementArrayOutput

type GetAuditLogSubscriptionStatementInput

type GetAuditLogSubscriptionStatementInput interface {
	pulumi.Input

	ToGetAuditLogSubscriptionStatementOutput() GetAuditLogSubscriptionStatementOutput
	ToGetAuditLogSubscriptionStatementOutputWithContext(context.Context) GetAuditLogSubscriptionStatementOutput
}

GetAuditLogSubscriptionStatementInput is an input type that accepts GetAuditLogSubscriptionStatementArgs and GetAuditLogSubscriptionStatementOutput values. You can construct a concrete instance of `GetAuditLogSubscriptionStatementInput` via:

GetAuditLogSubscriptionStatementArgs{...}

type GetAuditLogSubscriptionStatementOutput

type GetAuditLogSubscriptionStatementOutput struct{ *pulumi.OutputState }

func (GetAuditLogSubscriptionStatementOutput) Actions

func (GetAuditLogSubscriptionStatementOutput) Effect

Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.

func (GetAuditLogSubscriptionStatementOutput) ElementType

func (GetAuditLogSubscriptionStatementOutput) NotActions

func (GetAuditLogSubscriptionStatementOutput) NotResources

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](https://docs.launchdarkly.com/home/members/role-resources).

func (GetAuditLogSubscriptionStatementOutput) Resources

The list of resource specifiers defining the resources to which the statement applies. To learn more about how to configure these read [Using resources](https://docs.launchdarkly.com/home/members/role-resources).

func (GetAuditLogSubscriptionStatementOutput) ToGetAuditLogSubscriptionStatementOutput

func (o GetAuditLogSubscriptionStatementOutput) ToGetAuditLogSubscriptionStatementOutput() GetAuditLogSubscriptionStatementOutput

func (GetAuditLogSubscriptionStatementOutput) ToGetAuditLogSubscriptionStatementOutputWithContext

func (o GetAuditLogSubscriptionStatementOutput) ToGetAuditLogSubscriptionStatementOutputWithContext(ctx context.Context) GetAuditLogSubscriptionStatementOutput

type GetEnvironmentApprovalSetting

type GetEnvironmentApprovalSetting struct {
	CanApplyDeclinedChanges *bool    `pulumi:"canApplyDeclinedChanges"`
	CanReviewOwnRequest     *bool    `pulumi:"canReviewOwnRequest"`
	MinNumApprovals         *int     `pulumi:"minNumApprovals"`
	Required                *bool    `pulumi:"required"`
	RequiredApprovalTags    []string `pulumi:"requiredApprovalTags"`
}

type GetEnvironmentApprovalSettingArgs

type GetEnvironmentApprovalSettingArgs struct {
	CanApplyDeclinedChanges pulumi.BoolPtrInput     `pulumi:"canApplyDeclinedChanges"`
	CanReviewOwnRequest     pulumi.BoolPtrInput     `pulumi:"canReviewOwnRequest"`
	MinNumApprovals         pulumi.IntPtrInput      `pulumi:"minNumApprovals"`
	Required                pulumi.BoolPtrInput     `pulumi:"required"`
	RequiredApprovalTags    pulumi.StringArrayInput `pulumi:"requiredApprovalTags"`
}

func (GetEnvironmentApprovalSettingArgs) ElementType

func (GetEnvironmentApprovalSettingArgs) ToGetEnvironmentApprovalSettingOutput

func (i GetEnvironmentApprovalSettingArgs) ToGetEnvironmentApprovalSettingOutput() GetEnvironmentApprovalSettingOutput

func (GetEnvironmentApprovalSettingArgs) ToGetEnvironmentApprovalSettingOutputWithContext

func (i GetEnvironmentApprovalSettingArgs) ToGetEnvironmentApprovalSettingOutputWithContext(ctx context.Context) GetEnvironmentApprovalSettingOutput

type GetEnvironmentApprovalSettingArray

type GetEnvironmentApprovalSettingArray []GetEnvironmentApprovalSettingInput

func (GetEnvironmentApprovalSettingArray) ElementType

func (GetEnvironmentApprovalSettingArray) ToGetEnvironmentApprovalSettingArrayOutput

func (i GetEnvironmentApprovalSettingArray) ToGetEnvironmentApprovalSettingArrayOutput() GetEnvironmentApprovalSettingArrayOutput

func (GetEnvironmentApprovalSettingArray) ToGetEnvironmentApprovalSettingArrayOutputWithContext

func (i GetEnvironmentApprovalSettingArray) ToGetEnvironmentApprovalSettingArrayOutputWithContext(ctx context.Context) GetEnvironmentApprovalSettingArrayOutput

type GetEnvironmentApprovalSettingArrayInput

type GetEnvironmentApprovalSettingArrayInput interface {
	pulumi.Input

	ToGetEnvironmentApprovalSettingArrayOutput() GetEnvironmentApprovalSettingArrayOutput
	ToGetEnvironmentApprovalSettingArrayOutputWithContext(context.Context) GetEnvironmentApprovalSettingArrayOutput
}

GetEnvironmentApprovalSettingArrayInput is an input type that accepts GetEnvironmentApprovalSettingArray and GetEnvironmentApprovalSettingArrayOutput values. You can construct a concrete instance of `GetEnvironmentApprovalSettingArrayInput` via:

GetEnvironmentApprovalSettingArray{ GetEnvironmentApprovalSettingArgs{...} }

type GetEnvironmentApprovalSettingArrayOutput

type GetEnvironmentApprovalSettingArrayOutput struct{ *pulumi.OutputState }

func (GetEnvironmentApprovalSettingArrayOutput) ElementType

func (GetEnvironmentApprovalSettingArrayOutput) Index

func (GetEnvironmentApprovalSettingArrayOutput) ToGetEnvironmentApprovalSettingArrayOutput

func (o GetEnvironmentApprovalSettingArrayOutput) ToGetEnvironmentApprovalSettingArrayOutput() GetEnvironmentApprovalSettingArrayOutput

func (GetEnvironmentApprovalSettingArrayOutput) ToGetEnvironmentApprovalSettingArrayOutputWithContext

func (o GetEnvironmentApprovalSettingArrayOutput) ToGetEnvironmentApprovalSettingArrayOutputWithContext(ctx context.Context) GetEnvironmentApprovalSettingArrayOutput

type GetEnvironmentApprovalSettingInput

type GetEnvironmentApprovalSettingInput interface {
	pulumi.Input

	ToGetEnvironmentApprovalSettingOutput() GetEnvironmentApprovalSettingOutput
	ToGetEnvironmentApprovalSettingOutputWithContext(context.Context) GetEnvironmentApprovalSettingOutput
}

GetEnvironmentApprovalSettingInput is an input type that accepts GetEnvironmentApprovalSettingArgs and GetEnvironmentApprovalSettingOutput values. You can construct a concrete instance of `GetEnvironmentApprovalSettingInput` via:

GetEnvironmentApprovalSettingArgs{...}

type GetEnvironmentApprovalSettingOutput

type GetEnvironmentApprovalSettingOutput struct{ *pulumi.OutputState }

func (GetEnvironmentApprovalSettingOutput) CanApplyDeclinedChanges

func (o GetEnvironmentApprovalSettingOutput) CanApplyDeclinedChanges() pulumi.BoolPtrOutput

func (GetEnvironmentApprovalSettingOutput) CanReviewOwnRequest

func (GetEnvironmentApprovalSettingOutput) ElementType

func (GetEnvironmentApprovalSettingOutput) MinNumApprovals

func (GetEnvironmentApprovalSettingOutput) Required

func (GetEnvironmentApprovalSettingOutput) RequiredApprovalTags

func (GetEnvironmentApprovalSettingOutput) ToGetEnvironmentApprovalSettingOutput

func (o GetEnvironmentApprovalSettingOutput) ToGetEnvironmentApprovalSettingOutput() GetEnvironmentApprovalSettingOutput

func (GetEnvironmentApprovalSettingOutput) ToGetEnvironmentApprovalSettingOutputWithContext

func (o GetEnvironmentApprovalSettingOutput) ToGetEnvironmentApprovalSettingOutputWithContext(ctx context.Context) GetEnvironmentApprovalSettingOutput

type GetFeatureFlagClientSideAvailability

type GetFeatureFlagClientSideAvailability struct {
	// When set to true, this flag is available to SDKs using the client-side ID.
	UsingEnvironmentId bool `pulumi:"usingEnvironmentId"`
	// When set to true, this flag is available to SDKs using a mobile key.
	UsingMobileKey *bool `pulumi:"usingMobileKey"`
}

type GetFeatureFlagClientSideAvailabilityArgs

type GetFeatureFlagClientSideAvailabilityArgs struct {
	// When set to true, this flag is available to SDKs using the client-side ID.
	UsingEnvironmentId pulumi.BoolInput `pulumi:"usingEnvironmentId"`
	// When set to true, this flag is available to SDKs using a mobile key.
	UsingMobileKey pulumi.BoolPtrInput `pulumi:"usingMobileKey"`
}

func (GetFeatureFlagClientSideAvailabilityArgs) ElementType

func (GetFeatureFlagClientSideAvailabilityArgs) ToGetFeatureFlagClientSideAvailabilityOutput

func (i GetFeatureFlagClientSideAvailabilityArgs) ToGetFeatureFlagClientSideAvailabilityOutput() GetFeatureFlagClientSideAvailabilityOutput

func (GetFeatureFlagClientSideAvailabilityArgs) ToGetFeatureFlagClientSideAvailabilityOutputWithContext

func (i GetFeatureFlagClientSideAvailabilityArgs) ToGetFeatureFlagClientSideAvailabilityOutputWithContext(ctx context.Context) GetFeatureFlagClientSideAvailabilityOutput

type GetFeatureFlagClientSideAvailabilityArray

type GetFeatureFlagClientSideAvailabilityArray []GetFeatureFlagClientSideAvailabilityInput

func (GetFeatureFlagClientSideAvailabilityArray) ElementType

func (GetFeatureFlagClientSideAvailabilityArray) ToGetFeatureFlagClientSideAvailabilityArrayOutput

func (i GetFeatureFlagClientSideAvailabilityArray) ToGetFeatureFlagClientSideAvailabilityArrayOutput() GetFeatureFlagClientSideAvailabilityArrayOutput

func (GetFeatureFlagClientSideAvailabilityArray) ToGetFeatureFlagClientSideAvailabilityArrayOutputWithContext

func (i GetFeatureFlagClientSideAvailabilityArray) ToGetFeatureFlagClientSideAvailabilityArrayOutputWithContext(ctx context.Context) GetFeatureFlagClientSideAvailabilityArrayOutput

type GetFeatureFlagClientSideAvailabilityArrayInput

type GetFeatureFlagClientSideAvailabilityArrayInput interface {
	pulumi.Input

	ToGetFeatureFlagClientSideAvailabilityArrayOutput() GetFeatureFlagClientSideAvailabilityArrayOutput
	ToGetFeatureFlagClientSideAvailabilityArrayOutputWithContext(context.Context) GetFeatureFlagClientSideAvailabilityArrayOutput
}

GetFeatureFlagClientSideAvailabilityArrayInput is an input type that accepts GetFeatureFlagClientSideAvailabilityArray and GetFeatureFlagClientSideAvailabilityArrayOutput values. You can construct a concrete instance of `GetFeatureFlagClientSideAvailabilityArrayInput` via:

GetFeatureFlagClientSideAvailabilityArray{ GetFeatureFlagClientSideAvailabilityArgs{...} }

type GetFeatureFlagClientSideAvailabilityArrayOutput

type GetFeatureFlagClientSideAvailabilityArrayOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagClientSideAvailabilityArrayOutput) ElementType

func (GetFeatureFlagClientSideAvailabilityArrayOutput) Index

func (GetFeatureFlagClientSideAvailabilityArrayOutput) ToGetFeatureFlagClientSideAvailabilityArrayOutput

func (o GetFeatureFlagClientSideAvailabilityArrayOutput) ToGetFeatureFlagClientSideAvailabilityArrayOutput() GetFeatureFlagClientSideAvailabilityArrayOutput

func (GetFeatureFlagClientSideAvailabilityArrayOutput) ToGetFeatureFlagClientSideAvailabilityArrayOutputWithContext

func (o GetFeatureFlagClientSideAvailabilityArrayOutput) ToGetFeatureFlagClientSideAvailabilityArrayOutputWithContext(ctx context.Context) GetFeatureFlagClientSideAvailabilityArrayOutput

type GetFeatureFlagClientSideAvailabilityInput

type GetFeatureFlagClientSideAvailabilityInput interface {
	pulumi.Input

	ToGetFeatureFlagClientSideAvailabilityOutput() GetFeatureFlagClientSideAvailabilityOutput
	ToGetFeatureFlagClientSideAvailabilityOutputWithContext(context.Context) GetFeatureFlagClientSideAvailabilityOutput
}

GetFeatureFlagClientSideAvailabilityInput is an input type that accepts GetFeatureFlagClientSideAvailabilityArgs and GetFeatureFlagClientSideAvailabilityOutput values. You can construct a concrete instance of `GetFeatureFlagClientSideAvailabilityInput` via:

GetFeatureFlagClientSideAvailabilityArgs{...}

type GetFeatureFlagClientSideAvailabilityOutput

type GetFeatureFlagClientSideAvailabilityOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagClientSideAvailabilityOutput) ElementType

func (GetFeatureFlagClientSideAvailabilityOutput) ToGetFeatureFlagClientSideAvailabilityOutput

func (o GetFeatureFlagClientSideAvailabilityOutput) ToGetFeatureFlagClientSideAvailabilityOutput() GetFeatureFlagClientSideAvailabilityOutput

func (GetFeatureFlagClientSideAvailabilityOutput) ToGetFeatureFlagClientSideAvailabilityOutputWithContext

func (o GetFeatureFlagClientSideAvailabilityOutput) ToGetFeatureFlagClientSideAvailabilityOutputWithContext(ctx context.Context) GetFeatureFlagClientSideAvailabilityOutput

func (GetFeatureFlagClientSideAvailabilityOutput) UsingEnvironmentId

When set to true, this flag is available to SDKs using the client-side ID.

func (GetFeatureFlagClientSideAvailabilityOutput) UsingMobileKey

When set to true, this flag is available to SDKs using a mobile key.

type GetFeatureFlagCustomProperty

type GetFeatureFlagCustomProperty struct {
	// The unique feature flag key that references the flag in your application code.
	Key string `pulumi:"key"`
	// The name of the custom property.
	Name string `pulumi:"name"`
	// The list of custom property value strings.
	Values []string `pulumi:"values"`
}

type GetFeatureFlagCustomPropertyArgs

type GetFeatureFlagCustomPropertyArgs struct {
	// The unique feature flag key that references the flag in your application code.
	Key pulumi.StringInput `pulumi:"key"`
	// The name of the custom property.
	Name pulumi.StringInput `pulumi:"name"`
	// The list of custom property value strings.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetFeatureFlagCustomPropertyArgs) ElementType

func (GetFeatureFlagCustomPropertyArgs) ToGetFeatureFlagCustomPropertyOutput

func (i GetFeatureFlagCustomPropertyArgs) ToGetFeatureFlagCustomPropertyOutput() GetFeatureFlagCustomPropertyOutput

func (GetFeatureFlagCustomPropertyArgs) ToGetFeatureFlagCustomPropertyOutputWithContext

func (i GetFeatureFlagCustomPropertyArgs) ToGetFeatureFlagCustomPropertyOutputWithContext(ctx context.Context) GetFeatureFlagCustomPropertyOutput

type GetFeatureFlagCustomPropertyArray

type GetFeatureFlagCustomPropertyArray []GetFeatureFlagCustomPropertyInput

func (GetFeatureFlagCustomPropertyArray) ElementType

func (GetFeatureFlagCustomPropertyArray) ToGetFeatureFlagCustomPropertyArrayOutput

func (i GetFeatureFlagCustomPropertyArray) ToGetFeatureFlagCustomPropertyArrayOutput() GetFeatureFlagCustomPropertyArrayOutput

func (GetFeatureFlagCustomPropertyArray) ToGetFeatureFlagCustomPropertyArrayOutputWithContext

func (i GetFeatureFlagCustomPropertyArray) ToGetFeatureFlagCustomPropertyArrayOutputWithContext(ctx context.Context) GetFeatureFlagCustomPropertyArrayOutput

type GetFeatureFlagCustomPropertyArrayInput

type GetFeatureFlagCustomPropertyArrayInput interface {
	pulumi.Input

	ToGetFeatureFlagCustomPropertyArrayOutput() GetFeatureFlagCustomPropertyArrayOutput
	ToGetFeatureFlagCustomPropertyArrayOutputWithContext(context.Context) GetFeatureFlagCustomPropertyArrayOutput
}

GetFeatureFlagCustomPropertyArrayInput is an input type that accepts GetFeatureFlagCustomPropertyArray and GetFeatureFlagCustomPropertyArrayOutput values. You can construct a concrete instance of `GetFeatureFlagCustomPropertyArrayInput` via:

GetFeatureFlagCustomPropertyArray{ GetFeatureFlagCustomPropertyArgs{...} }

type GetFeatureFlagCustomPropertyArrayOutput

type GetFeatureFlagCustomPropertyArrayOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagCustomPropertyArrayOutput) ElementType

func (GetFeatureFlagCustomPropertyArrayOutput) Index

func (GetFeatureFlagCustomPropertyArrayOutput) ToGetFeatureFlagCustomPropertyArrayOutput

func (o GetFeatureFlagCustomPropertyArrayOutput) ToGetFeatureFlagCustomPropertyArrayOutput() GetFeatureFlagCustomPropertyArrayOutput

func (GetFeatureFlagCustomPropertyArrayOutput) ToGetFeatureFlagCustomPropertyArrayOutputWithContext

func (o GetFeatureFlagCustomPropertyArrayOutput) ToGetFeatureFlagCustomPropertyArrayOutputWithContext(ctx context.Context) GetFeatureFlagCustomPropertyArrayOutput

type GetFeatureFlagCustomPropertyInput

type GetFeatureFlagCustomPropertyInput interface {
	pulumi.Input

	ToGetFeatureFlagCustomPropertyOutput() GetFeatureFlagCustomPropertyOutput
	ToGetFeatureFlagCustomPropertyOutputWithContext(context.Context) GetFeatureFlagCustomPropertyOutput
}

GetFeatureFlagCustomPropertyInput is an input type that accepts GetFeatureFlagCustomPropertyArgs and GetFeatureFlagCustomPropertyOutput values. You can construct a concrete instance of `GetFeatureFlagCustomPropertyInput` via:

GetFeatureFlagCustomPropertyArgs{...}

type GetFeatureFlagCustomPropertyOutput

type GetFeatureFlagCustomPropertyOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagCustomPropertyOutput) ElementType

func (GetFeatureFlagCustomPropertyOutput) Key

The unique feature flag key that references the flag in your application code.

func (GetFeatureFlagCustomPropertyOutput) Name

The name of the custom property.

func (GetFeatureFlagCustomPropertyOutput) ToGetFeatureFlagCustomPropertyOutput

func (o GetFeatureFlagCustomPropertyOutput) ToGetFeatureFlagCustomPropertyOutput() GetFeatureFlagCustomPropertyOutput

func (GetFeatureFlagCustomPropertyOutput) ToGetFeatureFlagCustomPropertyOutputWithContext

func (o GetFeatureFlagCustomPropertyOutput) ToGetFeatureFlagCustomPropertyOutputWithContext(ctx context.Context) GetFeatureFlagCustomPropertyOutput

func (GetFeatureFlagCustomPropertyOutput) Values

The list of custom property value strings.

type GetFeatureFlagDefaults

type GetFeatureFlagDefaults struct {
	// (Required) The index of the variation the flag will default to in all new environments when off.
	OffVariation int `pulumi:"offVariation"`
	// (Required) The index of the variation the flag will default to in all new environments when on.
	OnVariation int `pulumi:"onVariation"`
}

type GetFeatureFlagDefaultsArgs

type GetFeatureFlagDefaultsArgs struct {
	// (Required) The index of the variation the flag will default to in all new environments when off.
	OffVariation pulumi.IntInput `pulumi:"offVariation"`
	// (Required) The index of the variation the flag will default to in all new environments when on.
	OnVariation pulumi.IntInput `pulumi:"onVariation"`
}

func (GetFeatureFlagDefaultsArgs) ElementType

func (GetFeatureFlagDefaultsArgs) ElementType() reflect.Type

func (GetFeatureFlagDefaultsArgs) ToGetFeatureFlagDefaultsOutput

func (i GetFeatureFlagDefaultsArgs) ToGetFeatureFlagDefaultsOutput() GetFeatureFlagDefaultsOutput

func (GetFeatureFlagDefaultsArgs) ToGetFeatureFlagDefaultsOutputWithContext

func (i GetFeatureFlagDefaultsArgs) ToGetFeatureFlagDefaultsOutputWithContext(ctx context.Context) GetFeatureFlagDefaultsOutput

func (GetFeatureFlagDefaultsArgs) ToGetFeatureFlagDefaultsPtrOutput

func (i GetFeatureFlagDefaultsArgs) ToGetFeatureFlagDefaultsPtrOutput() GetFeatureFlagDefaultsPtrOutput

func (GetFeatureFlagDefaultsArgs) ToGetFeatureFlagDefaultsPtrOutputWithContext

func (i GetFeatureFlagDefaultsArgs) ToGetFeatureFlagDefaultsPtrOutputWithContext(ctx context.Context) GetFeatureFlagDefaultsPtrOutput

type GetFeatureFlagDefaultsInput

type GetFeatureFlagDefaultsInput interface {
	pulumi.Input

	ToGetFeatureFlagDefaultsOutput() GetFeatureFlagDefaultsOutput
	ToGetFeatureFlagDefaultsOutputWithContext(context.Context) GetFeatureFlagDefaultsOutput
}

GetFeatureFlagDefaultsInput is an input type that accepts GetFeatureFlagDefaultsArgs and GetFeatureFlagDefaultsOutput values. You can construct a concrete instance of `GetFeatureFlagDefaultsInput` via:

GetFeatureFlagDefaultsArgs{...}

type GetFeatureFlagDefaultsOutput

type GetFeatureFlagDefaultsOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagDefaultsOutput) ElementType

func (GetFeatureFlagDefaultsOutput) OffVariation

(Required) The index of the variation the flag will default to in all new environments when off.

func (GetFeatureFlagDefaultsOutput) OnVariation

(Required) The index of the variation the flag will default to in all new environments when on.

func (GetFeatureFlagDefaultsOutput) ToGetFeatureFlagDefaultsOutput

func (o GetFeatureFlagDefaultsOutput) ToGetFeatureFlagDefaultsOutput() GetFeatureFlagDefaultsOutput

func (GetFeatureFlagDefaultsOutput) ToGetFeatureFlagDefaultsOutputWithContext

func (o GetFeatureFlagDefaultsOutput) ToGetFeatureFlagDefaultsOutputWithContext(ctx context.Context) GetFeatureFlagDefaultsOutput

func (GetFeatureFlagDefaultsOutput) ToGetFeatureFlagDefaultsPtrOutput

func (o GetFeatureFlagDefaultsOutput) ToGetFeatureFlagDefaultsPtrOutput() GetFeatureFlagDefaultsPtrOutput

func (GetFeatureFlagDefaultsOutput) ToGetFeatureFlagDefaultsPtrOutputWithContext

func (o GetFeatureFlagDefaultsOutput) ToGetFeatureFlagDefaultsPtrOutputWithContext(ctx context.Context) GetFeatureFlagDefaultsPtrOutput

type GetFeatureFlagDefaultsPtrInput

type GetFeatureFlagDefaultsPtrInput interface {
	pulumi.Input

	ToGetFeatureFlagDefaultsPtrOutput() GetFeatureFlagDefaultsPtrOutput
	ToGetFeatureFlagDefaultsPtrOutputWithContext(context.Context) GetFeatureFlagDefaultsPtrOutput
}

GetFeatureFlagDefaultsPtrInput is an input type that accepts GetFeatureFlagDefaultsArgs, GetFeatureFlagDefaultsPtr and GetFeatureFlagDefaultsPtrOutput values. You can construct a concrete instance of `GetFeatureFlagDefaultsPtrInput` via:

        GetFeatureFlagDefaultsArgs{...}

or:

        nil

type GetFeatureFlagDefaultsPtrOutput

type GetFeatureFlagDefaultsPtrOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagDefaultsPtrOutput) Elem

func (GetFeatureFlagDefaultsPtrOutput) ElementType

func (GetFeatureFlagDefaultsPtrOutput) OffVariation

(Required) The index of the variation the flag will default to in all new environments when off.

func (GetFeatureFlagDefaultsPtrOutput) OnVariation

(Required) The index of the variation the flag will default to in all new environments when on.

func (GetFeatureFlagDefaultsPtrOutput) ToGetFeatureFlagDefaultsPtrOutput

func (o GetFeatureFlagDefaultsPtrOutput) ToGetFeatureFlagDefaultsPtrOutput() GetFeatureFlagDefaultsPtrOutput

func (GetFeatureFlagDefaultsPtrOutput) ToGetFeatureFlagDefaultsPtrOutputWithContext

func (o GetFeatureFlagDefaultsPtrOutput) ToGetFeatureFlagDefaultsPtrOutputWithContext(ctx context.Context) GetFeatureFlagDefaultsPtrOutput

type GetFeatureFlagEnvironmentFallthrough

type GetFeatureFlagEnvironmentFallthrough struct {
	// Group percentage rollout by a custom attribute.
	BucketBy *string `pulumi:"bucketBy"`
	// List of integer percentage rollout weights applied to each variation when the rule clauses evaluates to `true`.
	RolloutWeights []int `pulumi:"rolloutWeights"`
	// The integer variation index served when the rule clauses evaluate to `true`.
	Variation *int `pulumi:"variation"`
}

type GetFeatureFlagEnvironmentFallthroughArgs

type GetFeatureFlagEnvironmentFallthroughArgs struct {
	// Group percentage rollout by a custom attribute.
	BucketBy pulumi.StringPtrInput `pulumi:"bucketBy"`
	// List of integer percentage rollout weights applied to each variation when the rule clauses evaluates to `true`.
	RolloutWeights pulumi.IntArrayInput `pulumi:"rolloutWeights"`
	// The integer variation index served when the rule clauses evaluate to `true`.
	Variation pulumi.IntPtrInput `pulumi:"variation"`
}

func (GetFeatureFlagEnvironmentFallthroughArgs) ElementType

func (GetFeatureFlagEnvironmentFallthroughArgs) ToGetFeatureFlagEnvironmentFallthroughOutput

func (i GetFeatureFlagEnvironmentFallthroughArgs) ToGetFeatureFlagEnvironmentFallthroughOutput() GetFeatureFlagEnvironmentFallthroughOutput

func (GetFeatureFlagEnvironmentFallthroughArgs) ToGetFeatureFlagEnvironmentFallthroughOutputWithContext

func (i GetFeatureFlagEnvironmentFallthroughArgs) ToGetFeatureFlagEnvironmentFallthroughOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentFallthroughOutput

func (GetFeatureFlagEnvironmentFallthroughArgs) ToGetFeatureFlagEnvironmentFallthroughPtrOutput

func (i GetFeatureFlagEnvironmentFallthroughArgs) ToGetFeatureFlagEnvironmentFallthroughPtrOutput() GetFeatureFlagEnvironmentFallthroughPtrOutput

func (GetFeatureFlagEnvironmentFallthroughArgs) ToGetFeatureFlagEnvironmentFallthroughPtrOutputWithContext

func (i GetFeatureFlagEnvironmentFallthroughArgs) ToGetFeatureFlagEnvironmentFallthroughPtrOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentFallthroughPtrOutput

type GetFeatureFlagEnvironmentFallthroughInput

type GetFeatureFlagEnvironmentFallthroughInput interface {
	pulumi.Input

	ToGetFeatureFlagEnvironmentFallthroughOutput() GetFeatureFlagEnvironmentFallthroughOutput
	ToGetFeatureFlagEnvironmentFallthroughOutputWithContext(context.Context) GetFeatureFlagEnvironmentFallthroughOutput
}

GetFeatureFlagEnvironmentFallthroughInput is an input type that accepts GetFeatureFlagEnvironmentFallthroughArgs and GetFeatureFlagEnvironmentFallthroughOutput values. You can construct a concrete instance of `GetFeatureFlagEnvironmentFallthroughInput` via:

GetFeatureFlagEnvironmentFallthroughArgs{...}

type GetFeatureFlagEnvironmentFallthroughOutput

type GetFeatureFlagEnvironmentFallthroughOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagEnvironmentFallthroughOutput) BucketBy

Group percentage rollout by a custom attribute.

func (GetFeatureFlagEnvironmentFallthroughOutput) ElementType

func (GetFeatureFlagEnvironmentFallthroughOutput) RolloutWeights

List of integer percentage rollout weights applied to each variation when the rule clauses evaluates to `true`.

func (GetFeatureFlagEnvironmentFallthroughOutput) ToGetFeatureFlagEnvironmentFallthroughOutput

func (o GetFeatureFlagEnvironmentFallthroughOutput) ToGetFeatureFlagEnvironmentFallthroughOutput() GetFeatureFlagEnvironmentFallthroughOutput

func (GetFeatureFlagEnvironmentFallthroughOutput) ToGetFeatureFlagEnvironmentFallthroughOutputWithContext

func (o GetFeatureFlagEnvironmentFallthroughOutput) ToGetFeatureFlagEnvironmentFallthroughOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentFallthroughOutput

func (GetFeatureFlagEnvironmentFallthroughOutput) ToGetFeatureFlagEnvironmentFallthroughPtrOutput

func (o GetFeatureFlagEnvironmentFallthroughOutput) ToGetFeatureFlagEnvironmentFallthroughPtrOutput() GetFeatureFlagEnvironmentFallthroughPtrOutput

func (GetFeatureFlagEnvironmentFallthroughOutput) ToGetFeatureFlagEnvironmentFallthroughPtrOutputWithContext

func (o GetFeatureFlagEnvironmentFallthroughOutput) ToGetFeatureFlagEnvironmentFallthroughPtrOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentFallthroughPtrOutput

func (GetFeatureFlagEnvironmentFallthroughOutput) Variation

The integer variation index served when the rule clauses evaluate to `true`.

type GetFeatureFlagEnvironmentFallthroughPtrInput

type GetFeatureFlagEnvironmentFallthroughPtrInput interface {
	pulumi.Input

	ToGetFeatureFlagEnvironmentFallthroughPtrOutput() GetFeatureFlagEnvironmentFallthroughPtrOutput
	ToGetFeatureFlagEnvironmentFallthroughPtrOutputWithContext(context.Context) GetFeatureFlagEnvironmentFallthroughPtrOutput
}

GetFeatureFlagEnvironmentFallthroughPtrInput is an input type that accepts GetFeatureFlagEnvironmentFallthroughArgs, GetFeatureFlagEnvironmentFallthroughPtr and GetFeatureFlagEnvironmentFallthroughPtrOutput values. You can construct a concrete instance of `GetFeatureFlagEnvironmentFallthroughPtrInput` via:

        GetFeatureFlagEnvironmentFallthroughArgs{...}

or:

        nil

type GetFeatureFlagEnvironmentFallthroughPtrOutput

type GetFeatureFlagEnvironmentFallthroughPtrOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagEnvironmentFallthroughPtrOutput) BucketBy

Group percentage rollout by a custom attribute.

func (GetFeatureFlagEnvironmentFallthroughPtrOutput) Elem

func (GetFeatureFlagEnvironmentFallthroughPtrOutput) ElementType

func (GetFeatureFlagEnvironmentFallthroughPtrOutput) RolloutWeights

List of integer percentage rollout weights applied to each variation when the rule clauses evaluates to `true`.

func (GetFeatureFlagEnvironmentFallthroughPtrOutput) ToGetFeatureFlagEnvironmentFallthroughPtrOutput

func (o GetFeatureFlagEnvironmentFallthroughPtrOutput) ToGetFeatureFlagEnvironmentFallthroughPtrOutput() GetFeatureFlagEnvironmentFallthroughPtrOutput

func (GetFeatureFlagEnvironmentFallthroughPtrOutput) ToGetFeatureFlagEnvironmentFallthroughPtrOutputWithContext

func (o GetFeatureFlagEnvironmentFallthroughPtrOutput) ToGetFeatureFlagEnvironmentFallthroughPtrOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentFallthroughPtrOutput

func (GetFeatureFlagEnvironmentFallthroughPtrOutput) Variation

The integer variation index served when the rule clauses evaluate to `true`.

type GetFeatureFlagEnvironmentPrerequisite

type GetFeatureFlagEnvironmentPrerequisite struct {
	// The prerequisite feature flag's `key`.
	FlagKey string `pulumi:"flagKey"`
	// The integer variation index served when the rule clauses evaluate to `true`.
	Variation int `pulumi:"variation"`
}

type GetFeatureFlagEnvironmentPrerequisiteArgs

type GetFeatureFlagEnvironmentPrerequisiteArgs struct {
	// The prerequisite feature flag's `key`.
	FlagKey pulumi.StringInput `pulumi:"flagKey"`
	// The integer variation index served when the rule clauses evaluate to `true`.
	Variation pulumi.IntInput `pulumi:"variation"`
}

func (GetFeatureFlagEnvironmentPrerequisiteArgs) ElementType

func (GetFeatureFlagEnvironmentPrerequisiteArgs) ToGetFeatureFlagEnvironmentPrerequisiteOutput

func (i GetFeatureFlagEnvironmentPrerequisiteArgs) ToGetFeatureFlagEnvironmentPrerequisiteOutput() GetFeatureFlagEnvironmentPrerequisiteOutput

func (GetFeatureFlagEnvironmentPrerequisiteArgs) ToGetFeatureFlagEnvironmentPrerequisiteOutputWithContext

func (i GetFeatureFlagEnvironmentPrerequisiteArgs) ToGetFeatureFlagEnvironmentPrerequisiteOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentPrerequisiteOutput

type GetFeatureFlagEnvironmentPrerequisiteArray

type GetFeatureFlagEnvironmentPrerequisiteArray []GetFeatureFlagEnvironmentPrerequisiteInput

func (GetFeatureFlagEnvironmentPrerequisiteArray) ElementType

func (GetFeatureFlagEnvironmentPrerequisiteArray) ToGetFeatureFlagEnvironmentPrerequisiteArrayOutput

func (i GetFeatureFlagEnvironmentPrerequisiteArray) ToGetFeatureFlagEnvironmentPrerequisiteArrayOutput() GetFeatureFlagEnvironmentPrerequisiteArrayOutput

func (GetFeatureFlagEnvironmentPrerequisiteArray) ToGetFeatureFlagEnvironmentPrerequisiteArrayOutputWithContext

func (i GetFeatureFlagEnvironmentPrerequisiteArray) ToGetFeatureFlagEnvironmentPrerequisiteArrayOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentPrerequisiteArrayOutput

type GetFeatureFlagEnvironmentPrerequisiteArrayInput

type GetFeatureFlagEnvironmentPrerequisiteArrayInput interface {
	pulumi.Input

	ToGetFeatureFlagEnvironmentPrerequisiteArrayOutput() GetFeatureFlagEnvironmentPrerequisiteArrayOutput
	ToGetFeatureFlagEnvironmentPrerequisiteArrayOutputWithContext(context.Context) GetFeatureFlagEnvironmentPrerequisiteArrayOutput
}

GetFeatureFlagEnvironmentPrerequisiteArrayInput is an input type that accepts GetFeatureFlagEnvironmentPrerequisiteArray and GetFeatureFlagEnvironmentPrerequisiteArrayOutput values. You can construct a concrete instance of `GetFeatureFlagEnvironmentPrerequisiteArrayInput` via:

GetFeatureFlagEnvironmentPrerequisiteArray{ GetFeatureFlagEnvironmentPrerequisiteArgs{...} }

type GetFeatureFlagEnvironmentPrerequisiteArrayOutput

type GetFeatureFlagEnvironmentPrerequisiteArrayOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagEnvironmentPrerequisiteArrayOutput) ElementType

func (GetFeatureFlagEnvironmentPrerequisiteArrayOutput) Index

func (GetFeatureFlagEnvironmentPrerequisiteArrayOutput) ToGetFeatureFlagEnvironmentPrerequisiteArrayOutput

func (o GetFeatureFlagEnvironmentPrerequisiteArrayOutput) ToGetFeatureFlagEnvironmentPrerequisiteArrayOutput() GetFeatureFlagEnvironmentPrerequisiteArrayOutput

func (GetFeatureFlagEnvironmentPrerequisiteArrayOutput) ToGetFeatureFlagEnvironmentPrerequisiteArrayOutputWithContext

func (o GetFeatureFlagEnvironmentPrerequisiteArrayOutput) ToGetFeatureFlagEnvironmentPrerequisiteArrayOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentPrerequisiteArrayOutput

type GetFeatureFlagEnvironmentPrerequisiteInput

type GetFeatureFlagEnvironmentPrerequisiteInput interface {
	pulumi.Input

	ToGetFeatureFlagEnvironmentPrerequisiteOutput() GetFeatureFlagEnvironmentPrerequisiteOutput
	ToGetFeatureFlagEnvironmentPrerequisiteOutputWithContext(context.Context) GetFeatureFlagEnvironmentPrerequisiteOutput
}

GetFeatureFlagEnvironmentPrerequisiteInput is an input type that accepts GetFeatureFlagEnvironmentPrerequisiteArgs and GetFeatureFlagEnvironmentPrerequisiteOutput values. You can construct a concrete instance of `GetFeatureFlagEnvironmentPrerequisiteInput` via:

GetFeatureFlagEnvironmentPrerequisiteArgs{...}

type GetFeatureFlagEnvironmentPrerequisiteOutput

type GetFeatureFlagEnvironmentPrerequisiteOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagEnvironmentPrerequisiteOutput) ElementType

func (GetFeatureFlagEnvironmentPrerequisiteOutput) FlagKey

The prerequisite feature flag's `key`.

func (GetFeatureFlagEnvironmentPrerequisiteOutput) ToGetFeatureFlagEnvironmentPrerequisiteOutput

func (o GetFeatureFlagEnvironmentPrerequisiteOutput) ToGetFeatureFlagEnvironmentPrerequisiteOutput() GetFeatureFlagEnvironmentPrerequisiteOutput

func (GetFeatureFlagEnvironmentPrerequisiteOutput) ToGetFeatureFlagEnvironmentPrerequisiteOutputWithContext

func (o GetFeatureFlagEnvironmentPrerequisiteOutput) ToGetFeatureFlagEnvironmentPrerequisiteOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentPrerequisiteOutput

func (GetFeatureFlagEnvironmentPrerequisiteOutput) Variation

The integer variation index served when the rule clauses evaluate to `true`.

type GetFeatureFlagEnvironmentRule

type GetFeatureFlagEnvironmentRule struct {
	// Group percentage rollout by a custom attribute.
	BucketBy *string `pulumi:"bucketBy"`
	// List of nested blocks specifying the logical clauses evaluated. To learn more, read Nested Clauses Blocks.
	Clauses []GetFeatureFlagEnvironmentRuleClause `pulumi:"clauses"`
	// List of integer percentage rollout weights applied to each variation when the rule clauses evaluates to `true`.
	RolloutWeights []int `pulumi:"rolloutWeights"`
	// The integer variation index served when the rule clauses evaluate to `true`.
	Variation *int `pulumi:"variation"`
}

type GetFeatureFlagEnvironmentRuleArgs

type GetFeatureFlagEnvironmentRuleArgs struct {
	// Group percentage rollout by a custom attribute.
	BucketBy pulumi.StringPtrInput `pulumi:"bucketBy"`
	// List of nested blocks specifying the logical clauses evaluated. To learn more, read Nested Clauses Blocks.
	Clauses GetFeatureFlagEnvironmentRuleClauseArrayInput `pulumi:"clauses"`
	// List of integer percentage rollout weights applied to each variation when the rule clauses evaluates to `true`.
	RolloutWeights pulumi.IntArrayInput `pulumi:"rolloutWeights"`
	// The integer variation index served when the rule clauses evaluate to `true`.
	Variation pulumi.IntPtrInput `pulumi:"variation"`
}

func (GetFeatureFlagEnvironmentRuleArgs) ElementType

func (GetFeatureFlagEnvironmentRuleArgs) ToGetFeatureFlagEnvironmentRuleOutput

func (i GetFeatureFlagEnvironmentRuleArgs) ToGetFeatureFlagEnvironmentRuleOutput() GetFeatureFlagEnvironmentRuleOutput

func (GetFeatureFlagEnvironmentRuleArgs) ToGetFeatureFlagEnvironmentRuleOutputWithContext

func (i GetFeatureFlagEnvironmentRuleArgs) ToGetFeatureFlagEnvironmentRuleOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentRuleOutput

type GetFeatureFlagEnvironmentRuleArray

type GetFeatureFlagEnvironmentRuleArray []GetFeatureFlagEnvironmentRuleInput

func (GetFeatureFlagEnvironmentRuleArray) ElementType

func (GetFeatureFlagEnvironmentRuleArray) ToGetFeatureFlagEnvironmentRuleArrayOutput

func (i GetFeatureFlagEnvironmentRuleArray) ToGetFeatureFlagEnvironmentRuleArrayOutput() GetFeatureFlagEnvironmentRuleArrayOutput

func (GetFeatureFlagEnvironmentRuleArray) ToGetFeatureFlagEnvironmentRuleArrayOutputWithContext

func (i GetFeatureFlagEnvironmentRuleArray) ToGetFeatureFlagEnvironmentRuleArrayOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentRuleArrayOutput

type GetFeatureFlagEnvironmentRuleArrayInput

type GetFeatureFlagEnvironmentRuleArrayInput interface {
	pulumi.Input

	ToGetFeatureFlagEnvironmentRuleArrayOutput() GetFeatureFlagEnvironmentRuleArrayOutput
	ToGetFeatureFlagEnvironmentRuleArrayOutputWithContext(context.Context) GetFeatureFlagEnvironmentRuleArrayOutput
}

GetFeatureFlagEnvironmentRuleArrayInput is an input type that accepts GetFeatureFlagEnvironmentRuleArray and GetFeatureFlagEnvironmentRuleArrayOutput values. You can construct a concrete instance of `GetFeatureFlagEnvironmentRuleArrayInput` via:

GetFeatureFlagEnvironmentRuleArray{ GetFeatureFlagEnvironmentRuleArgs{...} }

type GetFeatureFlagEnvironmentRuleArrayOutput

type GetFeatureFlagEnvironmentRuleArrayOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagEnvironmentRuleArrayOutput) ElementType

func (GetFeatureFlagEnvironmentRuleArrayOutput) Index

func (GetFeatureFlagEnvironmentRuleArrayOutput) ToGetFeatureFlagEnvironmentRuleArrayOutput

func (o GetFeatureFlagEnvironmentRuleArrayOutput) ToGetFeatureFlagEnvironmentRuleArrayOutput() GetFeatureFlagEnvironmentRuleArrayOutput

func (GetFeatureFlagEnvironmentRuleArrayOutput) ToGetFeatureFlagEnvironmentRuleArrayOutputWithContext

func (o GetFeatureFlagEnvironmentRuleArrayOutput) ToGetFeatureFlagEnvironmentRuleArrayOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentRuleArrayOutput

type GetFeatureFlagEnvironmentRuleClause

type GetFeatureFlagEnvironmentRuleClause struct {
	// The user attribute operated on.
	Attribute string `pulumi:"attribute"`
	// Whether the rule clause is negated.
	Negate *bool `pulumi:"negate"`
	// The operator associated with the rule clause. This will be one of `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.
	Op string `pulumi:"op"`
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`.
	ValueType *string `pulumi:"valueType"`
	// The list of values associated with the rule clause.
	Values []string `pulumi:"values"`
}

type GetFeatureFlagEnvironmentRuleClauseArgs

type GetFeatureFlagEnvironmentRuleClauseArgs struct {
	// The user attribute operated on.
	Attribute pulumi.StringInput `pulumi:"attribute"`
	// Whether the rule clause is negated.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// The operator associated with the rule clause. This will be one of `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.
	Op pulumi.StringInput `pulumi:"op"`
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`.
	ValueType pulumi.StringPtrInput `pulumi:"valueType"`
	// The list of values associated with the rule clause.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetFeatureFlagEnvironmentRuleClauseArgs) ElementType

func (GetFeatureFlagEnvironmentRuleClauseArgs) ToGetFeatureFlagEnvironmentRuleClauseOutput

func (i GetFeatureFlagEnvironmentRuleClauseArgs) ToGetFeatureFlagEnvironmentRuleClauseOutput() GetFeatureFlagEnvironmentRuleClauseOutput

func (GetFeatureFlagEnvironmentRuleClauseArgs) ToGetFeatureFlagEnvironmentRuleClauseOutputWithContext

func (i GetFeatureFlagEnvironmentRuleClauseArgs) ToGetFeatureFlagEnvironmentRuleClauseOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentRuleClauseOutput

type GetFeatureFlagEnvironmentRuleClauseArray

type GetFeatureFlagEnvironmentRuleClauseArray []GetFeatureFlagEnvironmentRuleClauseInput

func (GetFeatureFlagEnvironmentRuleClauseArray) ElementType

func (GetFeatureFlagEnvironmentRuleClauseArray) ToGetFeatureFlagEnvironmentRuleClauseArrayOutput

func (i GetFeatureFlagEnvironmentRuleClauseArray) ToGetFeatureFlagEnvironmentRuleClauseArrayOutput() GetFeatureFlagEnvironmentRuleClauseArrayOutput

func (GetFeatureFlagEnvironmentRuleClauseArray) ToGetFeatureFlagEnvironmentRuleClauseArrayOutputWithContext

func (i GetFeatureFlagEnvironmentRuleClauseArray) ToGetFeatureFlagEnvironmentRuleClauseArrayOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentRuleClauseArrayOutput

type GetFeatureFlagEnvironmentRuleClauseArrayInput

type GetFeatureFlagEnvironmentRuleClauseArrayInput interface {
	pulumi.Input

	ToGetFeatureFlagEnvironmentRuleClauseArrayOutput() GetFeatureFlagEnvironmentRuleClauseArrayOutput
	ToGetFeatureFlagEnvironmentRuleClauseArrayOutputWithContext(context.Context) GetFeatureFlagEnvironmentRuleClauseArrayOutput
}

GetFeatureFlagEnvironmentRuleClauseArrayInput is an input type that accepts GetFeatureFlagEnvironmentRuleClauseArray and GetFeatureFlagEnvironmentRuleClauseArrayOutput values. You can construct a concrete instance of `GetFeatureFlagEnvironmentRuleClauseArrayInput` via:

GetFeatureFlagEnvironmentRuleClauseArray{ GetFeatureFlagEnvironmentRuleClauseArgs{...} }

type GetFeatureFlagEnvironmentRuleClauseArrayOutput

type GetFeatureFlagEnvironmentRuleClauseArrayOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagEnvironmentRuleClauseArrayOutput) ElementType

func (GetFeatureFlagEnvironmentRuleClauseArrayOutput) Index

func (GetFeatureFlagEnvironmentRuleClauseArrayOutput) ToGetFeatureFlagEnvironmentRuleClauseArrayOutput

func (o GetFeatureFlagEnvironmentRuleClauseArrayOutput) ToGetFeatureFlagEnvironmentRuleClauseArrayOutput() GetFeatureFlagEnvironmentRuleClauseArrayOutput

func (GetFeatureFlagEnvironmentRuleClauseArrayOutput) ToGetFeatureFlagEnvironmentRuleClauseArrayOutputWithContext

func (o GetFeatureFlagEnvironmentRuleClauseArrayOutput) ToGetFeatureFlagEnvironmentRuleClauseArrayOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentRuleClauseArrayOutput

type GetFeatureFlagEnvironmentRuleClauseInput

type GetFeatureFlagEnvironmentRuleClauseInput interface {
	pulumi.Input

	ToGetFeatureFlagEnvironmentRuleClauseOutput() GetFeatureFlagEnvironmentRuleClauseOutput
	ToGetFeatureFlagEnvironmentRuleClauseOutputWithContext(context.Context) GetFeatureFlagEnvironmentRuleClauseOutput
}

GetFeatureFlagEnvironmentRuleClauseInput is an input type that accepts GetFeatureFlagEnvironmentRuleClauseArgs and GetFeatureFlagEnvironmentRuleClauseOutput values. You can construct a concrete instance of `GetFeatureFlagEnvironmentRuleClauseInput` via:

GetFeatureFlagEnvironmentRuleClauseArgs{...}

type GetFeatureFlagEnvironmentRuleClauseOutput

type GetFeatureFlagEnvironmentRuleClauseOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagEnvironmentRuleClauseOutput) Attribute

The user attribute operated on.

func (GetFeatureFlagEnvironmentRuleClauseOutput) ElementType

func (GetFeatureFlagEnvironmentRuleClauseOutput) Negate

Whether the rule clause is negated.

func (GetFeatureFlagEnvironmentRuleClauseOutput) Op

The operator associated with the rule clause. This will be one of `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.

func (GetFeatureFlagEnvironmentRuleClauseOutput) ToGetFeatureFlagEnvironmentRuleClauseOutput

func (o GetFeatureFlagEnvironmentRuleClauseOutput) ToGetFeatureFlagEnvironmentRuleClauseOutput() GetFeatureFlagEnvironmentRuleClauseOutput

func (GetFeatureFlagEnvironmentRuleClauseOutput) ToGetFeatureFlagEnvironmentRuleClauseOutputWithContext

func (o GetFeatureFlagEnvironmentRuleClauseOutput) ToGetFeatureFlagEnvironmentRuleClauseOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentRuleClauseOutput

func (GetFeatureFlagEnvironmentRuleClauseOutput) ValueType

The type for each of the clause's values. Available types are `boolean`, `string`, and `number`.

func (GetFeatureFlagEnvironmentRuleClauseOutput) Values

The list of values associated with the rule clause.

type GetFeatureFlagEnvironmentRuleInput

type GetFeatureFlagEnvironmentRuleInput interface {
	pulumi.Input

	ToGetFeatureFlagEnvironmentRuleOutput() GetFeatureFlagEnvironmentRuleOutput
	ToGetFeatureFlagEnvironmentRuleOutputWithContext(context.Context) GetFeatureFlagEnvironmentRuleOutput
}

GetFeatureFlagEnvironmentRuleInput is an input type that accepts GetFeatureFlagEnvironmentRuleArgs and GetFeatureFlagEnvironmentRuleOutput values. You can construct a concrete instance of `GetFeatureFlagEnvironmentRuleInput` via:

GetFeatureFlagEnvironmentRuleArgs{...}

type GetFeatureFlagEnvironmentRuleOutput

type GetFeatureFlagEnvironmentRuleOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagEnvironmentRuleOutput) BucketBy

Group percentage rollout by a custom attribute.

func (GetFeatureFlagEnvironmentRuleOutput) Clauses

List of nested blocks specifying the logical clauses evaluated. To learn more, read Nested Clauses Blocks.

func (GetFeatureFlagEnvironmentRuleOutput) ElementType

func (GetFeatureFlagEnvironmentRuleOutput) RolloutWeights

List of integer percentage rollout weights applied to each variation when the rule clauses evaluates to `true`.

func (GetFeatureFlagEnvironmentRuleOutput) ToGetFeatureFlagEnvironmentRuleOutput

func (o GetFeatureFlagEnvironmentRuleOutput) ToGetFeatureFlagEnvironmentRuleOutput() GetFeatureFlagEnvironmentRuleOutput

func (GetFeatureFlagEnvironmentRuleOutput) ToGetFeatureFlagEnvironmentRuleOutputWithContext

func (o GetFeatureFlagEnvironmentRuleOutput) ToGetFeatureFlagEnvironmentRuleOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentRuleOutput

func (GetFeatureFlagEnvironmentRuleOutput) Variation

The integer variation index served when the rule clauses evaluate to `true`.

type GetFeatureFlagEnvironmentTarget

type GetFeatureFlagEnvironmentTarget struct {
	// The list of values associated with the rule clause.
	Values []string `pulumi:"values"`
	// The integer variation index served when the rule clauses evaluate to `true`.
	Variation int `pulumi:"variation"`
}

type GetFeatureFlagEnvironmentTargetArgs

type GetFeatureFlagEnvironmentTargetArgs struct {
	// The list of values associated with the rule clause.
	Values pulumi.StringArrayInput `pulumi:"values"`
	// The integer variation index served when the rule clauses evaluate to `true`.
	Variation pulumi.IntInput `pulumi:"variation"`
}

func (GetFeatureFlagEnvironmentTargetArgs) ElementType

func (GetFeatureFlagEnvironmentTargetArgs) ToGetFeatureFlagEnvironmentTargetOutput

func (i GetFeatureFlagEnvironmentTargetArgs) ToGetFeatureFlagEnvironmentTargetOutput() GetFeatureFlagEnvironmentTargetOutput

func (GetFeatureFlagEnvironmentTargetArgs) ToGetFeatureFlagEnvironmentTargetOutputWithContext

func (i GetFeatureFlagEnvironmentTargetArgs) ToGetFeatureFlagEnvironmentTargetOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentTargetOutput

type GetFeatureFlagEnvironmentTargetArray

type GetFeatureFlagEnvironmentTargetArray []GetFeatureFlagEnvironmentTargetInput

func (GetFeatureFlagEnvironmentTargetArray) ElementType

func (GetFeatureFlagEnvironmentTargetArray) ToGetFeatureFlagEnvironmentTargetArrayOutput

func (i GetFeatureFlagEnvironmentTargetArray) ToGetFeatureFlagEnvironmentTargetArrayOutput() GetFeatureFlagEnvironmentTargetArrayOutput

func (GetFeatureFlagEnvironmentTargetArray) ToGetFeatureFlagEnvironmentTargetArrayOutputWithContext

func (i GetFeatureFlagEnvironmentTargetArray) ToGetFeatureFlagEnvironmentTargetArrayOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentTargetArrayOutput

type GetFeatureFlagEnvironmentTargetArrayInput

type GetFeatureFlagEnvironmentTargetArrayInput interface {
	pulumi.Input

	ToGetFeatureFlagEnvironmentTargetArrayOutput() GetFeatureFlagEnvironmentTargetArrayOutput
	ToGetFeatureFlagEnvironmentTargetArrayOutputWithContext(context.Context) GetFeatureFlagEnvironmentTargetArrayOutput
}

GetFeatureFlagEnvironmentTargetArrayInput is an input type that accepts GetFeatureFlagEnvironmentTargetArray and GetFeatureFlagEnvironmentTargetArrayOutput values. You can construct a concrete instance of `GetFeatureFlagEnvironmentTargetArrayInput` via:

GetFeatureFlagEnvironmentTargetArray{ GetFeatureFlagEnvironmentTargetArgs{...} }

type GetFeatureFlagEnvironmentTargetArrayOutput

type GetFeatureFlagEnvironmentTargetArrayOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagEnvironmentTargetArrayOutput) ElementType

func (GetFeatureFlagEnvironmentTargetArrayOutput) Index

func (GetFeatureFlagEnvironmentTargetArrayOutput) ToGetFeatureFlagEnvironmentTargetArrayOutput

func (o GetFeatureFlagEnvironmentTargetArrayOutput) ToGetFeatureFlagEnvironmentTargetArrayOutput() GetFeatureFlagEnvironmentTargetArrayOutput

func (GetFeatureFlagEnvironmentTargetArrayOutput) ToGetFeatureFlagEnvironmentTargetArrayOutputWithContext

func (o GetFeatureFlagEnvironmentTargetArrayOutput) ToGetFeatureFlagEnvironmentTargetArrayOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentTargetArrayOutput

type GetFeatureFlagEnvironmentTargetInput

type GetFeatureFlagEnvironmentTargetInput interface {
	pulumi.Input

	ToGetFeatureFlagEnvironmentTargetOutput() GetFeatureFlagEnvironmentTargetOutput
	ToGetFeatureFlagEnvironmentTargetOutputWithContext(context.Context) GetFeatureFlagEnvironmentTargetOutput
}

GetFeatureFlagEnvironmentTargetInput is an input type that accepts GetFeatureFlagEnvironmentTargetArgs and GetFeatureFlagEnvironmentTargetOutput values. You can construct a concrete instance of `GetFeatureFlagEnvironmentTargetInput` via:

GetFeatureFlagEnvironmentTargetArgs{...}

type GetFeatureFlagEnvironmentTargetOutput

type GetFeatureFlagEnvironmentTargetOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagEnvironmentTargetOutput) ElementType

func (GetFeatureFlagEnvironmentTargetOutput) ToGetFeatureFlagEnvironmentTargetOutput

func (o GetFeatureFlagEnvironmentTargetOutput) ToGetFeatureFlagEnvironmentTargetOutput() GetFeatureFlagEnvironmentTargetOutput

func (GetFeatureFlagEnvironmentTargetOutput) ToGetFeatureFlagEnvironmentTargetOutputWithContext

func (o GetFeatureFlagEnvironmentTargetOutput) ToGetFeatureFlagEnvironmentTargetOutputWithContext(ctx context.Context) GetFeatureFlagEnvironmentTargetOutput

func (GetFeatureFlagEnvironmentTargetOutput) Values

The list of values associated with the rule clause.

func (GetFeatureFlagEnvironmentTargetOutput) Variation

The integer variation index served when the rule clauses evaluate to `true`.

type GetFeatureFlagVariation

type GetFeatureFlagVariation struct {
	// The variation's description.
	Description *string `pulumi:"description"`
	// The name of the custom property.
	Name *string `pulumi:"name"`
	// The list of custom property value strings.
	Value string `pulumi:"value"`
}

type GetFeatureFlagVariationArgs

type GetFeatureFlagVariationArgs struct {
	// The variation's description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The name of the custom property.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The list of custom property value strings.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetFeatureFlagVariationArgs) ElementType

func (GetFeatureFlagVariationArgs) ToGetFeatureFlagVariationOutput

func (i GetFeatureFlagVariationArgs) ToGetFeatureFlagVariationOutput() GetFeatureFlagVariationOutput

func (GetFeatureFlagVariationArgs) ToGetFeatureFlagVariationOutputWithContext

func (i GetFeatureFlagVariationArgs) ToGetFeatureFlagVariationOutputWithContext(ctx context.Context) GetFeatureFlagVariationOutput

type GetFeatureFlagVariationArray

type GetFeatureFlagVariationArray []GetFeatureFlagVariationInput

func (GetFeatureFlagVariationArray) ElementType

func (GetFeatureFlagVariationArray) ToGetFeatureFlagVariationArrayOutput

func (i GetFeatureFlagVariationArray) ToGetFeatureFlagVariationArrayOutput() GetFeatureFlagVariationArrayOutput

func (GetFeatureFlagVariationArray) ToGetFeatureFlagVariationArrayOutputWithContext

func (i GetFeatureFlagVariationArray) ToGetFeatureFlagVariationArrayOutputWithContext(ctx context.Context) GetFeatureFlagVariationArrayOutput

type GetFeatureFlagVariationArrayInput

type GetFeatureFlagVariationArrayInput interface {
	pulumi.Input

	ToGetFeatureFlagVariationArrayOutput() GetFeatureFlagVariationArrayOutput
	ToGetFeatureFlagVariationArrayOutputWithContext(context.Context) GetFeatureFlagVariationArrayOutput
}

GetFeatureFlagVariationArrayInput is an input type that accepts GetFeatureFlagVariationArray and GetFeatureFlagVariationArrayOutput values. You can construct a concrete instance of `GetFeatureFlagVariationArrayInput` via:

GetFeatureFlagVariationArray{ GetFeatureFlagVariationArgs{...} }

type GetFeatureFlagVariationArrayOutput

type GetFeatureFlagVariationArrayOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagVariationArrayOutput) ElementType

func (GetFeatureFlagVariationArrayOutput) Index

func (GetFeatureFlagVariationArrayOutput) ToGetFeatureFlagVariationArrayOutput

func (o GetFeatureFlagVariationArrayOutput) ToGetFeatureFlagVariationArrayOutput() GetFeatureFlagVariationArrayOutput

func (GetFeatureFlagVariationArrayOutput) ToGetFeatureFlagVariationArrayOutputWithContext

func (o GetFeatureFlagVariationArrayOutput) ToGetFeatureFlagVariationArrayOutputWithContext(ctx context.Context) GetFeatureFlagVariationArrayOutput

type GetFeatureFlagVariationInput

type GetFeatureFlagVariationInput interface {
	pulumi.Input

	ToGetFeatureFlagVariationOutput() GetFeatureFlagVariationOutput
	ToGetFeatureFlagVariationOutputWithContext(context.Context) GetFeatureFlagVariationOutput
}

GetFeatureFlagVariationInput is an input type that accepts GetFeatureFlagVariationArgs and GetFeatureFlagVariationOutput values. You can construct a concrete instance of `GetFeatureFlagVariationInput` via:

GetFeatureFlagVariationArgs{...}

type GetFeatureFlagVariationOutput

type GetFeatureFlagVariationOutput struct{ *pulumi.OutputState }

func (GetFeatureFlagVariationOutput) Description

The variation's description.

func (GetFeatureFlagVariationOutput) ElementType

func (GetFeatureFlagVariationOutput) Name

The name of the custom property.

func (GetFeatureFlagVariationOutput) ToGetFeatureFlagVariationOutput

func (o GetFeatureFlagVariationOutput) ToGetFeatureFlagVariationOutput() GetFeatureFlagVariationOutput

func (GetFeatureFlagVariationOutput) ToGetFeatureFlagVariationOutputWithContext

func (o GetFeatureFlagVariationOutput) ToGetFeatureFlagVariationOutputWithContext(ctx context.Context) GetFeatureFlagVariationOutput

func (GetFeatureFlagVariationOutput) Value

The list of custom property value strings.

type GetFlagTriggerInstructions

type GetFlagTriggerInstructions struct {
	Kind string `pulumi:"kind"`
}

type GetFlagTriggerInstructionsArgs

type GetFlagTriggerInstructionsArgs struct {
	Kind pulumi.StringInput `pulumi:"kind"`
}

func (GetFlagTriggerInstructionsArgs) ElementType

func (GetFlagTriggerInstructionsArgs) ToGetFlagTriggerInstructionsOutput

func (i GetFlagTriggerInstructionsArgs) ToGetFlagTriggerInstructionsOutput() GetFlagTriggerInstructionsOutput

func (GetFlagTriggerInstructionsArgs) ToGetFlagTriggerInstructionsOutputWithContext

func (i GetFlagTriggerInstructionsArgs) ToGetFlagTriggerInstructionsOutputWithContext(ctx context.Context) GetFlagTriggerInstructionsOutput

func (GetFlagTriggerInstructionsArgs) ToGetFlagTriggerInstructionsPtrOutput

func (i GetFlagTriggerInstructionsArgs) ToGetFlagTriggerInstructionsPtrOutput() GetFlagTriggerInstructionsPtrOutput

func (GetFlagTriggerInstructionsArgs) ToGetFlagTriggerInstructionsPtrOutputWithContext

func (i GetFlagTriggerInstructionsArgs) ToGetFlagTriggerInstructionsPtrOutputWithContext(ctx context.Context) GetFlagTriggerInstructionsPtrOutput

type GetFlagTriggerInstructionsInput

type GetFlagTriggerInstructionsInput interface {
	pulumi.Input

	ToGetFlagTriggerInstructionsOutput() GetFlagTriggerInstructionsOutput
	ToGetFlagTriggerInstructionsOutputWithContext(context.Context) GetFlagTriggerInstructionsOutput
}

GetFlagTriggerInstructionsInput is an input type that accepts GetFlagTriggerInstructionsArgs and GetFlagTriggerInstructionsOutput values. You can construct a concrete instance of `GetFlagTriggerInstructionsInput` via:

GetFlagTriggerInstructionsArgs{...}

type GetFlagTriggerInstructionsOutput

type GetFlagTriggerInstructionsOutput struct{ *pulumi.OutputState }

func (GetFlagTriggerInstructionsOutput) ElementType

func (GetFlagTriggerInstructionsOutput) Kind

func (GetFlagTriggerInstructionsOutput) ToGetFlagTriggerInstructionsOutput

func (o GetFlagTriggerInstructionsOutput) ToGetFlagTriggerInstructionsOutput() GetFlagTriggerInstructionsOutput

func (GetFlagTriggerInstructionsOutput) ToGetFlagTriggerInstructionsOutputWithContext

func (o GetFlagTriggerInstructionsOutput) ToGetFlagTriggerInstructionsOutputWithContext(ctx context.Context) GetFlagTriggerInstructionsOutput

func (GetFlagTriggerInstructionsOutput) ToGetFlagTriggerInstructionsPtrOutput

func (o GetFlagTriggerInstructionsOutput) ToGetFlagTriggerInstructionsPtrOutput() GetFlagTriggerInstructionsPtrOutput

func (GetFlagTriggerInstructionsOutput) ToGetFlagTriggerInstructionsPtrOutputWithContext

func (o GetFlagTriggerInstructionsOutput) ToGetFlagTriggerInstructionsPtrOutputWithContext(ctx context.Context) GetFlagTriggerInstructionsPtrOutput

type GetFlagTriggerInstructionsPtrInput

type GetFlagTriggerInstructionsPtrInput interface {
	pulumi.Input

	ToGetFlagTriggerInstructionsPtrOutput() GetFlagTriggerInstructionsPtrOutput
	ToGetFlagTriggerInstructionsPtrOutputWithContext(context.Context) GetFlagTriggerInstructionsPtrOutput
}

GetFlagTriggerInstructionsPtrInput is an input type that accepts GetFlagTriggerInstructionsArgs, GetFlagTriggerInstructionsPtr and GetFlagTriggerInstructionsPtrOutput values. You can construct a concrete instance of `GetFlagTriggerInstructionsPtrInput` via:

        GetFlagTriggerInstructionsArgs{...}

or:

        nil

type GetFlagTriggerInstructionsPtrOutput

type GetFlagTriggerInstructionsPtrOutput struct{ *pulumi.OutputState }

func (GetFlagTriggerInstructionsPtrOutput) Elem

func (GetFlagTriggerInstructionsPtrOutput) ElementType

func (GetFlagTriggerInstructionsPtrOutput) Kind

func (GetFlagTriggerInstructionsPtrOutput) ToGetFlagTriggerInstructionsPtrOutput

func (o GetFlagTriggerInstructionsPtrOutput) ToGetFlagTriggerInstructionsPtrOutput() GetFlagTriggerInstructionsPtrOutput

func (GetFlagTriggerInstructionsPtrOutput) ToGetFlagTriggerInstructionsPtrOutputWithContext

func (o GetFlagTriggerInstructionsPtrOutput) ToGetFlagTriggerInstructionsPtrOutputWithContext(ctx context.Context) GetFlagTriggerInstructionsPtrOutput

type GetMetricUrl

type GetMetricUrl struct {
	// The metric type. Available choices are `click`, `custom`, and `pageview`.
	Kind      string  `pulumi:"kind"`
	Pattern   *string `pulumi:"pattern"`
	Substring *string `pulumi:"substring"`
	Url       *string `pulumi:"url"`
}

type GetMetricUrlArgs

type GetMetricUrlArgs struct {
	// The metric type. Available choices are `click`, `custom`, and `pageview`.
	Kind      pulumi.StringInput    `pulumi:"kind"`
	Pattern   pulumi.StringPtrInput `pulumi:"pattern"`
	Substring pulumi.StringPtrInput `pulumi:"substring"`
	Url       pulumi.StringPtrInput `pulumi:"url"`
}

func (GetMetricUrlArgs) ElementType

func (GetMetricUrlArgs) ElementType() reflect.Type

func (GetMetricUrlArgs) ToGetMetricUrlOutput

func (i GetMetricUrlArgs) ToGetMetricUrlOutput() GetMetricUrlOutput

func (GetMetricUrlArgs) ToGetMetricUrlOutputWithContext

func (i GetMetricUrlArgs) ToGetMetricUrlOutputWithContext(ctx context.Context) GetMetricUrlOutput

type GetMetricUrlArray

type GetMetricUrlArray []GetMetricUrlInput

func (GetMetricUrlArray) ElementType

func (GetMetricUrlArray) ElementType() reflect.Type

func (GetMetricUrlArray) ToGetMetricUrlArrayOutput

func (i GetMetricUrlArray) ToGetMetricUrlArrayOutput() GetMetricUrlArrayOutput

func (GetMetricUrlArray) ToGetMetricUrlArrayOutputWithContext

func (i GetMetricUrlArray) ToGetMetricUrlArrayOutputWithContext(ctx context.Context) GetMetricUrlArrayOutput

type GetMetricUrlArrayInput

type GetMetricUrlArrayInput interface {
	pulumi.Input

	ToGetMetricUrlArrayOutput() GetMetricUrlArrayOutput
	ToGetMetricUrlArrayOutputWithContext(context.Context) GetMetricUrlArrayOutput
}

GetMetricUrlArrayInput is an input type that accepts GetMetricUrlArray and GetMetricUrlArrayOutput values. You can construct a concrete instance of `GetMetricUrlArrayInput` via:

GetMetricUrlArray{ GetMetricUrlArgs{...} }

type GetMetricUrlArrayOutput

type GetMetricUrlArrayOutput struct{ *pulumi.OutputState }

func (GetMetricUrlArrayOutput) ElementType

func (GetMetricUrlArrayOutput) ElementType() reflect.Type

func (GetMetricUrlArrayOutput) Index

func (GetMetricUrlArrayOutput) ToGetMetricUrlArrayOutput

func (o GetMetricUrlArrayOutput) ToGetMetricUrlArrayOutput() GetMetricUrlArrayOutput

func (GetMetricUrlArrayOutput) ToGetMetricUrlArrayOutputWithContext

func (o GetMetricUrlArrayOutput) ToGetMetricUrlArrayOutputWithContext(ctx context.Context) GetMetricUrlArrayOutput

type GetMetricUrlInput

type GetMetricUrlInput interface {
	pulumi.Input

	ToGetMetricUrlOutput() GetMetricUrlOutput
	ToGetMetricUrlOutputWithContext(context.Context) GetMetricUrlOutput
}

GetMetricUrlInput is an input type that accepts GetMetricUrlArgs and GetMetricUrlOutput values. You can construct a concrete instance of `GetMetricUrlInput` via:

GetMetricUrlArgs{...}

type GetMetricUrlOutput

type GetMetricUrlOutput struct{ *pulumi.OutputState }

func (GetMetricUrlOutput) ElementType

func (GetMetricUrlOutput) ElementType() reflect.Type

func (GetMetricUrlOutput) Kind

The metric type. Available choices are `click`, `custom`, and `pageview`.

func (GetMetricUrlOutput) Pattern

func (GetMetricUrlOutput) Substring

func (GetMetricUrlOutput) ToGetMetricUrlOutput

func (o GetMetricUrlOutput) ToGetMetricUrlOutput() GetMetricUrlOutput

func (GetMetricUrlOutput) ToGetMetricUrlOutputWithContext

func (o GetMetricUrlOutput) ToGetMetricUrlOutputWithContext(ctx context.Context) GetMetricUrlOutput

func (GetMetricUrlOutput) Url

type GetProjectClientSideAvailability

type GetProjectClientSideAvailability struct {
	// When set to true, the flags in this project are available to SDKs using the client-side ID by default.
	UsingEnvironmentId *bool `pulumi:"usingEnvironmentId"`
	// When set to true, the flags in this project are available to SDKs using a mobile key by default.
	UsingMobileKey *bool `pulumi:"usingMobileKey"`
}

type GetProjectClientSideAvailabilityArgs

type GetProjectClientSideAvailabilityArgs struct {
	// When set to true, the flags in this project are available to SDKs using the client-side ID by default.
	UsingEnvironmentId pulumi.BoolPtrInput `pulumi:"usingEnvironmentId"`
	// When set to true, the flags in this project are available to SDKs using a mobile key by default.
	UsingMobileKey pulumi.BoolPtrInput `pulumi:"usingMobileKey"`
}

func (GetProjectClientSideAvailabilityArgs) ElementType

func (GetProjectClientSideAvailabilityArgs) ToGetProjectClientSideAvailabilityOutput

func (i GetProjectClientSideAvailabilityArgs) ToGetProjectClientSideAvailabilityOutput() GetProjectClientSideAvailabilityOutput

func (GetProjectClientSideAvailabilityArgs) ToGetProjectClientSideAvailabilityOutputWithContext

func (i GetProjectClientSideAvailabilityArgs) ToGetProjectClientSideAvailabilityOutputWithContext(ctx context.Context) GetProjectClientSideAvailabilityOutput

type GetProjectClientSideAvailabilityArray

type GetProjectClientSideAvailabilityArray []GetProjectClientSideAvailabilityInput

func (GetProjectClientSideAvailabilityArray) ElementType

func (GetProjectClientSideAvailabilityArray) ToGetProjectClientSideAvailabilityArrayOutput

func (i GetProjectClientSideAvailabilityArray) ToGetProjectClientSideAvailabilityArrayOutput() GetProjectClientSideAvailabilityArrayOutput

func (GetProjectClientSideAvailabilityArray) ToGetProjectClientSideAvailabilityArrayOutputWithContext

func (i GetProjectClientSideAvailabilityArray) ToGetProjectClientSideAvailabilityArrayOutputWithContext(ctx context.Context) GetProjectClientSideAvailabilityArrayOutput

type GetProjectClientSideAvailabilityArrayInput

type GetProjectClientSideAvailabilityArrayInput interface {
	pulumi.Input

	ToGetProjectClientSideAvailabilityArrayOutput() GetProjectClientSideAvailabilityArrayOutput
	ToGetProjectClientSideAvailabilityArrayOutputWithContext(context.Context) GetProjectClientSideAvailabilityArrayOutput
}

GetProjectClientSideAvailabilityArrayInput is an input type that accepts GetProjectClientSideAvailabilityArray and GetProjectClientSideAvailabilityArrayOutput values. You can construct a concrete instance of `GetProjectClientSideAvailabilityArrayInput` via:

GetProjectClientSideAvailabilityArray{ GetProjectClientSideAvailabilityArgs{...} }

type GetProjectClientSideAvailabilityArrayOutput

type GetProjectClientSideAvailabilityArrayOutput struct{ *pulumi.OutputState }

func (GetProjectClientSideAvailabilityArrayOutput) ElementType

func (GetProjectClientSideAvailabilityArrayOutput) Index

func (GetProjectClientSideAvailabilityArrayOutput) ToGetProjectClientSideAvailabilityArrayOutput

func (o GetProjectClientSideAvailabilityArrayOutput) ToGetProjectClientSideAvailabilityArrayOutput() GetProjectClientSideAvailabilityArrayOutput

func (GetProjectClientSideAvailabilityArrayOutput) ToGetProjectClientSideAvailabilityArrayOutputWithContext

func (o GetProjectClientSideAvailabilityArrayOutput) ToGetProjectClientSideAvailabilityArrayOutputWithContext(ctx context.Context) GetProjectClientSideAvailabilityArrayOutput

type GetProjectClientSideAvailabilityInput

type GetProjectClientSideAvailabilityInput interface {
	pulumi.Input

	ToGetProjectClientSideAvailabilityOutput() GetProjectClientSideAvailabilityOutput
	ToGetProjectClientSideAvailabilityOutputWithContext(context.Context) GetProjectClientSideAvailabilityOutput
}

GetProjectClientSideAvailabilityInput is an input type that accepts GetProjectClientSideAvailabilityArgs and GetProjectClientSideAvailabilityOutput values. You can construct a concrete instance of `GetProjectClientSideAvailabilityInput` via:

GetProjectClientSideAvailabilityArgs{...}

type GetProjectClientSideAvailabilityOutput

type GetProjectClientSideAvailabilityOutput struct{ *pulumi.OutputState }

func (GetProjectClientSideAvailabilityOutput) ElementType

func (GetProjectClientSideAvailabilityOutput) ToGetProjectClientSideAvailabilityOutput

func (o GetProjectClientSideAvailabilityOutput) ToGetProjectClientSideAvailabilityOutput() GetProjectClientSideAvailabilityOutput

func (GetProjectClientSideAvailabilityOutput) ToGetProjectClientSideAvailabilityOutputWithContext

func (o GetProjectClientSideAvailabilityOutput) ToGetProjectClientSideAvailabilityOutputWithContext(ctx context.Context) GetProjectClientSideAvailabilityOutput

func (GetProjectClientSideAvailabilityOutput) UsingEnvironmentId

When set to true, the flags in this project are available to SDKs using the client-side ID by default.

func (GetProjectClientSideAvailabilityOutput) UsingMobileKey

When set to true, the flags in this project are available to SDKs using a mobile key by default.

type GetProjectDefaultClientSideAvailability

type GetProjectDefaultClientSideAvailability struct {
	// When set to true, the flags in this project are available to SDKs using the client-side ID by default.
	UsingEnvironmentId bool `pulumi:"usingEnvironmentId"`
	// When set to true, the flags in this project are available to SDKs using a mobile key by default.
	UsingMobileKey bool `pulumi:"usingMobileKey"`
}

type GetProjectDefaultClientSideAvailabilityArgs

type GetProjectDefaultClientSideAvailabilityArgs struct {
	// When set to true, the flags in this project are available to SDKs using the client-side ID by default.
	UsingEnvironmentId pulumi.BoolInput `pulumi:"usingEnvironmentId"`
	// When set to true, the flags in this project are available to SDKs using a mobile key by default.
	UsingMobileKey pulumi.BoolInput `pulumi:"usingMobileKey"`
}

func (GetProjectDefaultClientSideAvailabilityArgs) ElementType

func (GetProjectDefaultClientSideAvailabilityArgs) ToGetProjectDefaultClientSideAvailabilityOutput

func (i GetProjectDefaultClientSideAvailabilityArgs) ToGetProjectDefaultClientSideAvailabilityOutput() GetProjectDefaultClientSideAvailabilityOutput

func (GetProjectDefaultClientSideAvailabilityArgs) ToGetProjectDefaultClientSideAvailabilityOutputWithContext

func (i GetProjectDefaultClientSideAvailabilityArgs) ToGetProjectDefaultClientSideAvailabilityOutputWithContext(ctx context.Context) GetProjectDefaultClientSideAvailabilityOutput

type GetProjectDefaultClientSideAvailabilityArray

type GetProjectDefaultClientSideAvailabilityArray []GetProjectDefaultClientSideAvailabilityInput

func (GetProjectDefaultClientSideAvailabilityArray) ElementType

func (GetProjectDefaultClientSideAvailabilityArray) ToGetProjectDefaultClientSideAvailabilityArrayOutput

func (i GetProjectDefaultClientSideAvailabilityArray) ToGetProjectDefaultClientSideAvailabilityArrayOutput() GetProjectDefaultClientSideAvailabilityArrayOutput

func (GetProjectDefaultClientSideAvailabilityArray) ToGetProjectDefaultClientSideAvailabilityArrayOutputWithContext

func (i GetProjectDefaultClientSideAvailabilityArray) ToGetProjectDefaultClientSideAvailabilityArrayOutputWithContext(ctx context.Context) GetProjectDefaultClientSideAvailabilityArrayOutput

type GetProjectDefaultClientSideAvailabilityArrayInput

type GetProjectDefaultClientSideAvailabilityArrayInput interface {
	pulumi.Input

	ToGetProjectDefaultClientSideAvailabilityArrayOutput() GetProjectDefaultClientSideAvailabilityArrayOutput
	ToGetProjectDefaultClientSideAvailabilityArrayOutputWithContext(context.Context) GetProjectDefaultClientSideAvailabilityArrayOutput
}

GetProjectDefaultClientSideAvailabilityArrayInput is an input type that accepts GetProjectDefaultClientSideAvailabilityArray and GetProjectDefaultClientSideAvailabilityArrayOutput values. You can construct a concrete instance of `GetProjectDefaultClientSideAvailabilityArrayInput` via:

GetProjectDefaultClientSideAvailabilityArray{ GetProjectDefaultClientSideAvailabilityArgs{...} }

type GetProjectDefaultClientSideAvailabilityArrayOutput

type GetProjectDefaultClientSideAvailabilityArrayOutput struct{ *pulumi.OutputState }

func (GetProjectDefaultClientSideAvailabilityArrayOutput) ElementType

func (GetProjectDefaultClientSideAvailabilityArrayOutput) Index

func (GetProjectDefaultClientSideAvailabilityArrayOutput) ToGetProjectDefaultClientSideAvailabilityArrayOutput

func (o GetProjectDefaultClientSideAvailabilityArrayOutput) ToGetProjectDefaultClientSideAvailabilityArrayOutput() GetProjectDefaultClientSideAvailabilityArrayOutput

func (GetProjectDefaultClientSideAvailabilityArrayOutput) ToGetProjectDefaultClientSideAvailabilityArrayOutputWithContext

func (o GetProjectDefaultClientSideAvailabilityArrayOutput) ToGetProjectDefaultClientSideAvailabilityArrayOutputWithContext(ctx context.Context) GetProjectDefaultClientSideAvailabilityArrayOutput

type GetProjectDefaultClientSideAvailabilityInput

type GetProjectDefaultClientSideAvailabilityInput interface {
	pulumi.Input

	ToGetProjectDefaultClientSideAvailabilityOutput() GetProjectDefaultClientSideAvailabilityOutput
	ToGetProjectDefaultClientSideAvailabilityOutputWithContext(context.Context) GetProjectDefaultClientSideAvailabilityOutput
}

GetProjectDefaultClientSideAvailabilityInput is an input type that accepts GetProjectDefaultClientSideAvailabilityArgs and GetProjectDefaultClientSideAvailabilityOutput values. You can construct a concrete instance of `GetProjectDefaultClientSideAvailabilityInput` via:

GetProjectDefaultClientSideAvailabilityArgs{...}

type GetProjectDefaultClientSideAvailabilityOutput

type GetProjectDefaultClientSideAvailabilityOutput struct{ *pulumi.OutputState }

func (GetProjectDefaultClientSideAvailabilityOutput) ElementType

func (GetProjectDefaultClientSideAvailabilityOutput) ToGetProjectDefaultClientSideAvailabilityOutput

func (o GetProjectDefaultClientSideAvailabilityOutput) ToGetProjectDefaultClientSideAvailabilityOutput() GetProjectDefaultClientSideAvailabilityOutput

func (GetProjectDefaultClientSideAvailabilityOutput) ToGetProjectDefaultClientSideAvailabilityOutputWithContext

func (o GetProjectDefaultClientSideAvailabilityOutput) ToGetProjectDefaultClientSideAvailabilityOutputWithContext(ctx context.Context) GetProjectDefaultClientSideAvailabilityOutput

func (GetProjectDefaultClientSideAvailabilityOutput) UsingEnvironmentId

When set to true, the flags in this project are available to SDKs using the client-side ID by default.

func (GetProjectDefaultClientSideAvailabilityOutput) UsingMobileKey

When set to true, the flags in this project are available to SDKs using a mobile key by default.

type GetRelayProxyConfigurationPolicy

type GetRelayProxyConfigurationPolicy struct {
	Actions []string `pulumi:"actions"`
	// Either `allow` or `deny`. This argument defines whether the rule policy allows or denies access to the named resources and actions.
	Effect     string   `pulumi:"effect"`
	NotActions []string `pulumi:"notActions"`
	// The list of resource specifiers defining the resources to which the rule policy does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	NotResources []string `pulumi:"notResources"`
	// The list of resource specifiers defining the resources to which the rule policy applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	Resources []string `pulumi:"resources"`
}

type GetRelayProxyConfigurationPolicyArgs

type GetRelayProxyConfigurationPolicyArgs struct {
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// Either `allow` or `deny`. This argument defines whether the rule policy allows or denies access to the named resources and actions.
	Effect     pulumi.StringInput      `pulumi:"effect"`
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// The list of resource specifiers defining the resources to which the rule policy does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	NotResources pulumi.StringArrayInput `pulumi:"notResources"`
	// The list of resource specifiers defining the resources to which the rule policy applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	Resources pulumi.StringArrayInput `pulumi:"resources"`
}

func (GetRelayProxyConfigurationPolicyArgs) ElementType

func (GetRelayProxyConfigurationPolicyArgs) ToGetRelayProxyConfigurationPolicyOutput

func (i GetRelayProxyConfigurationPolicyArgs) ToGetRelayProxyConfigurationPolicyOutput() GetRelayProxyConfigurationPolicyOutput

func (GetRelayProxyConfigurationPolicyArgs) ToGetRelayProxyConfigurationPolicyOutputWithContext

func (i GetRelayProxyConfigurationPolicyArgs) ToGetRelayProxyConfigurationPolicyOutputWithContext(ctx context.Context) GetRelayProxyConfigurationPolicyOutput

type GetRelayProxyConfigurationPolicyArray

type GetRelayProxyConfigurationPolicyArray []GetRelayProxyConfigurationPolicyInput

func (GetRelayProxyConfigurationPolicyArray) ElementType

func (GetRelayProxyConfigurationPolicyArray) ToGetRelayProxyConfigurationPolicyArrayOutput

func (i GetRelayProxyConfigurationPolicyArray) ToGetRelayProxyConfigurationPolicyArrayOutput() GetRelayProxyConfigurationPolicyArrayOutput

func (GetRelayProxyConfigurationPolicyArray) ToGetRelayProxyConfigurationPolicyArrayOutputWithContext

func (i GetRelayProxyConfigurationPolicyArray) ToGetRelayProxyConfigurationPolicyArrayOutputWithContext(ctx context.Context) GetRelayProxyConfigurationPolicyArrayOutput

type GetRelayProxyConfigurationPolicyArrayInput

type GetRelayProxyConfigurationPolicyArrayInput interface {
	pulumi.Input

	ToGetRelayProxyConfigurationPolicyArrayOutput() GetRelayProxyConfigurationPolicyArrayOutput
	ToGetRelayProxyConfigurationPolicyArrayOutputWithContext(context.Context) GetRelayProxyConfigurationPolicyArrayOutput
}

GetRelayProxyConfigurationPolicyArrayInput is an input type that accepts GetRelayProxyConfigurationPolicyArray and GetRelayProxyConfigurationPolicyArrayOutput values. You can construct a concrete instance of `GetRelayProxyConfigurationPolicyArrayInput` via:

GetRelayProxyConfigurationPolicyArray{ GetRelayProxyConfigurationPolicyArgs{...} }

type GetRelayProxyConfigurationPolicyArrayOutput

type GetRelayProxyConfigurationPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetRelayProxyConfigurationPolicyArrayOutput) ElementType

func (GetRelayProxyConfigurationPolicyArrayOutput) Index

func (GetRelayProxyConfigurationPolicyArrayOutput) ToGetRelayProxyConfigurationPolicyArrayOutput

func (o GetRelayProxyConfigurationPolicyArrayOutput) ToGetRelayProxyConfigurationPolicyArrayOutput() GetRelayProxyConfigurationPolicyArrayOutput

func (GetRelayProxyConfigurationPolicyArrayOutput) ToGetRelayProxyConfigurationPolicyArrayOutputWithContext

func (o GetRelayProxyConfigurationPolicyArrayOutput) ToGetRelayProxyConfigurationPolicyArrayOutputWithContext(ctx context.Context) GetRelayProxyConfigurationPolicyArrayOutput

type GetRelayProxyConfigurationPolicyInput

type GetRelayProxyConfigurationPolicyInput interface {
	pulumi.Input

	ToGetRelayProxyConfigurationPolicyOutput() GetRelayProxyConfigurationPolicyOutput
	ToGetRelayProxyConfigurationPolicyOutputWithContext(context.Context) GetRelayProxyConfigurationPolicyOutput
}

GetRelayProxyConfigurationPolicyInput is an input type that accepts GetRelayProxyConfigurationPolicyArgs and GetRelayProxyConfigurationPolicyOutput values. You can construct a concrete instance of `GetRelayProxyConfigurationPolicyInput` via:

GetRelayProxyConfigurationPolicyArgs{...}

type GetRelayProxyConfigurationPolicyOutput

type GetRelayProxyConfigurationPolicyOutput struct{ *pulumi.OutputState }

func (GetRelayProxyConfigurationPolicyOutput) Actions

func (GetRelayProxyConfigurationPolicyOutput) Effect

Either `allow` or `deny`. This argument defines whether the rule policy allows or denies access to the named resources and actions.

func (GetRelayProxyConfigurationPolicyOutput) ElementType

func (GetRelayProxyConfigurationPolicyOutput) NotActions

func (GetRelayProxyConfigurationPolicyOutput) NotResources

The list of resource specifiers defining the resources to which the rule policy does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).

func (GetRelayProxyConfigurationPolicyOutput) Resources

The list of resource specifiers defining the resources to which the rule policy applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).

func (GetRelayProxyConfigurationPolicyOutput) ToGetRelayProxyConfigurationPolicyOutput

func (o GetRelayProxyConfigurationPolicyOutput) ToGetRelayProxyConfigurationPolicyOutput() GetRelayProxyConfigurationPolicyOutput

func (GetRelayProxyConfigurationPolicyOutput) ToGetRelayProxyConfigurationPolicyOutputWithContext

func (o GetRelayProxyConfigurationPolicyOutput) ToGetRelayProxyConfigurationPolicyOutputWithContext(ctx context.Context) GetRelayProxyConfigurationPolicyOutput

type GetSegmentRule

type GetSegmentRule struct {
	// The attribute by which to group users together.
	BucketBy *string `pulumi:"bucketBy"`
	// List of nested custom rule clause blocks. To learn more, read Nested Clauses Blocks.
	Clauses []GetSegmentRuleClause `pulumi:"clauses"`
	// The integer weight of the rule (between 0 and 100000).
	Weight *int `pulumi:"weight"`
}

type GetSegmentRuleArgs

type GetSegmentRuleArgs struct {
	// The attribute by which to group users together.
	BucketBy pulumi.StringPtrInput `pulumi:"bucketBy"`
	// List of nested custom rule clause blocks. To learn more, read Nested Clauses Blocks.
	Clauses GetSegmentRuleClauseArrayInput `pulumi:"clauses"`
	// The integer weight of the rule (between 0 and 100000).
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (GetSegmentRuleArgs) ElementType

func (GetSegmentRuleArgs) ElementType() reflect.Type

func (GetSegmentRuleArgs) ToGetSegmentRuleOutput

func (i GetSegmentRuleArgs) ToGetSegmentRuleOutput() GetSegmentRuleOutput

func (GetSegmentRuleArgs) ToGetSegmentRuleOutputWithContext

func (i GetSegmentRuleArgs) ToGetSegmentRuleOutputWithContext(ctx context.Context) GetSegmentRuleOutput

type GetSegmentRuleArray

type GetSegmentRuleArray []GetSegmentRuleInput

func (GetSegmentRuleArray) ElementType

func (GetSegmentRuleArray) ElementType() reflect.Type

func (GetSegmentRuleArray) ToGetSegmentRuleArrayOutput

func (i GetSegmentRuleArray) ToGetSegmentRuleArrayOutput() GetSegmentRuleArrayOutput

func (GetSegmentRuleArray) ToGetSegmentRuleArrayOutputWithContext

func (i GetSegmentRuleArray) ToGetSegmentRuleArrayOutputWithContext(ctx context.Context) GetSegmentRuleArrayOutput

type GetSegmentRuleArrayInput

type GetSegmentRuleArrayInput interface {
	pulumi.Input

	ToGetSegmentRuleArrayOutput() GetSegmentRuleArrayOutput
	ToGetSegmentRuleArrayOutputWithContext(context.Context) GetSegmentRuleArrayOutput
}

GetSegmentRuleArrayInput is an input type that accepts GetSegmentRuleArray and GetSegmentRuleArrayOutput values. You can construct a concrete instance of `GetSegmentRuleArrayInput` via:

GetSegmentRuleArray{ GetSegmentRuleArgs{...} }

type GetSegmentRuleArrayOutput

type GetSegmentRuleArrayOutput struct{ *pulumi.OutputState }

func (GetSegmentRuleArrayOutput) ElementType

func (GetSegmentRuleArrayOutput) ElementType() reflect.Type

func (GetSegmentRuleArrayOutput) Index

func (GetSegmentRuleArrayOutput) ToGetSegmentRuleArrayOutput

func (o GetSegmentRuleArrayOutput) ToGetSegmentRuleArrayOutput() GetSegmentRuleArrayOutput

func (GetSegmentRuleArrayOutput) ToGetSegmentRuleArrayOutputWithContext

func (o GetSegmentRuleArrayOutput) ToGetSegmentRuleArrayOutputWithContext(ctx context.Context) GetSegmentRuleArrayOutput

type GetSegmentRuleClause

type GetSegmentRuleClause struct {
	// The user attribute operated on.
	Attribute string `pulumi:"attribute"`
	// Whether the rule clause is negated.
	Negate *bool `pulumi:"negate"`
	// The operator associated with the rule clause. This will be one of `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.
	Op string `pulumi:"op"`
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`.
	ValueType *string `pulumi:"valueType"`
	// The list of values associated with the rule clause.
	Values []string `pulumi:"values"`
}

type GetSegmentRuleClauseArgs

type GetSegmentRuleClauseArgs struct {
	// The user attribute operated on.
	Attribute pulumi.StringInput `pulumi:"attribute"`
	// Whether the rule clause is negated.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// The operator associated with the rule clause. This will be one of `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.
	Op pulumi.StringInput `pulumi:"op"`
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`.
	ValueType pulumi.StringPtrInput `pulumi:"valueType"`
	// The list of values associated with the rule clause.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetSegmentRuleClauseArgs) ElementType

func (GetSegmentRuleClauseArgs) ElementType() reflect.Type

func (GetSegmentRuleClauseArgs) ToGetSegmentRuleClauseOutput

func (i GetSegmentRuleClauseArgs) ToGetSegmentRuleClauseOutput() GetSegmentRuleClauseOutput

func (GetSegmentRuleClauseArgs) ToGetSegmentRuleClauseOutputWithContext

func (i GetSegmentRuleClauseArgs) ToGetSegmentRuleClauseOutputWithContext(ctx context.Context) GetSegmentRuleClauseOutput

type GetSegmentRuleClauseArray

type GetSegmentRuleClauseArray []GetSegmentRuleClauseInput

func (GetSegmentRuleClauseArray) ElementType

func (GetSegmentRuleClauseArray) ElementType() reflect.Type

func (GetSegmentRuleClauseArray) ToGetSegmentRuleClauseArrayOutput

func (i GetSegmentRuleClauseArray) ToGetSegmentRuleClauseArrayOutput() GetSegmentRuleClauseArrayOutput

func (GetSegmentRuleClauseArray) ToGetSegmentRuleClauseArrayOutputWithContext

func (i GetSegmentRuleClauseArray) ToGetSegmentRuleClauseArrayOutputWithContext(ctx context.Context) GetSegmentRuleClauseArrayOutput

type GetSegmentRuleClauseArrayInput

type GetSegmentRuleClauseArrayInput interface {
	pulumi.Input

	ToGetSegmentRuleClauseArrayOutput() GetSegmentRuleClauseArrayOutput
	ToGetSegmentRuleClauseArrayOutputWithContext(context.Context) GetSegmentRuleClauseArrayOutput
}

GetSegmentRuleClauseArrayInput is an input type that accepts GetSegmentRuleClauseArray and GetSegmentRuleClauseArrayOutput values. You can construct a concrete instance of `GetSegmentRuleClauseArrayInput` via:

GetSegmentRuleClauseArray{ GetSegmentRuleClauseArgs{...} }

type GetSegmentRuleClauseArrayOutput

type GetSegmentRuleClauseArrayOutput struct{ *pulumi.OutputState }

func (GetSegmentRuleClauseArrayOutput) ElementType

func (GetSegmentRuleClauseArrayOutput) Index

func (GetSegmentRuleClauseArrayOutput) ToGetSegmentRuleClauseArrayOutput

func (o GetSegmentRuleClauseArrayOutput) ToGetSegmentRuleClauseArrayOutput() GetSegmentRuleClauseArrayOutput

func (GetSegmentRuleClauseArrayOutput) ToGetSegmentRuleClauseArrayOutputWithContext

func (o GetSegmentRuleClauseArrayOutput) ToGetSegmentRuleClauseArrayOutputWithContext(ctx context.Context) GetSegmentRuleClauseArrayOutput

type GetSegmentRuleClauseInput

type GetSegmentRuleClauseInput interface {
	pulumi.Input

	ToGetSegmentRuleClauseOutput() GetSegmentRuleClauseOutput
	ToGetSegmentRuleClauseOutputWithContext(context.Context) GetSegmentRuleClauseOutput
}

GetSegmentRuleClauseInput is an input type that accepts GetSegmentRuleClauseArgs and GetSegmentRuleClauseOutput values. You can construct a concrete instance of `GetSegmentRuleClauseInput` via:

GetSegmentRuleClauseArgs{...}

type GetSegmentRuleClauseOutput

type GetSegmentRuleClauseOutput struct{ *pulumi.OutputState }

func (GetSegmentRuleClauseOutput) Attribute

The user attribute operated on.

func (GetSegmentRuleClauseOutput) ElementType

func (GetSegmentRuleClauseOutput) ElementType() reflect.Type

func (GetSegmentRuleClauseOutput) Negate

Whether the rule clause is negated.

func (GetSegmentRuleClauseOutput) Op

The operator associated with the rule clause. This will be one of `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.

func (GetSegmentRuleClauseOutput) ToGetSegmentRuleClauseOutput

func (o GetSegmentRuleClauseOutput) ToGetSegmentRuleClauseOutput() GetSegmentRuleClauseOutput

func (GetSegmentRuleClauseOutput) ToGetSegmentRuleClauseOutputWithContext

func (o GetSegmentRuleClauseOutput) ToGetSegmentRuleClauseOutputWithContext(ctx context.Context) GetSegmentRuleClauseOutput

func (GetSegmentRuleClauseOutput) ValueType

The type for each of the clause's values. Available types are `boolean`, `string`, and `number`.

func (GetSegmentRuleClauseOutput) Values

The list of values associated with the rule clause.

type GetSegmentRuleInput

type GetSegmentRuleInput interface {
	pulumi.Input

	ToGetSegmentRuleOutput() GetSegmentRuleOutput
	ToGetSegmentRuleOutputWithContext(context.Context) GetSegmentRuleOutput
}

GetSegmentRuleInput is an input type that accepts GetSegmentRuleArgs and GetSegmentRuleOutput values. You can construct a concrete instance of `GetSegmentRuleInput` via:

GetSegmentRuleArgs{...}

type GetSegmentRuleOutput

type GetSegmentRuleOutput struct{ *pulumi.OutputState }

func (GetSegmentRuleOutput) BucketBy

The attribute by which to group users together.

func (GetSegmentRuleOutput) Clauses

List of nested custom rule clause blocks. To learn more, read Nested Clauses Blocks.

func (GetSegmentRuleOutput) ElementType

func (GetSegmentRuleOutput) ElementType() reflect.Type

func (GetSegmentRuleOutput) ToGetSegmentRuleOutput

func (o GetSegmentRuleOutput) ToGetSegmentRuleOutput() GetSegmentRuleOutput

func (GetSegmentRuleOutput) ToGetSegmentRuleOutputWithContext

func (o GetSegmentRuleOutput) ToGetSegmentRuleOutputWithContext(ctx context.Context) GetSegmentRuleOutput

func (GetSegmentRuleOutput) Weight

The integer weight of the rule (between 0 and 100000).

type GetTeamMaintainer

type GetTeamMaintainer struct {
	Email     string `pulumi:"email"`
	FirstName string `pulumi:"firstName"`
	Id        string `pulumi:"id"`
	LastName  string `pulumi:"lastName"`
	Role      string `pulumi:"role"`
}

type GetTeamMaintainerArgs

type GetTeamMaintainerArgs struct {
	Email     pulumi.StringInput `pulumi:"email"`
	FirstName pulumi.StringInput `pulumi:"firstName"`
	Id        pulumi.StringInput `pulumi:"id"`
	LastName  pulumi.StringInput `pulumi:"lastName"`
	Role      pulumi.StringInput `pulumi:"role"`
}

func (GetTeamMaintainerArgs) ElementType

func (GetTeamMaintainerArgs) ElementType() reflect.Type

func (GetTeamMaintainerArgs) ToGetTeamMaintainerOutput

func (i GetTeamMaintainerArgs) ToGetTeamMaintainerOutput() GetTeamMaintainerOutput

func (GetTeamMaintainerArgs) ToGetTeamMaintainerOutputWithContext

func (i GetTeamMaintainerArgs) ToGetTeamMaintainerOutputWithContext(ctx context.Context) GetTeamMaintainerOutput

type GetTeamMaintainerArray

type GetTeamMaintainerArray []GetTeamMaintainerInput

func (GetTeamMaintainerArray) ElementType

func (GetTeamMaintainerArray) ElementType() reflect.Type

func (GetTeamMaintainerArray) ToGetTeamMaintainerArrayOutput

func (i GetTeamMaintainerArray) ToGetTeamMaintainerArrayOutput() GetTeamMaintainerArrayOutput

func (GetTeamMaintainerArray) ToGetTeamMaintainerArrayOutputWithContext

func (i GetTeamMaintainerArray) ToGetTeamMaintainerArrayOutputWithContext(ctx context.Context) GetTeamMaintainerArrayOutput

type GetTeamMaintainerArrayInput

type GetTeamMaintainerArrayInput interface {
	pulumi.Input

	ToGetTeamMaintainerArrayOutput() GetTeamMaintainerArrayOutput
	ToGetTeamMaintainerArrayOutputWithContext(context.Context) GetTeamMaintainerArrayOutput
}

GetTeamMaintainerArrayInput is an input type that accepts GetTeamMaintainerArray and GetTeamMaintainerArrayOutput values. You can construct a concrete instance of `GetTeamMaintainerArrayInput` via:

GetTeamMaintainerArray{ GetTeamMaintainerArgs{...} }

type GetTeamMaintainerArrayOutput

type GetTeamMaintainerArrayOutput struct{ *pulumi.OutputState }

func (GetTeamMaintainerArrayOutput) ElementType

func (GetTeamMaintainerArrayOutput) Index

func (GetTeamMaintainerArrayOutput) ToGetTeamMaintainerArrayOutput

func (o GetTeamMaintainerArrayOutput) ToGetTeamMaintainerArrayOutput() GetTeamMaintainerArrayOutput

func (GetTeamMaintainerArrayOutput) ToGetTeamMaintainerArrayOutputWithContext

func (o GetTeamMaintainerArrayOutput) ToGetTeamMaintainerArrayOutputWithContext(ctx context.Context) GetTeamMaintainerArrayOutput

type GetTeamMaintainerInput

type GetTeamMaintainerInput interface {
	pulumi.Input

	ToGetTeamMaintainerOutput() GetTeamMaintainerOutput
	ToGetTeamMaintainerOutputWithContext(context.Context) GetTeamMaintainerOutput
}

GetTeamMaintainerInput is an input type that accepts GetTeamMaintainerArgs and GetTeamMaintainerOutput values. You can construct a concrete instance of `GetTeamMaintainerInput` via:

GetTeamMaintainerArgs{...}

type GetTeamMaintainerOutput

type GetTeamMaintainerOutput struct{ *pulumi.OutputState }

func (GetTeamMaintainerOutput) ElementType

func (GetTeamMaintainerOutput) ElementType() reflect.Type

func (GetTeamMaintainerOutput) Email

func (GetTeamMaintainerOutput) FirstName

func (GetTeamMaintainerOutput) Id

func (GetTeamMaintainerOutput) LastName

func (GetTeamMaintainerOutput) Role

func (GetTeamMaintainerOutput) ToGetTeamMaintainerOutput

func (o GetTeamMaintainerOutput) ToGetTeamMaintainerOutput() GetTeamMaintainerOutput

func (GetTeamMaintainerOutput) ToGetTeamMaintainerOutputWithContext

func (o GetTeamMaintainerOutput) ToGetTeamMaintainerOutputWithContext(ctx context.Context) GetTeamMaintainerOutput

type GetTeamMembersArgs

type GetTeamMembersArgs struct {
	// An array of unique email addresses associated with the team members.
	Emails []string `pulumi:"emails"`
	// A boolean to determine whether to ignore members that weren't found.
	IgnoreMissing *bool `pulumi:"ignoreMissing"`
}

A collection of arguments for invoking getTeamMembers.

type GetTeamMembersOutputArgs

type GetTeamMembersOutputArgs struct {
	// An array of unique email addresses associated with the team members.
	Emails pulumi.StringArrayInput `pulumi:"emails"`
	// A boolean to determine whether to ignore members that weren't found.
	IgnoreMissing pulumi.BoolPtrInput `pulumi:"ignoreMissing"`
}

A collection of arguments for invoking getTeamMembers.

func (GetTeamMembersOutputArgs) ElementType

func (GetTeamMembersOutputArgs) ElementType() reflect.Type

type GetTeamMembersResult

type GetTeamMembersResult struct {
	Emails []string `pulumi:"emails"`
	// The provider-assigned unique ID for this managed resource.
	Id            string                     `pulumi:"id"`
	IgnoreMissing *bool                      `pulumi:"ignoreMissing"`
	TeamMembers   []GetTeamMembersTeamMember `pulumi:"teamMembers"`
}

A collection of values returned by getTeamMembers.

func GetTeamMembers

func GetTeamMembers(ctx *pulumi.Context, args *GetTeamMembersArgs, opts ...pulumi.InvokeOption) (*GetTeamMembersResult, error)

Provides a LaunchDarkly team members data source.

This data source allows you to retrieve team member information from your LaunchDarkly organization on multiple team members.

type GetTeamMembersResultOutput

type GetTeamMembersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTeamMembers.

func (GetTeamMembersResultOutput) ElementType

func (GetTeamMembersResultOutput) ElementType() reflect.Type

func (GetTeamMembersResultOutput) Emails

func (GetTeamMembersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetTeamMembersResultOutput) IgnoreMissing

func (GetTeamMembersResultOutput) TeamMembers

func (GetTeamMembersResultOutput) ToGetTeamMembersResultOutput

func (o GetTeamMembersResultOutput) ToGetTeamMembersResultOutput() GetTeamMembersResultOutput

func (GetTeamMembersResultOutput) ToGetTeamMembersResultOutputWithContext

func (o GetTeamMembersResultOutput) ToGetTeamMembersResultOutputWithContext(ctx context.Context) GetTeamMembersResultOutput

type GetTeamMembersTeamMember

type GetTeamMembersTeamMember struct {
	CustomRoles []string `pulumi:"customRoles"`
	Email       string   `pulumi:"email"`
	// The team member's given name.
	FirstName string `pulumi:"firstName"`
	// The 24 character alphanumeric ID of the team member.
	Id string `pulumi:"id"`
	// The team member's family name.
	LastName string `pulumi:"lastName"`
	// The role associated with team member. Possible roles are `owner`, `reader`, `writer`, or `admin`.
	Role string `pulumi:"role"`
}

type GetTeamMembersTeamMemberArgs

type GetTeamMembersTeamMemberArgs struct {
	CustomRoles pulumi.StringArrayInput `pulumi:"customRoles"`
	Email       pulumi.StringInput      `pulumi:"email"`
	// The team member's given name.
	FirstName pulumi.StringInput `pulumi:"firstName"`
	// The 24 character alphanumeric ID of the team member.
	Id pulumi.StringInput `pulumi:"id"`
	// The team member's family name.
	LastName pulumi.StringInput `pulumi:"lastName"`
	// The role associated with team member. Possible roles are `owner`, `reader`, `writer`, or `admin`.
	Role pulumi.StringInput `pulumi:"role"`
}

func (GetTeamMembersTeamMemberArgs) ElementType

func (GetTeamMembersTeamMemberArgs) ToGetTeamMembersTeamMemberOutput

func (i GetTeamMembersTeamMemberArgs) ToGetTeamMembersTeamMemberOutput() GetTeamMembersTeamMemberOutput

func (GetTeamMembersTeamMemberArgs) ToGetTeamMembersTeamMemberOutputWithContext

func (i GetTeamMembersTeamMemberArgs) ToGetTeamMembersTeamMemberOutputWithContext(ctx context.Context) GetTeamMembersTeamMemberOutput

type GetTeamMembersTeamMemberArray

type GetTeamMembersTeamMemberArray []GetTeamMembersTeamMemberInput

func (GetTeamMembersTeamMemberArray) ElementType

func (GetTeamMembersTeamMemberArray) ToGetTeamMembersTeamMemberArrayOutput

func (i GetTeamMembersTeamMemberArray) ToGetTeamMembersTeamMemberArrayOutput() GetTeamMembersTeamMemberArrayOutput

func (GetTeamMembersTeamMemberArray) ToGetTeamMembersTeamMemberArrayOutputWithContext

func (i GetTeamMembersTeamMemberArray) ToGetTeamMembersTeamMemberArrayOutputWithContext(ctx context.Context) GetTeamMembersTeamMemberArrayOutput

type GetTeamMembersTeamMemberArrayInput

type GetTeamMembersTeamMemberArrayInput interface {
	pulumi.Input

	ToGetTeamMembersTeamMemberArrayOutput() GetTeamMembersTeamMemberArrayOutput
	ToGetTeamMembersTeamMemberArrayOutputWithContext(context.Context) GetTeamMembersTeamMemberArrayOutput
}

GetTeamMembersTeamMemberArrayInput is an input type that accepts GetTeamMembersTeamMemberArray and GetTeamMembersTeamMemberArrayOutput values. You can construct a concrete instance of `GetTeamMembersTeamMemberArrayInput` via:

GetTeamMembersTeamMemberArray{ GetTeamMembersTeamMemberArgs{...} }

type GetTeamMembersTeamMemberArrayOutput

type GetTeamMembersTeamMemberArrayOutput struct{ *pulumi.OutputState }

func (GetTeamMembersTeamMemberArrayOutput) ElementType

func (GetTeamMembersTeamMemberArrayOutput) Index

func (GetTeamMembersTeamMemberArrayOutput) ToGetTeamMembersTeamMemberArrayOutput

func (o GetTeamMembersTeamMemberArrayOutput) ToGetTeamMembersTeamMemberArrayOutput() GetTeamMembersTeamMemberArrayOutput

func (GetTeamMembersTeamMemberArrayOutput) ToGetTeamMembersTeamMemberArrayOutputWithContext

func (o GetTeamMembersTeamMemberArrayOutput) ToGetTeamMembersTeamMemberArrayOutputWithContext(ctx context.Context) GetTeamMembersTeamMemberArrayOutput

type GetTeamMembersTeamMemberInput

type GetTeamMembersTeamMemberInput interface {
	pulumi.Input

	ToGetTeamMembersTeamMemberOutput() GetTeamMembersTeamMemberOutput
	ToGetTeamMembersTeamMemberOutputWithContext(context.Context) GetTeamMembersTeamMemberOutput
}

GetTeamMembersTeamMemberInput is an input type that accepts GetTeamMembersTeamMemberArgs and GetTeamMembersTeamMemberOutput values. You can construct a concrete instance of `GetTeamMembersTeamMemberInput` via:

GetTeamMembersTeamMemberArgs{...}

type GetTeamMembersTeamMemberOutput

type GetTeamMembersTeamMemberOutput struct{ *pulumi.OutputState }

func (GetTeamMembersTeamMemberOutput) CustomRoles

func (GetTeamMembersTeamMemberOutput) ElementType

func (GetTeamMembersTeamMemberOutput) Email

func (GetTeamMembersTeamMemberOutput) FirstName

The team member's given name.

func (GetTeamMembersTeamMemberOutput) Id

The 24 character alphanumeric ID of the team member.

func (GetTeamMembersTeamMemberOutput) LastName

The team member's family name.

func (GetTeamMembersTeamMemberOutput) Role

The role associated with team member. Possible roles are `owner`, `reader`, `writer`, or `admin`.

func (GetTeamMembersTeamMemberOutput) ToGetTeamMembersTeamMemberOutput

func (o GetTeamMembersTeamMemberOutput) ToGetTeamMembersTeamMemberOutput() GetTeamMembersTeamMemberOutput

func (GetTeamMembersTeamMemberOutput) ToGetTeamMembersTeamMemberOutputWithContext

func (o GetTeamMembersTeamMemberOutput) ToGetTeamMembersTeamMemberOutputWithContext(ctx context.Context) GetTeamMembersTeamMemberOutput

type GetWebhookStatement

type GetWebhookStatement struct {
	Actions []string `pulumi:"actions"`
	// Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect     string   `pulumi:"effect"`
	NotActions []string `pulumi:"notActions"`
	// 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](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	NotResources []string `pulumi:"notResources"`
	// 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](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	Resources []string `pulumi:"resources"`
}

type GetWebhookStatementArgs

type GetWebhookStatementArgs struct {
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect     pulumi.StringInput      `pulumi:"effect"`
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// 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](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	NotResources pulumi.StringArrayInput `pulumi:"notResources"`
	// 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](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	Resources pulumi.StringArrayInput `pulumi:"resources"`
}

func (GetWebhookStatementArgs) ElementType

func (GetWebhookStatementArgs) ElementType() reflect.Type

func (GetWebhookStatementArgs) ToGetWebhookStatementOutput

func (i GetWebhookStatementArgs) ToGetWebhookStatementOutput() GetWebhookStatementOutput

func (GetWebhookStatementArgs) ToGetWebhookStatementOutputWithContext

func (i GetWebhookStatementArgs) ToGetWebhookStatementOutputWithContext(ctx context.Context) GetWebhookStatementOutput

type GetWebhookStatementArray

type GetWebhookStatementArray []GetWebhookStatementInput

func (GetWebhookStatementArray) ElementType

func (GetWebhookStatementArray) ElementType() reflect.Type

func (GetWebhookStatementArray) ToGetWebhookStatementArrayOutput

func (i GetWebhookStatementArray) ToGetWebhookStatementArrayOutput() GetWebhookStatementArrayOutput

func (GetWebhookStatementArray) ToGetWebhookStatementArrayOutputWithContext

func (i GetWebhookStatementArray) ToGetWebhookStatementArrayOutputWithContext(ctx context.Context) GetWebhookStatementArrayOutput

type GetWebhookStatementArrayInput

type GetWebhookStatementArrayInput interface {
	pulumi.Input

	ToGetWebhookStatementArrayOutput() GetWebhookStatementArrayOutput
	ToGetWebhookStatementArrayOutputWithContext(context.Context) GetWebhookStatementArrayOutput
}

GetWebhookStatementArrayInput is an input type that accepts GetWebhookStatementArray and GetWebhookStatementArrayOutput values. You can construct a concrete instance of `GetWebhookStatementArrayInput` via:

GetWebhookStatementArray{ GetWebhookStatementArgs{...} }

type GetWebhookStatementArrayOutput

type GetWebhookStatementArrayOutput struct{ *pulumi.OutputState }

func (GetWebhookStatementArrayOutput) ElementType

func (GetWebhookStatementArrayOutput) Index

func (GetWebhookStatementArrayOutput) ToGetWebhookStatementArrayOutput

func (o GetWebhookStatementArrayOutput) ToGetWebhookStatementArrayOutput() GetWebhookStatementArrayOutput

func (GetWebhookStatementArrayOutput) ToGetWebhookStatementArrayOutputWithContext

func (o GetWebhookStatementArrayOutput) ToGetWebhookStatementArrayOutputWithContext(ctx context.Context) GetWebhookStatementArrayOutput

type GetWebhookStatementInput

type GetWebhookStatementInput interface {
	pulumi.Input

	ToGetWebhookStatementOutput() GetWebhookStatementOutput
	ToGetWebhookStatementOutputWithContext(context.Context) GetWebhookStatementOutput
}

GetWebhookStatementInput is an input type that accepts GetWebhookStatementArgs and GetWebhookStatementOutput values. You can construct a concrete instance of `GetWebhookStatementInput` via:

GetWebhookStatementArgs{...}

type GetWebhookStatementOutput

type GetWebhookStatementOutput struct{ *pulumi.OutputState }

func (GetWebhookStatementOutput) Actions

func (GetWebhookStatementOutput) Effect

Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.

func (GetWebhookStatementOutput) ElementType

func (GetWebhookStatementOutput) ElementType() reflect.Type

func (GetWebhookStatementOutput) NotActions

func (GetWebhookStatementOutput) NotResources

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](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).

func (GetWebhookStatementOutput) Resources

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](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).

func (GetWebhookStatementOutput) ToGetWebhookStatementOutput

func (o GetWebhookStatementOutput) ToGetWebhookStatementOutput() GetWebhookStatementOutput

func (GetWebhookStatementOutput) ToGetWebhookStatementOutputWithContext

func (o GetWebhookStatementOutput) ToGetWebhookStatementOutputWithContext(ctx context.Context) GetWebhookStatementOutput

type LookupAuditLogSubscriptionArgs

type LookupAuditLogSubscriptionArgs struct {
	// A block of configuration fields associated with your integration type.
	Config map[string]interface{} `pulumi:"config"`
	// 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](https://app.launchdarkly.com/default/integrations).
	Id string `pulumi:"id"`
	// The integration key. As of February 2022, supported integrations are `"datadog"`, `"dynatrace"`, `"elastic"`, `"honeycomb"`, `"logdna"`, `"msteams"`, `"new-relic-apm"`, `"signalfx"`, `"slack"`, and `"splunk"`.
	IntegrationKey string `pulumi:"integrationKey"`
	// The subscription's human-readable name.
	Name *string `pulumi:"name"`
	// Whether the subscription is enabled.
	On *bool `pulumi:"on"`
	// The statement block used to filter subscription events. To learn more, read Statement Blocks.
	Statements []GetAuditLogSubscriptionStatement `pulumi:"statements"`
	// Set of tags associated with the subscription.
	Tags []string `pulumi:"tags"`
}

A collection of arguments for invoking getAuditLogSubscription.

type LookupAuditLogSubscriptionOutputArgs

type LookupAuditLogSubscriptionOutputArgs struct {
	// A block of configuration fields associated with your integration type.
	Config pulumi.MapInput `pulumi:"config"`
	// 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](https://app.launchdarkly.com/default/integrations).
	Id pulumi.StringInput `pulumi:"id"`
	// The integration key. As of February 2022, supported integrations are `"datadog"`, `"dynatrace"`, `"elastic"`, `"honeycomb"`, `"logdna"`, `"msteams"`, `"new-relic-apm"`, `"signalfx"`, `"slack"`, and `"splunk"`.
	IntegrationKey pulumi.StringInput `pulumi:"integrationKey"`
	// The subscription's human-readable name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Whether the subscription is enabled.
	On pulumi.BoolPtrInput `pulumi:"on"`
	// The statement block used to filter subscription events. To learn more, read Statement Blocks.
	Statements GetAuditLogSubscriptionStatementArrayInput `pulumi:"statements"`
	// Set of tags associated with the subscription.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking getAuditLogSubscription.

func (LookupAuditLogSubscriptionOutputArgs) ElementType

type LookupAuditLogSubscriptionResult

type LookupAuditLogSubscriptionResult struct {
	// A block of configuration fields associated with your integration type.
	Config         map[string]interface{} `pulumi:"config"`
	Id             string                 `pulumi:"id"`
	IntegrationKey string                 `pulumi:"integrationKey"`
	// The subscription's human-readable name.
	Name *string `pulumi:"name"`
	// Whether the subscription is enabled.
	On *bool `pulumi:"on"`
	// The statement block used to filter subscription events. To learn more, read Statement Blocks.
	Statements []GetAuditLogSubscriptionStatement `pulumi:"statements"`
	// Set of tags associated with the subscription.
	Tags []string `pulumi:"tags"`
}

A collection of values returned by getAuditLogSubscription.

func LookupAuditLogSubscription

func LookupAuditLogSubscription(ctx *pulumi.Context, args *LookupAuditLogSubscriptionArgs, opts ...pulumi.InvokeOption) (*LookupAuditLogSubscriptionResult, error)

Provides a LaunchDarkly audit log subscription data source.

This data source allows you to retrieve information about LaunchDarkly audit log subscriptions.

```go 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
	})
}

```

type LookupAuditLogSubscriptionResultOutput

type LookupAuditLogSubscriptionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAuditLogSubscription.

func (LookupAuditLogSubscriptionResultOutput) Config

A block of configuration fields associated with your integration type.

func (LookupAuditLogSubscriptionResultOutput) ElementType

func (LookupAuditLogSubscriptionResultOutput) Id

func (LookupAuditLogSubscriptionResultOutput) IntegrationKey

func (LookupAuditLogSubscriptionResultOutput) Name

The subscription's human-readable name.

func (LookupAuditLogSubscriptionResultOutput) On

Whether the subscription is enabled.

func (LookupAuditLogSubscriptionResultOutput) Statements

The statement block used to filter subscription events. To learn more, read Statement Blocks.

func (LookupAuditLogSubscriptionResultOutput) Tags

Set of tags associated with the subscription.

func (LookupAuditLogSubscriptionResultOutput) ToLookupAuditLogSubscriptionResultOutput

func (o LookupAuditLogSubscriptionResultOutput) ToLookupAuditLogSubscriptionResultOutput() LookupAuditLogSubscriptionResultOutput

func (LookupAuditLogSubscriptionResultOutput) ToLookupAuditLogSubscriptionResultOutputWithContext

func (o LookupAuditLogSubscriptionResultOutput) ToLookupAuditLogSubscriptionResultOutputWithContext(ctx context.Context) LookupAuditLogSubscriptionResultOutput

type LookupEnvironmentArgs

type LookupEnvironmentArgs struct {
	ApprovalSettings []GetEnvironmentApprovalSetting `pulumi:"approvalSettings"`
	// A value of `true` indicates that this environment requires confirmation for flag and segment changes.
	ConfirmChanges *bool `pulumi:"confirmChanges"`
	// A value of `true` enables data export for every flag created in this environment. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents *bool `pulumi:"defaultTrackEvents"`
	// The TTL for the environment. This will be a numeric value between 0 and 60 in minutes. The TTL setting only applies to environments using the PHP SDK. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTtl *int `pulumi:"defaultTtl"`
	// The environment's unique key.
	Key string `pulumi:"key"`
	// The environment's project key.
	ProjectKey string `pulumi:"projectKey"`
	// A value of `true` indicates that this environment requires comments for flag and segment changes.
	RequireComments *bool `pulumi:"requireComments"`
	// A value of true `true` ensures a user of the client-side SDK cannot impersonate another user.
	SecureMode *bool `pulumi:"secureMode"`
	// Set of tags associated with the environment.
	Tags []string `pulumi:"tags"`
}

A collection of arguments for invoking getEnvironment.

type LookupEnvironmentOutputArgs

type LookupEnvironmentOutputArgs struct {
	ApprovalSettings GetEnvironmentApprovalSettingArrayInput `pulumi:"approvalSettings"`
	// A value of `true` indicates that this environment requires confirmation for flag and segment changes.
	ConfirmChanges pulumi.BoolPtrInput `pulumi:"confirmChanges"`
	// A value of `true` enables data export for every flag created in this environment. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents pulumi.BoolPtrInput `pulumi:"defaultTrackEvents"`
	// The TTL for the environment. This will be a numeric value between 0 and 60 in minutes. The TTL setting only applies to environments using the PHP SDK. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTtl pulumi.IntPtrInput `pulumi:"defaultTtl"`
	// The environment's unique key.
	Key pulumi.StringInput `pulumi:"key"`
	// The environment's project key.
	ProjectKey pulumi.StringInput `pulumi:"projectKey"`
	// A value of `true` indicates that this environment requires comments for flag and segment changes.
	RequireComments pulumi.BoolPtrInput `pulumi:"requireComments"`
	// A value of true `true` ensures a user of the client-side SDK cannot impersonate another user.
	SecureMode pulumi.BoolPtrInput `pulumi:"secureMode"`
	// Set of tags associated with the environment.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking getEnvironment.

func (LookupEnvironmentOutputArgs) ElementType

type LookupEnvironmentResult

type LookupEnvironmentResult struct {
	// The environment's SDK key.
	ApiKey           string                          `pulumi:"apiKey"`
	ApprovalSettings []GetEnvironmentApprovalSetting `pulumi:"approvalSettings"`
	// The environment's client-side ID.
	ClientSideId string `pulumi:"clientSideId"`
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`.
	Color string `pulumi:"color"`
	// A value of `true` indicates that this environment requires confirmation for flag and segment changes.
	ConfirmChanges *bool `pulumi:"confirmChanges"`
	// A value of `true` enables data export for every flag created in this environment. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents *bool `pulumi:"defaultTrackEvents"`
	// The TTL for the environment. This will be a numeric value between 0 and 60 in minutes. The TTL setting only applies to environments using the PHP SDK. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTtl *int `pulumi:"defaultTtl"`
	// The provider-assigned unique ID for this managed resource.
	Id  string `pulumi:"id"`
	Key string `pulumi:"key"`
	// The environment's mobile key.
	MobileKey string `pulumi:"mobileKey"`
	// The name of the environment.
	Name       string `pulumi:"name"`
	ProjectKey string `pulumi:"projectKey"`
	// A value of `true` indicates that this environment requires comments for flag and segment changes.
	RequireComments *bool `pulumi:"requireComments"`
	// A value of true `true` ensures a user of the client-side SDK cannot impersonate another user.
	SecureMode *bool `pulumi:"secureMode"`
	// Set of tags associated with the environment.
	Tags []string `pulumi:"tags"`
}

A collection of values returned by getEnvironment.

func LookupEnvironment

func LookupEnvironment(ctx *pulumi.Context, args *LookupEnvironmentArgs, opts ...pulumi.InvokeOption) (*LookupEnvironmentResult, error)

Provides a LaunchDarkly environment data source.

This data source allows you to retrieve environment information from your LaunchDarkly organization.

## Example Usage

```go 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.LookupEnvironment(ctx, &launchdarkly.LookupEnvironmentArgs{
			Key:        "example-env",
			ProjectKey: "example-project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupEnvironmentResultOutput

type LookupEnvironmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEnvironment.

func (LookupEnvironmentResultOutput) ApiKey

The environment's SDK key.

func (LookupEnvironmentResultOutput) ApprovalSettings

func (LookupEnvironmentResultOutput) ClientSideId

The environment's client-side ID.

func (LookupEnvironmentResultOutput) Color

The color swatch as an RGB hex value with no leading `#`. For example: `000000`.

func (LookupEnvironmentResultOutput) ConfirmChanges

A value of `true` indicates that this environment requires confirmation for flag and segment changes.

func (LookupEnvironmentResultOutput) DefaultTrackEvents

func (o LookupEnvironmentResultOutput) DefaultTrackEvents() pulumi.BoolPtrOutput

A value of `true` enables data export for every flag created in this environment. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).

func (LookupEnvironmentResultOutput) DefaultTtl

The TTL for the environment. This will be a numeric value between 0 and 60 in minutes. The TTL setting only applies to environments using the PHP SDK. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).

func (LookupEnvironmentResultOutput) ElementType

func (LookupEnvironmentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupEnvironmentResultOutput) Key

func (LookupEnvironmentResultOutput) MobileKey

The environment's mobile key.

func (LookupEnvironmentResultOutput) Name

The name of the environment.

func (LookupEnvironmentResultOutput) ProjectKey

func (LookupEnvironmentResultOutput) RequireComments

A value of `true` indicates that this environment requires comments for flag and segment changes.

func (LookupEnvironmentResultOutput) SecureMode

A value of true `true` ensures a user of the client-side SDK cannot impersonate another user.

func (LookupEnvironmentResultOutput) Tags

Set of tags associated with the environment.

func (LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutput

func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutput() LookupEnvironmentResultOutput

func (LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContext

func (o LookupEnvironmentResultOutput) ToLookupEnvironmentResultOutputWithContext(ctx context.Context) LookupEnvironmentResultOutput

type LookupFeatureFlagArgs

type LookupFeatureFlagArgs struct {
	Archived *bool `pulumi:"archived"`
	// A map describing whether this flag has been made available to the client-side JavaScript SDK. To learn more, read Nested Client-Side Availability Block.
	ClientSideAvailabilities []GetFeatureFlagClientSideAvailability `pulumi:"clientSideAvailabilities"`
	// List of nested blocks describing the feature flag's [custom properties](https://docs.launchdarkly.com/home/connecting/custom-properties). To learn more, read Nested Custom Properties.
	CustomProperties []GetFeatureFlagCustomProperty `pulumi:"customProperties"`
	// A map describing the index of the variation served when the flag is on for new environments. To learn more, read Nested Defaults Blocks.
	Defaults *GetFeatureFlagDefaults `pulumi:"defaults"`
	// The variation's description.
	Description *string `pulumi:"description"`
	// **Deprecated** A boolean describing whether this flag has been made available to the client-side Javescript SDK using the client-side ID only. `includeInSnippet` is now deprecated. Please retrieve information from `client_side_availability.using_environment_id` to maintain future compatability.
	//
	// Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'client_side_availability' to maintain future compatability.
	IncludeInSnippet *bool `pulumi:"includeInSnippet"`
	// The unique feature flag key that references the flag in your application code.
	Key string `pulumi:"key"`
	// The feature flag maintainer's 24 character alphanumeric team member ID.
	MaintainerId *string `pulumi:"maintainerId"`
	// The feature flag's project key.
	ProjectKey string `pulumi:"projectKey"`
	// Set of feature flag tags.
	Tags []string `pulumi:"tags"`
	// Whether the flag is a temporary flag.
	Temporary *bool `pulumi:"temporary"`
	// List of nested blocks describing the variations associated with the feature flag. To learn more, read Nested Variations Blocks.
	Variations []GetFeatureFlagVariation `pulumi:"variations"`
}

A collection of arguments for invoking getFeatureFlag.

type LookupFeatureFlagEnvironmentArgs

type LookupFeatureFlagEnvironmentArgs struct {
	// The environment key.
	EnvKey      string                                `pulumi:"envKey"`
	Fallthrough *GetFeatureFlagEnvironmentFallthrough `pulumi:"fallthrough"`
	// The feature flag's unique `id` in the format `project_key/flag_key`.
	FlagId string `pulumi:"flagId"`
	// The index of the variation served when targeting is disabled.
	OffVariation *int `pulumi:"offVariation"`
	// Whether targeting is enabled.
	On *bool `pulumi:"on"`
	// List of nested blocks describing prerequisite feature flags rules. To learn more, read Nested Prequisites Blocks.
	Prerequisites []GetFeatureFlagEnvironmentPrerequisite `pulumi:"prerequisites"`
	// List of logical targeting rules. To learn more, read Nested Rules Blocks.
	Rules   []GetFeatureFlagEnvironmentRule   `pulumi:"rules"`
	Targets []GetFeatureFlagEnvironmentTarget `pulumi:"targets"`
	// Whether event data will be sent back to LaunchDarkly.
	TrackEvents *bool `pulumi:"trackEvents"`
}

A collection of arguments for invoking getFeatureFlagEnvironment.

type LookupFeatureFlagEnvironmentOutputArgs

type LookupFeatureFlagEnvironmentOutputArgs struct {
	// The environment key.
	EnvKey      pulumi.StringInput                           `pulumi:"envKey"`
	Fallthrough GetFeatureFlagEnvironmentFallthroughPtrInput `pulumi:"fallthrough"`
	// The feature flag's unique `id` in the format `project_key/flag_key`.
	FlagId pulumi.StringInput `pulumi:"flagId"`
	// The index of the variation served when targeting is disabled.
	OffVariation pulumi.IntPtrInput `pulumi:"offVariation"`
	// Whether targeting is enabled.
	On pulumi.BoolPtrInput `pulumi:"on"`
	// List of nested blocks describing prerequisite feature flags rules. To learn more, read Nested Prequisites Blocks.
	Prerequisites GetFeatureFlagEnvironmentPrerequisiteArrayInput `pulumi:"prerequisites"`
	// List of logical targeting rules. To learn more, read Nested Rules Blocks.
	Rules   GetFeatureFlagEnvironmentRuleArrayInput   `pulumi:"rules"`
	Targets GetFeatureFlagEnvironmentTargetArrayInput `pulumi:"targets"`
	// Whether event data will be sent back to LaunchDarkly.
	TrackEvents pulumi.BoolPtrInput `pulumi:"trackEvents"`
}

A collection of arguments for invoking getFeatureFlagEnvironment.

func (LookupFeatureFlagEnvironmentOutputArgs) ElementType

type LookupFeatureFlagEnvironmentResult

type LookupFeatureFlagEnvironmentResult struct {
	EnvKey      string                                `pulumi:"envKey"`
	Fallthrough *GetFeatureFlagEnvironmentFallthrough `pulumi:"fallthrough"`
	FlagId      string                                `pulumi:"flagId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The index of the variation served when targeting is disabled.
	OffVariation *int `pulumi:"offVariation"`
	// Whether targeting is enabled.
	On *bool `pulumi:"on"`
	// List of nested blocks describing prerequisite feature flags rules. To learn more, read Nested Prequisites Blocks.
	Prerequisites []GetFeatureFlagEnvironmentPrerequisite `pulumi:"prerequisites"`
	// List of logical targeting rules. To learn more, read Nested Rules Blocks.
	Rules   []GetFeatureFlagEnvironmentRule   `pulumi:"rules"`
	Targets []GetFeatureFlagEnvironmentTarget `pulumi:"targets"`
	// Whether event data will be sent back to LaunchDarkly.
	TrackEvents *bool `pulumi:"trackEvents"`
}

A collection of values returned by getFeatureFlagEnvironment.

func LookupFeatureFlagEnvironment

func LookupFeatureFlagEnvironment(ctx *pulumi.Context, args *LookupFeatureFlagEnvironmentArgs, opts ...pulumi.InvokeOption) (*LookupFeatureFlagEnvironmentResult, error)

Provides a LaunchDarkly environment-specific feature flag data source.

This data source allows you to retrieve environment-specific feature flag information from your LaunchDarkly organization.

## Example Usage

```go 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.LookupFeatureFlagEnvironment(ctx, &launchdarkly.LookupFeatureFlagEnvironmentArgs{
			EnvKey: "example-env",
			FlagId: "example-project/example-flag",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupFeatureFlagEnvironmentResultOutput

type LookupFeatureFlagEnvironmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFeatureFlagEnvironment.

func (LookupFeatureFlagEnvironmentResultOutput) ElementType

func (LookupFeatureFlagEnvironmentResultOutput) EnvKey

func (LookupFeatureFlagEnvironmentResultOutput) Fallthrough

func (LookupFeatureFlagEnvironmentResultOutput) FlagId

func (LookupFeatureFlagEnvironmentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupFeatureFlagEnvironmentResultOutput) OffVariation

The index of the variation served when targeting is disabled.

func (LookupFeatureFlagEnvironmentResultOutput) On

Whether targeting is enabled.

func (LookupFeatureFlagEnvironmentResultOutput) Prerequisites

List of nested blocks describing prerequisite feature flags rules. To learn more, read Nested Prequisites Blocks.

func (LookupFeatureFlagEnvironmentResultOutput) Rules

List of logical targeting rules. To learn more, read Nested Rules Blocks.

func (LookupFeatureFlagEnvironmentResultOutput) Targets

func (LookupFeatureFlagEnvironmentResultOutput) ToLookupFeatureFlagEnvironmentResultOutput

func (o LookupFeatureFlagEnvironmentResultOutput) ToLookupFeatureFlagEnvironmentResultOutput() LookupFeatureFlagEnvironmentResultOutput

func (LookupFeatureFlagEnvironmentResultOutput) ToLookupFeatureFlagEnvironmentResultOutputWithContext

func (o LookupFeatureFlagEnvironmentResultOutput) ToLookupFeatureFlagEnvironmentResultOutputWithContext(ctx context.Context) LookupFeatureFlagEnvironmentResultOutput

func (LookupFeatureFlagEnvironmentResultOutput) TrackEvents

Whether event data will be sent back to LaunchDarkly.

type LookupFeatureFlagOutputArgs

type LookupFeatureFlagOutputArgs struct {
	Archived pulumi.BoolPtrInput `pulumi:"archived"`
	// A map describing whether this flag has been made available to the client-side JavaScript SDK. To learn more, read Nested Client-Side Availability Block.
	ClientSideAvailabilities GetFeatureFlagClientSideAvailabilityArrayInput `pulumi:"clientSideAvailabilities"`
	// List of nested blocks describing the feature flag's [custom properties](https://docs.launchdarkly.com/home/connecting/custom-properties). To learn more, read Nested Custom Properties.
	CustomProperties GetFeatureFlagCustomPropertyArrayInput `pulumi:"customProperties"`
	// A map describing the index of the variation served when the flag is on for new environments. To learn more, read Nested Defaults Blocks.
	Defaults GetFeatureFlagDefaultsPtrInput `pulumi:"defaults"`
	// The variation's description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// **Deprecated** A boolean describing whether this flag has been made available to the client-side Javescript SDK using the client-side ID only. `includeInSnippet` is now deprecated. Please retrieve information from `client_side_availability.using_environment_id` to maintain future compatability.
	//
	// Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'client_side_availability' to maintain future compatability.
	IncludeInSnippet pulumi.BoolPtrInput `pulumi:"includeInSnippet"`
	// The unique feature flag key that references the flag in your application code.
	Key pulumi.StringInput `pulumi:"key"`
	// The feature flag maintainer's 24 character alphanumeric team member ID.
	MaintainerId pulumi.StringPtrInput `pulumi:"maintainerId"`
	// The feature flag's project key.
	ProjectKey pulumi.StringInput `pulumi:"projectKey"`
	// Set of feature flag tags.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// Whether the flag is a temporary flag.
	Temporary pulumi.BoolPtrInput `pulumi:"temporary"`
	// List of nested blocks describing the variations associated with the feature flag. To learn more, read Nested Variations Blocks.
	Variations GetFeatureFlagVariationArrayInput `pulumi:"variations"`
}

A collection of arguments for invoking getFeatureFlag.

func (LookupFeatureFlagOutputArgs) ElementType

type LookupFeatureFlagResult

type LookupFeatureFlagResult struct {
	Archived *bool `pulumi:"archived"`
	// A map describing whether this flag has been made available to the client-side JavaScript SDK. To learn more, read Nested Client-Side Availability Block.
	ClientSideAvailabilities []GetFeatureFlagClientSideAvailability `pulumi:"clientSideAvailabilities"`
	// List of nested blocks describing the feature flag's [custom properties](https://docs.launchdarkly.com/home/connecting/custom-properties). To learn more, read Nested Custom Properties.
	CustomProperties []GetFeatureFlagCustomProperty `pulumi:"customProperties"`
	// A map describing the index of the variation served when the flag is on for new environments. To learn more, read Nested Defaults Blocks.
	Defaults GetFeatureFlagDefaults `pulumi:"defaults"`
	// The variation's description.
	Description *string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// **Deprecated** A boolean describing whether this flag has been made available to the client-side Javescript SDK using the client-side ID only. `includeInSnippet` is now deprecated. Please retrieve information from `client_side_availability.using_environment_id` to maintain future compatability.
	//
	// Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'client_side_availability' to maintain future compatability.
	IncludeInSnippet bool `pulumi:"includeInSnippet"`
	// The unique custom property key.
	Key string `pulumi:"key"`
	// The feature flag maintainer's 24 character alphanumeric team member ID.
	MaintainerId string `pulumi:"maintainerId"`
	// The name of the custom property.
	Name       string `pulumi:"name"`
	ProjectKey string `pulumi:"projectKey"`
	// Set of feature flag tags.
	Tags []string `pulumi:"tags"`
	// Whether the flag is a temporary flag.
	Temporary *bool `pulumi:"temporary"`
	// The feature flag's variation type: `boolean`, `string`, `number` or `json`.
	VariationType string `pulumi:"variationType"`
	// List of nested blocks describing the variations associated with the feature flag. To learn more, read Nested Variations Blocks.
	Variations []GetFeatureFlagVariation `pulumi:"variations"`
}

A collection of values returned by getFeatureFlag.

func LookupFeatureFlag

func LookupFeatureFlag(ctx *pulumi.Context, args *LookupFeatureFlagArgs, opts ...pulumi.InvokeOption) (*LookupFeatureFlagResult, error)

Provides a LaunchDarkly feature flag data source.

This data source allows you to retrieve feature flag information from your LaunchDarkly organization.

## Example Usage

```go 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.LookupFeatureFlag(ctx, &launchdarkly.LookupFeatureFlagArgs{
			Key:        "example-flag",
			ProjectKey: "example-project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupFeatureFlagResultOutput

type LookupFeatureFlagResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFeatureFlag.

func (LookupFeatureFlagResultOutput) Archived

func (LookupFeatureFlagResultOutput) ClientSideAvailabilities

A map describing whether this flag has been made available to the client-side JavaScript SDK. To learn more, read Nested Client-Side Availability Block.

func (LookupFeatureFlagResultOutput) CustomProperties

List of nested blocks describing the feature flag's [custom properties](https://docs.launchdarkly.com/home/connecting/custom-properties). To learn more, read Nested Custom Properties.

func (LookupFeatureFlagResultOutput) Defaults

A map describing the index of the variation served when the flag is on for new environments. To learn more, read Nested Defaults Blocks.

func (LookupFeatureFlagResultOutput) Description

The variation's description.

func (LookupFeatureFlagResultOutput) ElementType

func (LookupFeatureFlagResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupFeatureFlagResultOutput) IncludeInSnippet deprecated

func (o LookupFeatureFlagResultOutput) IncludeInSnippet() pulumi.BoolOutput

**Deprecated** A boolean describing whether this flag has been made available to the client-side Javescript SDK using the client-side ID only. `includeInSnippet` is now deprecated. Please retrieve information from `client_side_availability.using_environment_id` to maintain future compatability.

Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'client_side_availability' to maintain future compatability.

func (LookupFeatureFlagResultOutput) Key

The unique custom property key.

func (LookupFeatureFlagResultOutput) MaintainerId

The feature flag maintainer's 24 character alphanumeric team member ID.

func (LookupFeatureFlagResultOutput) Name

The name of the custom property.

func (LookupFeatureFlagResultOutput) ProjectKey

func (LookupFeatureFlagResultOutput) Tags

Set of feature flag tags.

func (LookupFeatureFlagResultOutput) Temporary

Whether the flag is a temporary flag.

func (LookupFeatureFlagResultOutput) ToLookupFeatureFlagResultOutput

func (o LookupFeatureFlagResultOutput) ToLookupFeatureFlagResultOutput() LookupFeatureFlagResultOutput

func (LookupFeatureFlagResultOutput) ToLookupFeatureFlagResultOutputWithContext

func (o LookupFeatureFlagResultOutput) ToLookupFeatureFlagResultOutputWithContext(ctx context.Context) LookupFeatureFlagResultOutput

func (LookupFeatureFlagResultOutput) VariationType

The feature flag's variation type: `boolean`, `string`, `number` or `json`.

func (LookupFeatureFlagResultOutput) Variations

List of nested blocks describing the variations associated with the feature flag. To learn more, read Nested Variations Blocks.

type LookupFlagTriggerArgs

type LookupFlagTriggerArgs struct {
	// Whether the trigger is currently active or not.
	Enabled *bool `pulumi:"enabled"`
	// The unique key of the environment the flag trigger will work in.
	EnvKey string `pulumi:"envKey"`
	// The unique key of the associated flag.
	FlagKey string `pulumi:"flagKey"`
	Id      string `pulumi:"id"`
	// Instructions containing the action to perform when invoking the trigger. Currently supported flag actions are `"turnFlagOn"` and `"turnFlagOff"`. These can be found on the `kind` field nested on the `instructions` attribute.
	Instructions *GetFlagTriggerInstructions `pulumi:"instructions"`
	// The unique identifier of the integration your trigger is set up with.
	IntegrationKey *string `pulumi:"integrationKey"`
	// The unique key of the project encompassing the associated flag.
	ProjectKey string `pulumi:"projectKey"`
}

A collection of arguments for invoking getFlagTrigger.

type LookupFlagTriggerOutputArgs

type LookupFlagTriggerOutputArgs struct {
	// Whether the trigger is currently active or not.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The unique key of the environment the flag trigger will work in.
	EnvKey pulumi.StringInput `pulumi:"envKey"`
	// The unique key of the associated flag.
	FlagKey pulumi.StringInput `pulumi:"flagKey"`
	Id      pulumi.StringInput `pulumi:"id"`
	// Instructions containing the action to perform when invoking the trigger. Currently supported flag actions are `"turnFlagOn"` and `"turnFlagOff"`. These can be found on the `kind` field nested on the `instructions` attribute.
	Instructions GetFlagTriggerInstructionsPtrInput `pulumi:"instructions"`
	// The unique identifier of the integration your trigger is set up with.
	IntegrationKey pulumi.StringPtrInput `pulumi:"integrationKey"`
	// The unique key of the project encompassing the associated flag.
	ProjectKey pulumi.StringInput `pulumi:"projectKey"`
}

A collection of arguments for invoking getFlagTrigger.

func (LookupFlagTriggerOutputArgs) ElementType

type LookupFlagTriggerResult

type LookupFlagTriggerResult struct {
	// Whether the trigger is currently active or not.
	Enabled *bool `pulumi:"enabled"`
	// The unique key of the environment the flag trigger will work in.
	EnvKey string `pulumi:"envKey"`
	// The unique key of the associated flag.
	FlagKey string `pulumi:"flagKey"`
	Id      string `pulumi:"id"`
	// Instructions containing the action to perform when invoking the trigger. Currently supported flag actions are `"turnFlagOn"` and `"turnFlagOff"`. These can be found on the `kind` field nested on the `instructions` attribute.
	Instructions *GetFlagTriggerInstructions `pulumi:"instructions"`
	// The unique identifier of the integration your trigger is set up with.
	IntegrationKey *string `pulumi:"integrationKey"`
	MaintainerId   string  `pulumi:"maintainerId"`
	// The unique key of the project encompassing the associated flag.
	ProjectKey string `pulumi:"projectKey"`
	TriggerUrl string `pulumi:"triggerUrl"`
}

A collection of values returned by getFlagTrigger.

func LookupFlagTrigger

func LookupFlagTrigger(ctx *pulumi.Context, args *LookupFlagTriggerArgs, opts ...pulumi.InvokeOption) (*LookupFlagTriggerResult, error)

Provides a LaunchDarkly flag trigger data source.

> **Note:** Flag triggers are available to customers on an Enterprise LaunchDarkly plan. To learn more, read about our pricing. To upgrade your plan, [contact LaunchDarkly Sales](https://launchdarkly.com/contact-sales/).

This data source allows you to retrieve information about flag triggers from your LaunchDarkly organization.

## Example Usage

```go 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.LookupFlagTrigger(ctx, &launchdarkly.LookupFlagTriggerArgs{
			Id: "<project_key>/<env_key>/<flag_key>/61d490757f7821150815518f",
			Instructions: launchdarkly.GetFlagTriggerInstructions{
				Kind: "turnFlagOff",
			},
			IntegrationKey: pulumi.StringRef("datadog"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupFlagTriggerResultOutput

type LookupFlagTriggerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFlagTrigger.

func (LookupFlagTriggerResultOutput) ElementType

func (LookupFlagTriggerResultOutput) Enabled

Whether the trigger is currently active or not.

func (LookupFlagTriggerResultOutput) EnvKey

The unique key of the environment the flag trigger will work in.

func (LookupFlagTriggerResultOutput) FlagKey

The unique key of the associated flag.

func (LookupFlagTriggerResultOutput) Id

func (LookupFlagTriggerResultOutput) Instructions

Instructions containing the action to perform when invoking the trigger. Currently supported flag actions are `"turnFlagOn"` and `"turnFlagOff"`. These can be found on the `kind` field nested on the `instructions` attribute.

func (LookupFlagTriggerResultOutput) IntegrationKey

The unique identifier of the integration your trigger is set up with.

func (LookupFlagTriggerResultOutput) MaintainerId

func (LookupFlagTriggerResultOutput) ProjectKey

The unique key of the project encompassing the associated flag.

func (LookupFlagTriggerResultOutput) ToLookupFlagTriggerResultOutput

func (o LookupFlagTriggerResultOutput) ToLookupFlagTriggerResultOutput() LookupFlagTriggerResultOutput

func (LookupFlagTriggerResultOutput) ToLookupFlagTriggerResultOutputWithContext

func (o LookupFlagTriggerResultOutput) ToLookupFlagTriggerResultOutputWithContext(ctx context.Context) LookupFlagTriggerResultOutput

func (LookupFlagTriggerResultOutput) TriggerUrl

type LookupMetricArgs

type LookupMetricArgs struct {
	// The description of the metric's purpose.
	Description *string `pulumi:"description"`
	// The event key to watch for `custom` metrics.
	EventKey  *string `pulumi:"eventKey"`
	IsActive  *bool   `pulumi:"isActive"`
	IsNumeric *bool   `pulumi:"isNumeric"`
	// The metric's unique key.
	Key string `pulumi:"key"`
	// The metric type. Available choices are `click`, `custom`, and `pageview`.
	Kind         *string `pulumi:"kind"`
	MaintainerId *string `pulumi:"maintainerId"`
	// The name of the metric.
	Name *string `pulumi:"name"`
	// The metric's project key.
	ProjectKey string `pulumi:"projectKey"`
	// The CSS selector for `click` metrics.
	Selector *string `pulumi:"selector"`
	// The success criteria for numeric `custom` metrics.
	SuccessCriteria *string `pulumi:"successCriteria"`
	// Set of tags associated with the metric.
	Tags []string `pulumi:"tags"`
	// The unit for numeric `custom` metrics.
	Unit *string `pulumi:"unit"`
	// Which URLs the metric watches.
	Urls []GetMetricUrl `pulumi:"urls"`
}

A collection of arguments for invoking getMetric.

type LookupMetricOutputArgs

type LookupMetricOutputArgs struct {
	// The description of the metric's purpose.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The event key to watch for `custom` metrics.
	EventKey  pulumi.StringPtrInput `pulumi:"eventKey"`
	IsActive  pulumi.BoolPtrInput   `pulumi:"isActive"`
	IsNumeric pulumi.BoolPtrInput   `pulumi:"isNumeric"`
	// The metric's unique key.
	Key pulumi.StringInput `pulumi:"key"`
	// The metric type. Available choices are `click`, `custom`, and `pageview`.
	Kind         pulumi.StringPtrInput `pulumi:"kind"`
	MaintainerId pulumi.StringPtrInput `pulumi:"maintainerId"`
	// The name of the metric.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The metric's project key.
	ProjectKey pulumi.StringInput `pulumi:"projectKey"`
	// The CSS selector for `click` metrics.
	Selector pulumi.StringPtrInput `pulumi:"selector"`
	// The success criteria for numeric `custom` metrics.
	SuccessCriteria pulumi.StringPtrInput `pulumi:"successCriteria"`
	// Set of tags associated with the metric.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
	// The unit for numeric `custom` metrics.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
	// Which URLs the metric watches.
	Urls GetMetricUrlArrayInput `pulumi:"urls"`
}

A collection of arguments for invoking getMetric.

func (LookupMetricOutputArgs) ElementType

func (LookupMetricOutputArgs) ElementType() reflect.Type

type LookupMetricResult

type LookupMetricResult struct {
	// The description of the metric's purpose.
	Description *string `pulumi:"description"`
	// The event key to watch for `custom` metrics.
	EventKey *string `pulumi:"eventKey"`
	// The provider-assigned unique ID for this managed resource.
	Id        string `pulumi:"id"`
	IsActive  *bool  `pulumi:"isActive"`
	IsNumeric *bool  `pulumi:"isNumeric"`
	Key       string `pulumi:"key"`
	// The metric type. Available choices are `click`, `custom`, and `pageview`.
	Kind         *string `pulumi:"kind"`
	MaintainerId string  `pulumi:"maintainerId"`
	// The name of the metric.
	Name *string `pulumi:"name"`
	// The metrics's project key.
	ProjectKey string `pulumi:"projectKey"`
	// The CSS selector for `click` metrics.
	Selector *string `pulumi:"selector"`
	// The success criteria for numeric `custom` metrics.
	SuccessCriteria *string `pulumi:"successCriteria"`
	// Set of tags associated with the metric.
	Tags []string `pulumi:"tags"`
	// The unit for numeric `custom` metrics.
	Unit *string `pulumi:"unit"`
	// Which URLs the metric watches.
	Urls []GetMetricUrl `pulumi:"urls"`
}

A collection of values returned by getMetric.

func LookupMetric

func LookupMetric(ctx *pulumi.Context, args *LookupMetricArgs, opts ...pulumi.InvokeOption) (*LookupMetricResult, error)

Provides a LaunchDarkly metric data source.

This data source allows you to retrieve metric information from your LaunchDarkly organization.

## Example Usage

```go 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.LookupMetric(ctx, &launchdarkly.LookupMetricArgs{
			Key:        "example-metric",
			ProjectKey: "example-project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupMetricResultOutput

type LookupMetricResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMetric.

func (LookupMetricResultOutput) Description

The description of the metric's purpose.

func (LookupMetricResultOutput) ElementType

func (LookupMetricResultOutput) ElementType() reflect.Type

func (LookupMetricResultOutput) EventKey

The event key to watch for `custom` metrics.

func (LookupMetricResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupMetricResultOutput) IsActive

func (LookupMetricResultOutput) IsNumeric

func (LookupMetricResultOutput) Key

func (LookupMetricResultOutput) Kind

The metric type. Available choices are `click`, `custom`, and `pageview`.

func (LookupMetricResultOutput) MaintainerId

func (o LookupMetricResultOutput) MaintainerId() pulumi.StringOutput

func (LookupMetricResultOutput) Name

The name of the metric.

func (LookupMetricResultOutput) ProjectKey

The metrics's project key.

func (LookupMetricResultOutput) Selector

The CSS selector for `click` metrics.

func (LookupMetricResultOutput) SuccessCriteria

func (o LookupMetricResultOutput) SuccessCriteria() pulumi.StringPtrOutput

The success criteria for numeric `custom` metrics.

func (LookupMetricResultOutput) Tags

Set of tags associated with the metric.

func (LookupMetricResultOutput) ToLookupMetricResultOutput

func (o LookupMetricResultOutput) ToLookupMetricResultOutput() LookupMetricResultOutput

func (LookupMetricResultOutput) ToLookupMetricResultOutputWithContext

func (o LookupMetricResultOutput) ToLookupMetricResultOutputWithContext(ctx context.Context) LookupMetricResultOutput

func (LookupMetricResultOutput) Unit

The unit for numeric `custom` metrics.

func (LookupMetricResultOutput) Urls

Which URLs the metric watches.

type LookupProjectArgs

type LookupProjectArgs struct {
	// The project's unique key.
	Key string `pulumi:"key"`
	// The project's set of tags.
	Tags []string `pulumi:"tags"`
}

A collection of arguments for invoking getProject.

type LookupProjectOutputArgs

type LookupProjectOutputArgs struct {
	// The project's unique key.
	Key pulumi.StringInput `pulumi:"key"`
	// The project's set of tags.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking getProject.

func (LookupProjectOutputArgs) ElementType

func (LookupProjectOutputArgs) ElementType() reflect.Type

type LookupProjectResult

type LookupProjectResult struct {
	// **Deprecated** A map describing which client-side SDKs can use new flags by default. To learn more, read Nested Client-Side Availability Block.
	// Please migrate to `defaultClientSideAvailability` to maintain future compatability.
	//
	// Deprecated: 'client_side_availability' is now deprecated. Please migrate to 'default_client_side_availability' to maintain future compatability.
	ClientSideAvailabilities []GetProjectClientSideAvailability `pulumi:"clientSideAvailabilities"`
	// A block describing which client-side SDKs can use new flags by default. To learn more, read Nested Client-Side Availability Block.
	DefaultClientSideAvailabilities []GetProjectDefaultClientSideAvailability `pulumi:"defaultClientSideAvailabilities"`
	// The provider-assigned unique ID for this managed resource.
	Id  string `pulumi:"id"`
	Key string `pulumi:"key"`
	// The project's name.
	Name string `pulumi:"name"`
	// The project's set of tags.
	Tags []string `pulumi:"tags"`
}

A collection of values returned by getProject.

func LookupProject

func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error)

Provides a LaunchDarkly project data source.

This data source allows you to retrieve project information from your LaunchDarkly organization.

> **Note:** LaunchDarkly data sources do not provide access to the project's environments. If you wish to import environment configurations as data sources you must use the [`Environment` data source](https://www.terraform.io/docs/providers/launchdarkly/d/environment.html).

## Example Usage

```go 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.LookupProject(ctx, &launchdarkly.LookupProjectArgs{
			Key: "example-project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProjectResultOutput

type LookupProjectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProject.

func (LookupProjectResultOutput) ClientSideAvailabilities deprecated

**Deprecated** A map describing which client-side SDKs can use new flags by default. To learn more, read Nested Client-Side Availability Block. Please migrate to `defaultClientSideAvailability` to maintain future compatability.

Deprecated: 'client_side_availability' is now deprecated. Please migrate to 'default_client_side_availability' to maintain future compatability.

func (LookupProjectResultOutput) DefaultClientSideAvailabilities

A block describing which client-side SDKs can use new flags by default. To learn more, read Nested Client-Side Availability Block.

func (LookupProjectResultOutput) ElementType

func (LookupProjectResultOutput) ElementType() reflect.Type

func (LookupProjectResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupProjectResultOutput) Key

func (LookupProjectResultOutput) Name

The project's name.

func (LookupProjectResultOutput) Tags

The project's set of tags.

func (LookupProjectResultOutput) ToLookupProjectResultOutput

func (o LookupProjectResultOutput) ToLookupProjectResultOutput() LookupProjectResultOutput

func (LookupProjectResultOutput) ToLookupProjectResultOutputWithContext

func (o LookupProjectResultOutput) ToLookupProjectResultOutputWithContext(ctx context.Context) LookupProjectResultOutput

type LookupRelayProxyConfigurationArgs

type LookupRelayProxyConfigurationArgs struct {
	// The Relay Proxy configuration's unique 24 character ID. The unique relay proxy ID can be found in the relay proxy edit page URL, which you can locate by clicking the three dot menu on your relay proxy item in the UI and selecting 'Edit configuration':
	Id string `pulumi:"id"`
	// The Relay Proxy configuration's rule policy block. This determines what content the Relay Proxy receives. To learn more, read [Understanding policies](https://docs.launchdarkly.com/home/members/role-policies#understanding-policies).
	Policies []GetRelayProxyConfigurationPolicy `pulumi:"policies"`
}

A collection of arguments for invoking getRelayProxyConfiguration.

type LookupRelayProxyConfigurationOutputArgs

type LookupRelayProxyConfigurationOutputArgs struct {
	// The Relay Proxy configuration's unique 24 character ID. The unique relay proxy ID can be found in the relay proxy edit page URL, which you can locate by clicking the three dot menu on your relay proxy item in the UI and selecting 'Edit configuration':
	Id pulumi.StringInput `pulumi:"id"`
	// The Relay Proxy configuration's rule policy block. This determines what content the Relay Proxy receives. To learn more, read [Understanding policies](https://docs.launchdarkly.com/home/members/role-policies#understanding-policies).
	Policies GetRelayProxyConfigurationPolicyArrayInput `pulumi:"policies"`
}

A collection of arguments for invoking getRelayProxyConfiguration.

func (LookupRelayProxyConfigurationOutputArgs) ElementType

type LookupRelayProxyConfigurationResult

type LookupRelayProxyConfigurationResult struct {
	// The last 4 characters of the Relay Proxy configuration's unique key.
	DisplayKey string `pulumi:"displayKey"`
	Id         string `pulumi:"id"`
	// The human-readable name for your Relay Proxy configuration.
	Name string `pulumi:"name"`
	// The Relay Proxy configuration's rule policy block. This determines what content the Relay Proxy receives. To learn more, read [Understanding policies](https://docs.launchdarkly.com/home/members/role-policies#understanding-policies).
	Policies []GetRelayProxyConfigurationPolicy `pulumi:"policies"`
}

A collection of values returned by getRelayProxyConfiguration.

func LookupRelayProxyConfiguration

## Example Usage

```go 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.NewRelayProxyConfiguration(ctx, "example", &launchdarkly.RelayProxyConfigurationArgs{
			Policies: launchdarkly.RelayProxyConfigurationPolicyArray{
				&launchdarkly.RelayProxyConfigurationPolicyArgs{
					Actions: pulumi.StringArray{
						pulumi.String("*"),
					},
					Effect: pulumi.String("allow"),
					Resources: pulumi.StringArray{
						pulumi.String("proj/*:env/*"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRelayProxyConfigurationResultOutput

type LookupRelayProxyConfigurationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRelayProxyConfiguration.

func (LookupRelayProxyConfigurationResultOutput) DisplayKey

The last 4 characters of the Relay Proxy configuration's unique key.

func (LookupRelayProxyConfigurationResultOutput) ElementType

func (LookupRelayProxyConfigurationResultOutput) Id

func (LookupRelayProxyConfigurationResultOutput) Name

The human-readable name for your Relay Proxy configuration.

func (LookupRelayProxyConfigurationResultOutput) Policies

The Relay Proxy configuration's rule policy block. This determines what content the Relay Proxy receives. To learn more, read [Understanding policies](https://docs.launchdarkly.com/home/members/role-policies#understanding-policies).

func (LookupRelayProxyConfigurationResultOutput) ToLookupRelayProxyConfigurationResultOutput

func (o LookupRelayProxyConfigurationResultOutput) ToLookupRelayProxyConfigurationResultOutput() LookupRelayProxyConfigurationResultOutput

func (LookupRelayProxyConfigurationResultOutput) ToLookupRelayProxyConfigurationResultOutputWithContext

func (o LookupRelayProxyConfigurationResultOutput) ToLookupRelayProxyConfigurationResultOutputWithContext(ctx context.Context) LookupRelayProxyConfigurationResultOutput

type LookupSegmentArgs

type LookupSegmentArgs struct {
	// The description of the segment's purpose.
	Description *string `pulumi:"description"`
	// The segment's environment key.
	EnvKey string `pulumi:"envKey"`
	// List of user keys excluded from the segment.
	Excludeds []string `pulumi:"excludeds"`
	// List of user keys included in the segment.
	Includeds []string `pulumi:"includeds"`
	// The unique key that references the segment.
	Key string `pulumi:"key"`
	// The segment's project key.
	ProjectKey string `pulumi:"projectKey"`
	// List of nested custom rule blocks to apply to the segment. To learn more, read Nested Rules Blocks.
	Rules []GetSegmentRule `pulumi:"rules"`
	// Set of tags for the segment.
	Tags []string `pulumi:"tags"`
}

A collection of arguments for invoking getSegment.

type LookupSegmentOutputArgs

type LookupSegmentOutputArgs struct {
	// The description of the segment's purpose.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The segment's environment key.
	EnvKey pulumi.StringInput `pulumi:"envKey"`
	// List of user keys excluded from the segment.
	Excludeds pulumi.StringArrayInput `pulumi:"excludeds"`
	// List of user keys included in the segment.
	Includeds pulumi.StringArrayInput `pulumi:"includeds"`
	// The unique key that references the segment.
	Key pulumi.StringInput `pulumi:"key"`
	// The segment's project key.
	ProjectKey pulumi.StringInput `pulumi:"projectKey"`
	// List of nested custom rule blocks to apply to the segment. To learn more, read Nested Rules Blocks.
	Rules GetSegmentRuleArrayInput `pulumi:"rules"`
	// Set of tags for the segment.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking getSegment.

func (LookupSegmentOutputArgs) ElementType

func (LookupSegmentOutputArgs) ElementType() reflect.Type

type LookupSegmentResult

type LookupSegmentResult struct {
	// The segment's creation date represented as a UNIX epoch timestamp.
	CreationDate int `pulumi:"creationDate"`
	// The description of the segment's purpose.
	Description *string `pulumi:"description"`
	EnvKey      string  `pulumi:"envKey"`
	// List of user keys excluded from the segment.
	Excludeds []string `pulumi:"excludeds"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// List of user keys included in the segment.
	Includeds []string `pulumi:"includeds"`
	Key       string   `pulumi:"key"`
	// The human-friendly name for the segment.
	Name       string `pulumi:"name"`
	ProjectKey string `pulumi:"projectKey"`
	// List of nested custom rule blocks to apply to the segment. To learn more, read Nested Rules Blocks.
	Rules []GetSegmentRule `pulumi:"rules"`
	// Set of tags for the segment.
	Tags []string `pulumi:"tags"`
}

A collection of values returned by getSegment.

func LookupSegment

func LookupSegment(ctx *pulumi.Context, args *LookupSegmentArgs, opts ...pulumi.InvokeOption) (*LookupSegmentResult, error)

Provides a LaunchDarkly segment data source.

This data source allows you to retrieve segment information from your LaunchDarkly organization.

## Example Usage

```go 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.LookupSegment(ctx, &launchdarkly.LookupSegmentArgs{
			EnvKey:     "example-env",
			Key:        "example-segment",
			ProjectKey: "example-project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupSegmentResultOutput

type LookupSegmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSegment.

func (LookupSegmentResultOutput) CreationDate

func (o LookupSegmentResultOutput) CreationDate() pulumi.IntOutput

The segment's creation date represented as a UNIX epoch timestamp.

func (LookupSegmentResultOutput) Description

The description of the segment's purpose.

func (LookupSegmentResultOutput) ElementType

func (LookupSegmentResultOutput) ElementType() reflect.Type

func (LookupSegmentResultOutput) EnvKey

func (LookupSegmentResultOutput) Excludeds

List of user keys excluded from the segment.

func (LookupSegmentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupSegmentResultOutput) Includeds

List of user keys included in the segment.

func (LookupSegmentResultOutput) Key

func (LookupSegmentResultOutput) Name

The human-friendly name for the segment.

func (LookupSegmentResultOutput) ProjectKey

func (LookupSegmentResultOutput) Rules

List of nested custom rule blocks to apply to the segment. To learn more, read Nested Rules Blocks.

func (LookupSegmentResultOutput) Tags

Set of tags for the segment.

func (LookupSegmentResultOutput) ToLookupSegmentResultOutput

func (o LookupSegmentResultOutput) ToLookupSegmentResultOutput() LookupSegmentResultOutput

func (LookupSegmentResultOutput) ToLookupSegmentResultOutputWithContext

func (o LookupSegmentResultOutput) ToLookupSegmentResultOutputWithContext(ctx context.Context) LookupSegmentResultOutput

type LookupTeamArgs

type LookupTeamArgs struct {
	// The list of the keys of the custom roles that you have assigned to the team.
	CustomRoleKeys []string `pulumi:"customRoleKeys"`
	// The team description.
	Description *string `pulumi:"description"`
	// The team key.
	Key string `pulumi:"key"`
	// Human readable name for the team.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getTeam.

type LookupTeamMemberArgs

type LookupTeamMemberArgs struct {
	// The unique email address associated with the team member.
	Email string `pulumi:"email"`
	// The 24 character alphanumeric ID of the team member.
	Id *string `pulumi:"id"`
}

A collection of arguments for invoking getTeamMember.

type LookupTeamMemberOutputArgs

type LookupTeamMemberOutputArgs struct {
	// The unique email address associated with the team member.
	Email pulumi.StringInput `pulumi:"email"`
	// The 24 character alphanumeric ID of the team member.
	Id pulumi.StringPtrInput `pulumi:"id"`
}

A collection of arguments for invoking getTeamMember.

func (LookupTeamMemberOutputArgs) ElementType

func (LookupTeamMemberOutputArgs) ElementType() reflect.Type

type LookupTeamMemberResult

type LookupTeamMemberResult struct {
	CustomRoles []string `pulumi:"customRoles"`
	Email       string   `pulumi:"email"`
	// The team member's given name.
	FirstName string `pulumi:"firstName"`
	// The 24 character alphanumeric ID of the team member.
	Id string `pulumi:"id"`
	// The team member's family name.
	LastName string `pulumi:"lastName"`
	// The role associated with team member. Possible roles are `owner`, `reader`, `writer`, or `admin`.
	Role string `pulumi:"role"`
}

A collection of values returned by getTeamMember.

func LookupTeamMember

func LookupTeamMember(ctx *pulumi.Context, args *LookupTeamMemberArgs, opts ...pulumi.InvokeOption) (*LookupTeamMemberResult, error)

Provides a LaunchDarkly team member data source.

This data source allows you to retrieve team member information from your LaunchDarkly organization.

## Example Usage

```go 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.LookupTeamMember(ctx, &launchdarkly.LookupTeamMemberArgs{
			Email: "example@example.com",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTeamMemberResultOutput

type LookupTeamMemberResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTeamMember.

func (LookupTeamMemberResultOutput) CustomRoles

func (LookupTeamMemberResultOutput) ElementType

func (LookupTeamMemberResultOutput) Email

func (LookupTeamMemberResultOutput) FirstName

The team member's given name.

func (LookupTeamMemberResultOutput) Id

The 24 character alphanumeric ID of the team member.

func (LookupTeamMemberResultOutput) LastName

The team member's family name.

func (LookupTeamMemberResultOutput) Role

The role associated with team member. Possible roles are `owner`, `reader`, `writer`, or `admin`.

func (LookupTeamMemberResultOutput) ToLookupTeamMemberResultOutput

func (o LookupTeamMemberResultOutput) ToLookupTeamMemberResultOutput() LookupTeamMemberResultOutput

func (LookupTeamMemberResultOutput) ToLookupTeamMemberResultOutputWithContext

func (o LookupTeamMemberResultOutput) ToLookupTeamMemberResultOutputWithContext(ctx context.Context) LookupTeamMemberResultOutput

type LookupTeamOutputArgs

type LookupTeamOutputArgs struct {
	// The list of the keys of the custom roles that you have assigned to the team.
	CustomRoleKeys pulumi.StringArrayInput `pulumi:"customRoleKeys"`
	// The team description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The team key.
	Key pulumi.StringInput `pulumi:"key"`
	// Human readable name for the team.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getTeam.

func (LookupTeamOutputArgs) ElementType

func (LookupTeamOutputArgs) ElementType() reflect.Type

type LookupTeamResult

type LookupTeamResult struct {
	// The list of the keys of the custom roles that you have assigned to the team.
	CustomRoleKeys []string `pulumi:"customRoleKeys"`
	// The team description.
	Description *string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id  string `pulumi:"id"`
	Key string `pulumi:"key"`
	// The list of team maintainers as [team member objects](https://www.terraform.io/docs/providers/launchdarkly/d/team_member.html).
	Maintainers []GetTeamMaintainer `pulumi:"maintainers"`
	// Human readable name for the team.
	Name *string `pulumi:"name"`
	// The list of keys of the projects that the team has any write access to.
	ProjectKeys []string `pulumi:"projectKeys"`
}

A collection of values returned by getTeam.

func LookupTeam

func LookupTeam(ctx *pulumi.Context, args *LookupTeamArgs, opts ...pulumi.InvokeOption) (*LookupTeamResult, error)

Provides a LaunchDarkly team data source.

This data source allows you to retrieve team information from your LaunchDarkly organization.

> **Note:** Teams are available to customers on an Enterprise LaunchDarkly plan. To learn more, read about our pricing. To upgrade your plan, [contact LaunchDarkly Sales](https://launchdarkly.com/contact-sales/). ## Example Usage

```go 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.LookupTeam(ctx, &launchdarkly.LookupTeamArgs{
			Key: "platform_team",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupTeamResultOutput

type LookupTeamResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTeam.

func (LookupTeamResultOutput) CustomRoleKeys

func (o LookupTeamResultOutput) CustomRoleKeys() pulumi.StringArrayOutput

The list of the keys of the custom roles that you have assigned to the team.

func (LookupTeamResultOutput) Description

The team description.

func (LookupTeamResultOutput) ElementType

func (LookupTeamResultOutput) ElementType() reflect.Type

func (LookupTeamResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTeamResultOutput) Key

func (LookupTeamResultOutput) Maintainers

The list of team maintainers as [team member objects](https://www.terraform.io/docs/providers/launchdarkly/d/team_member.html).

func (LookupTeamResultOutput) Name

Human readable name for the team.

func (LookupTeamResultOutput) ProjectKeys

The list of keys of the projects that the team has any write access to.

func (LookupTeamResultOutput) ToLookupTeamResultOutput

func (o LookupTeamResultOutput) ToLookupTeamResultOutput() LookupTeamResultOutput

func (LookupTeamResultOutput) ToLookupTeamResultOutputWithContext

func (o LookupTeamResultOutput) ToLookupTeamResultOutputWithContext(ctx context.Context) LookupTeamResultOutput

type LookupWebhookArgs

type LookupWebhookArgs struct {
	// The unique webhook ID.
	Id string `pulumi:"id"`
	// The webhook's human-readable name.
	Name *string `pulumi:"name"`
	// The secret used to sign the webhook.
	Secret *string `pulumi:"secret"`
	// List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read [Adding a policy filter](https://docs.launchdarkly.com/integrations/webhooks#adding-a-policy-filter). To learn more, read Policy Statement Blocks.
	Statements []GetWebhookStatement `pulumi:"statements"`
	// Set of tags associated with the webhook.
	Tags []string `pulumi:"tags"`
}

A collection of arguments for invoking getWebhook.

type LookupWebhookOutputArgs

type LookupWebhookOutputArgs struct {
	// The unique webhook ID.
	Id pulumi.StringInput `pulumi:"id"`
	// The webhook's human-readable name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The secret used to sign the webhook.
	Secret pulumi.StringPtrInput `pulumi:"secret"`
	// List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read [Adding a policy filter](https://docs.launchdarkly.com/integrations/webhooks#adding-a-policy-filter). To learn more, read Policy Statement Blocks.
	Statements GetWebhookStatementArrayInput `pulumi:"statements"`
	// Set of tags associated with the webhook.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

A collection of arguments for invoking getWebhook.

func (LookupWebhookOutputArgs) ElementType

func (LookupWebhookOutputArgs) ElementType() reflect.Type

type LookupWebhookResult

type LookupWebhookResult struct {
	Id string `pulumi:"id"`
	// The webhook's human-readable name.
	Name *string `pulumi:"name"`
	// Whether the webhook is enabled.
	On bool `pulumi:"on"`
	// The secret used to sign the webhook.
	Secret *string `pulumi:"secret"`
	// List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read [Adding a policy filter](https://docs.launchdarkly.com/integrations/webhooks#adding-a-policy-filter). To learn more, read Policy Statement Blocks.
	Statements []GetWebhookStatement `pulumi:"statements"`
	// Set of tags associated with the webhook.
	Tags []string `pulumi:"tags"`
	// The URL of the remote webhook.
	Url string `pulumi:"url"`
}

A collection of values returned by getWebhook.

func LookupWebhook

func LookupWebhook(ctx *pulumi.Context, args *LookupWebhookArgs, opts ...pulumi.InvokeOption) (*LookupWebhookResult, error)

Provides a LaunchDarkly webhook data source.

This data source allows you to retrieve webhook information from your LaunchDarkly organization.

## Example Usage

```go 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
	})
}

```

type LookupWebhookResultOutput

type LookupWebhookResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getWebhook.

func (LookupWebhookResultOutput) ElementType

func (LookupWebhookResultOutput) ElementType() reflect.Type

func (LookupWebhookResultOutput) Id

func (LookupWebhookResultOutput) Name

The webhook's human-readable name.

func (LookupWebhookResultOutput) On

Whether the webhook is enabled.

func (LookupWebhookResultOutput) Secret

The secret used to sign the webhook.

func (LookupWebhookResultOutput) Statements

List of policy statement blocks used to filter webhook events. For more information on webhook policy filters read [Adding a policy filter](https://docs.launchdarkly.com/integrations/webhooks#adding-a-policy-filter). To learn more, read Policy Statement Blocks.

func (LookupWebhookResultOutput) Tags

Set of tags associated with the webhook.

func (LookupWebhookResultOutput) ToLookupWebhookResultOutput

func (o LookupWebhookResultOutput) ToLookupWebhookResultOutput() LookupWebhookResultOutput

func (LookupWebhookResultOutput) ToLookupWebhookResultOutputWithContext

func (o LookupWebhookResultOutput) ToLookupWebhookResultOutputWithContext(ctx context.Context) LookupWebhookResultOutput

func (LookupWebhookResultOutput) Url

The URL of the remote webhook.

type Metric

type Metric struct {
	pulumi.CustomResourceState

	// The description of the metric's purpose.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The event key to watch for `custom` metrics.
	EventKey pulumi.StringPtrOutput `pulumi:"eventKey"`
	// Whether the metric is active
	IsActive pulumi.BoolPtrOutput `pulumi:"isActive"`
	// Whether the metric is numeric
	IsNumeric pulumi.BoolPtrOutput `pulumi:"isNumeric"`
	// The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringOutput `pulumi:"key"`
	// The metric type. Available choices are `click`, `custom`, and `pageview`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The LaunchDarkly ID of the user who will maintain the metric. If not set, the API will automatically apply the member
	// associated with your Terraform API key or the most recently-set maintainer
	MaintainerId pulumi.StringOutput `pulumi:"maintainerId"`
	// The human-friendly name for the metric.
	Name pulumi.StringOutput `pulumi:"name"`
	// The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringOutput `pulumi:"projectKey"`
	// The CSS selector for `click` metrics.
	Selector pulumi.StringPtrOutput `pulumi:"selector"`
	// The success criteria for numeric `custom` metrics.
	SuccessCriteria pulumi.StringPtrOutput `pulumi:"successCriteria"`
	// Set of tags for the metric.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The unit for numeric `custom` metrics.
	Unit pulumi.StringPtrOutput `pulumi:"unit"`
	// A block determining which URLs the metric watches. To learn more, read Nested Urls Blocks.
	Urls MetricUrlArrayOutput `pulumi:"urls"`
}

Provides a LaunchDarkly metric resource.

This resource allows you to create and manage metrics within your LaunchDarkly organization.

To learn more about metrics and experimentation, read [Experimentation Documentation](https://docs.launchdarkly.com/home/experimentation).

## Example Usage

```go 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.NewMetric(ctx, "example", &launchdarkly.MetricArgs{
			ProjectKey:  pulumi.Any(launchdarkly_project.Example.Key),
			Key:         pulumi.String("example-metric"),
			Description: pulumi.String("Metric description."),
			Kind:        pulumi.String("pageview"),
			Tags: pulumi.StringArray{
				pulumi.String("example"),
			},
			Urls: launchdarkly.MetricUrlArray{
				&launchdarkly.MetricUrlArgs{
					Kind:      pulumi.String("substring"),
					Substring: pulumi.String("foo"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

LaunchDarkly metrics can be imported using the metric's ID in the form `project_key/metric_key`, e.g.

```sh

$ pulumi import launchdarkly:index/metric:Metric example example-project/example-metric-key

```

func GetMetric

func GetMetric(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MetricState, opts ...pulumi.ResourceOption) (*Metric, error)

GetMetric gets an existing Metric resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMetric

func NewMetric(ctx *pulumi.Context,
	name string, args *MetricArgs, opts ...pulumi.ResourceOption) (*Metric, error)

NewMetric registers a new resource with the given unique name, arguments, and options.

func (*Metric) ElementType

func (*Metric) ElementType() reflect.Type

func (*Metric) ToMetricOutput

func (i *Metric) ToMetricOutput() MetricOutput

func (*Metric) ToMetricOutputWithContext

func (i *Metric) ToMetricOutputWithContext(ctx context.Context) MetricOutput

type MetricArgs

type MetricArgs struct {
	// The description of the metric's purpose.
	Description pulumi.StringPtrInput
	// The event key to watch for `custom` metrics.
	EventKey pulumi.StringPtrInput
	// Whether the metric is active
	IsActive pulumi.BoolPtrInput
	// Whether the metric is numeric
	IsNumeric pulumi.BoolPtrInput
	// The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringInput
	// The metric type. Available choices are `click`, `custom`, and `pageview`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Kind pulumi.StringInput
	// The LaunchDarkly ID of the user who will maintain the metric. If not set, the API will automatically apply the member
	// associated with your Terraform API key or the most recently-set maintainer
	MaintainerId pulumi.StringPtrInput
	// The human-friendly name for the metric.
	Name pulumi.StringPtrInput
	// The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringInput
	// The CSS selector for `click` metrics.
	Selector pulumi.StringPtrInput
	// The success criteria for numeric `custom` metrics.
	SuccessCriteria pulumi.StringPtrInput
	// Set of tags for the metric.
	Tags pulumi.StringArrayInput
	// The unit for numeric `custom` metrics.
	Unit pulumi.StringPtrInput
	// A block determining which URLs the metric watches. To learn more, read Nested Urls Blocks.
	Urls MetricUrlArrayInput
}

The set of arguments for constructing a Metric resource.

func (MetricArgs) ElementType

func (MetricArgs) ElementType() reflect.Type

type MetricArray

type MetricArray []MetricInput

func (MetricArray) ElementType

func (MetricArray) ElementType() reflect.Type

func (MetricArray) ToMetricArrayOutput

func (i MetricArray) ToMetricArrayOutput() MetricArrayOutput

func (MetricArray) ToMetricArrayOutputWithContext

func (i MetricArray) ToMetricArrayOutputWithContext(ctx context.Context) MetricArrayOutput

type MetricArrayInput

type MetricArrayInput interface {
	pulumi.Input

	ToMetricArrayOutput() MetricArrayOutput
	ToMetricArrayOutputWithContext(context.Context) MetricArrayOutput
}

MetricArrayInput is an input type that accepts MetricArray and MetricArrayOutput values. You can construct a concrete instance of `MetricArrayInput` via:

MetricArray{ MetricArgs{...} }

type MetricArrayOutput

type MetricArrayOutput struct{ *pulumi.OutputState }

func (MetricArrayOutput) ElementType

func (MetricArrayOutput) ElementType() reflect.Type

func (MetricArrayOutput) Index

func (MetricArrayOutput) ToMetricArrayOutput

func (o MetricArrayOutput) ToMetricArrayOutput() MetricArrayOutput

func (MetricArrayOutput) ToMetricArrayOutputWithContext

func (o MetricArrayOutput) ToMetricArrayOutputWithContext(ctx context.Context) MetricArrayOutput

type MetricInput

type MetricInput interface {
	pulumi.Input

	ToMetricOutput() MetricOutput
	ToMetricOutputWithContext(ctx context.Context) MetricOutput
}

type MetricMap

type MetricMap map[string]MetricInput

func (MetricMap) ElementType

func (MetricMap) ElementType() reflect.Type

func (MetricMap) ToMetricMapOutput

func (i MetricMap) ToMetricMapOutput() MetricMapOutput

func (MetricMap) ToMetricMapOutputWithContext

func (i MetricMap) ToMetricMapOutputWithContext(ctx context.Context) MetricMapOutput

type MetricMapInput

type MetricMapInput interface {
	pulumi.Input

	ToMetricMapOutput() MetricMapOutput
	ToMetricMapOutputWithContext(context.Context) MetricMapOutput
}

MetricMapInput is an input type that accepts MetricMap and MetricMapOutput values. You can construct a concrete instance of `MetricMapInput` via:

MetricMap{ "key": MetricArgs{...} }

type MetricMapOutput

type MetricMapOutput struct{ *pulumi.OutputState }

func (MetricMapOutput) ElementType

func (MetricMapOutput) ElementType() reflect.Type

func (MetricMapOutput) MapIndex

func (MetricMapOutput) ToMetricMapOutput

func (o MetricMapOutput) ToMetricMapOutput() MetricMapOutput

func (MetricMapOutput) ToMetricMapOutputWithContext

func (o MetricMapOutput) ToMetricMapOutputWithContext(ctx context.Context) MetricMapOutput

type MetricOutput

type MetricOutput struct{ *pulumi.OutputState }

func (MetricOutput) Description

func (o MetricOutput) Description() pulumi.StringPtrOutput

The description of the metric's purpose.

func (MetricOutput) ElementType

func (MetricOutput) ElementType() reflect.Type

func (MetricOutput) EventKey

func (o MetricOutput) EventKey() pulumi.StringPtrOutput

The event key to watch for `custom` metrics.

func (MetricOutput) IsActive

func (o MetricOutput) IsActive() pulumi.BoolPtrOutput

Whether the metric is active

func (MetricOutput) IsNumeric

func (o MetricOutput) IsNumeric() pulumi.BoolPtrOutput

Whether the metric is numeric

func (MetricOutput) Key

The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (MetricOutput) Kind

func (o MetricOutput) Kind() pulumi.StringOutput

The metric type. Available choices are `click`, `custom`, and `pageview`. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (MetricOutput) MaintainerId

func (o MetricOutput) MaintainerId() pulumi.StringOutput

The LaunchDarkly ID of the user who will maintain the metric. If not set, the API will automatically apply the member associated with your Terraform API key or the most recently-set maintainer

func (MetricOutput) Name

func (o MetricOutput) Name() pulumi.StringOutput

The human-friendly name for the metric.

func (MetricOutput) ProjectKey

func (o MetricOutput) ProjectKey() pulumi.StringOutput

The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (MetricOutput) Selector

func (o MetricOutput) Selector() pulumi.StringPtrOutput

The CSS selector for `click` metrics.

func (MetricOutput) SuccessCriteria

func (o MetricOutput) SuccessCriteria() pulumi.StringPtrOutput

The success criteria for numeric `custom` metrics.

func (MetricOutput) Tags

Set of tags for the metric.

func (MetricOutput) ToMetricOutput

func (o MetricOutput) ToMetricOutput() MetricOutput

func (MetricOutput) ToMetricOutputWithContext

func (o MetricOutput) ToMetricOutputWithContext(ctx context.Context) MetricOutput

func (MetricOutput) Unit

The unit for numeric `custom` metrics.

func (MetricOutput) Urls

A block determining which URLs the metric watches. To learn more, read Nested Urls Blocks.

type MetricState

type MetricState struct {
	// The description of the metric's purpose.
	Description pulumi.StringPtrInput
	// The event key to watch for `custom` metrics.
	EventKey pulumi.StringPtrInput
	// Whether the metric is active
	IsActive pulumi.BoolPtrInput
	// Whether the metric is numeric
	IsNumeric pulumi.BoolPtrInput
	// The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringPtrInput
	// The metric type. Available choices are `click`, `custom`, and `pageview`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Kind pulumi.StringPtrInput
	// The LaunchDarkly ID of the user who will maintain the metric. If not set, the API will automatically apply the member
	// associated with your Terraform API key or the most recently-set maintainer
	MaintainerId pulumi.StringPtrInput
	// The human-friendly name for the metric.
	Name pulumi.StringPtrInput
	// The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringPtrInput
	// The CSS selector for `click` metrics.
	Selector pulumi.StringPtrInput
	// The success criteria for numeric `custom` metrics.
	SuccessCriteria pulumi.StringPtrInput
	// Set of tags for the metric.
	Tags pulumi.StringArrayInput
	// The unit for numeric `custom` metrics.
	Unit pulumi.StringPtrInput
	// A block determining which URLs the metric watches. To learn more, read Nested Urls Blocks.
	Urls MetricUrlArrayInput
}

func (MetricState) ElementType

func (MetricState) ElementType() reflect.Type

type MetricUrl

type MetricUrl struct {
	// The URL type. Available choices are `exact`, `canonical`, `substring` and `regex`.
	Kind string `pulumi:"kind"`
	// The regex pattern to match by.
	Pattern *string `pulumi:"pattern"`
	// The URL substring to match by.
	Substring *string `pulumi:"substring"`
	// The exact or canonical URL.
	Url *string `pulumi:"url"`
}

type MetricUrlArgs

type MetricUrlArgs struct {
	// The URL type. Available choices are `exact`, `canonical`, `substring` and `regex`.
	Kind pulumi.StringInput `pulumi:"kind"`
	// The regex pattern to match by.
	Pattern pulumi.StringPtrInput `pulumi:"pattern"`
	// The URL substring to match by.
	Substring pulumi.StringPtrInput `pulumi:"substring"`
	// The exact or canonical URL.
	Url pulumi.StringPtrInput `pulumi:"url"`
}

func (MetricUrlArgs) ElementType

func (MetricUrlArgs) ElementType() reflect.Type

func (MetricUrlArgs) ToMetricUrlOutput

func (i MetricUrlArgs) ToMetricUrlOutput() MetricUrlOutput

func (MetricUrlArgs) ToMetricUrlOutputWithContext

func (i MetricUrlArgs) ToMetricUrlOutputWithContext(ctx context.Context) MetricUrlOutput

type MetricUrlArray

type MetricUrlArray []MetricUrlInput

func (MetricUrlArray) ElementType

func (MetricUrlArray) ElementType() reflect.Type

func (MetricUrlArray) ToMetricUrlArrayOutput

func (i MetricUrlArray) ToMetricUrlArrayOutput() MetricUrlArrayOutput

func (MetricUrlArray) ToMetricUrlArrayOutputWithContext

func (i MetricUrlArray) ToMetricUrlArrayOutputWithContext(ctx context.Context) MetricUrlArrayOutput

type MetricUrlArrayInput

type MetricUrlArrayInput interface {
	pulumi.Input

	ToMetricUrlArrayOutput() MetricUrlArrayOutput
	ToMetricUrlArrayOutputWithContext(context.Context) MetricUrlArrayOutput
}

MetricUrlArrayInput is an input type that accepts MetricUrlArray and MetricUrlArrayOutput values. You can construct a concrete instance of `MetricUrlArrayInput` via:

MetricUrlArray{ MetricUrlArgs{...} }

type MetricUrlArrayOutput

type MetricUrlArrayOutput struct{ *pulumi.OutputState }

func (MetricUrlArrayOutput) ElementType

func (MetricUrlArrayOutput) ElementType() reflect.Type

func (MetricUrlArrayOutput) Index

func (MetricUrlArrayOutput) ToMetricUrlArrayOutput

func (o MetricUrlArrayOutput) ToMetricUrlArrayOutput() MetricUrlArrayOutput

func (MetricUrlArrayOutput) ToMetricUrlArrayOutputWithContext

func (o MetricUrlArrayOutput) ToMetricUrlArrayOutputWithContext(ctx context.Context) MetricUrlArrayOutput

type MetricUrlInput

type MetricUrlInput interface {
	pulumi.Input

	ToMetricUrlOutput() MetricUrlOutput
	ToMetricUrlOutputWithContext(context.Context) MetricUrlOutput
}

MetricUrlInput is an input type that accepts MetricUrlArgs and MetricUrlOutput values. You can construct a concrete instance of `MetricUrlInput` via:

MetricUrlArgs{...}

type MetricUrlOutput

type MetricUrlOutput struct{ *pulumi.OutputState }

func (MetricUrlOutput) ElementType

func (MetricUrlOutput) ElementType() reflect.Type

func (MetricUrlOutput) Kind

The URL type. Available choices are `exact`, `canonical`, `substring` and `regex`.

func (MetricUrlOutput) Pattern

The regex pattern to match by.

func (MetricUrlOutput) Substring

func (o MetricUrlOutput) Substring() pulumi.StringPtrOutput

The URL substring to match by.

func (MetricUrlOutput) ToMetricUrlOutput

func (o MetricUrlOutput) ToMetricUrlOutput() MetricUrlOutput

func (MetricUrlOutput) ToMetricUrlOutputWithContext

func (o MetricUrlOutput) ToMetricUrlOutputWithContext(ctx context.Context) MetricUrlOutput

func (MetricUrlOutput) Url

The exact or canonical URL.

type Project

type Project struct {
	pulumi.CustomResourceState

	// A block describing which client-side SDKs can use new flags by default. To learn more, read Nested Client Side Availability Block.
	DefaultClientSideAvailabilities ProjectDefaultClientSideAvailabilityArrayOutput `pulumi:"defaultClientSideAvailabilities"`
	// List of nested `environments` blocks describing LaunchDarkly environments that belong to the project
	Environments ProjectEnvironmentArrayOutput `pulumi:"environments"`
	// **Deprecated** (Optional) Whether feature flags created under the project should be available to client-side SDKs by default. Please migrate to `defaultClientSideAvailability` to maintain future compatibility.
	//
	// Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'default_client_side_availability' to maintain future compatability.
	IncludeInSnippet pulumi.BoolOutput `pulumi:"includeInSnippet"`
	// The project's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringOutput `pulumi:"key"`
	// The project's name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project's set of tags.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

Provides a LaunchDarkly project resource.

This resource allows you to create and manage projects within your LaunchDarkly organization.

## Example Usage

```go 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.NewProject(ctx, "example", &launchdarkly.ProjectArgs{
			Environments: launchdarkly.ProjectEnvironmentArray{
				&launchdarkly.ProjectEnvironmentArgs{
					ApprovalSettings: launchdarkly.ProjectEnvironmentApprovalSettingArray{
						&launchdarkly.ProjectEnvironmentApprovalSettingArgs{
							CanApplyDeclinedChanges: pulumi.Bool(false),
							CanReviewOwnRequest:     pulumi.Bool(false),
							MinNumApprovals:         pulumi.Int(3),
							RequiredApprovalTags: pulumi.StringArray{
								pulumi.String("approvals_required"),
							},
						},
					},
					Color: pulumi.String("EEEEEE"),
					Key:   pulumi.String("production"),
					Name:  pulumi.String("Production"),
					Tags: pulumi.StringArray{
						pulumi.String("terraform"),
					},
				},
				&launchdarkly.ProjectEnvironmentArgs{
					Color: pulumi.String("000000"),
					Key:   pulumi.String("staging"),
					Name:  pulumi.String("Staging"),
					Tags: pulumi.StringArray{
						pulumi.String("terraform"),
					},
				},
			},
			Key: pulumi.String("example-project"),
			Tags: pulumi.StringArray{
				pulumi.String("terraform"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

LaunchDarkly projects can be imported using the project's key, e.g.

```sh

$ pulumi import launchdarkly:index/project:Project example example-project

```

**IMPORTANT:** Please note that, regardless of how many `environments` blocks you include on your import, _all_ of the project's environments will be saved to the Terraform state and will update with subsequent applies. This means that any environments not included in your import configuration will be torn down with any subsequent apply. If you wish to manage project properties with Terraform but not nested environments consider using Terraform's [ignore changes](https://www.terraform.io/docs/language/meta-arguments/lifecycle.html#ignore_changes) lifecycle meta-argument; see below for example. resource "launchdarkly_project" "example" { 		lifecycle { 			ignore_changes = [environments] 		} 		name = "testProject" 		key = "%s" 		# environments not included on this configuration will not be affected by subsequent applies 	} **Managing environment resources with Terraform should always be done on the project unless the project is not also managed with Terraform.**

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

NewProject registers a new resource with the given unique name, arguments, and options.

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectArgs

type ProjectArgs struct {
	// A block describing which client-side SDKs can use new flags by default. To learn more, read Nested Client Side Availability Block.
	DefaultClientSideAvailabilities ProjectDefaultClientSideAvailabilityArrayInput
	// List of nested `environments` blocks describing LaunchDarkly environments that belong to the project
	Environments ProjectEnvironmentArrayInput
	// **Deprecated** (Optional) Whether feature flags created under the project should be available to client-side SDKs by default. Please migrate to `defaultClientSideAvailability` to maintain future compatibility.
	//
	// Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'default_client_side_availability' to maintain future compatability.
	IncludeInSnippet pulumi.BoolPtrInput
	// The project's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringInput
	// The project's name.
	Name pulumi.StringPtrInput
	// The project's set of tags.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectDefaultClientSideAvailability

type ProjectDefaultClientSideAvailability struct {
	// Whether feature flags created under the project are available to JavaScript SDKs using the client-side ID by default. Defaults to `false` when not using `defaultClientSideAvailability`.
	UsingEnvironmentId bool `pulumi:"usingEnvironmentId"`
	// Whether feature flags created under the project are available to mobile SDKs, and other non-JavaScript SDKs, using a mobile key by default. Defaults to `true` when not using `defaultClientSideAvailability`.
	UsingMobileKey bool `pulumi:"usingMobileKey"`
}

type ProjectDefaultClientSideAvailabilityArgs

type ProjectDefaultClientSideAvailabilityArgs struct {
	// Whether feature flags created under the project are available to JavaScript SDKs using the client-side ID by default. Defaults to `false` when not using `defaultClientSideAvailability`.
	UsingEnvironmentId pulumi.BoolInput `pulumi:"usingEnvironmentId"`
	// Whether feature flags created under the project are available to mobile SDKs, and other non-JavaScript SDKs, using a mobile key by default. Defaults to `true` when not using `defaultClientSideAvailability`.
	UsingMobileKey pulumi.BoolInput `pulumi:"usingMobileKey"`
}

func (ProjectDefaultClientSideAvailabilityArgs) ElementType

func (ProjectDefaultClientSideAvailabilityArgs) ToProjectDefaultClientSideAvailabilityOutput

func (i ProjectDefaultClientSideAvailabilityArgs) ToProjectDefaultClientSideAvailabilityOutput() ProjectDefaultClientSideAvailabilityOutput

func (ProjectDefaultClientSideAvailabilityArgs) ToProjectDefaultClientSideAvailabilityOutputWithContext

func (i ProjectDefaultClientSideAvailabilityArgs) ToProjectDefaultClientSideAvailabilityOutputWithContext(ctx context.Context) ProjectDefaultClientSideAvailabilityOutput

type ProjectDefaultClientSideAvailabilityArray

type ProjectDefaultClientSideAvailabilityArray []ProjectDefaultClientSideAvailabilityInput

func (ProjectDefaultClientSideAvailabilityArray) ElementType

func (ProjectDefaultClientSideAvailabilityArray) ToProjectDefaultClientSideAvailabilityArrayOutput

func (i ProjectDefaultClientSideAvailabilityArray) ToProjectDefaultClientSideAvailabilityArrayOutput() ProjectDefaultClientSideAvailabilityArrayOutput

func (ProjectDefaultClientSideAvailabilityArray) ToProjectDefaultClientSideAvailabilityArrayOutputWithContext

func (i ProjectDefaultClientSideAvailabilityArray) ToProjectDefaultClientSideAvailabilityArrayOutputWithContext(ctx context.Context) ProjectDefaultClientSideAvailabilityArrayOutput

type ProjectDefaultClientSideAvailabilityArrayInput

type ProjectDefaultClientSideAvailabilityArrayInput interface {
	pulumi.Input

	ToProjectDefaultClientSideAvailabilityArrayOutput() ProjectDefaultClientSideAvailabilityArrayOutput
	ToProjectDefaultClientSideAvailabilityArrayOutputWithContext(context.Context) ProjectDefaultClientSideAvailabilityArrayOutput
}

ProjectDefaultClientSideAvailabilityArrayInput is an input type that accepts ProjectDefaultClientSideAvailabilityArray and ProjectDefaultClientSideAvailabilityArrayOutput values. You can construct a concrete instance of `ProjectDefaultClientSideAvailabilityArrayInput` via:

ProjectDefaultClientSideAvailabilityArray{ ProjectDefaultClientSideAvailabilityArgs{...} }

type ProjectDefaultClientSideAvailabilityArrayOutput

type ProjectDefaultClientSideAvailabilityArrayOutput struct{ *pulumi.OutputState }

func (ProjectDefaultClientSideAvailabilityArrayOutput) ElementType

func (ProjectDefaultClientSideAvailabilityArrayOutput) Index

func (ProjectDefaultClientSideAvailabilityArrayOutput) ToProjectDefaultClientSideAvailabilityArrayOutput

func (o ProjectDefaultClientSideAvailabilityArrayOutput) ToProjectDefaultClientSideAvailabilityArrayOutput() ProjectDefaultClientSideAvailabilityArrayOutput

func (ProjectDefaultClientSideAvailabilityArrayOutput) ToProjectDefaultClientSideAvailabilityArrayOutputWithContext

func (o ProjectDefaultClientSideAvailabilityArrayOutput) ToProjectDefaultClientSideAvailabilityArrayOutputWithContext(ctx context.Context) ProjectDefaultClientSideAvailabilityArrayOutput

type ProjectDefaultClientSideAvailabilityInput

type ProjectDefaultClientSideAvailabilityInput interface {
	pulumi.Input

	ToProjectDefaultClientSideAvailabilityOutput() ProjectDefaultClientSideAvailabilityOutput
	ToProjectDefaultClientSideAvailabilityOutputWithContext(context.Context) ProjectDefaultClientSideAvailabilityOutput
}

ProjectDefaultClientSideAvailabilityInput is an input type that accepts ProjectDefaultClientSideAvailabilityArgs and ProjectDefaultClientSideAvailabilityOutput values. You can construct a concrete instance of `ProjectDefaultClientSideAvailabilityInput` via:

ProjectDefaultClientSideAvailabilityArgs{...}

type ProjectDefaultClientSideAvailabilityOutput

type ProjectDefaultClientSideAvailabilityOutput struct{ *pulumi.OutputState }

func (ProjectDefaultClientSideAvailabilityOutput) ElementType

func (ProjectDefaultClientSideAvailabilityOutput) ToProjectDefaultClientSideAvailabilityOutput

func (o ProjectDefaultClientSideAvailabilityOutput) ToProjectDefaultClientSideAvailabilityOutput() ProjectDefaultClientSideAvailabilityOutput

func (ProjectDefaultClientSideAvailabilityOutput) ToProjectDefaultClientSideAvailabilityOutputWithContext

func (o ProjectDefaultClientSideAvailabilityOutput) ToProjectDefaultClientSideAvailabilityOutputWithContext(ctx context.Context) ProjectDefaultClientSideAvailabilityOutput

func (ProjectDefaultClientSideAvailabilityOutput) UsingEnvironmentId

Whether feature flags created under the project are available to JavaScript SDKs using the client-side ID by default. Defaults to `false` when not using `defaultClientSideAvailability`.

func (ProjectDefaultClientSideAvailabilityOutput) UsingMobileKey

Whether feature flags created under the project are available to mobile SDKs, and other non-JavaScript SDKs, using a mobile key by default. Defaults to `true` when not using `defaultClientSideAvailability`.

type ProjectEnvironment

type ProjectEnvironment struct {
	ApiKey           *string                             `pulumi:"apiKey"`
	ApprovalSettings []ProjectEnvironmentApprovalSetting `pulumi:"approvalSettings"`
	ClientSideId     *string                             `pulumi:"clientSideId"`
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`.
	Color string `pulumi:"color"`
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	ConfirmChanges *bool `pulumi:"confirmChanges"`
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents *bool `pulumi:"defaultTrackEvents"`
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTtl *int `pulumi:"defaultTtl"`
	// The project-unique key for the environment. A change in this field will force the destruction of the existing environment and the creation of a new one.
	Key       string  `pulumi:"key"`
	MobileKey *string `pulumi:"mobileKey"`
	// The name of the environment.
	Name string `pulumi:"name"`
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	RequireComments *bool `pulumi:"requireComments"`
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	SecureMode *bool `pulumi:"secureMode"`
	// Set of tags associated with the environment.
	Tags []string `pulumi:"tags"`
}

type ProjectEnvironmentApprovalSetting

type ProjectEnvironmentApprovalSetting struct {
	// Set to `true` if changes can be applied as long as the `minNumApprovals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.
	CanApplyDeclinedChanges *bool `pulumi:"canApplyDeclinedChanges"`
	// Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.
	CanReviewOwnRequest *bool `pulumi:"canReviewOwnRequest"`
	// The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	MinNumApprovals *int `pulumi:"minNumApprovals"`
	// Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `requiredApprovalTags` is not set and vice versa. Defaults to `false`.
	Required *bool `pulumi:"required"`
	// An array of tags used to specify which flags with those tags require approval. You may only set `requiredApprovalTags` if `required` is not set to `true` and vice versa.
	RequiredApprovalTags []string `pulumi:"requiredApprovalTags"`
}

type ProjectEnvironmentApprovalSettingArgs

type ProjectEnvironmentApprovalSettingArgs struct {
	// Set to `true` if changes can be applied as long as the `minNumApprovals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.
	CanApplyDeclinedChanges pulumi.BoolPtrInput `pulumi:"canApplyDeclinedChanges"`
	// Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.
	CanReviewOwnRequest pulumi.BoolPtrInput `pulumi:"canReviewOwnRequest"`
	// The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	MinNumApprovals pulumi.IntPtrInput `pulumi:"minNumApprovals"`
	// Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `requiredApprovalTags` is not set and vice versa. Defaults to `false`.
	Required pulumi.BoolPtrInput `pulumi:"required"`
	// An array of tags used to specify which flags with those tags require approval. You may only set `requiredApprovalTags` if `required` is not set to `true` and vice versa.
	RequiredApprovalTags pulumi.StringArrayInput `pulumi:"requiredApprovalTags"`
}

func (ProjectEnvironmentApprovalSettingArgs) ElementType

func (ProjectEnvironmentApprovalSettingArgs) ToProjectEnvironmentApprovalSettingOutput

func (i ProjectEnvironmentApprovalSettingArgs) ToProjectEnvironmentApprovalSettingOutput() ProjectEnvironmentApprovalSettingOutput

func (ProjectEnvironmentApprovalSettingArgs) ToProjectEnvironmentApprovalSettingOutputWithContext

func (i ProjectEnvironmentApprovalSettingArgs) ToProjectEnvironmentApprovalSettingOutputWithContext(ctx context.Context) ProjectEnvironmentApprovalSettingOutput

type ProjectEnvironmentApprovalSettingArray

type ProjectEnvironmentApprovalSettingArray []ProjectEnvironmentApprovalSettingInput

func (ProjectEnvironmentApprovalSettingArray) ElementType

func (ProjectEnvironmentApprovalSettingArray) ToProjectEnvironmentApprovalSettingArrayOutput

func (i ProjectEnvironmentApprovalSettingArray) ToProjectEnvironmentApprovalSettingArrayOutput() ProjectEnvironmentApprovalSettingArrayOutput

func (ProjectEnvironmentApprovalSettingArray) ToProjectEnvironmentApprovalSettingArrayOutputWithContext

func (i ProjectEnvironmentApprovalSettingArray) ToProjectEnvironmentApprovalSettingArrayOutputWithContext(ctx context.Context) ProjectEnvironmentApprovalSettingArrayOutput

type ProjectEnvironmentApprovalSettingArrayInput

type ProjectEnvironmentApprovalSettingArrayInput interface {
	pulumi.Input

	ToProjectEnvironmentApprovalSettingArrayOutput() ProjectEnvironmentApprovalSettingArrayOutput
	ToProjectEnvironmentApprovalSettingArrayOutputWithContext(context.Context) ProjectEnvironmentApprovalSettingArrayOutput
}

ProjectEnvironmentApprovalSettingArrayInput is an input type that accepts ProjectEnvironmentApprovalSettingArray and ProjectEnvironmentApprovalSettingArrayOutput values. You can construct a concrete instance of `ProjectEnvironmentApprovalSettingArrayInput` via:

ProjectEnvironmentApprovalSettingArray{ ProjectEnvironmentApprovalSettingArgs{...} }

type ProjectEnvironmentApprovalSettingArrayOutput

type ProjectEnvironmentApprovalSettingArrayOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentApprovalSettingArrayOutput) ElementType

func (ProjectEnvironmentApprovalSettingArrayOutput) Index

func (ProjectEnvironmentApprovalSettingArrayOutput) ToProjectEnvironmentApprovalSettingArrayOutput

func (o ProjectEnvironmentApprovalSettingArrayOutput) ToProjectEnvironmentApprovalSettingArrayOutput() ProjectEnvironmentApprovalSettingArrayOutput

func (ProjectEnvironmentApprovalSettingArrayOutput) ToProjectEnvironmentApprovalSettingArrayOutputWithContext

func (o ProjectEnvironmentApprovalSettingArrayOutput) ToProjectEnvironmentApprovalSettingArrayOutputWithContext(ctx context.Context) ProjectEnvironmentApprovalSettingArrayOutput

type ProjectEnvironmentApprovalSettingInput

type ProjectEnvironmentApprovalSettingInput interface {
	pulumi.Input

	ToProjectEnvironmentApprovalSettingOutput() ProjectEnvironmentApprovalSettingOutput
	ToProjectEnvironmentApprovalSettingOutputWithContext(context.Context) ProjectEnvironmentApprovalSettingOutput
}

ProjectEnvironmentApprovalSettingInput is an input type that accepts ProjectEnvironmentApprovalSettingArgs and ProjectEnvironmentApprovalSettingOutput values. You can construct a concrete instance of `ProjectEnvironmentApprovalSettingInput` via:

ProjectEnvironmentApprovalSettingArgs{...}

type ProjectEnvironmentApprovalSettingOutput

type ProjectEnvironmentApprovalSettingOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentApprovalSettingOutput) CanApplyDeclinedChanges

func (o ProjectEnvironmentApprovalSettingOutput) CanApplyDeclinedChanges() pulumi.BoolPtrOutput

Set to `true` if changes can be applied as long as the `minNumApprovals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.

func (ProjectEnvironmentApprovalSettingOutput) CanReviewOwnRequest

Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.

func (ProjectEnvironmentApprovalSettingOutput) ElementType

func (ProjectEnvironmentApprovalSettingOutput) MinNumApprovals

The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.

func (ProjectEnvironmentApprovalSettingOutput) Required

Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `requiredApprovalTags` is not set and vice versa. Defaults to `false`.

func (ProjectEnvironmentApprovalSettingOutput) RequiredApprovalTags

An array of tags used to specify which flags with those tags require approval. You may only set `requiredApprovalTags` if `required` is not set to `true` and vice versa.

func (ProjectEnvironmentApprovalSettingOutput) ToProjectEnvironmentApprovalSettingOutput

func (o ProjectEnvironmentApprovalSettingOutput) ToProjectEnvironmentApprovalSettingOutput() ProjectEnvironmentApprovalSettingOutput

func (ProjectEnvironmentApprovalSettingOutput) ToProjectEnvironmentApprovalSettingOutputWithContext

func (o ProjectEnvironmentApprovalSettingOutput) ToProjectEnvironmentApprovalSettingOutputWithContext(ctx context.Context) ProjectEnvironmentApprovalSettingOutput

type ProjectEnvironmentArgs

type ProjectEnvironmentArgs struct {
	ApiKey           pulumi.StringPtrInput                       `pulumi:"apiKey"`
	ApprovalSettings ProjectEnvironmentApprovalSettingArrayInput `pulumi:"approvalSettings"`
	ClientSideId     pulumi.StringPtrInput                       `pulumi:"clientSideId"`
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`.
	Color pulumi.StringInput `pulumi:"color"`
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	ConfirmChanges pulumi.BoolPtrInput `pulumi:"confirmChanges"`
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents pulumi.BoolPtrInput `pulumi:"defaultTrackEvents"`
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTtl pulumi.IntPtrInput `pulumi:"defaultTtl"`
	// The project-unique key for the environment. A change in this field will force the destruction of the existing environment and the creation of a new one.
	Key       pulumi.StringInput    `pulumi:"key"`
	MobileKey pulumi.StringPtrInput `pulumi:"mobileKey"`
	// The name of the environment.
	Name pulumi.StringInput `pulumi:"name"`
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	RequireComments pulumi.BoolPtrInput `pulumi:"requireComments"`
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	SecureMode pulumi.BoolPtrInput `pulumi:"secureMode"`
	// Set of tags associated with the environment.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

func (ProjectEnvironmentArgs) ElementType

func (ProjectEnvironmentArgs) ElementType() reflect.Type

func (ProjectEnvironmentArgs) ToProjectEnvironmentOutput

func (i ProjectEnvironmentArgs) ToProjectEnvironmentOutput() ProjectEnvironmentOutput

func (ProjectEnvironmentArgs) ToProjectEnvironmentOutputWithContext

func (i ProjectEnvironmentArgs) ToProjectEnvironmentOutputWithContext(ctx context.Context) ProjectEnvironmentOutput

type ProjectEnvironmentArray

type ProjectEnvironmentArray []ProjectEnvironmentInput

func (ProjectEnvironmentArray) ElementType

func (ProjectEnvironmentArray) ElementType() reflect.Type

func (ProjectEnvironmentArray) ToProjectEnvironmentArrayOutput

func (i ProjectEnvironmentArray) ToProjectEnvironmentArrayOutput() ProjectEnvironmentArrayOutput

func (ProjectEnvironmentArray) ToProjectEnvironmentArrayOutputWithContext

func (i ProjectEnvironmentArray) ToProjectEnvironmentArrayOutputWithContext(ctx context.Context) ProjectEnvironmentArrayOutput

type ProjectEnvironmentArrayInput

type ProjectEnvironmentArrayInput interface {
	pulumi.Input

	ToProjectEnvironmentArrayOutput() ProjectEnvironmentArrayOutput
	ToProjectEnvironmentArrayOutputWithContext(context.Context) ProjectEnvironmentArrayOutput
}

ProjectEnvironmentArrayInput is an input type that accepts ProjectEnvironmentArray and ProjectEnvironmentArrayOutput values. You can construct a concrete instance of `ProjectEnvironmentArrayInput` via:

ProjectEnvironmentArray{ ProjectEnvironmentArgs{...} }

type ProjectEnvironmentArrayOutput

type ProjectEnvironmentArrayOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentArrayOutput) ElementType

func (ProjectEnvironmentArrayOutput) Index

func (ProjectEnvironmentArrayOutput) ToProjectEnvironmentArrayOutput

func (o ProjectEnvironmentArrayOutput) ToProjectEnvironmentArrayOutput() ProjectEnvironmentArrayOutput

func (ProjectEnvironmentArrayOutput) ToProjectEnvironmentArrayOutputWithContext

func (o ProjectEnvironmentArrayOutput) ToProjectEnvironmentArrayOutputWithContext(ctx context.Context) ProjectEnvironmentArrayOutput

type ProjectEnvironmentInput

type ProjectEnvironmentInput interface {
	pulumi.Input

	ToProjectEnvironmentOutput() ProjectEnvironmentOutput
	ToProjectEnvironmentOutputWithContext(context.Context) ProjectEnvironmentOutput
}

ProjectEnvironmentInput is an input type that accepts ProjectEnvironmentArgs and ProjectEnvironmentOutput values. You can construct a concrete instance of `ProjectEnvironmentInput` via:

ProjectEnvironmentArgs{...}

type ProjectEnvironmentOutput

type ProjectEnvironmentOutput struct{ *pulumi.OutputState }

func (ProjectEnvironmentOutput) ApiKey

func (ProjectEnvironmentOutput) ApprovalSettings

func (ProjectEnvironmentOutput) ClientSideId

func (ProjectEnvironmentOutput) Color

The color swatch as an RGB hex value with no leading `#`. For example: `000000`.

func (ProjectEnvironmentOutput) ConfirmChanges

func (o ProjectEnvironmentOutput) ConfirmChanges() pulumi.BoolPtrOutput

Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.

func (ProjectEnvironmentOutput) DefaultTrackEvents

func (o ProjectEnvironmentOutput) DefaultTrackEvents() pulumi.BoolPtrOutput

Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).

func (ProjectEnvironmentOutput) DefaultTtl

The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).

func (ProjectEnvironmentOutput) ElementType

func (ProjectEnvironmentOutput) ElementType() reflect.Type

func (ProjectEnvironmentOutput) Key

The project-unique key for the environment. A change in this field will force the destruction of the existing environment and the creation of a new one.

func (ProjectEnvironmentOutput) MobileKey

func (ProjectEnvironmentOutput) Name

The name of the environment.

func (ProjectEnvironmentOutput) RequireComments

func (o ProjectEnvironmentOutput) RequireComments() pulumi.BoolPtrOutput

Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.

func (ProjectEnvironmentOutput) SecureMode

Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.

func (ProjectEnvironmentOutput) Tags

Set of tags associated with the environment.

func (ProjectEnvironmentOutput) ToProjectEnvironmentOutput

func (o ProjectEnvironmentOutput) ToProjectEnvironmentOutput() ProjectEnvironmentOutput

func (ProjectEnvironmentOutput) ToProjectEnvironmentOutputWithContext

func (o ProjectEnvironmentOutput) ToProjectEnvironmentOutputWithContext(ctx context.Context) ProjectEnvironmentOutput

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) DefaultClientSideAvailabilities

func (o ProjectOutput) DefaultClientSideAvailabilities() ProjectDefaultClientSideAvailabilityArrayOutput

A block describing which client-side SDKs can use new flags by default. To learn more, read Nested Client Side Availability Block.

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) Environments

List of nested `environments` blocks describing LaunchDarkly environments that belong to the project

func (ProjectOutput) IncludeInSnippet deprecated

func (o ProjectOutput) IncludeInSnippet() pulumi.BoolOutput

**Deprecated** (Optional) Whether feature flags created under the project should be available to client-side SDKs by default. Please migrate to `defaultClientSideAvailability` to maintain future compatibility.

Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'default_client_side_availability' to maintain future compatability.

func (ProjectOutput) Key

The project's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (ProjectOutput) Name

The project's name.

func (ProjectOutput) Tags

The project's set of tags.

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectState

type ProjectState struct {
	// A block describing which client-side SDKs can use new flags by default. To learn more, read Nested Client Side Availability Block.
	DefaultClientSideAvailabilities ProjectDefaultClientSideAvailabilityArrayInput
	// List of nested `environments` blocks describing LaunchDarkly environments that belong to the project
	Environments ProjectEnvironmentArrayInput
	// **Deprecated** (Optional) Whether feature flags created under the project should be available to client-side SDKs by default. Please migrate to `defaultClientSideAvailability` to maintain future compatibility.
	//
	// Deprecated: 'include_in_snippet' is now deprecated. Please migrate to 'default_client_side_availability' to maintain future compatability.
	IncludeInSnippet pulumi.BoolPtrInput
	// The project's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringPtrInput
	// The project's name.
	Name pulumi.StringPtrInput
	// The project's set of tags.
	Tags pulumi.StringArrayInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The LaunchDarkly API key
	AccessToken pulumi.StringPtrOutput `pulumi:"accessToken"`
	// The LaunchDarkly host address, e.g. https://app.launchdarkly.com
	ApiHost pulumi.StringPtrOutput `pulumi:"apiHost"`
	// The LaunchDarkly OAuth token
	OauthToken pulumi.StringPtrOutput `pulumi:"oauthToken"`
}

The provider type for the launchdarkly package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The LaunchDarkly API key
	AccessToken pulumi.StringPtrInput
	// The LaunchDarkly host address, e.g. https://app.launchdarkly.com
	ApiHost pulumi.StringPtrInput
	// The LaunchDarkly OAuth token
	OauthToken pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) AccessToken

func (o ProviderOutput) AccessToken() pulumi.StringPtrOutput

The LaunchDarkly API key

func (ProviderOutput) ApiHost

The LaunchDarkly host address, e.g. https://app.launchdarkly.com

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) OauthToken

func (o ProviderOutput) OauthToken() pulumi.StringPtrOutput

The LaunchDarkly OAuth token

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type RelayProxyConfiguration

type RelayProxyConfiguration struct {
	pulumi.CustomResourceState

	// The last 4 characters of the Relay Proxy configuration's unique key.
	DisplayKey pulumi.StringOutput `pulumi:"displayKey"`
	// The Relay Proxy configuration's unique key. Because the `fullKey` is only exposed upon creation, it will not be available if the resource is imported.
	FullKey pulumi.StringOutput `pulumi:"fullKey"`
	// The human-readable name for your Relay Proxy configuration.
	Name pulumi.StringOutput `pulumi:"name"`
	// The Relay Proxy configuration's rule policy block. This determines what content the Relay Proxy receives. To learn more, read [Understanding policies](https://docs.launchdarkly.com/home/members/role-policies#understanding-policies).
	Policies RelayProxyConfigurationPolicyArrayOutput `pulumi:"policies"`
}

## Example Usage

```go 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.NewRelayProxyConfiguration(ctx, "example", &launchdarkly.RelayProxyConfigurationArgs{
			Policies: launchdarkly.RelayProxyConfigurationPolicyArray{
				&launchdarkly.RelayProxyConfigurationPolicyArgs{
					Actions: pulumi.StringArray{
						pulumi.String("*"),
					},
					Effect: pulumi.String("allow"),
					Resources: pulumi.StringArray{
						pulumi.String("proj/*:env/*"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Relay Proxy configurations can be imported using the configuration's unique 24 character ID, e.g.

```sh

$ pulumi import launchdarkly:index/relayProxyConfiguration:RelayProxyConfiguration example 51d440e30c9ff61457c710f6

```

The unique relay proxy ID can be found in the relay proxy edit page URL, which you can locate by clicking the three dot menu on your relay proxy item in the UI and selecting 'Edit configuration'https://app.launchdarkly.com/settings/relay/THIS_IS_YOUR_RELAY_PROXY_ID/edit

func GetRelayProxyConfiguration

func GetRelayProxyConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RelayProxyConfigurationState, opts ...pulumi.ResourceOption) (*RelayProxyConfiguration, error)

GetRelayProxyConfiguration gets an existing RelayProxyConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRelayProxyConfiguration

func NewRelayProxyConfiguration(ctx *pulumi.Context,
	name string, args *RelayProxyConfigurationArgs, opts ...pulumi.ResourceOption) (*RelayProxyConfiguration, error)

NewRelayProxyConfiguration registers a new resource with the given unique name, arguments, and options.

func (*RelayProxyConfiguration) ElementType

func (*RelayProxyConfiguration) ElementType() reflect.Type

func (*RelayProxyConfiguration) ToRelayProxyConfigurationOutput

func (i *RelayProxyConfiguration) ToRelayProxyConfigurationOutput() RelayProxyConfigurationOutput

func (*RelayProxyConfiguration) ToRelayProxyConfigurationOutputWithContext

func (i *RelayProxyConfiguration) ToRelayProxyConfigurationOutputWithContext(ctx context.Context) RelayProxyConfigurationOutput

type RelayProxyConfigurationArgs

type RelayProxyConfigurationArgs struct {
	// The human-readable name for your Relay Proxy configuration.
	Name pulumi.StringPtrInput
	// The Relay Proxy configuration's rule policy block. This determines what content the Relay Proxy receives. To learn more, read [Understanding policies](https://docs.launchdarkly.com/home/members/role-policies#understanding-policies).
	Policies RelayProxyConfigurationPolicyArrayInput
}

The set of arguments for constructing a RelayProxyConfiguration resource.

func (RelayProxyConfigurationArgs) ElementType

type RelayProxyConfigurationArray

type RelayProxyConfigurationArray []RelayProxyConfigurationInput

func (RelayProxyConfigurationArray) ElementType

func (RelayProxyConfigurationArray) ToRelayProxyConfigurationArrayOutput

func (i RelayProxyConfigurationArray) ToRelayProxyConfigurationArrayOutput() RelayProxyConfigurationArrayOutput

func (RelayProxyConfigurationArray) ToRelayProxyConfigurationArrayOutputWithContext

func (i RelayProxyConfigurationArray) ToRelayProxyConfigurationArrayOutputWithContext(ctx context.Context) RelayProxyConfigurationArrayOutput

type RelayProxyConfigurationArrayInput

type RelayProxyConfigurationArrayInput interface {
	pulumi.Input

	ToRelayProxyConfigurationArrayOutput() RelayProxyConfigurationArrayOutput
	ToRelayProxyConfigurationArrayOutputWithContext(context.Context) RelayProxyConfigurationArrayOutput
}

RelayProxyConfigurationArrayInput is an input type that accepts RelayProxyConfigurationArray and RelayProxyConfigurationArrayOutput values. You can construct a concrete instance of `RelayProxyConfigurationArrayInput` via:

RelayProxyConfigurationArray{ RelayProxyConfigurationArgs{...} }

type RelayProxyConfigurationArrayOutput

type RelayProxyConfigurationArrayOutput struct{ *pulumi.OutputState }

func (RelayProxyConfigurationArrayOutput) ElementType

func (RelayProxyConfigurationArrayOutput) Index

func (RelayProxyConfigurationArrayOutput) ToRelayProxyConfigurationArrayOutput

func (o RelayProxyConfigurationArrayOutput) ToRelayProxyConfigurationArrayOutput() RelayProxyConfigurationArrayOutput

func (RelayProxyConfigurationArrayOutput) ToRelayProxyConfigurationArrayOutputWithContext

func (o RelayProxyConfigurationArrayOutput) ToRelayProxyConfigurationArrayOutputWithContext(ctx context.Context) RelayProxyConfigurationArrayOutput

type RelayProxyConfigurationInput

type RelayProxyConfigurationInput interface {
	pulumi.Input

	ToRelayProxyConfigurationOutput() RelayProxyConfigurationOutput
	ToRelayProxyConfigurationOutputWithContext(ctx context.Context) RelayProxyConfigurationOutput
}

type RelayProxyConfigurationMap

type RelayProxyConfigurationMap map[string]RelayProxyConfigurationInput

func (RelayProxyConfigurationMap) ElementType

func (RelayProxyConfigurationMap) ElementType() reflect.Type

func (RelayProxyConfigurationMap) ToRelayProxyConfigurationMapOutput

func (i RelayProxyConfigurationMap) ToRelayProxyConfigurationMapOutput() RelayProxyConfigurationMapOutput

func (RelayProxyConfigurationMap) ToRelayProxyConfigurationMapOutputWithContext

func (i RelayProxyConfigurationMap) ToRelayProxyConfigurationMapOutputWithContext(ctx context.Context) RelayProxyConfigurationMapOutput

type RelayProxyConfigurationMapInput

type RelayProxyConfigurationMapInput interface {
	pulumi.Input

	ToRelayProxyConfigurationMapOutput() RelayProxyConfigurationMapOutput
	ToRelayProxyConfigurationMapOutputWithContext(context.Context) RelayProxyConfigurationMapOutput
}

RelayProxyConfigurationMapInput is an input type that accepts RelayProxyConfigurationMap and RelayProxyConfigurationMapOutput values. You can construct a concrete instance of `RelayProxyConfigurationMapInput` via:

RelayProxyConfigurationMap{ "key": RelayProxyConfigurationArgs{...} }

type RelayProxyConfigurationMapOutput

type RelayProxyConfigurationMapOutput struct{ *pulumi.OutputState }

func (RelayProxyConfigurationMapOutput) ElementType

func (RelayProxyConfigurationMapOutput) MapIndex

func (RelayProxyConfigurationMapOutput) ToRelayProxyConfigurationMapOutput

func (o RelayProxyConfigurationMapOutput) ToRelayProxyConfigurationMapOutput() RelayProxyConfigurationMapOutput

func (RelayProxyConfigurationMapOutput) ToRelayProxyConfigurationMapOutputWithContext

func (o RelayProxyConfigurationMapOutput) ToRelayProxyConfigurationMapOutputWithContext(ctx context.Context) RelayProxyConfigurationMapOutput

type RelayProxyConfigurationOutput

type RelayProxyConfigurationOutput struct{ *pulumi.OutputState }

func (RelayProxyConfigurationOutput) DisplayKey

The last 4 characters of the Relay Proxy configuration's unique key.

func (RelayProxyConfigurationOutput) ElementType

func (RelayProxyConfigurationOutput) FullKey

The Relay Proxy configuration's unique key. Because the `fullKey` is only exposed upon creation, it will not be available if the resource is imported.

func (RelayProxyConfigurationOutput) Name

The human-readable name for your Relay Proxy configuration.

func (RelayProxyConfigurationOutput) Policies

The Relay Proxy configuration's rule policy block. This determines what content the Relay Proxy receives. To learn more, read [Understanding policies](https://docs.launchdarkly.com/home/members/role-policies#understanding-policies).

func (RelayProxyConfigurationOutput) ToRelayProxyConfigurationOutput

func (o RelayProxyConfigurationOutput) ToRelayProxyConfigurationOutput() RelayProxyConfigurationOutput

func (RelayProxyConfigurationOutput) ToRelayProxyConfigurationOutputWithContext

func (o RelayProxyConfigurationOutput) ToRelayProxyConfigurationOutputWithContext(ctx context.Context) RelayProxyConfigurationOutput

type RelayProxyConfigurationPolicy

type RelayProxyConfigurationPolicy struct {
	// The list of action specifiers defining the actions to which the rule policy applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).
	Actions []string `pulumi:"actions"`
	// - Either `allow` or `deny`. This argument defines whether the rule policy allows or denies access to the named resources and actions.
	Effect string `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the rule policy does not apply. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).
	NotActions []string `pulumi:"notActions"`
	// - The list of resource specifiers defining the resources to which the rule policy does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	NotResources []string `pulumi:"notResources"`
	// - The list of resource specifiers defining the resources to which the rule policy applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	Resources []string `pulumi:"resources"`
}

type RelayProxyConfigurationPolicyArgs

type RelayProxyConfigurationPolicyArgs struct {
	// The list of action specifiers defining the actions to which the rule policy applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// - Either `allow` or `deny`. This argument defines whether the rule policy allows or denies access to the named resources and actions.
	Effect pulumi.StringInput `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the rule policy does not apply. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// - The list of resource specifiers defining the resources to which the rule policy does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	NotResources pulumi.StringArrayInput `pulumi:"notResources"`
	// - The list of resource specifiers defining the resources to which the rule policy applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	Resources pulumi.StringArrayInput `pulumi:"resources"`
}

func (RelayProxyConfigurationPolicyArgs) ElementType

func (RelayProxyConfigurationPolicyArgs) ToRelayProxyConfigurationPolicyOutput

func (i RelayProxyConfigurationPolicyArgs) ToRelayProxyConfigurationPolicyOutput() RelayProxyConfigurationPolicyOutput

func (RelayProxyConfigurationPolicyArgs) ToRelayProxyConfigurationPolicyOutputWithContext

func (i RelayProxyConfigurationPolicyArgs) ToRelayProxyConfigurationPolicyOutputWithContext(ctx context.Context) RelayProxyConfigurationPolicyOutput

type RelayProxyConfigurationPolicyArray

type RelayProxyConfigurationPolicyArray []RelayProxyConfigurationPolicyInput

func (RelayProxyConfigurationPolicyArray) ElementType

func (RelayProxyConfigurationPolicyArray) ToRelayProxyConfigurationPolicyArrayOutput

func (i RelayProxyConfigurationPolicyArray) ToRelayProxyConfigurationPolicyArrayOutput() RelayProxyConfigurationPolicyArrayOutput

func (RelayProxyConfigurationPolicyArray) ToRelayProxyConfigurationPolicyArrayOutputWithContext

func (i RelayProxyConfigurationPolicyArray) ToRelayProxyConfigurationPolicyArrayOutputWithContext(ctx context.Context) RelayProxyConfigurationPolicyArrayOutput

type RelayProxyConfigurationPolicyArrayInput

type RelayProxyConfigurationPolicyArrayInput interface {
	pulumi.Input

	ToRelayProxyConfigurationPolicyArrayOutput() RelayProxyConfigurationPolicyArrayOutput
	ToRelayProxyConfigurationPolicyArrayOutputWithContext(context.Context) RelayProxyConfigurationPolicyArrayOutput
}

RelayProxyConfigurationPolicyArrayInput is an input type that accepts RelayProxyConfigurationPolicyArray and RelayProxyConfigurationPolicyArrayOutput values. You can construct a concrete instance of `RelayProxyConfigurationPolicyArrayInput` via:

RelayProxyConfigurationPolicyArray{ RelayProxyConfigurationPolicyArgs{...} }

type RelayProxyConfigurationPolicyArrayOutput

type RelayProxyConfigurationPolicyArrayOutput struct{ *pulumi.OutputState }

func (RelayProxyConfigurationPolicyArrayOutput) ElementType

func (RelayProxyConfigurationPolicyArrayOutput) Index

func (RelayProxyConfigurationPolicyArrayOutput) ToRelayProxyConfigurationPolicyArrayOutput

func (o RelayProxyConfigurationPolicyArrayOutput) ToRelayProxyConfigurationPolicyArrayOutput() RelayProxyConfigurationPolicyArrayOutput

func (RelayProxyConfigurationPolicyArrayOutput) ToRelayProxyConfigurationPolicyArrayOutputWithContext

func (o RelayProxyConfigurationPolicyArrayOutput) ToRelayProxyConfigurationPolicyArrayOutputWithContext(ctx context.Context) RelayProxyConfigurationPolicyArrayOutput

type RelayProxyConfigurationPolicyInput

type RelayProxyConfigurationPolicyInput interface {
	pulumi.Input

	ToRelayProxyConfigurationPolicyOutput() RelayProxyConfigurationPolicyOutput
	ToRelayProxyConfigurationPolicyOutputWithContext(context.Context) RelayProxyConfigurationPolicyOutput
}

RelayProxyConfigurationPolicyInput is an input type that accepts RelayProxyConfigurationPolicyArgs and RelayProxyConfigurationPolicyOutput values. You can construct a concrete instance of `RelayProxyConfigurationPolicyInput` via:

RelayProxyConfigurationPolicyArgs{...}

type RelayProxyConfigurationPolicyOutput

type RelayProxyConfigurationPolicyOutput struct{ *pulumi.OutputState }

func (RelayProxyConfigurationPolicyOutput) Actions

The list of action specifiers defining the actions to which the rule policy applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).

func (RelayProxyConfigurationPolicyOutput) Effect

- Either `allow` or `deny`. This argument defines whether the rule policy allows or denies access to the named resources and actions.

func (RelayProxyConfigurationPolicyOutput) ElementType

func (RelayProxyConfigurationPolicyOutput) NotActions

The list of action specifiers defining the actions to which the rule policy does not apply. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).

func (RelayProxyConfigurationPolicyOutput) NotResources

- The list of resource specifiers defining the resources to which the rule policy does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).

func (RelayProxyConfigurationPolicyOutput) Resources

- The list of resource specifiers defining the resources to which the rule policy applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).

func (RelayProxyConfigurationPolicyOutput) ToRelayProxyConfigurationPolicyOutput

func (o RelayProxyConfigurationPolicyOutput) ToRelayProxyConfigurationPolicyOutput() RelayProxyConfigurationPolicyOutput

func (RelayProxyConfigurationPolicyOutput) ToRelayProxyConfigurationPolicyOutputWithContext

func (o RelayProxyConfigurationPolicyOutput) ToRelayProxyConfigurationPolicyOutputWithContext(ctx context.Context) RelayProxyConfigurationPolicyOutput

type RelayProxyConfigurationState

type RelayProxyConfigurationState struct {
	// The last 4 characters of the Relay Proxy configuration's unique key.
	DisplayKey pulumi.StringPtrInput
	// The Relay Proxy configuration's unique key. Because the `fullKey` is only exposed upon creation, it will not be available if the resource is imported.
	FullKey pulumi.StringPtrInput
	// The human-readable name for your Relay Proxy configuration.
	Name pulumi.StringPtrInput
	// The Relay Proxy configuration's rule policy block. This determines what content the Relay Proxy receives. To learn more, read [Understanding policies](https://docs.launchdarkly.com/home/members/role-policies#understanding-policies).
	Policies RelayProxyConfigurationPolicyArrayInput
}

func (RelayProxyConfigurationState) ElementType

type Segment

type Segment struct {
	pulumi.CustomResourceState

	// The segment's creation date represented as a UNIX epoch timestamp.
	CreationDate pulumi.IntOutput `pulumi:"creationDate"`
	// The description of the segment's purpose.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The segment's environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringOutput `pulumi:"envKey"`
	// List of user keys excluded from the segment.
	Excludeds pulumi.StringArrayOutput `pulumi:"excludeds"`
	// List of user keys included in the segment.
	Includeds pulumi.StringArrayOutput `pulumi:"includeds"`
	// The unique key that references the segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringOutput `pulumi:"key"`
	// The human-friendly name for the segment.
	Name pulumi.StringOutput `pulumi:"name"`
	// The segment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringOutput `pulumi:"projectKey"`
	// List of nested custom rule blocks to apply to the segment. To learn more, read Nested Rules Blocks.
	Rules SegmentRuleArrayOutput `pulumi:"rules"`
	// Set of tags for the segment.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

Provides a LaunchDarkly segment resource.

This resource allows you to create and manage segments within your LaunchDarkly organization.

## Example Usage

```go 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.NewSegment(ctx, "example", &launchdarkly.SegmentArgs{
			Key:         pulumi.String("example-segment-key"),
			ProjectKey:  pulumi.Any(launchdarkly_project.Example.Key),
			EnvKey:      pulumi.Any(launchdarkly_environment.Example.Key),
			Description: pulumi.String("This segment is managed by Terraform"),
			Tags: pulumi.StringArray{
				pulumi.String("segment-tag-1"),
				pulumi.String("segment-tag-2"),
			},
			Includeds: pulumi.StringArray{
				pulumi.String("user1"),
				pulumi.String("user2"),
			},
			Excludeds: pulumi.StringArray{
				pulumi.String("user3"),
				pulumi.String("user4"),
			},
			Rules: launchdarkly.SegmentRuleArray{
				&launchdarkly.SegmentRuleArgs{
					Clauses: launchdarkly.SegmentRuleClauseArray{
						&launchdarkly.SegmentRuleClauseArgs{
							Attribute: pulumi.String("country"),
							Op:        pulumi.String("startsWith"),
							Values: pulumi.StringArray{
								pulumi.String("en"),
								pulumi.String("de"),
								pulumi.String("un"),
							},
							Negate: pulumi.Bool(false),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

LaunchDarkly segments can be imported using the segment's ID in the form `project_key/env_key/segment_key`, e.g.

```sh

$ pulumi import launchdarkly:index/segment:Segment example example-project/example-environment/example-segment-key

```

func GetSegment

func GetSegment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SegmentState, opts ...pulumi.ResourceOption) (*Segment, error)

GetSegment gets an existing Segment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSegment

func NewSegment(ctx *pulumi.Context,
	name string, args *SegmentArgs, opts ...pulumi.ResourceOption) (*Segment, error)

NewSegment registers a new resource with the given unique name, arguments, and options.

func (*Segment) ElementType

func (*Segment) ElementType() reflect.Type

func (*Segment) ToSegmentOutput

func (i *Segment) ToSegmentOutput() SegmentOutput

func (*Segment) ToSegmentOutputWithContext

func (i *Segment) ToSegmentOutputWithContext(ctx context.Context) SegmentOutput

type SegmentArgs

type SegmentArgs struct {
	// The description of the segment's purpose.
	Description pulumi.StringPtrInput
	// The segment's environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringInput
	// List of user keys excluded from the segment.
	Excludeds pulumi.StringArrayInput
	// List of user keys included in the segment.
	Includeds pulumi.StringArrayInput
	// The unique key that references the segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringInput
	// The human-friendly name for the segment.
	Name pulumi.StringPtrInput
	// The segment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringInput
	// List of nested custom rule blocks to apply to the segment. To learn more, read Nested Rules Blocks.
	Rules SegmentRuleArrayInput
	// Set of tags for the segment.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a Segment resource.

func (SegmentArgs) ElementType

func (SegmentArgs) ElementType() reflect.Type

type SegmentArray

type SegmentArray []SegmentInput

func (SegmentArray) ElementType

func (SegmentArray) ElementType() reflect.Type

func (SegmentArray) ToSegmentArrayOutput

func (i SegmentArray) ToSegmentArrayOutput() SegmentArrayOutput

func (SegmentArray) ToSegmentArrayOutputWithContext

func (i SegmentArray) ToSegmentArrayOutputWithContext(ctx context.Context) SegmentArrayOutput

type SegmentArrayInput

type SegmentArrayInput interface {
	pulumi.Input

	ToSegmentArrayOutput() SegmentArrayOutput
	ToSegmentArrayOutputWithContext(context.Context) SegmentArrayOutput
}

SegmentArrayInput is an input type that accepts SegmentArray and SegmentArrayOutput values. You can construct a concrete instance of `SegmentArrayInput` via:

SegmentArray{ SegmentArgs{...} }

type SegmentArrayOutput

type SegmentArrayOutput struct{ *pulumi.OutputState }

func (SegmentArrayOutput) ElementType

func (SegmentArrayOutput) ElementType() reflect.Type

func (SegmentArrayOutput) Index

func (SegmentArrayOutput) ToSegmentArrayOutput

func (o SegmentArrayOutput) ToSegmentArrayOutput() SegmentArrayOutput

func (SegmentArrayOutput) ToSegmentArrayOutputWithContext

func (o SegmentArrayOutput) ToSegmentArrayOutputWithContext(ctx context.Context) SegmentArrayOutput

type SegmentInput

type SegmentInput interface {
	pulumi.Input

	ToSegmentOutput() SegmentOutput
	ToSegmentOutputWithContext(ctx context.Context) SegmentOutput
}

type SegmentMap

type SegmentMap map[string]SegmentInput

func (SegmentMap) ElementType

func (SegmentMap) ElementType() reflect.Type

func (SegmentMap) ToSegmentMapOutput

func (i SegmentMap) ToSegmentMapOutput() SegmentMapOutput

func (SegmentMap) ToSegmentMapOutputWithContext

func (i SegmentMap) ToSegmentMapOutputWithContext(ctx context.Context) SegmentMapOutput

type SegmentMapInput

type SegmentMapInput interface {
	pulumi.Input

	ToSegmentMapOutput() SegmentMapOutput
	ToSegmentMapOutputWithContext(context.Context) SegmentMapOutput
}

SegmentMapInput is an input type that accepts SegmentMap and SegmentMapOutput values. You can construct a concrete instance of `SegmentMapInput` via:

SegmentMap{ "key": SegmentArgs{...} }

type SegmentMapOutput

type SegmentMapOutput struct{ *pulumi.OutputState }

func (SegmentMapOutput) ElementType

func (SegmentMapOutput) ElementType() reflect.Type

func (SegmentMapOutput) MapIndex

func (SegmentMapOutput) ToSegmentMapOutput

func (o SegmentMapOutput) ToSegmentMapOutput() SegmentMapOutput

func (SegmentMapOutput) ToSegmentMapOutputWithContext

func (o SegmentMapOutput) ToSegmentMapOutputWithContext(ctx context.Context) SegmentMapOutput

type SegmentOutput

type SegmentOutput struct{ *pulumi.OutputState }

func (SegmentOutput) CreationDate

func (o SegmentOutput) CreationDate() pulumi.IntOutput

The segment's creation date represented as a UNIX epoch timestamp.

func (SegmentOutput) Description

func (o SegmentOutput) Description() pulumi.StringPtrOutput

The description of the segment's purpose.

func (SegmentOutput) ElementType

func (SegmentOutput) ElementType() reflect.Type

func (SegmentOutput) EnvKey

func (o SegmentOutput) EnvKey() pulumi.StringOutput

The segment's environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (SegmentOutput) Excludeds

func (o SegmentOutput) Excludeds() pulumi.StringArrayOutput

List of user keys excluded from the segment.

func (SegmentOutput) Includeds

func (o SegmentOutput) Includeds() pulumi.StringArrayOutput

List of user keys included in the segment.

func (SegmentOutput) Key

The unique key that references the segment. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (SegmentOutput) Name

The human-friendly name for the segment.

func (SegmentOutput) ProjectKey

func (o SegmentOutput) ProjectKey() pulumi.StringOutput

The segment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (SegmentOutput) Rules

List of nested custom rule blocks to apply to the segment. To learn more, read Nested Rules Blocks.

func (SegmentOutput) Tags

Set of tags for the segment.

func (SegmentOutput) ToSegmentOutput

func (o SegmentOutput) ToSegmentOutput() SegmentOutput

func (SegmentOutput) ToSegmentOutputWithContext

func (o SegmentOutput) ToSegmentOutputWithContext(ctx context.Context) SegmentOutput

type SegmentRule

type SegmentRule struct {
	// The attribute by which to group users together.
	BucketBy *string `pulumi:"bucketBy"`
	// List of nested custom rule clause blocks. To learn more, read Nested Clauses Blocks.
	Clauses []SegmentRuleClause `pulumi:"clauses"`
	// The integer weight of the rule (between 1 and 100000).
	Weight *int `pulumi:"weight"`
}

type SegmentRuleArgs

type SegmentRuleArgs struct {
	// The attribute by which to group users together.
	BucketBy pulumi.StringPtrInput `pulumi:"bucketBy"`
	// List of nested custom rule clause blocks. To learn more, read Nested Clauses Blocks.
	Clauses SegmentRuleClauseArrayInput `pulumi:"clauses"`
	// The integer weight of the rule (between 1 and 100000).
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (SegmentRuleArgs) ElementType

func (SegmentRuleArgs) ElementType() reflect.Type

func (SegmentRuleArgs) ToSegmentRuleOutput

func (i SegmentRuleArgs) ToSegmentRuleOutput() SegmentRuleOutput

func (SegmentRuleArgs) ToSegmentRuleOutputWithContext

func (i SegmentRuleArgs) ToSegmentRuleOutputWithContext(ctx context.Context) SegmentRuleOutput

type SegmentRuleArray

type SegmentRuleArray []SegmentRuleInput

func (SegmentRuleArray) ElementType

func (SegmentRuleArray) ElementType() reflect.Type

func (SegmentRuleArray) ToSegmentRuleArrayOutput

func (i SegmentRuleArray) ToSegmentRuleArrayOutput() SegmentRuleArrayOutput

func (SegmentRuleArray) ToSegmentRuleArrayOutputWithContext

func (i SegmentRuleArray) ToSegmentRuleArrayOutputWithContext(ctx context.Context) SegmentRuleArrayOutput

type SegmentRuleArrayInput

type SegmentRuleArrayInput interface {
	pulumi.Input

	ToSegmentRuleArrayOutput() SegmentRuleArrayOutput
	ToSegmentRuleArrayOutputWithContext(context.Context) SegmentRuleArrayOutput
}

SegmentRuleArrayInput is an input type that accepts SegmentRuleArray and SegmentRuleArrayOutput values. You can construct a concrete instance of `SegmentRuleArrayInput` via:

SegmentRuleArray{ SegmentRuleArgs{...} }

type SegmentRuleArrayOutput

type SegmentRuleArrayOutput struct{ *pulumi.OutputState }

func (SegmentRuleArrayOutput) ElementType

func (SegmentRuleArrayOutput) ElementType() reflect.Type

func (SegmentRuleArrayOutput) Index

func (SegmentRuleArrayOutput) ToSegmentRuleArrayOutput

func (o SegmentRuleArrayOutput) ToSegmentRuleArrayOutput() SegmentRuleArrayOutput

func (SegmentRuleArrayOutput) ToSegmentRuleArrayOutputWithContext

func (o SegmentRuleArrayOutput) ToSegmentRuleArrayOutputWithContext(ctx context.Context) SegmentRuleArrayOutput

type SegmentRuleClause

type SegmentRuleClause struct {
	// The user attribute to operate on.
	Attribute string `pulumi:"attribute"`
	// Whether to negate the rule clause.
	Negate *bool `pulumi:"negate"`
	// The operator associated with the rule clause. Available options are `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.
	Op string `pulumi:"op"`
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`. If omitted, `valueType` defaults to `string`.
	ValueType *string `pulumi:"valueType"`
	// The list of values associated with the rule clause.
	Values []string `pulumi:"values"`
}

type SegmentRuleClauseArgs

type SegmentRuleClauseArgs struct {
	// The user attribute to operate on.
	Attribute pulumi.StringInput `pulumi:"attribute"`
	// Whether to negate the rule clause.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// The operator associated with the rule clause. Available options are `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.
	Op pulumi.StringInput `pulumi:"op"`
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`. If omitted, `valueType` defaults to `string`.
	ValueType pulumi.StringPtrInput `pulumi:"valueType"`
	// The list of values associated with the rule clause.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (SegmentRuleClauseArgs) ElementType

func (SegmentRuleClauseArgs) ElementType() reflect.Type

func (SegmentRuleClauseArgs) ToSegmentRuleClauseOutput

func (i SegmentRuleClauseArgs) ToSegmentRuleClauseOutput() SegmentRuleClauseOutput

func (SegmentRuleClauseArgs) ToSegmentRuleClauseOutputWithContext

func (i SegmentRuleClauseArgs) ToSegmentRuleClauseOutputWithContext(ctx context.Context) SegmentRuleClauseOutput

type SegmentRuleClauseArray

type SegmentRuleClauseArray []SegmentRuleClauseInput

func (SegmentRuleClauseArray) ElementType

func (SegmentRuleClauseArray) ElementType() reflect.Type

func (SegmentRuleClauseArray) ToSegmentRuleClauseArrayOutput

func (i SegmentRuleClauseArray) ToSegmentRuleClauseArrayOutput() SegmentRuleClauseArrayOutput

func (SegmentRuleClauseArray) ToSegmentRuleClauseArrayOutputWithContext

func (i SegmentRuleClauseArray) ToSegmentRuleClauseArrayOutputWithContext(ctx context.Context) SegmentRuleClauseArrayOutput

type SegmentRuleClauseArrayInput

type SegmentRuleClauseArrayInput interface {
	pulumi.Input

	ToSegmentRuleClauseArrayOutput() SegmentRuleClauseArrayOutput
	ToSegmentRuleClauseArrayOutputWithContext(context.Context) SegmentRuleClauseArrayOutput
}

SegmentRuleClauseArrayInput is an input type that accepts SegmentRuleClauseArray and SegmentRuleClauseArrayOutput values. You can construct a concrete instance of `SegmentRuleClauseArrayInput` via:

SegmentRuleClauseArray{ SegmentRuleClauseArgs{...} }

type SegmentRuleClauseArrayOutput

type SegmentRuleClauseArrayOutput struct{ *pulumi.OutputState }

func (SegmentRuleClauseArrayOutput) ElementType

func (SegmentRuleClauseArrayOutput) Index

func (SegmentRuleClauseArrayOutput) ToSegmentRuleClauseArrayOutput

func (o SegmentRuleClauseArrayOutput) ToSegmentRuleClauseArrayOutput() SegmentRuleClauseArrayOutput

func (SegmentRuleClauseArrayOutput) ToSegmentRuleClauseArrayOutputWithContext

func (o SegmentRuleClauseArrayOutput) ToSegmentRuleClauseArrayOutputWithContext(ctx context.Context) SegmentRuleClauseArrayOutput

type SegmentRuleClauseInput

type SegmentRuleClauseInput interface {
	pulumi.Input

	ToSegmentRuleClauseOutput() SegmentRuleClauseOutput
	ToSegmentRuleClauseOutputWithContext(context.Context) SegmentRuleClauseOutput
}

SegmentRuleClauseInput is an input type that accepts SegmentRuleClauseArgs and SegmentRuleClauseOutput values. You can construct a concrete instance of `SegmentRuleClauseInput` via:

SegmentRuleClauseArgs{...}

type SegmentRuleClauseOutput

type SegmentRuleClauseOutput struct{ *pulumi.OutputState }

func (SegmentRuleClauseOutput) Attribute

The user attribute to operate on.

func (SegmentRuleClauseOutput) ElementType

func (SegmentRuleClauseOutput) ElementType() reflect.Type

func (SegmentRuleClauseOutput) Negate

Whether to negate the rule clause.

func (SegmentRuleClauseOutput) Op

The operator associated with the rule clause. Available options are `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`.

func (SegmentRuleClauseOutput) ToSegmentRuleClauseOutput

func (o SegmentRuleClauseOutput) ToSegmentRuleClauseOutput() SegmentRuleClauseOutput

func (SegmentRuleClauseOutput) ToSegmentRuleClauseOutputWithContext

func (o SegmentRuleClauseOutput) ToSegmentRuleClauseOutputWithContext(ctx context.Context) SegmentRuleClauseOutput

func (SegmentRuleClauseOutput) ValueType

The type for each of the clause's values. Available types are `boolean`, `string`, and `number`. If omitted, `valueType` defaults to `string`.

func (SegmentRuleClauseOutput) Values

The list of values associated with the rule clause.

type SegmentRuleInput

type SegmentRuleInput interface {
	pulumi.Input

	ToSegmentRuleOutput() SegmentRuleOutput
	ToSegmentRuleOutputWithContext(context.Context) SegmentRuleOutput
}

SegmentRuleInput is an input type that accepts SegmentRuleArgs and SegmentRuleOutput values. You can construct a concrete instance of `SegmentRuleInput` via:

SegmentRuleArgs{...}

type SegmentRuleOutput

type SegmentRuleOutput struct{ *pulumi.OutputState }

func (SegmentRuleOutput) BucketBy

The attribute by which to group users together.

func (SegmentRuleOutput) Clauses

List of nested custom rule clause blocks. To learn more, read Nested Clauses Blocks.

func (SegmentRuleOutput) ElementType

func (SegmentRuleOutput) ElementType() reflect.Type

func (SegmentRuleOutput) ToSegmentRuleOutput

func (o SegmentRuleOutput) ToSegmentRuleOutput() SegmentRuleOutput

func (SegmentRuleOutput) ToSegmentRuleOutputWithContext

func (o SegmentRuleOutput) ToSegmentRuleOutputWithContext(ctx context.Context) SegmentRuleOutput

func (SegmentRuleOutput) Weight

The integer weight of the rule (between 1 and 100000).

type SegmentState

type SegmentState struct {
	// The segment's creation date represented as a UNIX epoch timestamp.
	CreationDate pulumi.IntPtrInput
	// The description of the segment's purpose.
	Description pulumi.StringPtrInput
	// The segment's environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey pulumi.StringPtrInput
	// List of user keys excluded from the segment.
	Excludeds pulumi.StringArrayInput
	// List of user keys included in the segment.
	Includeds pulumi.StringArrayInput
	// The unique key that references the segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key pulumi.StringPtrInput
	// The human-friendly name for the segment.
	Name pulumi.StringPtrInput
	// The segment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey pulumi.StringPtrInput
	// List of nested custom rule blocks to apply to the segment. To learn more, read Nested Rules Blocks.
	Rules SegmentRuleArrayInput
	// Set of tags for the segment.
	Tags pulumi.StringArrayInput
}

func (SegmentState) ElementType

func (SegmentState) ElementType() reflect.Type

type Team

type Team struct {
	pulumi.CustomResourceState

	// List of custom role keys the team will access. The referenced custom roles must already exist in LaunchDarkly. If they don't, the provider may behave unexpectedly.
	CustomRoleKeys pulumi.StringArrayOutput `pulumi:"customRoleKeys"`
	// The team description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The team key.
	Key pulumi.StringOutput `pulumi:"key"`
	// List of member IDs for users who maintain the team.
	Maintainers pulumi.StringArrayOutput `pulumi:"maintainers"`
	// List of member IDs who belong to the team.
	MemberIds pulumi.StringArrayOutput `pulumi:"memberIds"`
	// A human-friendly name for the team.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides a LaunchDarkly team resource.

This resource allows you to create and manage a team within your LaunchDarkly organization.

> **Note:** Teams are available to customers on an Enterprise LaunchDarkly plan. To learn more, read about our pricing. To upgrade your plan, [contact LaunchDarkly Sales](https://launchdarkly.com/contact-sales/).

## Example Usage

```go 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.NewTeam(ctx, "platformTeam", &launchdarkly.TeamArgs{
			CustomRoleKeys: pulumi.StringArray{
				pulumi.String("platform"),
				pulumi.String("nomad-administrators"),
			},
			Description: pulumi.String("Team to manage internal infrastructure"),
			Key:         pulumi.String("platform_team"),
			Maintainers: pulumi.StringArray{
				pulumi.String("12ab3c45de678910abc12345"),
			},
			MemberIds: pulumi.StringArray{
				pulumi.String("507f1f77bcf86cd799439011"),
				pulumi.String("569f183514f4432160000007"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

A LaunchDarkly team can be imported using the team key

```sh

$ pulumi import launchdarkly:index/team:Team platform_team platform_team

```

func GetTeam

func GetTeam(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamState, opts ...pulumi.ResourceOption) (*Team, error)

GetTeam gets an existing Team resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTeam

func NewTeam(ctx *pulumi.Context,
	name string, args *TeamArgs, opts ...pulumi.ResourceOption) (*Team, error)

NewTeam registers a new resource with the given unique name, arguments, and options.

func (*Team) ElementType

func (*Team) ElementType() reflect.Type

func (*Team) ToTeamOutput

func (i *Team) ToTeamOutput() TeamOutput

func (*Team) ToTeamOutputWithContext

func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput

type TeamArgs

type TeamArgs struct {
	// List of custom role keys the team will access. The referenced custom roles must already exist in LaunchDarkly. If they don't, the provider may behave unexpectedly.
	CustomRoleKeys pulumi.StringArrayInput
	// The team description.
	Description pulumi.StringPtrInput
	// The team key.
	Key pulumi.StringInput
	// List of member IDs for users who maintain the team.
	Maintainers pulumi.StringArrayInput
	// List of member IDs who belong to the team.
	MemberIds pulumi.StringArrayInput
	// A human-friendly name for the team.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Team resource.

func (TeamArgs) ElementType

func (TeamArgs) ElementType() reflect.Type

type TeamArray

type TeamArray []TeamInput

func (TeamArray) ElementType

func (TeamArray) ElementType() reflect.Type

func (TeamArray) ToTeamArrayOutput

func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput

func (TeamArray) ToTeamArrayOutputWithContext

func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamArrayInput

type TeamArrayInput interface {
	pulumi.Input

	ToTeamArrayOutput() TeamArrayOutput
	ToTeamArrayOutputWithContext(context.Context) TeamArrayOutput
}

TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. You can construct a concrete instance of `TeamArrayInput` via:

TeamArray{ TeamArgs{...} }

type TeamArrayOutput

type TeamArrayOutput struct{ *pulumi.OutputState }

func (TeamArrayOutput) ElementType

func (TeamArrayOutput) ElementType() reflect.Type

func (TeamArrayOutput) Index

func (TeamArrayOutput) ToTeamArrayOutput

func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput

func (TeamArrayOutput) ToTeamArrayOutputWithContext

func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput

type TeamInput

type TeamInput interface {
	pulumi.Input

	ToTeamOutput() TeamOutput
	ToTeamOutputWithContext(ctx context.Context) TeamOutput
}

type TeamMap

type TeamMap map[string]TeamInput

func (TeamMap) ElementType

func (TeamMap) ElementType() reflect.Type

func (TeamMap) ToTeamMapOutput

func (i TeamMap) ToTeamMapOutput() TeamMapOutput

func (TeamMap) ToTeamMapOutputWithContext

func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMapInput

type TeamMapInput interface {
	pulumi.Input

	ToTeamMapOutput() TeamMapOutput
	ToTeamMapOutputWithContext(context.Context) TeamMapOutput
}

TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. You can construct a concrete instance of `TeamMapInput` via:

TeamMap{ "key": TeamArgs{...} }

type TeamMapOutput

type TeamMapOutput struct{ *pulumi.OutputState }

func (TeamMapOutput) ElementType

func (TeamMapOutput) ElementType() reflect.Type

func (TeamMapOutput) MapIndex

func (TeamMapOutput) ToTeamMapOutput

func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput

func (TeamMapOutput) ToTeamMapOutputWithContext

func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMember

type TeamMember struct {
	pulumi.CustomResourceState

	// The list of custom roles keys associated with the team member. Custom roles are only available to customers on enterprise plans. To learn more about enterprise plans, contact sales@launchdarkly.com.
	CustomRoles pulumi.StringArrayOutput `pulumi:"customRoles"`
	// The unique email address associated with the team member. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Email pulumi.StringOutput `pulumi:"email"`
	// The team member's given name. Please note that, once created, this cannot be updated except by the team member themself.
	FirstName pulumi.StringPtrOutput `pulumi:"firstName"`
	// The team member's family name. Please note that, once created, this cannot be updated except by the team member themself.
	LastName pulumi.StringPtrOutput `pulumi:"lastName"`
	// The role associated with team member. Supported roles are `reader`, `writer`, `noAccess`, or `admin`. If you don't specify a role, `reader` is assigned by default.
	Role pulumi.StringOutput `pulumi:"role"`
}

Provides a LaunchDarkly team member resource.

This resource allows you to create and manage team members within your LaunchDarkly organization.

> **Note:** You can only manage team members with "admin" level personal access tokens. To learn more, read [Managing Teams](https://docs.launchdarkly.com/home/teams/managing).

## Example Usage

```go 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.NewTeamMember(ctx, "example", &launchdarkly.TeamMemberArgs{
			Email:     pulumi.String("example.user@example.com"),
			FirstName: pulumi.String("John"),
			LastName:  pulumi.String("Smith"),
			Role:      pulumi.String("writer"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

LaunchDarkly team members can be imported using the team member's 24 character ID, e.g.

```sh

$ pulumi import launchdarkly:index/teamMember:TeamMember example 5f05565b48be0b441fb63020

```

func GetTeamMember

func GetTeamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamMemberState, opts ...pulumi.ResourceOption) (*TeamMember, error)

GetTeamMember gets an existing TeamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTeamMember

func NewTeamMember(ctx *pulumi.Context,
	name string, args *TeamMemberArgs, opts ...pulumi.ResourceOption) (*TeamMember, error)

NewTeamMember registers a new resource with the given unique name, arguments, and options.

func (*TeamMember) ElementType

func (*TeamMember) ElementType() reflect.Type

func (*TeamMember) ToTeamMemberOutput

func (i *TeamMember) ToTeamMemberOutput() TeamMemberOutput

func (*TeamMember) ToTeamMemberOutputWithContext

func (i *TeamMember) ToTeamMemberOutputWithContext(ctx context.Context) TeamMemberOutput

type TeamMemberArgs

type TeamMemberArgs struct {
	// The list of custom roles keys associated with the team member. Custom roles are only available to customers on enterprise plans. To learn more about enterprise plans, contact sales@launchdarkly.com.
	CustomRoles pulumi.StringArrayInput
	// The unique email address associated with the team member. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Email pulumi.StringInput
	// The team member's given name. Please note that, once created, this cannot be updated except by the team member themself.
	FirstName pulumi.StringPtrInput
	// The team member's family name. Please note that, once created, this cannot be updated except by the team member themself.
	LastName pulumi.StringPtrInput
	// The role associated with team member. Supported roles are `reader`, `writer`, `noAccess`, or `admin`. If you don't specify a role, `reader` is assigned by default.
	Role pulumi.StringPtrInput
}

The set of arguments for constructing a TeamMember resource.

func (TeamMemberArgs) ElementType

func (TeamMemberArgs) ElementType() reflect.Type

type TeamMemberArray

type TeamMemberArray []TeamMemberInput

func (TeamMemberArray) ElementType

func (TeamMemberArray) ElementType() reflect.Type

func (TeamMemberArray) ToTeamMemberArrayOutput

func (i TeamMemberArray) ToTeamMemberArrayOutput() TeamMemberArrayOutput

func (TeamMemberArray) ToTeamMemberArrayOutputWithContext

func (i TeamMemberArray) ToTeamMemberArrayOutputWithContext(ctx context.Context) TeamMemberArrayOutput

type TeamMemberArrayInput

type TeamMemberArrayInput interface {
	pulumi.Input

	ToTeamMemberArrayOutput() TeamMemberArrayOutput
	ToTeamMemberArrayOutputWithContext(context.Context) TeamMemberArrayOutput
}

TeamMemberArrayInput is an input type that accepts TeamMemberArray and TeamMemberArrayOutput values. You can construct a concrete instance of `TeamMemberArrayInput` via:

TeamMemberArray{ TeamMemberArgs{...} }

type TeamMemberArrayOutput

type TeamMemberArrayOutput struct{ *pulumi.OutputState }

func (TeamMemberArrayOutput) ElementType

func (TeamMemberArrayOutput) ElementType() reflect.Type

func (TeamMemberArrayOutput) Index

func (TeamMemberArrayOutput) ToTeamMemberArrayOutput

func (o TeamMemberArrayOutput) ToTeamMemberArrayOutput() TeamMemberArrayOutput

func (TeamMemberArrayOutput) ToTeamMemberArrayOutputWithContext

func (o TeamMemberArrayOutput) ToTeamMemberArrayOutputWithContext(ctx context.Context) TeamMemberArrayOutput

type TeamMemberInput

type TeamMemberInput interface {
	pulumi.Input

	ToTeamMemberOutput() TeamMemberOutput
	ToTeamMemberOutputWithContext(ctx context.Context) TeamMemberOutput
}

type TeamMemberMap

type TeamMemberMap map[string]TeamMemberInput

func (TeamMemberMap) ElementType

func (TeamMemberMap) ElementType() reflect.Type

func (TeamMemberMap) ToTeamMemberMapOutput

func (i TeamMemberMap) ToTeamMemberMapOutput() TeamMemberMapOutput

func (TeamMemberMap) ToTeamMemberMapOutputWithContext

func (i TeamMemberMap) ToTeamMemberMapOutputWithContext(ctx context.Context) TeamMemberMapOutput

type TeamMemberMapInput

type TeamMemberMapInput interface {
	pulumi.Input

	ToTeamMemberMapOutput() TeamMemberMapOutput
	ToTeamMemberMapOutputWithContext(context.Context) TeamMemberMapOutput
}

TeamMemberMapInput is an input type that accepts TeamMemberMap and TeamMemberMapOutput values. You can construct a concrete instance of `TeamMemberMapInput` via:

TeamMemberMap{ "key": TeamMemberArgs{...} }

type TeamMemberMapOutput

type TeamMemberMapOutput struct{ *pulumi.OutputState }

func (TeamMemberMapOutput) ElementType

func (TeamMemberMapOutput) ElementType() reflect.Type

func (TeamMemberMapOutput) MapIndex

func (TeamMemberMapOutput) ToTeamMemberMapOutput

func (o TeamMemberMapOutput) ToTeamMemberMapOutput() TeamMemberMapOutput

func (TeamMemberMapOutput) ToTeamMemberMapOutputWithContext

func (o TeamMemberMapOutput) ToTeamMemberMapOutputWithContext(ctx context.Context) TeamMemberMapOutput

type TeamMemberOutput

type TeamMemberOutput struct{ *pulumi.OutputState }

func (TeamMemberOutput) CustomRoles

func (o TeamMemberOutput) CustomRoles() pulumi.StringArrayOutput

The list of custom roles keys associated with the team member. Custom roles are only available to customers on enterprise plans. To learn more about enterprise plans, contact sales@launchdarkly.com.

func (TeamMemberOutput) ElementType

func (TeamMemberOutput) ElementType() reflect.Type

func (TeamMemberOutput) Email

The unique email address associated with the team member. A change in this field will force the destruction of the existing resource and the creation of a new one.

func (TeamMemberOutput) FirstName

func (o TeamMemberOutput) FirstName() pulumi.StringPtrOutput

The team member's given name. Please note that, once created, this cannot be updated except by the team member themself.

func (TeamMemberOutput) LastName

The team member's family name. Please note that, once created, this cannot be updated except by the team member themself.

func (TeamMemberOutput) Role

The role associated with team member. Supported roles are `reader`, `writer`, `noAccess`, or `admin`. If you don't specify a role, `reader` is assigned by default.

func (TeamMemberOutput) ToTeamMemberOutput

func (o TeamMemberOutput) ToTeamMemberOutput() TeamMemberOutput

func (TeamMemberOutput) ToTeamMemberOutputWithContext

func (o TeamMemberOutput) ToTeamMemberOutputWithContext(ctx context.Context) TeamMemberOutput

type TeamMemberState

type TeamMemberState struct {
	// The list of custom roles keys associated with the team member. Custom roles are only available to customers on enterprise plans. To learn more about enterprise plans, contact sales@launchdarkly.com.
	CustomRoles pulumi.StringArrayInput
	// The unique email address associated with the team member. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Email pulumi.StringPtrInput
	// The team member's given name. Please note that, once created, this cannot be updated except by the team member themself.
	FirstName pulumi.StringPtrInput
	// The team member's family name. Please note that, once created, this cannot be updated except by the team member themself.
	LastName pulumi.StringPtrInput
	// The role associated with team member. Supported roles are `reader`, `writer`, `noAccess`, or `admin`. If you don't specify a role, `reader` is assigned by default.
	Role pulumi.StringPtrInput
}

func (TeamMemberState) ElementType

func (TeamMemberState) ElementType() reflect.Type

type TeamOutput

type TeamOutput struct{ *pulumi.OutputState }

func (TeamOutput) CustomRoleKeys

func (o TeamOutput) CustomRoleKeys() pulumi.StringArrayOutput

List of custom role keys the team will access. The referenced custom roles must already exist in LaunchDarkly. If they don't, the provider may behave unexpectedly.

func (TeamOutput) Description

func (o TeamOutput) Description() pulumi.StringPtrOutput

The team description.

func (TeamOutput) ElementType

func (TeamOutput) ElementType() reflect.Type

func (TeamOutput) Key

func (o TeamOutput) Key() pulumi.StringOutput

The team key.

func (TeamOutput) Maintainers

func (o TeamOutput) Maintainers() pulumi.StringArrayOutput

List of member IDs for users who maintain the team.

func (TeamOutput) MemberIds

func (o TeamOutput) MemberIds() pulumi.StringArrayOutput

List of member IDs who belong to the team.

func (TeamOutput) Name

func (o TeamOutput) Name() pulumi.StringOutput

A human-friendly name for the team.

func (TeamOutput) ToTeamOutput

func (o TeamOutput) ToTeamOutput() TeamOutput

func (TeamOutput) ToTeamOutputWithContext

func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput

type TeamState

type TeamState struct {
	// List of custom role keys the team will access. The referenced custom roles must already exist in LaunchDarkly. If they don't, the provider may behave unexpectedly.
	CustomRoleKeys pulumi.StringArrayInput
	// The team description.
	Description pulumi.StringPtrInput
	// The team key.
	Key pulumi.StringPtrInput
	// List of member IDs for users who maintain the team.
	Maintainers pulumi.StringArrayInput
	// List of member IDs who belong to the team.
	MemberIds pulumi.StringArrayInput
	// A human-friendly name for the team.
	Name pulumi.StringPtrInput
}

func (TeamState) ElementType

func (TeamState) ElementType() reflect.Type

type Webhook

type Webhook struct {
	pulumi.CustomResourceState

	// The webhook's human-readable name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies whether the webhook is enabled.
	On pulumi.BoolPtrOutput `pulumi:"on"`
	// The secret used to sign the webhook.
	Secret     pulumi.StringPtrOutput      `pulumi:"secret"`
	Statements WebhookStatementArrayOutput `pulumi:"statements"`
	// Set of tags associated with the webhook.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// The URL of the remote webhook.
	Url pulumi.StringOutput `pulumi:"url"`
}

Provides a LaunchDarkly webhook resource.

This resource allows you to create and manage webhooks within your LaunchDarkly organization.

## Import

LaunchDarkly webhooks can be imported using the webhook's 24 character ID, e.g.

```sh

$ pulumi import launchdarkly:index/webhook:Webhook example 57c0af609969090743529967

```

func GetWebhook

func GetWebhook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WebhookState, opts ...pulumi.ResourceOption) (*Webhook, error)

GetWebhook gets an existing Webhook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWebhook

func NewWebhook(ctx *pulumi.Context,
	name string, args *WebhookArgs, opts ...pulumi.ResourceOption) (*Webhook, error)

NewWebhook registers a new resource with the given unique name, arguments, and options.

func (*Webhook) ElementType

func (*Webhook) ElementType() reflect.Type

func (*Webhook) ToWebhookOutput

func (i *Webhook) ToWebhookOutput() WebhookOutput

func (*Webhook) ToWebhookOutputWithContext

func (i *Webhook) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput

type WebhookArgs

type WebhookArgs struct {
	// The webhook's human-readable name.
	Name pulumi.StringPtrInput
	// Specifies whether the webhook is enabled.
	On pulumi.BoolPtrInput
	// The secret used to sign the webhook.
	Secret     pulumi.StringPtrInput
	Statements WebhookStatementArrayInput
	// Set of tags associated with the webhook.
	Tags pulumi.StringArrayInput
	// The URL of the remote webhook.
	Url pulumi.StringInput
}

The set of arguments for constructing a Webhook resource.

func (WebhookArgs) ElementType

func (WebhookArgs) ElementType() reflect.Type

type WebhookArray

type WebhookArray []WebhookInput

func (WebhookArray) ElementType

func (WebhookArray) ElementType() reflect.Type

func (WebhookArray) ToWebhookArrayOutput

func (i WebhookArray) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArray) ToWebhookArrayOutputWithContext

func (i WebhookArray) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput

type WebhookArrayInput

type WebhookArrayInput interface {
	pulumi.Input

	ToWebhookArrayOutput() WebhookArrayOutput
	ToWebhookArrayOutputWithContext(context.Context) WebhookArrayOutput
}

WebhookArrayInput is an input type that accepts WebhookArray and WebhookArrayOutput values. You can construct a concrete instance of `WebhookArrayInput` via:

WebhookArray{ WebhookArgs{...} }

type WebhookArrayOutput

type WebhookArrayOutput struct{ *pulumi.OutputState }

func (WebhookArrayOutput) ElementType

func (WebhookArrayOutput) ElementType() reflect.Type

func (WebhookArrayOutput) Index

func (WebhookArrayOutput) ToWebhookArrayOutput

func (o WebhookArrayOutput) ToWebhookArrayOutput() WebhookArrayOutput

func (WebhookArrayOutput) ToWebhookArrayOutputWithContext

func (o WebhookArrayOutput) ToWebhookArrayOutputWithContext(ctx context.Context) WebhookArrayOutput

type WebhookInput

type WebhookInput interface {
	pulumi.Input

	ToWebhookOutput() WebhookOutput
	ToWebhookOutputWithContext(ctx context.Context) WebhookOutput
}

type WebhookMap

type WebhookMap map[string]WebhookInput

func (WebhookMap) ElementType

func (WebhookMap) ElementType() reflect.Type

func (WebhookMap) ToWebhookMapOutput

func (i WebhookMap) ToWebhookMapOutput() WebhookMapOutput

func (WebhookMap) ToWebhookMapOutputWithContext

func (i WebhookMap) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput

type WebhookMapInput

type WebhookMapInput interface {
	pulumi.Input

	ToWebhookMapOutput() WebhookMapOutput
	ToWebhookMapOutputWithContext(context.Context) WebhookMapOutput
}

WebhookMapInput is an input type that accepts WebhookMap and WebhookMapOutput values. You can construct a concrete instance of `WebhookMapInput` via:

WebhookMap{ "key": WebhookArgs{...} }

type WebhookMapOutput

type WebhookMapOutput struct{ *pulumi.OutputState }

func (WebhookMapOutput) ElementType

func (WebhookMapOutput) ElementType() reflect.Type

func (WebhookMapOutput) MapIndex

func (WebhookMapOutput) ToWebhookMapOutput

func (o WebhookMapOutput) ToWebhookMapOutput() WebhookMapOutput

func (WebhookMapOutput) ToWebhookMapOutputWithContext

func (o WebhookMapOutput) ToWebhookMapOutputWithContext(ctx context.Context) WebhookMapOutput

type WebhookOutput

type WebhookOutput struct{ *pulumi.OutputState }

func (WebhookOutput) ElementType

func (WebhookOutput) ElementType() reflect.Type

func (WebhookOutput) Name

The webhook's human-readable name.

func (WebhookOutput) On

Specifies whether the webhook is enabled.

func (WebhookOutput) Secret

The secret used to sign the webhook.

func (WebhookOutput) Statements

func (WebhookOutput) Tags

Set of tags associated with the webhook.

func (WebhookOutput) ToWebhookOutput

func (o WebhookOutput) ToWebhookOutput() WebhookOutput

func (WebhookOutput) ToWebhookOutputWithContext

func (o WebhookOutput) ToWebhookOutputWithContext(ctx context.Context) WebhookOutput

func (WebhookOutput) Url

The URL of the remote webhook.

type WebhookState

type WebhookState struct {
	// The webhook's human-readable name.
	Name pulumi.StringPtrInput
	// Specifies whether the webhook is enabled.
	On pulumi.BoolPtrInput
	// The secret used to sign the webhook.
	Secret     pulumi.StringPtrInput
	Statements WebhookStatementArrayInput
	// Set of tags associated with the webhook.
	Tags pulumi.StringArrayInput
	// The URL of the remote webhook.
	Url pulumi.StringPtrInput
}

func (WebhookState) ElementType

func (WebhookState) ElementType() reflect.Type

type WebhookStatement

type WebhookStatement struct {
	// The list of action specifiers defining the actions to which the statement applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).
	Actions []string `pulumi:"actions"`
	// Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect string `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the statement does not apply. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).
	NotActions []string `pulumi:"notActions"`
	// The list of resource specifiers defining the resources to which the statement does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	NotResources []string `pulumi:"notResources"`
	// The list of resource specifiers defining the resources to which the statement applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	Resources []string `pulumi:"resources"`
}

type WebhookStatementArgs

type WebhookStatementArgs struct {
	// The list of action specifiers defining the actions to which the statement applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).
	Actions pulumi.StringArrayInput `pulumi:"actions"`
	// Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.
	Effect pulumi.StringInput `pulumi:"effect"`
	// The list of action specifiers defining the actions to which the statement does not apply. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).
	NotActions pulumi.StringArrayInput `pulumi:"notActions"`
	// The list of resource specifiers defining the resources to which the statement does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	NotResources pulumi.StringArrayInput `pulumi:"notResources"`
	// The list of resource specifiers defining the resources to which the statement applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).
	Resources pulumi.StringArrayInput `pulumi:"resources"`
}

func (WebhookStatementArgs) ElementType

func (WebhookStatementArgs) ElementType() reflect.Type

func (WebhookStatementArgs) ToWebhookStatementOutput

func (i WebhookStatementArgs) ToWebhookStatementOutput() WebhookStatementOutput

func (WebhookStatementArgs) ToWebhookStatementOutputWithContext

func (i WebhookStatementArgs) ToWebhookStatementOutputWithContext(ctx context.Context) WebhookStatementOutput

type WebhookStatementArray

type WebhookStatementArray []WebhookStatementInput

func (WebhookStatementArray) ElementType

func (WebhookStatementArray) ElementType() reflect.Type

func (WebhookStatementArray) ToWebhookStatementArrayOutput

func (i WebhookStatementArray) ToWebhookStatementArrayOutput() WebhookStatementArrayOutput

func (WebhookStatementArray) ToWebhookStatementArrayOutputWithContext

func (i WebhookStatementArray) ToWebhookStatementArrayOutputWithContext(ctx context.Context) WebhookStatementArrayOutput

type WebhookStatementArrayInput

type WebhookStatementArrayInput interface {
	pulumi.Input

	ToWebhookStatementArrayOutput() WebhookStatementArrayOutput
	ToWebhookStatementArrayOutputWithContext(context.Context) WebhookStatementArrayOutput
}

WebhookStatementArrayInput is an input type that accepts WebhookStatementArray and WebhookStatementArrayOutput values. You can construct a concrete instance of `WebhookStatementArrayInput` via:

WebhookStatementArray{ WebhookStatementArgs{...} }

type WebhookStatementArrayOutput

type WebhookStatementArrayOutput struct{ *pulumi.OutputState }

func (WebhookStatementArrayOutput) ElementType

func (WebhookStatementArrayOutput) Index

func (WebhookStatementArrayOutput) ToWebhookStatementArrayOutput

func (o WebhookStatementArrayOutput) ToWebhookStatementArrayOutput() WebhookStatementArrayOutput

func (WebhookStatementArrayOutput) ToWebhookStatementArrayOutputWithContext

func (o WebhookStatementArrayOutput) ToWebhookStatementArrayOutputWithContext(ctx context.Context) WebhookStatementArrayOutput

type WebhookStatementInput

type WebhookStatementInput interface {
	pulumi.Input

	ToWebhookStatementOutput() WebhookStatementOutput
	ToWebhookStatementOutputWithContext(context.Context) WebhookStatementOutput
}

WebhookStatementInput is an input type that accepts WebhookStatementArgs and WebhookStatementOutput values. You can construct a concrete instance of `WebhookStatementInput` via:

WebhookStatementArgs{...}

type WebhookStatementOutput

type WebhookStatementOutput struct{ *pulumi.OutputState }

func (WebhookStatementOutput) Actions

The list of action specifiers defining the actions to which the statement applies. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).

func (WebhookStatementOutput) Effect

Either `allow` or `deny`. This argument defines whether the statement allows or denies access to the named resources and actions.

func (WebhookStatementOutput) ElementType

func (WebhookStatementOutput) ElementType() reflect.Type

func (WebhookStatementOutput) NotActions

The list of action specifiers defining the actions to which the statement does not apply. Either `actions` or `notActions` must be specified. For a list of available actions read [Actions reference](https://docs.launchdarkly.com/home/account-security/custom-roles/actions#actions-reference).

func (WebhookStatementOutput) NotResources

The list of resource specifiers defining the resources to which the statement does not apply. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).

func (WebhookStatementOutput) Resources

The list of resource specifiers defining the resources to which the statement applies. Either `resources` or `notResources` must be specified. For a list of available resources read [Understanding resource types and scopes](https://docs.launchdarkly.com/home/account-security/custom-roles/resources#understanding-resource-types-and-scopes).

func (WebhookStatementOutput) ToWebhookStatementOutput

func (o WebhookStatementOutput) ToWebhookStatementOutput() WebhookStatementOutput

func (WebhookStatementOutput) ToWebhookStatementOutputWithContext

func (o WebhookStatementOutput) ToWebhookStatementOutputWithContext(ctx context.Context) WebhookStatementOutput

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL