Package com.hashicorp.cdktf
Class TerraformAsset
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
com.hashicorp.cdktf.TerraformAsset
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-15T15:38:01.124Z")
@Stability(Experimental)
public class TerraformAsset
extends software.constructs.Construct
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forTerraformAsset
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TerraformAsset
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
TerraformAsset
(software.amazon.jsii.JsiiObjectRef objRef) TerraformAsset
(software.constructs.Construct scope, String id, TerraformAssetConfig config) (experimental) A Terraform Asset takes a file or directory outside of the CDK for Terraform context and moves it into it. -
Method Summary
Modifier and TypeMethodDescription(experimental) Name of the asset.getPath()
(experimental) The path relative to the root of the terraform directory in posix format Use this property to reference the asset.getType()
void
setAssetHash
(String value) void
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
TerraformAsset
protected TerraformAsset(software.amazon.jsii.JsiiObjectRef objRef) -
TerraformAsset
protected TerraformAsset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
TerraformAsset
@Stability(Experimental) public TerraformAsset(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull TerraformAssetConfig config) (experimental) A Terraform Asset takes a file or directory outside of the CDK for Terraform context and moves it into it.Assets copy referenced files into the stacks context for further usage in other resources.
- Parameters:
scope
- This parameter is required.id
- This parameter is required.config
- This parameter is required.
-
-
Method Details
-
getFileName
(experimental) Name of the asset. -
getPath
(experimental) The path relative to the root of the terraform directory in posix format Use this property to reference the asset. -
getAssetHash
-
setAssetHash
-
getType
-
setType
-