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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    (experimental) A fluent builder for TerraformAsset.

    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

    Constructors
    Modifier
    Constructor
    Description
    protected
    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 Type
    Method
    Description
     
    (experimental) Name of the asset.
    (experimental) The path relative to the root of the terraform directory in posix format Use this property to reference the asset.
     
    void
     
    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

      @Stability(Experimental) @NotNull public String getFileName()
      (experimental) Name of the asset.
    • getPath

      @Stability(Experimental) @NotNull public String getPath()
      (experimental) The path relative to the root of the terraform directory in posix format Use this property to reference the asset.
    • getAssetHash

      @Stability(Experimental) @NotNull public String getAssetHash()
    • setAssetHash

      @Stability(Experimental) public void setAssetHash(@NotNull String value)
    • getType

      @Stability(Experimental) @NotNull public AssetType getType()
    • setType

      @Stability(Experimental) public void setType(@NotNull AssetType value)