@Generated(value="jsii-pacmak/1.54.0 (build b1b977a)", date="2022-03-17T16:17:34.176Z") @Stability(value=Experimental) public class TerraformAsset extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
TerraformAsset.Builder
(experimental) A fluent builder for
TerraformAsset . |
software.amazon.jsii.JsiiObject.InitializationMode
IResource.Jsii$Default
Modifier | Constructor and Description |
---|---|
|
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.
|
protected |
TerraformAsset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TerraformAsset(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
String |
getAssetHash() |
String |
getFileName()
(experimental) Name of the asset.
|
String |
getPath()
(experimental) The path relative to the root of the terraform directory in posix format Use this property to reference the asset.
|
AssetType |
getType() |
void |
setAssetHash(String value) |
void |
setType(AssetType value) |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected TerraformAsset(software.amazon.jsii.JsiiObjectRef objRef)
protected TerraformAsset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public TerraformAsset(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull TerraformAssetConfig config)
Assets copy referenced files into the stacks context for further usage in other resources.
scope
- This parameter is required.id
- This parameter is required.config
- This parameter is required.@Stability(value=Experimental) @NotNull public String getFileName()
@Stability(value=Experimental) @NotNull public String getPath()
@Stability(value=Experimental) @NotNull public String getAssetHash()
@Stability(value=Experimental) public void setAssetHash(@NotNull String value)
@Stability(value=Experimental) @NotNull public AssetType getType()
@Stability(value=Experimental) public void setType(@NotNull AssetType value)
Copyright © 2022. All rights reserved.