provider

package
v4.1.3 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

README

provider

Refer to the Terraform Registry for docs: launchdarkly.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LaunchdarklyProvider_GenerateConfigForImport

func LaunchdarklyProvider_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource

Generates CDKTF code for importing a LaunchdarklyProvider resource upon running "cdktf plan <stack-name>".

func LaunchdarklyProvider_IsConstruct

func LaunchdarklyProvider_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func LaunchdarklyProvider_IsTerraformElement

func LaunchdarklyProvider_IsTerraformElement(x interface{}) *bool

Experimental.

func LaunchdarklyProvider_IsTerraformProvider

func LaunchdarklyProvider_IsTerraformProvider(x interface{}) *bool

Experimental.

func LaunchdarklyProvider_TfResourceType

func LaunchdarklyProvider_TfResourceType() *string

func NewLaunchdarklyProvider_Override

func NewLaunchdarklyProvider_Override(l LaunchdarklyProvider, scope constructs.Construct, id *string, config *LaunchdarklyProviderConfig)

Create a new {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs launchdarkly} Resource.

Types

type LaunchdarklyProvider

type LaunchdarklyProvider interface {
	cdktf.TerraformProvider
	AccessToken() *string
	SetAccessToken(val *string)
	AccessTokenInput() *string
	Alias() *string
	SetAlias(val *string)
	AliasInput() *string
	ApiHost() *string
	SetApiHost(val *string)
	ApiHostInput() *string
	// Experimental.
	CdktfStack() cdktf.TerraformStack
	// Experimental.
	ConstructNodeMetadata() *map[string]interface{}
	// Experimental.
	Fqn() *string
	// Experimental.
	FriendlyUniqueId() *string
	HttpTimeout() *float64
	SetHttpTimeout(val *float64)
	HttpTimeoutInput() *float64
	// Experimental.
	MetaAttributes() *map[string]interface{}
	// The tree node.
	Node() constructs.Node
	OauthToken() *string
	SetOauthToken(val *string)
	OauthTokenInput() *string
	// Experimental.
	RawOverrides() interface{}
	// Experimental.
	TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
	// Experimental.
	TerraformProviderSource() *string
	// Experimental.
	TerraformResourceType() *string
	// Experimental.
	AddOverride(path *string, value interface{})
	// Overrides the auto-generated logical ID with a specific ID.
	// Experimental.
	OverrideLogicalId(newLogicalId *string)
	ResetAccessToken()
	ResetAlias()
	ResetApiHost()
	ResetHttpTimeout()
	ResetOauthToken()
	// Resets a previously passed logical Id to use the auto-generated logical id again.
	// Experimental.
	ResetOverrideLogicalId()
	SynthesizeAttributes() *map[string]interface{}
	SynthesizeHclAttributes() *map[string]interface{}
	// Experimental.
	ToHclTerraform() interface{}
	// Experimental.
	ToMetadata() interface{}
	// Returns a string representation of this construct.
	ToString() *string
	// Adds this resource to the terraform JSON output.
	// Experimental.
	ToTerraform() interface{}
}

Represents a {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs launchdarkly}.

func NewLaunchdarklyProvider

func NewLaunchdarklyProvider(scope constructs.Construct, id *string, config *LaunchdarklyProviderConfig) LaunchdarklyProvider

Create a new {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs launchdarkly} Resource.

type LaunchdarklyProviderConfig

type LaunchdarklyProviderConfig struct {
	// The [personal access token](https://docs.launchdarkly.com/home/account-security/api-access-tokens#personal-tokens) or [service token](https://docs.launchdarkly.com/home/account-security/api-access-tokens#service-tokens) used to authenticate with LaunchDarkly. You can also set this with the `LAUNCHDARKLY_ACCESS_TOKEN` environment variable. You must provide either `access_token` or `oauth_token`.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs#access_token LaunchdarklyProvider#access_token}
	AccessToken *string `field:"optional" json:"accessToken" yaml:"accessToken"`
	// Alias name.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs#alias LaunchdarklyProvider#alias}
	Alias *string `field:"optional" json:"alias" yaml:"alias"`
	// The LaunchDarkly host address. If this argument is not specified, the default host address is `https://app.launchdarkly.com`.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs#api_host LaunchdarklyProvider#api_host}
	ApiHost *string `field:"optional" json:"apiHost" yaml:"apiHost"`
	// The HTTP timeout (in seconds) when making API calls to LaunchDarkly.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs#http_timeout LaunchdarklyProvider#http_timeout}
	HttpTimeout *float64 `field:"optional" json:"httpTimeout" yaml:"httpTimeout"`
	// An OAuth V2 token you use to authenticate with LaunchDarkly.
	//
	// You can also set this with the `LAUNCHDARKLY_OAUTH_TOKEN` environment variable. You must provide either `access_token` or `oauth_token`.
	//
	// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs#oauth_token LaunchdarklyProvider#oauth_token}
	OauthToken *string `field:"optional" json:"oauthToken" yaml:"oauthToken"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL