Documentation ¶
Index ¶
- func CoderProvider_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func CoderProvider_IsConstruct(x interface{}) *bool
- func CoderProvider_IsTerraformElement(x interface{}) *bool
- func CoderProvider_IsTerraformProvider(x interface{}) *bool
- func CoderProvider_TfResourceType() *string
- func NewCoderProvider_Override(c CoderProvider, scope constructs.Construct, id *string, ...)
- type CoderProvider
- type CoderProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CoderProvider_GenerateConfigForImport ¶
func CoderProvider_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a CoderProvider resource upon running "cdktf plan <stack-name>".
func CoderProvider_IsConstruct ¶
func CoderProvider_IsConstruct(x interface{}) *bool
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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CoderProvider_IsTerraformElement ¶
func CoderProvider_IsTerraformElement(x interface{}) *bool
Experimental.
func CoderProvider_IsTerraformProvider ¶
func CoderProvider_IsTerraformProvider(x interface{}) *bool
Experimental.
func CoderProvider_TfResourceType ¶
func CoderProvider_TfResourceType() *string
func NewCoderProvider_Override ¶
func NewCoderProvider_Override(c CoderProvider, scope constructs.Construct, id *string, config *CoderProviderConfig)
Create a new {@link https://registry.terraform.io/providers/coder/coder/0.13.0/docs coder} Resource.
Types ¶
type CoderProvider ¶
type CoderProvider interface { cdktf.TerraformProvider Alias() *string SetAlias(val *string) AliasInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} FeatureUseManagedVariables() interface{} SetFeatureUseManagedVariables(val interface{}) FeatureUseManagedVariablesInput() interface{} // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string // Experimental. MetaAttributes() *map[string]interface{} // The tree node. Node() constructs.Node // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformProviderSource() *string // Experimental. TerraformResourceType() *string Url() *string SetUrl(val *string) UrlInput() *string // Experimental. AddOverride(path *string, value interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAlias() ResetFeatureUseManagedVariables() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetUrl() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/coder/coder/0.13.0/docs coder}.
func NewCoderProvider ¶
func NewCoderProvider(scope constructs.Construct, id *string, config *CoderProviderConfig) CoderProvider
Create a new {@link https://registry.terraform.io/providers/coder/coder/0.13.0/docs coder} Resource.
type CoderProviderConfig ¶
type CoderProviderConfig struct { // Alias name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/coder/coder/0.13.0/docs#alias CoderProvider#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // Feature: use managed Terraform variables. // // The feature flag is not used anymore as Terraform variables are now exclusively utilized for template-wide variables. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/coder/coder/0.13.0/docs#feature_use_managed_variables CoderProvider#feature_use_managed_variables} FeatureUseManagedVariables interface{} `field:"optional" json:"featureUseManagedVariables" yaml:"featureUseManagedVariables"` // The URL to access Coder. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/coder/coder/0.13.0/docs#url CoderProvider#url} Url *string `field:"optional" json:"url" yaml:"url"` }