Represents a {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template hcp_waypoint_template}.
using HashiCorp.Cdktf.Providers.Hcp;
new WaypointTemplate(Construct Scope, string Id, WaypointTemplateConfig Config);
Name | Type | Description |
---|---|---|
Scope |
Constructs.Construct |
The scope in which to define this construct. |
Id |
string |
The scoped construct ID. |
Config |
WaypointTemplateConfig |
No description. |
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: WaypointTemplateConfig
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
AddOverride |
No description. |
OverrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
ResetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
ToHclTerraform |
No description. |
ToMetadata |
No description. |
ToTerraform |
Adds this resource to the terraform JSON output. |
AddMoveTarget |
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. |
GetAnyMapAttribute |
No description. |
GetBooleanAttribute |
No description. |
GetBooleanMapAttribute |
No description. |
GetListAttribute |
No description. |
GetNumberAttribute |
No description. |
GetNumberListAttribute |
No description. |
GetNumberMapAttribute |
No description. |
GetStringAttribute |
No description. |
GetStringMapAttribute |
No description. |
HasResourceMove |
No description. |
ImportFrom |
No description. |
InterpolationForAttribute |
No description. |
MoveFromId |
Move the resource corresponding to "id" to this resource. |
MoveTo |
Moves this resource to the target resource given by moveTarget. |
MoveToId |
Moves this resource to the resource corresponding to "id". |
PutTerraformCloudWorkspaceDetails |
No description. |
PutVariableOptions |
No description. |
ResetDescription |
No description. |
ResetLabels |
No description. |
ResetProjectId |
No description. |
ResetReadmeMarkdownTemplate |
No description. |
ResetTerraformAgentPoolId |
No description. |
ResetTerraformCloudWorkspaceDetails |
No description. |
ResetTerraformExecutionMode |
No description. |
ResetUseModuleReadme |
No description. |
ResetVariableOptions |
No description. |
private string ToString()
Returns a string representation of this construct.
private void AddOverride(string Path, object Value)
- Type: string
- Type: object
private void OverrideLogicalId(string NewLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
private void ResetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
private object ToHclTerraform()
private object ToMetadata()
private object ToTerraform()
Adds this resource to the terraform JSON output.
private void AddMoveTarget(string MoveTarget)
Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
- Type: string
The string move target that will correspond to this resource.
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable GetBooleanAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
- Type: string
private string[] GetListAttribute(string TerraformAttribute)
- Type: string
private double GetNumberAttribute(string TerraformAttribute)
- Type: string
private double[] GetNumberListAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
- Type: string
private string GetStringAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
- Type: string
private object HasResourceMove()
private void ImportFrom(string Id, TerraformProvider Provider = null)
- Type: string
- Type: HashiCorp.Cdktf.TerraformProvider
private IResolvable InterpolationForAttribute(string TerraformAttribute)
- Type: string
private void MoveFromId(string Id)
Move the resource corresponding to "id" to this resource.
Note that the resource being moved from must be marked as moved using it's instance function.
- Type: string
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
private void MoveTo(string MoveTarget, object Index = null)
Moves this resource to the target resource given by moveTarget.
- Type: string
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- Type: object
Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.
private void MoveToId(string Id)
Moves this resource to the resource corresponding to "id".
- Type: string
Full id of resource to move to, e.g. "aws_s3_bucket.example".
private void PutTerraformCloudWorkspaceDetails(WaypointTemplateTerraformCloudWorkspaceDetails Value)
private void PutVariableOptions(object Value)
- Type: object
private void ResetDescription()
private void ResetLabels()
private void ResetProjectId()
private void ResetReadmeMarkdownTemplate()
private void ResetTerraformAgentPoolId()
private void ResetTerraformCloudWorkspaceDetails()
private void ResetTerraformExecutionMode()
private void ResetUseModuleReadme()
private void ResetVariableOptions()
Name | Description |
---|---|
IsConstruct |
Checks if x is a construct. |
IsTerraformElement |
No description. |
IsTerraformResource |
No description. |
GenerateConfigForImport |
Generates CDKTF code for importing a WaypointTemplate resource upon running "cdktf plan ". |
using HashiCorp.Cdktf.Providers.Hcp;
WaypointTemplate.IsConstruct(object X);
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: object
Any object.
using HashiCorp.Cdktf.Providers.Hcp;
WaypointTemplate.IsTerraformElement(object X);
- Type: object
using HashiCorp.Cdktf.Providers.Hcp;
WaypointTemplate.IsTerraformResource(object X);
- Type: object
using HashiCorp.Cdktf.Providers.Hcp;
WaypointTemplate.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null);
Generates CDKTF code for importing a WaypointTemplate resource upon running "cdktf plan ".
- Type: Constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the WaypointTemplate to import.
- Type: string
The id of the existing WaypointTemplate that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#import import section} in the documentation of this resource for the id to use
- Type: HashiCorp.Cdktf.TerraformProvider
? Optional instance of the provider where the WaypointTemplate to import is found.
Name | Type | Description |
---|---|---|
Node |
Constructs.Node |
The tree node. |
CdktfStack |
HashiCorp.Cdktf.TerraformStack |
No description. |
Fqn |
string |
No description. |
FriendlyUniqueId |
string |
No description. |
TerraformMetaArguments |
System.Collections.Generic.IDictionary<string, object> |
No description. |
TerraformResourceType |
string |
No description. |
TerraformGeneratorMetadata |
HashiCorp.Cdktf.TerraformProviderGeneratorMetadata |
No description. |
Connection |
object |
No description. |
Count |
object |
No description. |
DependsOn |
string[] |
No description. |
ForEach |
HashiCorp.Cdktf.ITerraformIterator |
No description. |
Lifecycle |
HashiCorp.Cdktf.TerraformResourceLifecycle |
No description. |
Provider |
HashiCorp.Cdktf.TerraformProvider |
No description. |
Provisioners |
object[] |
No description. |
Id |
string |
No description. |
OrganizationId |
string |
No description. |
TerraformCloudWorkspaceDetails |
WaypointTemplateTerraformCloudWorkspaceDetailsOutputReference |
No description. |
VariableOptions |
WaypointTemplateVariableOptionsList |
No description. |
DescriptionInput |
string |
No description. |
LabelsInput |
string[] |
No description. |
NameInput |
string |
No description. |
ProjectIdInput |
string |
No description. |
ReadmeMarkdownTemplateInput |
string |
No description. |
SummaryInput |
string |
No description. |
TerraformAgentPoolIdInput |
string |
No description. |
TerraformCloudWorkspaceDetailsInput |
object |
No description. |
TerraformExecutionModeInput |
string |
No description. |
TerraformNoCodeModuleSourceInput |
string |
No description. |
TerraformProjectIdInput |
string |
No description. |
UseModuleReadmeInput |
object |
No description. |
VariableOptionsInput |
object |
No description. |
Description |
string |
No description. |
Labels |
string[] |
No description. |
Name |
string |
No description. |
ProjectId |
string |
No description. |
ReadmeMarkdownTemplate |
string |
No description. |
Summary |
string |
No description. |
TerraformAgentPoolId |
string |
No description. |
TerraformExecutionMode |
string |
No description. |
TerraformNoCodeModuleSource |
string |
No description. |
TerraformProjectId |
string |
No description. |
UseModuleReadme |
object |
No description. |
public Node Node { get; }
- Type: Constructs.Node
The tree node.
public TerraformStack CdktfStack { get; }
- Type: HashiCorp.Cdktf.TerraformStack
public string Fqn { get; }
- Type: string
public string FriendlyUniqueId { get; }
- Type: string
public System.Collections.Generic.IDictionary<string, object> TerraformMetaArguments { get; }
- Type: System.Collections.Generic.IDictionary<string, object>
public string TerraformResourceType { get; }
- Type: string
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
- Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata
public object Connection { get; }
- Type: object
public object Count { get; }
- Type: object
public string[] DependsOn { get; }
- Type: string[]
public ITerraformIterator ForEach { get; }
- Type: HashiCorp.Cdktf.ITerraformIterator
public TerraformResourceLifecycle Lifecycle { get; }
- Type: HashiCorp.Cdktf.TerraformResourceLifecycle
public TerraformProvider Provider { get; }
- Type: HashiCorp.Cdktf.TerraformProvider
public object[] Provisioners { get; }
- Type: object[]
public string Id { get; }
- Type: string
public string OrganizationId { get; }
- Type: string
public WaypointTemplateTerraformCloudWorkspaceDetailsOutputReference TerraformCloudWorkspaceDetails { get; }
public WaypointTemplateVariableOptionsList VariableOptions { get; }
public string DescriptionInput { get; }
- Type: string
public string[] LabelsInput { get; }
- Type: string[]
public string NameInput { get; }
- Type: string
public string ProjectIdInput { get; }
- Type: string
public string ReadmeMarkdownTemplateInput { get; }
- Type: string
public string SummaryInput { get; }
- Type: string
public string TerraformAgentPoolIdInput { get; }
- Type: string
public object TerraformCloudWorkspaceDetailsInput { get; }
- Type: object
public string TerraformExecutionModeInput { get; }
- Type: string
public string TerraformNoCodeModuleSourceInput { get; }
- Type: string
public string TerraformProjectIdInput { get; }
- Type: string
public object UseModuleReadmeInput { get; }
- Type: object
public object VariableOptionsInput { get; }
- Type: object
public string Description { get; }
- Type: string
public string[] Labels { get; }
- Type: string[]
public string Name { get; }
- Type: string
public string ProjectId { get; }
- Type: string
public string ReadmeMarkdownTemplate { get; }
- Type: string
public string Summary { get; }
- Type: string
public string TerraformAgentPoolId { get; }
- Type: string
public string TerraformExecutionMode { get; }
- Type: string
public string TerraformNoCodeModuleSource { get; }
- Type: string
public string TerraformProjectId { get; }
- Type: string
public object UseModuleReadme { get; }
- Type: object
Name | Type | Description |
---|---|---|
TfResourceType |
string |
No description. |
public string TfResourceType { get; }
- Type: string
using HashiCorp.Cdktf.Providers.Hcp;
new WaypointTemplateConfig {
object Connection = null,
object Count = null,
ITerraformDependable[] DependsOn = null,
ITerraformIterator ForEach = null,
TerraformResourceLifecycle Lifecycle = null,
TerraformProvider Provider = null,
object[] Provisioners = null,
string Name,
string Summary,
string TerraformNoCodeModuleSource,
string TerraformProjectId,
string Description = null,
string[] Labels = null,
string ProjectId = null,
string ReadmeMarkdownTemplate = null,
string TerraformAgentPoolId = null,
WaypointTemplateTerraformCloudWorkspaceDetails TerraformCloudWorkspaceDetails = null,
string TerraformExecutionMode = null,
object UseModuleReadme = null,
object VariableOptions = null
};
Name | Type | Description |
---|---|---|
Connection |
object |
No description. |
Count |
object |
No description. |
DependsOn |
HashiCorp.Cdktf.ITerraformDependable[] |
No description. |
ForEach |
HashiCorp.Cdktf.ITerraformIterator |
No description. |
Lifecycle |
HashiCorp.Cdktf.TerraformResourceLifecycle |
No description. |
Provider |
HashiCorp.Cdktf.TerraformProvider |
No description. |
Provisioners |
object[] |
No description. |
Name |
string |
The name of the Template. |
Summary |
string |
A brief description of the template, up to 110 characters. |
TerraformNoCodeModuleSource |
string |
Terraform Cloud No-Code Module details. |
TerraformProjectId |
string |
The ID of the Terraform Cloud Project to create workspaces in. |
Description |
string |
A description of the template, along with when and why it should be used, up to 500 characters. |
Labels |
string[] |
List of labels attached to this Template. |
ProjectId |
string |
The ID of the HCP project where the Waypoint Template is located. |
ReadmeMarkdownTemplate |
string |
Instructions for using the template (markdown format supported). |
TerraformAgentPoolId |
string |
The ID of the agent pool to use for Terraform operations, for workspaces created for applications using this template. |
TerraformCloudWorkspaceDetails |
WaypointTemplateTerraformCloudWorkspaceDetails |
Terraform Cloud Workspace details. |
TerraformExecutionMode |
string |
The execution mode of the HCP Terraform workspaces created for applications using this template. |
UseModuleReadme |
object |
If true, will auto-import the readme form the Terraform odule used. |
VariableOptions |
object |
List of variable options for the template. |
public object Connection { get; set; }
- Type: object
public object Count { get; set; }
- Type: object
public ITerraformDependable[] DependsOn { get; set; }
- Type: HashiCorp.Cdktf.ITerraformDependable[]
public ITerraformIterator ForEach { get; set; }
- Type: HashiCorp.Cdktf.ITerraformIterator
public TerraformResourceLifecycle Lifecycle { get; set; }
- Type: HashiCorp.Cdktf.TerraformResourceLifecycle
public TerraformProvider Provider { get; set; }
- Type: HashiCorp.Cdktf.TerraformProvider
public object[] Provisioners { get; set; }
- Type: object[]
public string Name { get; set; }
- Type: string
The name of the Template.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#name WaypointTemplate#name}
public string Summary { get; set; }
- Type: string
A brief description of the template, up to 110 characters.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#summary WaypointTemplate#summary}
public string TerraformNoCodeModuleSource { get; set; }
- Type: string
Terraform Cloud No-Code Module details.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#terraform_no_code_module_source WaypointTemplate#terraform_no_code_module_source}
public string TerraformProjectId { get; set; }
- Type: string
The ID of the Terraform Cloud Project to create workspaces in.
The ID is found on the Terraform Cloud Project settings page.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#terraform_project_id WaypointTemplate#terraform_project_id}
public string Description { get; set; }
- Type: string
A description of the template, along with when and why it should be used, up to 500 characters.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#description WaypointTemplate#description}
public string[] Labels { get; set; }
- Type: string[]
List of labels attached to this Template.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#labels WaypointTemplate#labels}
public string ProjectId { get; set; }
- Type: string
The ID of the HCP project where the Waypoint Template is located.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#project_id WaypointTemplate#project_id}
public string ReadmeMarkdownTemplate { get; set; }
- Type: string
Instructions for using the template (markdown format supported).
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#readme_markdown_template WaypointTemplate#readme_markdown_template}
public string TerraformAgentPoolId { get; set; }
- Type: string
The ID of the agent pool to use for Terraform operations, for workspaces created for applications using this template.
Required if terraform_execution_mode is set to 'agent'.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#terraform_agent_pool_id WaypointTemplate#terraform_agent_pool_id}
public WaypointTemplateTerraformCloudWorkspaceDetails TerraformCloudWorkspaceDetails { get; set; }
Terraform Cloud Workspace details.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#terraform_cloud_workspace_details WaypointTemplate#terraform_cloud_workspace_details}
public string TerraformExecutionMode { get; set; }
- Type: string
The execution mode of the HCP Terraform workspaces created for applications using this template.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#terraform_execution_mode WaypointTemplate#terraform_execution_mode}
public object UseModuleReadme { get; set; }
- Type: object
If true, will auto-import the readme form the Terraform odule used.
If this is set to true, users should not also set readme_markdown_template
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#use_module_readme WaypointTemplate#use_module_readme}
public object VariableOptions { get; set; }
- Type: object
List of variable options for the template.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#variable_options WaypointTemplate#variable_options}
using HashiCorp.Cdktf.Providers.Hcp;
new WaypointTemplateTerraformCloudWorkspaceDetails {
string Name,
string TerraformProjectId
};
Name | Type | Description |
---|---|---|
Name |
string |
Name of the Terraform Cloud Project. |
TerraformProjectId |
string |
Terraform Cloud Project ID. |
public string Name { get; set; }
- Type: string
Name of the Terraform Cloud Project.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#name WaypointTemplate#name}
public string TerraformProjectId { get; set; }
- Type: string
Terraform Cloud Project ID.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#terraform_project_id WaypointTemplate#terraform_project_id}
using HashiCorp.Cdktf.Providers.Hcp;
new WaypointTemplateVariableOptions {
string Name,
string VariableType,
string[] Options = null,
object UserEditable = null
};
Name | Type | Description |
---|---|---|
Name |
string |
Variable name. |
VariableType |
string |
Variable type. |
Options |
string[] |
List of options. |
UserEditable |
object |
Whether the variable is editable by the user creating an application. |
public string Name { get; set; }
- Type: string
Variable name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#name WaypointTemplate#name}
public string VariableType { get; set; }
- Type: string
Variable type.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#variable_type WaypointTemplate#variable_type}
public string[] Options { get; set; }
- Type: string[]
List of options.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#options WaypointTemplate#options}
public object UserEditable { get; set; }
- Type: object
Whether the variable is editable by the user creating an application.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/hcp/0.101.0/docs/resources/waypoint_template#user_editable WaypointTemplate#user_editable}
using HashiCorp.Cdktf.Providers.Hcp;
new WaypointTemplateTerraformCloudWorkspaceDetailsOutputReference(IInterpolatingParent TerraformResource, string TerraformAttribute);
Name | Type | Description |
---|---|---|
TerraformResource |
HashiCorp.Cdktf.IInterpolatingParent |
The parent resource. |
TerraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: HashiCorp.Cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
ComputeFqn |
No description. |
GetAnyMapAttribute |
No description. |
GetBooleanAttribute |
No description. |
GetBooleanMapAttribute |
No description. |
GetListAttribute |
No description. |
GetNumberAttribute |
No description. |
GetNumberListAttribute |
No description. |
GetNumberMapAttribute |
No description. |
GetStringAttribute |
No description. |
GetStringMapAttribute |
No description. |
InterpolationForAttribute |
No description. |
Resolve |
Produce the Token's value at resolution time. |
ToString |
Return a string representation of this resolvable object. |
private string ComputeFqn()
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable GetBooleanAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
- Type: string
private string[] GetListAttribute(string TerraformAttribute)
- Type: string
private double GetNumberAttribute(string TerraformAttribute)
- Type: string
private double[] GetNumberListAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
- Type: string
private string GetStringAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable InterpolationForAttribute(string Property)
- Type: string
private object Resolve(IResolveContext Context)
Produce the Token's value at resolution time.
- Type: HashiCorp.Cdktf.IResolveContext
private string ToString()
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
CreationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
Fqn |
string |
No description. |
NameInput |
string |
No description. |
TerraformProjectIdInput |
string |
No description. |
Name |
string |
No description. |
TerraformProjectId |
string |
No description. |
InternalValue |
object |
No description. |
public string[] CreationStack { get; }
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public string Fqn { get; }
- Type: string
public string NameInput { get; }
- Type: string
public string TerraformProjectIdInput { get; }
- Type: string
public string Name { get; }
- Type: string
public string TerraformProjectId { get; }
- Type: string
public object InternalValue { get; }
- Type: object
using HashiCorp.Cdktf.Providers.Hcp;
new WaypointTemplateVariableOptionsList(IInterpolatingParent TerraformResource, string TerraformAttribute, bool WrapsSet);
Name | Type | Description |
---|---|---|
TerraformResource |
HashiCorp.Cdktf.IInterpolatingParent |
The parent resource. |
TerraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
WrapsSet |
bool |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: HashiCorp.Cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
AllWithMapKey |
Creating an iterator for this complex list. |
ComputeFqn |
No description. |
Resolve |
Produce the Token's value at resolution time. |
ToString |
Return a string representation of this resolvable object. |
Get |
No description. |
private DynamicListTerraformIterator AllWithMapKey(string MapKeyAttributeName)
Creating an iterator for this complex list.
The list will be converted into a map with the mapKeyAttributeName as the key.
- Type: string
private string ComputeFqn()
private object Resolve(IResolveContext Context)
Produce the Token's value at resolution time.
- Type: HashiCorp.Cdktf.IResolveContext
private string ToString()
Return a string representation of this resolvable object.
Returns a reversible string representation.
private WaypointTemplateVariableOptionsOutputReference Get(double Index)
- Type: double
the index of the item to return.
Name | Type | Description |
---|---|---|
CreationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
Fqn |
string |
No description. |
InternalValue |
object |
No description. |
public string[] CreationStack { get; }
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public string Fqn { get; }
- Type: string
public object InternalValue { get; }
- Type: object
using HashiCorp.Cdktf.Providers.Hcp;
new WaypointTemplateVariableOptionsOutputReference(IInterpolatingParent TerraformResource, string TerraformAttribute, double ComplexObjectIndex, bool ComplexObjectIsFromSet);
Name | Type | Description |
---|---|---|
TerraformResource |
HashiCorp.Cdktf.IInterpolatingParent |
The parent resource. |
TerraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
ComplexObjectIndex |
double |
the index of this item in the list. |
ComplexObjectIsFromSet |
bool |
whether the list is wrapping a set (will add tolist() to be able to access an item via an index). |
- Type: HashiCorp.Cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
- Type: double
the index of this item in the list.
- Type: bool
whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
Name | Description |
---|---|
ComputeFqn |
No description. |
GetAnyMapAttribute |
No description. |
GetBooleanAttribute |
No description. |
GetBooleanMapAttribute |
No description. |
GetListAttribute |
No description. |
GetNumberAttribute |
No description. |
GetNumberListAttribute |
No description. |
GetNumberMapAttribute |
No description. |
GetStringAttribute |
No description. |
GetStringMapAttribute |
No description. |
InterpolationForAttribute |
No description. |
Resolve |
Produce the Token's value at resolution time. |
ToString |
Return a string representation of this resolvable object. |
ResetOptions |
No description. |
ResetUserEditable |
No description. |
private string ComputeFqn()
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable GetBooleanAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
- Type: string
private string[] GetListAttribute(string TerraformAttribute)
- Type: string
private double GetNumberAttribute(string TerraformAttribute)
- Type: string
private double[] GetNumberListAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
- Type: string
private string GetStringAttribute(string TerraformAttribute)
- Type: string
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
- Type: string
private IResolvable InterpolationForAttribute(string Property)
- Type: string
private object Resolve(IResolveContext Context)
Produce the Token's value at resolution time.
- Type: HashiCorp.Cdktf.IResolveContext
private string ToString()
Return a string representation of this resolvable object.
Returns a reversible string representation.
private void ResetOptions()
private void ResetUserEditable()
Name | Type | Description |
---|---|---|
CreationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
Fqn |
string |
No description. |
NameInput |
string |
No description. |
OptionsInput |
string[] |
No description. |
UserEditableInput |
object |
No description. |
VariableTypeInput |
string |
No description. |
Name |
string |
No description. |
Options |
string[] |
No description. |
UserEditable |
object |
No description. |
VariableType |
string |
No description. |
InternalValue |
object |
No description. |
public string[] CreationStack { get; }
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public string Fqn { get; }
- Type: string
public string NameInput { get; }
- Type: string
public string[] OptionsInput { get; }
- Type: string[]
public object UserEditableInput { get; }
- Type: object
public string VariableTypeInput { get; }
- Type: string
public string Name { get; }
- Type: string
public string[] Options { get; }
- Type: string[]
public object UserEditable { get; }
- Type: object
public string VariableType { get; }
- Type: string
public object InternalValue { get; }
- Type: object