@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-13T13:26:43.973Z") @Stability(value=Experimental) public class CloudBackend extends TerraformBackend
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.Modifier and Type | Class and Description |
---|---|
static class |
CloudBackend.Builder
(experimental) A fluent builder for
CloudBackend . |
Modifier | Constructor and Description |
---|---|
|
CloudBackend(software.constructs.Construct scope,
CloudBackendConfig props) |
protected |
CloudBackend(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CloudBackend(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
TerraformRemoteState |
getRemoteStateDataSource(software.constructs.Construct scope,
String name,
String _fromStack)
(experimental) Creates a TerraformRemoteState resource that accesses this backend.
|
protected Map<String,Object> |
synthesizeAttributes() |
Object |
toMetadata() |
Object |
toTerraform()
(experimental) Adds this resource to the terraform JSON output.
|
getName, isBackend
addOverride, getCdktfStack, getConstructNodeMetadata, getFqn, getFriendlyUniqueId, getRawOverrides, isTerraformElement, overrideLogicalId, resetOverrideLogicalId
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected CloudBackend(software.amazon.jsii.JsiiObjectRef objRef)
protected CloudBackend(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public CloudBackend(@NotNull software.constructs.Construct scope, @NotNull CloudBackendConfig props)
scope
- This parameter is required.props
- This parameter is required.@Stability(value=Experimental) @NotNull public TerraformRemoteState getRemoteStateDataSource(@NotNull software.constructs.Construct scope, @NotNull String name, @NotNull String _fromStack)
getRemoteStateDataSource
in class TerraformBackend
scope
- This parameter is required.name
- This parameter is required._fromStack
- This parameter is required.@Stability(value=Experimental) @NotNull protected Map<String,Object> synthesizeAttributes()
synthesizeAttributes
in class TerraformBackend
@Stability(value=Experimental) @NotNull public Object toMetadata()
toMetadata
in class TerraformBackend
@Stability(value=Experimental) @NotNull public Object toTerraform()
toTerraform
in class TerraformBackend
Copyright © 2023. All rights reserved.