Class TaggedCloudWorkspaces

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.CloudWorkspace
com.hashicorp.cdktf.TaggedCloudWorkspaces
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)", date="2024-01-15T15:38:01.124Z") @Stability(Experimental) public class TaggedCloudWorkspaces extends CloudWorkspace
(experimental) A set of Terraform Cloud workspace tags.

You will be able to use this working directory with any workspaces that have all of the specified tags, and can use the terraform workspace commands to switch between them or create new workspaces. New workspaces will automatically have the specified tags. This option conflicts with name.

  • Constructor Details

    • TaggedCloudWorkspaces

      protected TaggedCloudWorkspaces(software.amazon.jsii.JsiiObjectRef objRef)
    • TaggedCloudWorkspaces

      protected TaggedCloudWorkspaces(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • TaggedCloudWorkspaces

      @Stability(Experimental) public TaggedCloudWorkspaces(@NotNull List<String> tags, @Nullable String project)
      Parameters:
      tags - This parameter is required.
      project -
    • TaggedCloudWorkspaces

      @Stability(Experimental) public TaggedCloudWorkspaces(@NotNull List<String> tags)
      Parameters:
      tags - This parameter is required.
  • Method Details

    • toHclTerraform

      @Stability(Experimental) @NotNull public Object toHclTerraform()
    • toTerraform

      @Stability(Experimental) @NotNull public Object toTerraform()
      Specified by:
      toTerraform in class CloudWorkspace
    • getTags

      @Stability(Experimental) @NotNull public List<String> getTags()
    • setTags

      @Stability(Experimental) public void setTags(@NotNull List<String> value)
    • getProject

      @Stability(Experimental) @Nullable public String getProject()
    • setProject

      @Stability(Experimental) public void setProject(@Nullable String value)