Documentation
¶
Index ¶
- func NewSegmentExcludedContextsList_Override(s SegmentExcludedContextsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSegmentExcludedContextsOutputReference_Override(s SegmentExcludedContextsOutputReference, ...)
- func NewSegmentIncludedContextsList_Override(s SegmentIncludedContextsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSegmentIncludedContextsOutputReference_Override(s SegmentIncludedContextsOutputReference, ...)
- func NewSegmentRulesClausesList_Override(s SegmentRulesClausesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSegmentRulesClausesOutputReference_Override(s SegmentRulesClausesOutputReference, ...)
- func NewSegmentRulesList_Override(s SegmentRulesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSegmentRulesOutputReference_Override(s SegmentRulesOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSegment_Override(s Segment, scope constructs.Construct, id *string, config *SegmentConfig)
- func Segment_IsConstruct(x interface{}) *bool
- func Segment_IsTerraformElement(x interface{}) *bool
- func Segment_IsTerraformResource(x interface{}) *bool
- func Segment_TfResourceType() *string
- type Segment
- type SegmentConfig
- type SegmentExcludedContexts
- type SegmentExcludedContextsList
- type SegmentExcludedContextsOutputReference
- type SegmentIncludedContexts
- type SegmentIncludedContextsList
- type SegmentIncludedContextsOutputReference
- type SegmentRules
- type SegmentRulesClauses
- type SegmentRulesClausesList
- type SegmentRulesClausesOutputReference
- type SegmentRulesList
- type SegmentRulesOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSegmentExcludedContextsList_Override ¶
func NewSegmentExcludedContextsList_Override(s SegmentExcludedContextsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewSegmentExcludedContextsOutputReference_Override ¶
func NewSegmentExcludedContextsOutputReference_Override(s SegmentExcludedContextsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewSegmentIncludedContextsList_Override ¶
func NewSegmentIncludedContextsList_Override(s SegmentIncludedContextsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewSegmentIncludedContextsOutputReference_Override ¶
func NewSegmentIncludedContextsOutputReference_Override(s SegmentIncludedContextsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewSegmentRulesClausesList_Override ¶
func NewSegmentRulesClausesList_Override(s SegmentRulesClausesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewSegmentRulesClausesOutputReference_Override ¶
func NewSegmentRulesClausesOutputReference_Override(s SegmentRulesClausesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewSegmentRulesList_Override ¶
func NewSegmentRulesList_Override(s SegmentRulesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewSegmentRulesOutputReference_Override ¶
func NewSegmentRulesOutputReference_Override(s SegmentRulesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewSegment_Override ¶
func NewSegment_Override(s Segment, scope constructs.Construct, id *string, config *SegmentConfig)
Create a new {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment launchdarkly_segment} Resource.
func Segment_IsConstruct ¶
func Segment_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 Segment_IsTerraformElement ¶
func Segment_IsTerraformElement(x interface{}) *bool
Experimental.
func Segment_IsTerraformResource ¶
func Segment_IsTerraformResource(x interface{}) *bool
Experimental.
func Segment_TfResourceType ¶
func Segment_TfResourceType() *string
Types ¶
type Segment ¶
type Segment interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreationDate() *float64 // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string EnvKey() *string SetEnvKey(val *string) EnvKeyInput() *string Excluded() *[]*string SetExcluded(val *[]*string) ExcludedContexts() SegmentExcludedContextsList ExcludedContextsInput() interface{} ExcludedInput() *[]*string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string Included() *[]*string SetIncluded(val *[]*string) IncludedContexts() SegmentIncludedContextsList IncludedContextsInput() interface{} IncludedInput() *[]*string Key() *string SetKey(val *string) KeyInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) 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{} Rules() SegmentRulesList RulesInput() interface{} Tags() *[]*string SetTags(val *[]*string) TagsInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutExcludedContexts(value interface{}) PutIncludedContexts(value interface{}) PutRules(value interface{}) ResetDescription() ResetExcluded() ResetExcludedContexts() ResetId() ResetIncluded() ResetIncludedContexts() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRules() ResetTags() SynthesizeAttributes() *map[string]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.15.0/docs/resources/segment launchdarkly_segment}.
func NewSegment ¶
func NewSegment(scope constructs.Construct, id *string, config *SegmentConfig) Segment
Create a new {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment launchdarkly_segment} Resource.
type SegmentConfig ¶
type SegmentConfig 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 segment's environment key. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#env_key Segment#env_key} EnvKey *string `field:"required" json:"envKey" yaml:"envKey"` // The unique key that references the segment. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#key Segment#key} Key *string `field:"required" json:"key" yaml:"key"` // The human-friendly name for the segment. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#name Segment#name} Name *string `field:"required" json:"name" yaml:"name"` // The segment's project key. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#project_key Segment#project_key} ProjectKey *string `field:"required" json:"projectKey" yaml:"projectKey"` // The description of the segment's purpose. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#description Segment#description} Description *string `field:"optional" json:"description" yaml:"description"` // List of user keys excluded from the segment. To target on other context kinds, use the excluded_contexts block attribute. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#excluded Segment#excluded} Excluded *[]*string `field:"optional" json:"excluded" yaml:"excluded"` // excluded_contexts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#excluded_contexts Segment#excluded_contexts} ExcludedContexts interface{} `field:"optional" json:"excludedContexts" yaml:"excludedContexts"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#id Segment#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"` // List of user keys included in the segment. To target on other context kinds, use the included_contexts block attribute. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#included Segment#included} Included *[]*string `field:"optional" json:"included" yaml:"included"` // included_contexts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#included_contexts Segment#included_contexts} IncludedContexts interface{} `field:"optional" json:"includedContexts" yaml:"includedContexts"` // rules block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#rules Segment#rules} Rules interface{} `field:"optional" json:"rules" yaml:"rules"` // Tags associated with your resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#tags Segment#tags} Tags *[]*string `field:"optional" json:"tags" yaml:"tags"` }
type SegmentExcludedContexts ¶
type SegmentExcludedContexts struct { // The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#context_kind Segment#context_kind} ContextKind *string `field:"required" json:"contextKind" yaml:"contextKind"` // List of target object keys included in or excluded from the segment. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#values Segment#values} Values *[]*string `field:"required" json:"values" yaml:"values"` }
type SegmentExcludedContextsList ¶
type SegmentExcludedContextsList 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) // Experimental. ComputeFqn() *string Get(index *float64) SegmentExcludedContextsOutputReference // 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 NewSegmentExcludedContextsList ¶
func NewSegmentExcludedContextsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) SegmentExcludedContextsList
type SegmentExcludedContextsOutputReference ¶
type SegmentExcludedContextsOutputReference 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) ContextKind() *string SetContextKind(val *string) ContextKindInput() *string // 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) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 NewSegmentExcludedContextsOutputReference ¶
func NewSegmentExcludedContextsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) SegmentExcludedContextsOutputReference
type SegmentIncludedContexts ¶
type SegmentIncludedContexts struct { // The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#context_kind Segment#context_kind} ContextKind *string `field:"required" json:"contextKind" yaml:"contextKind"` // List of target object keys included in or excluded from the segment. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#values Segment#values} Values *[]*string `field:"required" json:"values" yaml:"values"` }
type SegmentIncludedContextsList ¶
type SegmentIncludedContextsList 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) // Experimental. ComputeFqn() *string Get(index *float64) SegmentIncludedContextsOutputReference // 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 NewSegmentIncludedContextsList ¶
func NewSegmentIncludedContextsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) SegmentIncludedContextsList
type SegmentIncludedContextsOutputReference ¶
type SegmentIncludedContextsOutputReference 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) ContextKind() *string SetContextKind(val *string) ContextKindInput() *string // 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) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 NewSegmentIncludedContextsOutputReference ¶
func NewSegmentIncludedContextsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) SegmentIncludedContextsOutputReference
type SegmentRules ¶
type SegmentRules struct { // The attribute by which to group users together. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#bucket_by Segment#bucket_by} BucketBy *string `field:"optional" json:"bucketBy" yaml:"bucketBy"` // clauses block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#clauses Segment#clauses} Clauses interface{} `field:"optional" json:"clauses" yaml:"clauses"` // The context kind associated with this segment rule. // // This argument is only valid if weight is also specified. If omitted, defaults to 'user' // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#rollout_context_kind Segment#rollout_context_kind} RolloutContextKind *string `field:"optional" json:"rolloutContextKind" yaml:"rolloutContextKind"` // The integer weight of the rule (between 1 and 100000). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#weight Segment#weight} Weight *float64 `field:"optional" json:"weight" yaml:"weight"` }
type SegmentRulesClauses ¶
type SegmentRulesClauses struct { // The user attribute to operate on. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#attribute Segment#attribute} Attribute *string `field:"required" json:"attribute" yaml:"attribute"` // 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`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#op Segment#op} Op *string `field:"required" json:"op" yaml:"op"` // The list of values associated with the rule clause. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#values Segment#values} Values *[]*string `field:"required" json:"values" yaml:"values"` // The context kind associated with this rule clause. // // This argument is only valid if `rollout_weights` is also specified. If omitted, defaults to `user`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#context_kind Segment#context_kind} ContextKind *string `field:"optional" json:"contextKind" yaml:"contextKind"` // Whether to negate the rule clause. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#negate Segment#negate} Negate interface{} `field:"optional" json:"negate" yaml:"negate"` // The type for each of the clause's values. // // Available types are `boolean`, `string`, and `number`. If omitted, `value_type` defaults to `string`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.15.0/docs/resources/segment#value_type Segment#value_type} ValueType *string `field:"optional" json:"valueType" yaml:"valueType"` }
type SegmentRulesClausesList ¶
type SegmentRulesClausesList 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) // Experimental. ComputeFqn() *string Get(index *float64) SegmentRulesClausesOutputReference // 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 NewSegmentRulesClausesList ¶
func NewSegmentRulesClausesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) SegmentRulesClausesList
type SegmentRulesClausesOutputReference ¶
type SegmentRulesClausesOutputReference interface { cdktf.ComplexObject Attribute() *string SetAttribute(val *string) AttributeInput() *string // 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) ContextKind() *string SetContextKind(val *string) ContextKindInput() *string // 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{}) Negate() interface{} SetNegate(val interface{}) NegateInput() interface{} Op() *string SetOp(val *string) OpInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*string ValueType() *string SetValueType(val *string) ValueTypeInput() *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 ResetContextKind() ResetNegate() ResetValueType() // 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 NewSegmentRulesClausesOutputReference ¶
func NewSegmentRulesClausesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) SegmentRulesClausesOutputReference
type SegmentRulesList ¶
type SegmentRulesList 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) // Experimental. ComputeFqn() *string Get(index *float64) SegmentRulesOutputReference // 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 NewSegmentRulesList ¶
func NewSegmentRulesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) SegmentRulesList
type SegmentRulesOutputReference ¶
type SegmentRulesOutputReference interface { cdktf.ComplexObject BucketBy() *string SetBucketBy(val *string) BucketByInput() *string Clauses() SegmentRulesClausesList ClausesInput() interface{} // 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{}) RolloutContextKind() *string SetRolloutContextKind(val *string) RolloutContextKindInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Weight() *float64 SetWeight(val *float64) WeightInput() *float64 // 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 PutClauses(value interface{}) ResetBucketBy() ResetClauses() ResetRolloutContextKind() ResetWeight() // 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 NewSegmentRulesOutputReference ¶
func NewSegmentRulesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) SegmentRulesOutputReference
Source Files
¶
- Segment.go
- SegmentConfig.go
- SegmentExcludedContexts.go
- SegmentExcludedContextsList.go
- SegmentExcludedContextsList__checks.go
- SegmentExcludedContextsOutputReference.go
- SegmentExcludedContextsOutputReference__checks.go
- SegmentIncludedContexts.go
- SegmentIncludedContextsList.go
- SegmentIncludedContextsList__checks.go
- SegmentIncludedContextsOutputReference.go
- SegmentIncludedContextsOutputReference__checks.go
- SegmentRules.go
- SegmentRulesClauses.go
- SegmentRulesClausesList.go
- SegmentRulesClausesList__checks.go
- SegmentRulesClausesOutputReference.go
- SegmentRulesClausesOutputReference__checks.go
- SegmentRulesList.go
- SegmentRulesList__checks.go
- SegmentRulesOutputReference.go
- SegmentRulesOutputReference__checks.go
- Segment__checks.go
- main.go