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
import io.cdktn.cdktn.TerraformOutput;
TerraformOutput.Builder.create(Construct scope, java.lang.String id)
.value(java.lang.Object)
// .dependsOn(java.util.List<ITerraformDependable>)
// .description(java.lang.String)
// .precondition(Precondition)
// .sensitive(java.lang.Boolean)
// .staticId(java.lang.Boolean)
.build();
| Name | Type | Description |
|---|
scope | software.constructs.Construct | No description. |
id | java.lang.String | No description. |
value | java.lang.Object | No description. |
dependsOn | java.util.List<ITerraformDependable> | No description. |
description | java.lang.String | No description. |
precondition | Precondition | No description. |
sensitive | java.lang.Boolean | No description. |
staticId | java.lang.Boolean | If set to true the synthesized Terraform Output will be named after the id passed to the constructor instead of the default (TerraformOutput.friendlyUniqueId). |
scopeRequired
- Type: software.constructs.Construct
idRequired
valueRequired
dependsOnOptional
descriptionOptional
preconditionOptional
sensitiveOptional
staticIdOptional
- Type: java.lang.Boolean
- Default: false
If set to true the synthesized Terraform Output will be named after the id passed to the constructor instead of the default (TerraformOutput.friendlyUniqueId).
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 | No description. |
toMetadata | No description. |
toTerraform | No description. |
toString
public java.lang.String toString()
Returns a string representation of this construct.
addOverride
public void addOverride(java.lang.String path, java.lang.Object value)
pathRequired
valueRequired
overrideLogicalId
public void overrideLogicalId(java.lang.String newLogicalId)
Overrides the auto-generated logical ID with a specific ID.
newLogicalIdRequired
The new logical ID to use for this stack element.
resetOverrideLogicalId
public void resetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
public java.lang.Object toHclTerraform()
public java.lang.Object toMetadata()
public java.lang.Object toTerraform()
Static Functions
| Name | Description |
|---|
isConstruct | Checks if x is a construct. |
isTerraformElement | No description. |
isTerraformOutput | No description. |
isConstruct
import io.cdktn.cdktn.TerraformOutput;
TerraformOutput.isConstruct(java.lang.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.
import io.cdktn.cdktn.TerraformOutput;
TerraformOutput.isTerraformElement(java.lang.Object x)
xRequired
import io.cdktn.cdktn.TerraformOutput;
TerraformOutput.isTerraformOutput(java.lang.Object x)
xRequired
Properties
| Name | Type | Description |
|---|
node | software.constructs.Node | The tree node. |
cdktfStack | TerraformStack | No description. |
fqn | java.lang.String | No description. |
friendlyUniqueId | java.lang.String | No description. |
staticId | java.lang.Boolean | No description. |
value | java.lang.Object | No description. |
dependsOn | java.util.List<ITerraformDependable> | No description. |
description | java.lang.String | No description. |
precondition | Precondition | No description. |
sensitive | java.lang.Boolean | No description. |
nodeRequired
- Type: software.constructs.Node
The tree node.
cdktfStackRequired
public TerraformStack getCdktfStack();
fqnRequired
public java.lang.String getFqn();
friendlyUniqueIdRequired
public java.lang.String getFriendlyUniqueId();
staticIdRequired
public java.lang.Boolean getStaticId();
valueRequired
public java.lang.Object getValue();
dependsOnOptional
public java.util.List<ITerraformDependable> getDependsOn();
descriptionOptional
public java.lang.String getDescription();
preconditionOptional
public Precondition getPrecondition();
sensitiveOptional
public java.lang.Boolean getSensitive();