Documentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Initializers
using Io.Cdktn;
new TerraformDataSource(Construct Scope, string Id, TerraformResourceConfig Config);
| Name | Type | Description |
|---|
Scope | Constructs.Construct | No description. |
Id | string | No description. |
Config | TerraformResourceConfig | No description. |
ScopeRequired
- Type: Constructs.Construct
IdRequired
ConfigRequired
Methods
| 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 | Adds this resource to the terraform JSON output. |
ToMetadata | No description. |
ToTerraform | Adds this resource to the terraform JSON output. |
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. |
ToString
private string ToString()
Returns a string representation of this construct.
AddOverride
private void AddOverride(string Path, object Value)
PathRequired
ValueRequired
OverrideLogicalId
private void OverrideLogicalId(string NewLogicalId)
Overrides the auto-generated logical ID with a specific ID.
NewLogicalIdRequired
The new logical ID to use for this stack element.
ResetOverrideLogicalId
private void ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
private object ToHclTerraform()
Adds this resource to the terraform JSON output.
private object ToMetadata()
private object ToTerraform()
Adds this resource to the terraform JSON output.
GetAnyMapAttribute
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
GetBooleanAttribute
private IResolvable GetBooleanAttribute(string TerraformAttribute)
GetBooleanMapAttribute
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
GetListAttribute
private string[] GetListAttribute(string TerraformAttribute)
GetNumberAttribute
private double GetNumberAttribute(string TerraformAttribute)
GetNumberListAttribute
private double[] GetNumberListAttribute(string TerraformAttribute)
GetNumberMapAttribute
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
GetStringAttribute
private string GetStringAttribute(string TerraformAttribute)
GetStringMapAttribute
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
InterpolationForAttribute
private IResolvable InterpolationForAttribute(string TerraformAttribute)
Static Functions
| Name | Description |
|---|
IsConstruct | Checks if x is a construct. |
IsTerraformElement | No description. |
IsTerraformDataSource | No description. |
IsConstruct
using Io.Cdktn;
TerraformDataSource.IsConstruct(object X);
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.
XRequired
Any object.
using Io.Cdktn;
TerraformDataSource.IsTerraformElement(object X);
XRequired
using Io.Cdktn;
TerraformDataSource.IsTerraformDataSource(object X);
XRequired
Properties
| Name | Type | Description |
|---|
Node | Constructs.Node | The tree node. |
CdktfStack | TerraformStack | No description. |
Fqn | string | No description. |
FriendlyUniqueId | string | No description. |
TerraformMetaArguments | System.Collections.Generic.IDictionary< string, object > | No description. |
TerraformResourceType | string | No description. |
TerraformGeneratorMetadata | TerraformProviderGeneratorMetadata | No description. |
Count | double|TerraformCount | No description. |
DependsOn | string[] | No description. |
ForEach | ITerraformIterator | No description. |
Lifecycle | TerraformResourceLifecycle | No description. |
Provider | TerraformProvider | No description. |
NodeRequired
public Node Node { get; }
The tree node.
CdktfStackRequired
public TerraformStack CdktfStack { get; }
FqnRequired
public string Fqn { get; }
FriendlyUniqueIdRequired
public string FriendlyUniqueId { get; }
public System.Collections.Generic.IDictionary<string, object> TerraformMetaArguments { get; }
- Type: System.Collections.Generic.IDictionary< string, object >
public string TerraformResourceType { get; }
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
CountOptional
public double|TerraformCount Count { get; }
DependsOnOptional
public string[] DependsOn { get; }
ForEachOptional
public ITerraformIterator ForEach { get; }
LifecycleOptional
public TerraformResourceLifecycle Lifecycle { get; }
ProviderOptional
public TerraformProvider Provider { get; }