Class CloudBackend

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.91.0 (build 1b1f239)", date="2023-12-07T11:27:09.853Z") @Stability(Experimental) public class CloudBackend extends TerraformBackend
(experimental) The Cloud Backend synthesizes a
invalid @link
{@link https://developer.hashicorp.com/terraform/cli/cloud/settings#the-cloud-block
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.
  • 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:
      getRemoteStateDataSource in class TerraformBackend
      Parameters:
      scope - This parameter is required.
      name - This parameter is required.
      _fromStack - This parameter is required.
    • synthesizeAttributes

      @Stability(Experimental) @NotNull protected Map<String,Object> synthesizeAttributes()
      Overrides:
      synthesizeAttributes in class TerraformBackend
    • toMetadata

      @Stability(Experimental) @NotNull public Object toMetadata()
      Overrides:
      toMetadata in class TerraformBackend
    • toTerraform

      @Stability(Experimental) @NotNull public Object toTerraform()
      (experimental) Adds this resource to the terraform JSON output.
      Overrides:
      toTerraform in class TerraformBackend