Documentation
¶
Index ¶
- func FeatureFlag_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func FeatureFlag_IsConstruct(x interface{}) *bool
- func FeatureFlag_IsTerraformElement(x interface{}) *bool
- func FeatureFlag_IsTerraformResource(x interface{}) *bool
- func FeatureFlag_TfResourceType() *string
- func NewFeatureFlagClientSideAvailabilityList_Override(f FeatureFlagClientSideAvailabilityList, ...)
- func NewFeatureFlagClientSideAvailabilityOutputReference_Override(f FeatureFlagClientSideAvailabilityOutputReference, ...)
- func NewFeatureFlagCustomPropertiesList_Override(f FeatureFlagCustomPropertiesList, ...)
- func NewFeatureFlagCustomPropertiesOutputReference_Override(f FeatureFlagCustomPropertiesOutputReference, ...)
- func NewFeatureFlagDefaultsOutputReference_Override(f FeatureFlagDefaultsOutputReference, ...)
- func NewFeatureFlagVariationsList_Override(f FeatureFlagVariationsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewFeatureFlagVariationsOutputReference_Override(f FeatureFlagVariationsOutputReference, ...)
- func NewFeatureFlag_Override(f FeatureFlag, scope constructs.Construct, id *string, ...)
- type FeatureFlag
- type FeatureFlagClientSideAvailability
- type FeatureFlagClientSideAvailabilityList
- type FeatureFlagClientSideAvailabilityOutputReference
- type FeatureFlagConfig
- type FeatureFlagCustomProperties
- type FeatureFlagCustomPropertiesList
- type FeatureFlagCustomPropertiesOutputReference
- type FeatureFlagDefaults
- type FeatureFlagDefaultsOutputReference
- type FeatureFlagVariations
- type FeatureFlagVariationsList
- type FeatureFlagVariationsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FeatureFlag_GenerateConfigForImport ¶
func FeatureFlag_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a FeatureFlag resource upon running "cdktf plan <stack-name>".
func FeatureFlag_IsConstruct ¶
func FeatureFlag_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 FeatureFlag_IsTerraformElement ¶
func FeatureFlag_IsTerraformElement(x interface{}) *bool
Experimental.
func FeatureFlag_IsTerraformResource ¶
func FeatureFlag_IsTerraformResource(x interface{}) *bool
Experimental.
func FeatureFlag_TfResourceType ¶
func FeatureFlag_TfResourceType() *string
func NewFeatureFlagClientSideAvailabilityList_Override ¶
func NewFeatureFlagClientSideAvailabilityList_Override(f FeatureFlagClientSideAvailabilityList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewFeatureFlagClientSideAvailabilityOutputReference_Override ¶
func NewFeatureFlagClientSideAvailabilityOutputReference_Override(f FeatureFlagClientSideAvailabilityOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewFeatureFlagCustomPropertiesList_Override ¶
func NewFeatureFlagCustomPropertiesList_Override(f FeatureFlagCustomPropertiesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewFeatureFlagCustomPropertiesOutputReference_Override ¶
func NewFeatureFlagCustomPropertiesOutputReference_Override(f FeatureFlagCustomPropertiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewFeatureFlagDefaultsOutputReference_Override ¶
func NewFeatureFlagDefaultsOutputReference_Override(f FeatureFlagDefaultsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewFeatureFlagVariationsList_Override ¶
func NewFeatureFlagVariationsList_Override(f FeatureFlagVariationsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewFeatureFlagVariationsOutputReference_Override ¶
func NewFeatureFlagVariationsOutputReference_Override(f FeatureFlagVariationsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewFeatureFlag_Override ¶
func NewFeatureFlag_Override(f FeatureFlag, scope constructs.Construct, id *string, config *FeatureFlagConfig)
Create a new {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag launchdarkly_feature_flag} Resource.
Types ¶
type FeatureFlag ¶
type FeatureFlag interface { cdktf.TerraformResource Archived() interface{} SetArchived(val interface{}) ArchivedInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack ClientSideAvailability() FeatureFlagClientSideAvailabilityList ClientSideAvailabilityInput() interface{} // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CustomProperties() FeatureFlagCustomPropertiesList CustomPropertiesInput() interface{} Defaults() FeatureFlagDefaultsOutputReference DefaultsInput() *FeatureFlagDefaults // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string IncludeInSnippet() interface{} SetIncludeInSnippet(val interface{}) IncludeInSnippetInput() interface{} Key() *string SetKey(val *string) KeyInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MaintainerId() *string SetMaintainerId(val *string) MaintainerIdInput() *string MaintainerTeamKey() *string SetMaintainerTeamKey(val *string) MaintainerTeamKeyInput() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node ProjectKey() *string SetProjectKey(val *string) ProjectKeyInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Tags() *[]*string SetTags(val *[]*string) TagsInput() *[]*string Temporary() interface{} SetTemporary(val interface{}) TemporaryInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Variations() FeatureFlagVariationsList VariationsInput() interface{} VariationType() *string SetVariationType(val *string) VariationTypeInput() *string // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutClientSideAvailability(value interface{}) PutCustomProperties(value interface{}) PutDefaults(value *FeatureFlagDefaults) PutVariations(value interface{}) ResetArchived() ResetClientSideAvailability() ResetCustomProperties() ResetDefaults() ResetDescription() ResetId() ResetIncludeInSnippet() ResetMaintainerId() ResetMaintainerTeamKey() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetTags() ResetTemporary() ResetVariations() 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/resources/feature_flag launchdarkly_feature_flag}.
func NewFeatureFlag ¶
func NewFeatureFlag(scope constructs.Construct, id *string, config *FeatureFlagConfig) FeatureFlag
Create a new {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag launchdarkly_feature_flag} Resource.
type FeatureFlagClientSideAvailability ¶
type FeatureFlagClientSideAvailability struct { // Whether this flag is available to SDKs using the client-side ID. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#using_environment_id FeatureFlag#using_environment_id} UsingEnvironmentId interface{} `field:"optional" json:"usingEnvironmentId" yaml:"usingEnvironmentId"` // Whether this flag is available to SDKs using a mobile key. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#using_mobile_key FeatureFlag#using_mobile_key} UsingMobileKey interface{} `field:"optional" json:"usingMobileKey" yaml:"usingMobileKey"` }
type FeatureFlagClientSideAvailabilityList ¶
type FeatureFlagClientSideAvailabilityList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) FeatureFlagClientSideAvailabilityOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewFeatureFlagClientSideAvailabilityList ¶
func NewFeatureFlagClientSideAvailabilityList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) FeatureFlagClientSideAvailabilityList
type FeatureFlagClientSideAvailabilityOutputReference ¶
type FeatureFlagClientSideAvailabilityOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) UsingEnvironmentId() interface{} SetUsingEnvironmentId(val interface{}) UsingEnvironmentIdInput() interface{} UsingMobileKey() interface{} SetUsingMobileKey(val interface{}) UsingMobileKeyInput() interface{} // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetUsingEnvironmentId() ResetUsingMobileKey() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewFeatureFlagClientSideAvailabilityOutputReference ¶
func NewFeatureFlagClientSideAvailabilityOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) FeatureFlagClientSideAvailabilityOutputReference
type FeatureFlagConfig ¶
type FeatureFlagConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // 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. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#key FeatureFlag#key} Key *string `field:"required" json:"key" yaml:"key"` // The human-readable name of the feature flag. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#name FeatureFlag#name} Name *string `field:"required" json:"name" yaml:"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. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#project_key FeatureFlag#project_key} ProjectKey *string `field:"required" json:"projectKey" yaml:"projectKey"` // The feature flag's variation type: `boolean`, `string`, `number` or `json`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#variation_type FeatureFlag#variation_type} VariationType *string `field:"required" json:"variationType" yaml:"variationType"` // Specifies whether the flag is archived or not. // // Note that you cannot create a new flag that is archived, but can update a flag to be archived. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#archived FeatureFlag#archived} Archived interface{} `field:"optional" json:"archived" yaml:"archived"` // client_side_availability block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#client_side_availability FeatureFlag#client_side_availability} ClientSideAvailability interface{} `field:"optional" json:"clientSideAvailability" yaml:"clientSideAvailability"` // custom_properties block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#custom_properties FeatureFlag#custom_properties} CustomProperties interface{} `field:"optional" json:"customProperties" yaml:"customProperties"` // defaults block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#defaults FeatureFlag#defaults} Defaults *FeatureFlagDefaults `field:"optional" json:"defaults" yaml:"defaults"` // The feature flag's description. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#description FeatureFlag#description} Description *string `field:"optional" json:"description" yaml:"description"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#id FeatureFlag#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // 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. `include_in_snippet` is now deprecated. Please migrate to `client_side_availability.using_environment_id` to maintain future compatibility. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#include_in_snippet FeatureFlag#include_in_snippet} IncludeInSnippet interface{} `field:"optional" json:"includeInSnippet" yaml:"includeInSnippet"` // The feature flag maintainer's 24 character alphanumeric team member ID. // // `maintainer_team_key` cannot be set if `maintainer_id` is set. If neither is set, it will automatically be or stay set to the member ID associated with the API key used by your LaunchDarkly Terraform provider or the most recently-set maintainer. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#maintainer_id FeatureFlag#maintainer_id} MaintainerId *string `field:"optional" json:"maintainerId" yaml:"maintainerId"` // The key of the associated team that maintains this feature flag. `maintainer_id` cannot be set if `maintainer_team_key` is set. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#maintainer_team_key FeatureFlag#maintainer_team_key} MaintainerTeamKey *string `field:"optional" json:"maintainerTeamKey" yaml:"maintainerTeamKey"` // Tags associated with your resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#tags FeatureFlag#tags} Tags *[]*string `field:"optional" json:"tags" yaml:"tags"` // Specifies whether the flag is a temporary flag. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#temporary FeatureFlag#temporary} Temporary interface{} `field:"optional" json:"temporary" yaml:"temporary"` // variations block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#variations FeatureFlag#variations} Variations interface{} `field:"optional" json:"variations" yaml:"variations"` }
type FeatureFlagCustomProperties ¶
type FeatureFlagCustomProperties struct { // The unique custom property key. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#key FeatureFlag#key} Key *string `field:"required" json:"key" yaml:"key"` // The name of the custom property. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#name FeatureFlag#name} Name *string `field:"required" json:"name" yaml:"name"` // The list of custom property value strings. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#value FeatureFlag#value} Value *[]*string `field:"required" json:"value" yaml:"value"` }
type FeatureFlagCustomPropertiesList ¶
type FeatureFlagCustomPropertiesList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) FeatureFlagCustomPropertiesOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewFeatureFlagCustomPropertiesList ¶
func NewFeatureFlagCustomPropertiesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) FeatureFlagCustomPropertiesList
type FeatureFlagCustomPropertiesOutputReference ¶
type FeatureFlagCustomPropertiesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Key() *string SetKey(val *string) KeyInput() *string Name() *string SetName(val *string) NameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *[]*string SetValue(val *[]*string) ValueInput() *[]*string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewFeatureFlagCustomPropertiesOutputReference ¶
func NewFeatureFlagCustomPropertiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) FeatureFlagCustomPropertiesOutputReference
type FeatureFlagDefaults ¶
type FeatureFlagDefaults struct { // The index of the variation the flag will default to in all new environments when off. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#off_variation FeatureFlag#off_variation} OffVariation *float64 `field:"required" json:"offVariation" yaml:"offVariation"` // The index of the variation the flag will default to in all new environments when on. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#on_variation FeatureFlag#on_variation} OnVariation *float64 `field:"required" json:"onVariation" yaml:"onVariation"` }
type FeatureFlagDefaultsOutputReference ¶
type FeatureFlagDefaultsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *FeatureFlagDefaults SetInternalValue(val *FeatureFlagDefaults) OffVariation() *float64 SetOffVariation(val *float64) OffVariationInput() *float64 OnVariation() *float64 SetOnVariation(val *float64) OnVariationInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewFeatureFlagDefaultsOutputReference ¶
func NewFeatureFlagDefaultsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) FeatureFlagDefaultsOutputReference
type FeatureFlagVariations ¶
type FeatureFlagVariations struct { // The variation value. // // The value's type must correspond to the `variation_type` argument. For example: `variation_type = "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`). // // If you wish to define an empty string variation, you must still define the value field on the variations block like so: // // “`terraform // variations { // value = "" // } // “` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#value FeatureFlag#value} Value *string `field:"required" json:"value" yaml:"value"` // The variation's description. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#description FeatureFlag#description} Description *string `field:"optional" json:"description" yaml:"description"` // The name of the variation. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.18.3/docs/resources/feature_flag#name FeatureFlag#name} Name *string `field:"optional" json:"name" yaml:"name"` }
type FeatureFlagVariationsList ¶
type FeatureFlagVariationsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) FeatureFlagVariationsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewFeatureFlagVariationsList ¶
func NewFeatureFlagVariationsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) FeatureFlagVariationsList
type FeatureFlagVariationsOutputReference ¶
type FeatureFlagVariationsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Description() *string SetDescription(val *string) DescriptionInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDescription() ResetName() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewFeatureFlagVariationsOutputReference ¶
func NewFeatureFlagVariationsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) FeatureFlagVariationsOutputReference
Source Files
¶
- FeatureFlag.go
- FeatureFlagClientSideAvailability.go
- FeatureFlagClientSideAvailabilityList.go
- FeatureFlagClientSideAvailabilityList__checks.go
- FeatureFlagClientSideAvailabilityOutputReference.go
- FeatureFlagClientSideAvailabilityOutputReference__checks.go
- FeatureFlagConfig.go
- FeatureFlagCustomProperties.go
- FeatureFlagCustomPropertiesList.go
- FeatureFlagCustomPropertiesList__checks.go
- FeatureFlagCustomPropertiesOutputReference.go
- FeatureFlagCustomPropertiesOutputReference__checks.go
- FeatureFlagDefaults.go
- FeatureFlagDefaultsOutputReference.go
- FeatureFlagDefaultsOutputReference__checks.go
- FeatureFlagVariations.go
- FeatureFlagVariationsList.go
- FeatureFlagVariationsList__checks.go
- FeatureFlagVariationsOutputReference.go
- FeatureFlagVariationsOutputReference__checks.go
- FeatureFlag__checks.go
- main.go