Package com.hashicorp.cdktf
Class TerraformDataSource
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
com.hashicorp.cdktf.TerraformElement
com.hashicorp.cdktf.TerraformDataSource
- All Implemented Interfaces:
IInterpolatingParent
,ITerraformAddressable
,ITerraformDependable
,ITerraformResource
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2025-01-21T14:44:58.120Z")
@Stability(Experimental)
public class TerraformDataSource
extends TerraformElement
implements ITerraformResource, ITerraformDependable, IInterpolatingParent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forTerraformDataSource
.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
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.IInterpolatingParent
IInterpolatingParent.Jsii$Default, IInterpolatingParent.Jsii$Proxy
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformDependable
ITerraformDependable.Jsii$Default, ITerraformDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformResource
ITerraformResource.Jsii$Default, ITerraformResource.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TerraformDataSource
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
TerraformDataSource
(software.amazon.jsii.JsiiObjectRef objRef) TerraformDataSource
(software.constructs.Construct scope, String id, TerraformResourceConfig config) -
Method Summary
Modifier and TypeMethodDescriptiongetAnyMapAttribute
(String terraformAttribute) getBooleanAttribute
(String terraformAttribute) getBooleanMapAttribute
(String terraformAttribute) getCount()
getListAttribute
(String terraformAttribute) getNumberAttribute
(String terraformAttribute) getNumberListAttribute
(String terraformAttribute) getNumberMapAttribute
(String terraformAttribute) getStringAttribute
(String terraformAttribute) getStringMapAttribute
(String terraformAttribute) interpolationForAttribute
(String terraformAttribute) static Boolean
void
setCount
(TerraformCount value) void
void
setDependsOn
(List<String> value) void
setForEach
(ITerraformIterator value) void
void
setProvider
(TerraformProvider value) (experimental) Adds this resource to the terraform JSON output.(experimental) Adds this resource to the terraform JSON output.Methods inherited from class com.hashicorp.cdktf.TerraformElement
addOverride, getCdktfStack, getConstructNodeMetadata, getFqn, getFriendlyUniqueId, getRawOverrides, isTerraformElement, overrideLogicalId, resetOverrideLogicalId
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 com.hashicorp.cdktf.ITerraformAddressable
getFqn
Methods inherited from interface com.hashicorp.cdktf.ITerraformResource
getFqn, getFriendlyUniqueId
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
TerraformDataSource
protected TerraformDataSource(software.amazon.jsii.JsiiObjectRef objRef) -
TerraformDataSource
protected TerraformDataSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
TerraformDataSource
@Stability(Experimental) public TerraformDataSource(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull TerraformResourceConfig config) - Parameters:
scope
- This parameter is required.id
- This parameter is required.config
- This parameter is required.
-
-
Method Details
-
isTerraformDataSource
- Parameters:
x
- This parameter is required.
-
getAnyMapAttribute
@Stability(Experimental) @NotNull public Map<String,Object> getAnyMapAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute
- This parameter is required.
-
getBooleanAttribute
@Stability(Experimental) @NotNull public IResolvable getBooleanAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute
- This parameter is required.
-
getBooleanMapAttribute
@Stability(Experimental) @NotNull public Map<String,Boolean> getBooleanMapAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute
- This parameter is required.
-
getListAttribute
@Stability(Experimental) @NotNull public List<String> getListAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute
- This parameter is required.
-
getNumberAttribute
@Stability(Experimental) @NotNull public Number getNumberAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute
- This parameter is required.
-
getNumberListAttribute
@Stability(Experimental) @NotNull public List<Number> getNumberListAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute
- This parameter is required.
-
getNumberMapAttribute
@Stability(Experimental) @NotNull public Map<String,Number> getNumberMapAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute
- This parameter is required.
-
getStringAttribute
@Stability(Experimental) @NotNull public String getStringAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute
- This parameter is required.
-
getStringMapAttribute
@Stability(Experimental) @NotNull public Map<String,String> getStringMapAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute
- This parameter is required.
-
interpolationForAttribute
@Stability(Experimental) @NotNull public IResolvable interpolationForAttribute(@NotNull String terraformAttribute) - Specified by:
interpolationForAttribute
in interfaceIInterpolatingParent
- Specified by:
interpolationForAttribute
in interfaceITerraformResource
- Parameters:
terraformAttribute
- This parameter is required.
-
synthesizeAttributes
-
synthesizeHclAttributes
-
toHclTerraform
(experimental) Adds this resource to the terraform JSON output.- Overrides:
toHclTerraform
in classTerraformElement
-
toMetadata
- Overrides:
toMetadata
in classTerraformElement
-
toTerraform
(experimental) Adds this resource to the terraform JSON output.- Overrides:
toTerraform
in classTerraformElement
-
getTerraformMetaArguments
-
getTerraformResourceType
- Specified by:
getTerraformResourceType
in interfaceITerraformResource
-
getTerraformGeneratorMetadata
@Stability(Experimental) @Nullable public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata() -
getCount
- Specified by:
getCount
in interfaceITerraformResource
-
setCount
- Specified by:
setCount
in interfaceITerraformResource
-
setCount
- Specified by:
setCount
in interfaceITerraformResource
-
getDependsOn
- Specified by:
getDependsOn
in interfaceITerraformResource
-
setDependsOn
- Specified by:
setDependsOn
in interfaceITerraformResource
-
getForEach
- Specified by:
getForEach
in interfaceITerraformResource
-
setForEach
- Specified by:
setForEach
in interfaceITerraformResource
-
getLifecycle
- Specified by:
getLifecycle
in interfaceITerraformResource
-
setLifecycle
- Specified by:
setLifecycle
in interfaceITerraformResource
-
getProvider
- Specified by:
getProvider
in interfaceITerraformResource
-
setProvider
- Specified by:
setProvider
in interfaceITerraformResource
-