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 TerraformStack(Construct Scope, string Id);
| Name | Type | Description |
|---|
Scope | Constructs.Construct | No description. |
Id | string | No description. |
ScopeRequired
- Type: Constructs.Construct
IdRequired
Methods
| Name | Description |
|---|
ToString | Returns a string representation of this construct. |
AddDependency | No description. |
AddOverride | No description. |
AllProviders | No description. |
DependsOn | No description. |
EnsureBackendExists | No description. |
GetLogicalId | No description. |
HasResourceMove | No description. |
PrepareStack | No description. |
RegisterIncomingCrossStackReference | No description. |
RegisterOutgoingCrossStackReference | No description. |
RunAllValidations | Run all validations on the stack. |
ToHclTerraform | No description. |
ToTerraform | No description. |
ToString
private string ToString()
Returns a string representation of this construct.
AddDependency
private void AddDependency(TerraformStack Dependency)
DependencyRequired
AddOverride
private void AddOverride(string Path, object Value)
PathRequired
ValueRequired
AllProviders
private TerraformProvider[] AllProviders()
DependsOn
private bool DependsOn(TerraformStack Stack)
StackRequired
EnsureBackendExists
private TerraformBackend EnsureBackendExists()
GetLogicalId
private string GetLogicalId(Node|TerraformElement TfElement)
TfElementRequired
HasResourceMove
private bool HasResourceMove()
PrepareStack
private void PrepareStack()
RegisterIncomingCrossStackReference
private TerraformRemoteState RegisterIncomingCrossStackReference(TerraformStack FromStack)
FromStackRequired
RegisterOutgoingCrossStackReference
private TerraformOutput RegisterOutgoingCrossStackReference(string Identifier)
IdentifierRequired
RunAllValidations
private void RunAllValidations()
Run all validations on the stack.
private System.Collections.Generic.IDictionary<string, object> ToHclTerraform()
private object ToTerraform()
Static Functions
| Name | Description |
|---|
IsConstruct | Checks if x is a construct. |
IsStack | No description. |
Of | No description. |
IsConstruct
using Io.Cdktn;
TerraformStack.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.
IsStack
using Io.Cdktn;
TerraformStack.IsStack(object X);
XRequired
using Io.Cdktn;
TerraformStack.Of(IConstruct Construct);
ConstructRequired
- Type: Constructs.IConstruct
Properties
| Name | Type | Description |
|---|
Node | Constructs.Node | The tree node. |
Dependencies | TerraformStack[] | No description. |
MoveTargets | TerraformResourceTargets | No description. |
Synthesizer | IStackSynthesizer | No description. |
NodeRequired
public Node Node { get; }
The tree node.
DependenciesRequired
public TerraformStack[] Dependencies { get; }
MoveTargetsRequired
public TerraformResourceTargets MoveTargets { get; }
SynthesizerRequired
public IStackSynthesizer Synthesizer { get; }