@Stability(value=Experimental) public static final class CloudBackend.Builder extends Object implements software.amazon.jsii.Builder<CloudBackend>
CloudBackend
.Modifier and Type | Method and Description |
---|---|
CloudBackend |
build() |
static CloudBackend.Builder |
create(software.constructs.Construct scope) |
CloudBackend.Builder |
hostname(String hostname)
(experimental) The hostname of a Terraform Enterprise installation, if using Terraform Enterprise.
|
CloudBackend.Builder |
organization(String organization)
(experimental) The name of the organization containing the workspace(s) the current configuration should use.
|
CloudBackend.Builder |
token(String token)
(experimental) The token used to authenticate with Terraform Cloud.
|
CloudBackend.Builder |
workspaces(NamedCloudWorkspace workspaces)
(experimental) A nested block that specifies which remote Terraform Cloud workspaces to use for the current configuration.
|
CloudBackend.Builder |
workspaces(TaggedCloudWorkspaces workspaces)
(experimental) A nested block that specifies which remote Terraform Cloud workspaces to use for the current configuration.
|
@Stability(value=Experimental) public static CloudBackend.Builder create(software.constructs.Construct scope)
scope
- This parameter is required.CloudBackend.Builder
.@Stability(value=Experimental) public CloudBackend.Builder organization(String organization)
organization
- The name of the organization containing the workspace(s) the current configuration should use. This parameter is required.this
@Stability(value=Experimental) public CloudBackend.Builder workspaces(NamedCloudWorkspace workspaces)
The workspaces block must contain exactly one of the following arguments, each denoting a strategy for how workspaces should be mapped:
workspaces
- A nested block that specifies which remote Terraform Cloud workspaces to use for the current configuration. This parameter is required.this
@Stability(value=Experimental) public CloudBackend.Builder workspaces(TaggedCloudWorkspaces workspaces)
The workspaces block must contain exactly one of the following arguments, each denoting a strategy for how workspaces should be mapped:
workspaces
- A nested block that specifies which remote Terraform Cloud workspaces to use for the current configuration. This parameter is required.this
@Stability(value=Experimental) public CloudBackend.Builder hostname(String hostname)
Default: app.terraform.io
hostname
- The hostname of a Terraform Enterprise installation, if using Terraform Enterprise. This parameter is required.this
@Stability(value=Experimental) public CloudBackend.Builder token(String token)
We recommend omitting the token from the configuration, and instead using terraform login or manually configuring credentials in the CLI config file.
token
- The token used to authenticate with Terraform Cloud. This parameter is required.this
@Stability(value=Experimental) public CloudBackend build()
build
in interface software.amazon.jsii.Builder<CloudBackend>
Copyright © 2023. All rights reserved.