Package com.hashicorp.cdktf
Class CloudBackend
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
com.hashicorp.cdktf.TerraformElement
com.hashicorp.cdktf.TerraformBackend
com.hashicorp.cdktf.CloudBackend
- 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:00.844Z")
@Stability(Experimental)
public class CloudBackend
extends TerraformBackend
(experimental) The Cloud Backend synthesizes a
cloud block}. The cloud block is a nested block within the top-level terraform settings block. It specifies which Terraform Cloud workspaces to use for the current working directory. The cloud block only affects Terraform CLI's behavior. When Terraform Cloud uses a configuration that contains a cloud block - for example, when a workspace is configured to use a VCS provider directly - it ignores the block and behaves according to its own workspace settings.
invalid @link
{@link https://developer.hashicorp.com/terraform/cli/cloud/settings#the-cloud-block
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forCloudBackend.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCloudBackend(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCloudBackend(software.amazon.jsii.JsiiObjectRef objRef) CloudBackend(software.constructs.Construct scope, CloudBackendConfig props) -
Method Summary
Modifier and TypeMethodDescriptiongetRemoteStateDataSource(software.constructs.Construct scope, String name, String _fromStack) (experimental) Creates a TerraformRemoteState resource that accesses this backend.(experimental) Adds this resource to the terraform JSON output.Methods inherited from class com.hashicorp.cdktf.TerraformBackend
getName, isBackendMethods inherited from class com.hashicorp.cdktf.TerraformElement
addOverride, getCdktfStack, getConstructNodeMetadata, getFqn, getFriendlyUniqueId, getRawOverrides, isTerraformElement, overrideLogicalId, resetOverrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CloudBackend
protected CloudBackend(software.amazon.jsii.JsiiObjectRef objRef) -
CloudBackend
protected CloudBackend(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CloudBackend
@Stability(Experimental) public CloudBackend(@NotNull software.constructs.Construct scope, @NotNull CloudBackendConfig props) - Parameters:
scope- This parameter is required.props- This parameter is required.
-
-
Method Details
-
getRemoteStateDataSource
@Stability(Experimental) @NotNull public TerraformRemoteState getRemoteStateDataSource(@NotNull software.constructs.Construct scope, @NotNull String name, @NotNull String _fromStack) (experimental) Creates a TerraformRemoteState resource that accesses this backend.- Specified by:
getRemoteStateDataSourcein classTerraformBackend- Parameters:
scope- This parameter is required.name- This parameter is required._fromStack- This parameter is required.
-
synthesizeAttributes
- Overrides:
synthesizeAttributesin classTerraformBackend
-
synthesizeHclAttributes
- Overrides:
synthesizeHclAttributesin classTerraformBackend
-
toHclTerraform
- Overrides:
toHclTerraformin classTerraformBackend
-
toMetadata
- Overrides:
toMetadatain classTerraformBackend
-
toTerraform
(experimental) Adds this resource to the terraform JSON output.- Overrides:
toTerraformin classTerraformBackend
-