Represents a {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric launchdarkly_metric}.
import { metric } from '@cdktf/provider-launchdarkly'
new metric.Metric(scope: Construct, id: string, config: MetricConfig)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
string |
The scoped construct ID. |
config |
MetricConfig |
No description. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: MetricConfig
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
addOverride |
No description. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
resetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
toHclTerraform |
No description. |
toMetadata |
No description. |
toTerraform |
Adds this resource to the terraform JSON output. |
addMoveTarget |
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
hasResourceMove |
No description. |
importFrom |
No description. |
interpolationForAttribute |
No description. |
moveFromId |
Move the resource corresponding to "id" to this resource. |
moveTo |
Moves this resource to the target resource given by moveTarget. |
moveToId |
Moves this resource to the resource corresponding to "id". |
putUrls |
No description. |
resetAnalysisType |
No description. |
resetDescription |
No description. |
resetEventKey |
No description. |
resetId |
No description. |
resetIncludeUnitsWithoutEvents |
No description. |
resetIsActive |
No description. |
resetIsNumeric |
No description. |
resetMaintainerId |
No description. |
resetPercentileValue |
No description. |
resetRandomizationUnits |
No description. |
resetSelector |
No description. |
resetSuccessCriteria |
No description. |
resetTags |
No description. |
resetUnit |
No description. |
resetUnitAggregationType |
No description. |
resetUrls |
No description. |
public toString(): string
Returns a string representation of this construct.
public addOverride(path: string, value: any): void
- Type: string
- Type: any
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public resetOverrideLogicalId(): void
Resets a previously passed logical Id to use the auto-generated logical id again.
public toHclTerraform(): any
public toMetadata(): any
public toTerraform(): any
Adds this resource to the terraform JSON output.
public addMoveTarget(moveTarget: string): void
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: string
The string move target that will correspond to this resource.
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public hasResourceMove(): TerraformResourceMoveByTarget | TerraformResourceMoveById
public importFrom(id: string, provider?: TerraformProvider): void
- Type: string
- Type: cdktf.TerraformProvider
public interpolationForAttribute(terraformAttribute: string): IResolvable
- Type: string
public moveFromId(id: string): void
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.
- Type: string
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
public moveTo(moveTarget: string, index?: string | number): void
Moves this resource to the target resource given by moveTarget.
- Type: string
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: string | number
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
public moveToId(id: string): void
Moves this resource to the resource corresponding to "id".
- Type: string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
public putUrls(value: IResolvable | MetricUrls[]): void
- Type: cdktf.IResolvable | MetricUrls[]
public resetAnalysisType(): void
public resetDescription(): void
public resetEventKey(): void
public resetId(): void
public resetIncludeUnitsWithoutEvents(): void
public resetIsActive(): void
public resetIsNumeric(): void
public resetMaintainerId(): void
public resetPercentileValue(): void
public resetRandomizationUnits(): void
public resetSelector(): void
public resetSuccessCriteria(): void
public resetTags(): void
public resetUnit(): void
public resetUnitAggregationType(): void
public resetUrls(): void
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformResource |
No description. |
generateConfigForImport |
Generates CDKTF code for importing a Metric resource upon running "cdktf plan ". |
import { metric } from '@cdktf/provider-launchdarkly'
metric.Metric.isConstruct(x: any)
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.
- Type: any
Any object.
import { metric } from '@cdktf/provider-launchdarkly'
metric.Metric.isTerraformElement(x: any)
- Type: any
import { metric } from '@cdktf/provider-launchdarkly'
metric.Metric.isTerraformResource(x: any)
- Type: any
import { metric } from '@cdktf/provider-launchdarkly'
metric.Metric.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)
Generates CDKTF code for importing a Metric resource upon running "cdktf plan ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the Metric to import.
- Type: string
The id of the existing Metric that should be imported.
Refer to the {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the Metric to import is found.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktfStack |
cdktf.TerraformStack |
No description. |
fqn |
string |
No description. |
friendlyUniqueId |
string |
No description. |
terraformMetaArguments |
{[ key: string ]: any} |
No description. |
terraformResourceType |
string |
No description. |
terraformGeneratorMetadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
string[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
urls |
MetricUrlsList |
No description. |
version |
number |
No description. |
analysisTypeInput |
string |
No description. |
descriptionInput |
string |
No description. |
eventKeyInput |
string |
No description. |
idInput |
string |
No description. |
includeUnitsWithoutEventsInput |
boolean | cdktf.IResolvable |
No description. |
isActiveInput |
boolean | cdktf.IResolvable |
No description. |
isNumericInput |
boolean | cdktf.IResolvable |
No description. |
keyInput |
string |
No description. |
kindInput |
string |
No description. |
maintainerIdInput |
string |
No description. |
nameInput |
string |
No description. |
percentileValueInput |
number |
No description. |
projectKeyInput |
string |
No description. |
randomizationUnitsInput |
string[] |
No description. |
selectorInput |
string |
No description. |
successCriteriaInput |
string |
No description. |
tagsInput |
string[] |
No description. |
unitAggregationTypeInput |
string |
No description. |
unitInput |
string |
No description. |
urlsInput |
cdktf.IResolvable | MetricUrls[] |
No description. |
analysisType |
string |
No description. |
description |
string |
No description. |
eventKey |
string |
No description. |
id |
string |
No description. |
includeUnitsWithoutEvents |
boolean | cdktf.IResolvable |
No description. |
isActive |
boolean | cdktf.IResolvable |
No description. |
isNumeric |
boolean | cdktf.IResolvable |
No description. |
key |
string |
No description. |
kind |
string |
No description. |
maintainerId |
string |
No description. |
name |
string |
No description. |
percentileValue |
number |
No description. |
projectKey |
string |
No description. |
randomizationUnits |
string[] |
No description. |
selector |
string |
No description. |
successCriteria |
string |
No description. |
tags |
string[] |
No description. |
unit |
string |
No description. |
unitAggregationType |
string |
No description. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly cdktfStack: TerraformStack;
- Type: cdktf.TerraformStack
public readonly fqn: string;
- Type: string
public readonly friendlyUniqueId: string;
- Type: string
public readonly terraformMetaArguments: {[ key: string ]: any};
- Type: {[ key: string ]: any}
public readonly terraformResourceType: string;
- Type: string
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
- Type: cdktf.TerraformProviderGeneratorMetadata
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: string[];
- Type: string[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly urls: MetricUrlsList;
- Type: MetricUrlsList
public readonly version: number;
- Type: number
public readonly analysisTypeInput: string;
- Type: string
public readonly descriptionInput: string;
- Type: string
public readonly eventKeyInput: string;
- Type: string
public readonly idInput: string;
- Type: string
public readonly includeUnitsWithoutEventsInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly isActiveInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly isNumericInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly keyInput: string;
- Type: string
public readonly kindInput: string;
- Type: string
public readonly maintainerIdInput: string;
- Type: string
public readonly nameInput: string;
- Type: string
public readonly percentileValueInput: number;
- Type: number
public readonly projectKeyInput: string;
- Type: string
public readonly randomizationUnitsInput: string[];
- Type: string[]
public readonly selectorInput: string;
- Type: string
public readonly successCriteriaInput: string;
- Type: string
public readonly tagsInput: string[];
- Type: string[]
public readonly unitAggregationTypeInput: string;
- Type: string
public readonly unitInput: string;
- Type: string
public readonly urlsInput: IResolvable | MetricUrls[];
- Type: cdktf.IResolvable | MetricUrls[]
public readonly analysisType: string;
- Type: string
public readonly description: string;
- Type: string
public readonly eventKey: string;
- Type: string
public readonly id: string;
- Type: string
public readonly includeUnitsWithoutEvents: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly isActive: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly isNumeric: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly key: string;
- Type: string
public readonly kind: string;
- Type: string
public readonly maintainerId: string;
- Type: string
public readonly name: string;
- Type: string
public readonly percentileValue: number;
- Type: number
public readonly projectKey: string;
- Type: string
public readonly randomizationUnits: string[];
- Type: string[]
public readonly selector: string;
- Type: string
public readonly successCriteria: string;
- Type: string
public readonly tags: string[];
- Type: string[]
public readonly unit: string;
- Type: string
public readonly unitAggregationType: string;
- Type: string
Name | Type | Description |
---|---|---|
tfResourceType |
string |
No description. |
public readonly tfResourceType: string;
- Type: string
import { metric } from '@cdktf/provider-launchdarkly'
const metricConfig: metric.MetricConfig = { ... }
Name | Type | Description |
---|---|---|
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
cdktf.ITerraformDependable[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
key |
string |
The unique key that references the metric. |
kind |
string |
The metric type. |
name |
string |
The human-friendly name for the metric. |
projectKey |
string |
The metrics's project key. |
analysisType |
string |
The method for analyzing metric events. Available choices are mean and percentile . |
description |
string |
The description of the metric's purpose. |
eventKey |
string |
The event key for your metric (if custom metric). |
id |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#id Metric#id}. |
includeUnitsWithoutEvents |
boolean | cdktf.IResolvable |
Include units that did not send any events and set their value to 0. |
isActive |
boolean | cdktf.IResolvable |
Ignored. All metrics are considered active. |
isNumeric |
boolean | cdktf.IResolvable |
Whether a custom metric is a numeric metric or not. |
maintainerId |
string |
The LaunchDarkly member ID of the member who will maintain the metric. |
percentileValue |
number |
The percentile for the analysis method. |
randomizationUnits |
string[] |
A set of one or more context kinds that this metric can measure events from. |
selector |
string |
The CSS selector for your metric (if click metric). |
successCriteria |
string |
The success criteria for your metric (if numeric metric). Available choices are HigherThanBaseline and LowerThanBaseline . |
tags |
string[] |
Tags associated with your resource. |
unit |
string |
(Required for kind custom ) The unit for numeric custom metrics. |
unitAggregationType |
string |
The method by which multiple unit event values are aggregated. Available choices are average and sum . |
urls |
cdktf.IResolvable | MetricUrls[] |
urls block. |
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: ITerraformDependable[];
- Type: cdktf.ITerraformDependable[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly key: string;
- Type: string
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. 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.24.0/docs/resources/metric#key Metric#key}
public readonly kind: string;
- Type: string
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.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#kind Metric#kind}
public readonly name: string;
- Type: string
The human-friendly name for the metric.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#name Metric#name}
public readonly projectKey: string;
- Type: string
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. 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.24.0/docs/resources/metric#project_key Metric#project_key}
public readonly analysisType: string;
- Type: string
The method for analyzing metric events. Available choices are mean
and percentile
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#analysis_type Metric#analysis_type}
public readonly description: string;
- Type: string
The description of the metric's purpose.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#description Metric#description}
public readonly eventKey: string;
- Type: string
The event key for your metric (if custom metric).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#event_key Metric#event_key}
public readonly id: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#id Metric#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.
public readonly includeUnitsWithoutEvents: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Include units that did not send any events and set their value to 0.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#include_units_without_events Metric#include_units_without_events}
public readonly isActive: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Ignored. All metrics are considered active.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#is_active Metric#is_active}
public readonly isNumeric: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Whether a custom
metric is a numeric metric or not.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#is_numeric Metric#is_numeric}
public readonly maintainerId: string;
- Type: string
The LaunchDarkly member ID of the member 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
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#maintainer_id Metric#maintainer_id}
public readonly percentileValue: number;
- Type: number
The percentile for the analysis method.
An integer denoting the target percentile between 0 and 100. Required when analysis_type is percentile.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#percentile_value Metric#percentile_value}
public readonly randomizationUnits: string[];
- Type: string[]
A set of one or more context kinds that this metric can measure events from.
Metrics can only use context kinds marked as "Available for experiments." For more information, read Allocating experiment audiences.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#randomization_units Metric#randomization_units}
public readonly selector: string;
- Type: string
The CSS selector for your metric (if click metric).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#selector Metric#selector}
public readonly successCriteria: string;
- Type: string
The success criteria for your metric (if numeric metric). Available choices are HigherThanBaseline
and LowerThanBaseline
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#success_criteria Metric#success_criteria}
public readonly tags: string[];
- Type: string[]
Tags associated with your resource.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#tags Metric#tags}
public readonly unit: string;
- Type: string
(Required for kind custom
) The unit for numeric custom
metrics.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#unit Metric#unit}
public readonly unitAggregationType: string;
- Type: string
The method by which multiple unit event values are aggregated. Available choices are average
and sum
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#unit_aggregation_type Metric#unit_aggregation_type}
public readonly urls: IResolvable | MetricUrls[];
- Type: cdktf.IResolvable | MetricUrls[]
urls block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#urls Metric#urls}
import { metric } from '@cdktf/provider-launchdarkly'
const metricUrls: metric.MetricUrls = { ... }
Name | Type | Description |
---|---|---|
kind |
string |
The URL type. Available choices are exact , canonical , substring and regex . |
pattern |
string |
(Required for kind regex ) The regex pattern to match by. |
substring |
string |
(Required for kind substring ) The URL substring to match by. |
url |
string |
(Required for kind exact and canonical ) The exact or canonical URL. |
public readonly kind: string;
- Type: string
The URL type. Available choices are exact
, canonical
, substring
and regex
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#kind Metric#kind}
public readonly pattern: string;
- Type: string
(Required for kind regex
) The regex pattern to match by.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#pattern Metric#pattern}
public readonly substring: string;
- Type: string
(Required for kind substring
) The URL substring to match by.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#substring Metric#substring}
public readonly url: string;
- Type: string
(Required for kind exact
and canonical
) The exact or canonical URL.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/launchdarkly/launchdarkly/2.24.0/docs/resources/metric#url Metric#url}
import { metric } from '@cdktf/provider-launchdarkly'
new metric.MetricUrlsList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
wrapsSet |
boolean |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
- Type: boolean
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
allWithMapKey |
Creating an iterator for this complex list. |
computeFqn |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
get |
No description. |
public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator
Creating an iterator for this complex list.
The list will be converted into a map with the mapKeyAttributeName as the key.
- Type: string
public computeFqn(): string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public get(index: number): MetricUrlsOutputReference
- Type: number
the index of the item to return.
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
internalValue |
cdktf.IResolvable | MetricUrls[] |
No description. |
public readonly creationStack: string[];
- Type: 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.
public readonly fqn: string;
- Type: string
public readonly internalValue: IResolvable | MetricUrls[];
- Type: cdktf.IResolvable | MetricUrls[]
import { metric } from '@cdktf/provider-launchdarkly'
new metric.MetricUrlsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
complexObjectIndex |
number |
the index of this item in the list. |
complexObjectIsFromSet |
boolean |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
- Type: number
the index of this item in the list.
- Type: boolean
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
resetPattern |
No description. |
resetSubstring |
No description. |
resetUrl |
No description. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
public resetPattern(): void
public resetSubstring(): void
public resetUrl(): void
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
kindInput |
string |
No description. |
patternInput |
string |
No description. |
substringInput |
string |
No description. |
urlInput |
string |
No description. |
kind |
string |
No description. |
pattern |
string |
No description. |
substring |
string |
No description. |
url |
string |
No description. |
internalValue |
cdktf.IResolvable | MetricUrls |
No description. |
public readonly creationStack: string[];
- Type: 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.
public readonly fqn: string;
- Type: string
public readonly kindInput: string;
- Type: string
public readonly patternInput: string;
- Type: string
public readonly substringInput: string;
- Type: string
public readonly urlInput: string;
- Type: string
public readonly kind: string;
- Type: string
public readonly pattern: string;
- Type: string
public readonly substring: string;
- Type: string
public readonly url: string;
- Type: string
public readonly internalValue: IResolvable | MetricUrls;
- Type: cdktf.IResolvable | MetricUrls