Initializers
| 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
- Type: java.lang.String
valueRequired
- Type: java.lang.Object
dependsOnOptional
- Type: java.util.List<ITerraformDependable>
descriptionOptional
- Type: java.lang.String
preconditionOptional
- Type: Precondition
sensitiveOptional
- Type: java.lang.Boolean
staticIdOptional
- Type: java.lang.Boolean
- Default: false
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
addOverride
pathRequired
- Type: java.lang.String
valueRequired
- Type: java.lang.Object
overrideLogicalId
newLogicalIdRequired
- Type: java.lang.String
resetOverrideLogicalId
toHclTerraform
toMetadata
toTerraform
Static Functions
| Name | Description |
|---|---|
isConstruct | Checks if x is a construct. |
isTerraformElement | No description. |
isTerraformOutput | No description. |
isConstruct
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
- Type: java.lang.Object
isTerraformElement
xRequired
- Type: java.lang.Object
isTerraformOutput
xRequired
- Type: java.lang.Object
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
cdktfStackRequired
- Type: TerraformStack
fqnRequired
- Type: java.lang.String
friendlyUniqueIdRequired
- Type: java.lang.String
staticIdRequired
- Type: java.lang.Boolean
valueRequired
- Type: java.lang.Object
dependsOnOptional
- Type: java.util.List<ITerraformDependable>
descriptionOptional
- Type: java.lang.String
preconditionOptional
- Type: Precondition
sensitiveOptional
- Type: java.lang.Boolean