Documentation ¶
Index ¶
- func DataDatabricksNodeType_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func DataDatabricksNodeType_IsConstruct(x interface{}) *bool
- func DataDatabricksNodeType_IsTerraformDataSource(x interface{}) *bool
- func DataDatabricksNodeType_IsTerraformElement(x interface{}) *bool
- func DataDatabricksNodeType_TfResourceType() *string
- func NewDataDatabricksNodeType_Override(d DataDatabricksNodeType, scope constructs.Construct, id *string, ...)
- type DataDatabricksNodeType
- type DataDatabricksNodeTypeConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataDatabricksNodeType_GenerateConfigForImport ¶
func DataDatabricksNodeType_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a DataDatabricksNodeType resource upon running "cdktf plan <stack-name>".
func DataDatabricksNodeType_IsConstruct ¶
func DataDatabricksNodeType_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 DataDatabricksNodeType_IsTerraformDataSource ¶
func DataDatabricksNodeType_IsTerraformDataSource(x interface{}) *bool
Experimental.
func DataDatabricksNodeType_IsTerraformElement ¶
func DataDatabricksNodeType_IsTerraformElement(x interface{}) *bool
Experimental.
func DataDatabricksNodeType_TfResourceType ¶
func DataDatabricksNodeType_TfResourceType() *string
func NewDataDatabricksNodeType_Override ¶
func NewDataDatabricksNodeType_Override(d DataDatabricksNodeType, scope constructs.Construct, id *string, config *DataDatabricksNodeTypeConfig)
Create a new {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type databricks_node_type} Data Source.
Types ¶
type DataDatabricksNodeType ¶
type DataDatabricksNodeType interface { cdktf.TerraformDataSource Category() *string SetCategory(val *string) CategoryInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Fleet() interface{} SetFleet(val interface{}) FleetInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GbPerCore() *float64 SetGbPerCore(val *float64) GbPerCoreInput() *float64 Graviton() interface{} SetGraviton(val interface{}) GravitonInput() interface{} Id() *string SetId(val *string) IdInput() *string IsIoCacheEnabled() interface{} SetIsIoCacheEnabled(val interface{}) IsIoCacheEnabledInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) LocalDisk() interface{} SetLocalDisk(val interface{}) LocalDiskInput() interface{} LocalDiskMinSize() *float64 SetLocalDiskMinSize(val *float64) LocalDiskMinSizeInput() *float64 MinCores() *float64 SetMinCores(val *float64) MinCoresInput() *float64 MinGpus() *float64 SetMinGpus(val *float64) MinGpusInput() *float64 MinMemoryGb() *float64 SetMinMemoryGb(val *float64) MinMemoryGbInput() *float64 // The tree node. Node() constructs.Node PhotonDriverCapable() interface{} SetPhotonDriverCapable(val interface{}) PhotonDriverCapableInput() interface{} PhotonWorkerCapable() interface{} SetPhotonWorkerCapable(val interface{}) PhotonWorkerCapableInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} SupportPortForwarding() interface{} SetSupportPortForwarding(val interface{}) SupportPortForwardingInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetCategory() ResetFleet() ResetGbPerCore() ResetGraviton() ResetId() ResetIsIoCacheEnabled() ResetLocalDisk() ResetLocalDiskMinSize() ResetMinCores() ResetMinGpus() ResetMinMemoryGb() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPhotonDriverCapable() ResetPhotonWorkerCapable() ResetSupportPortForwarding() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Adds this resource to the terraform JSON output. // 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/databricks/databricks/1.63.0/docs/data-sources/node_type databricks_node_type}.
func NewDataDatabricksNodeType ¶
func NewDataDatabricksNodeType(scope constructs.Construct, id *string, config *DataDatabricksNodeTypeConfig) DataDatabricksNodeType
Create a new {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type databricks_node_type} Data Source.
type DataDatabricksNodeTypeConfig ¶
type DataDatabricksNodeTypeConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#category DataDatabricksNodeType#category}. Category *string `field:"optional" json:"category" yaml:"category"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#fleet DataDatabricksNodeType#fleet}. Fleet interface{} `field:"optional" json:"fleet" yaml:"fleet"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#gb_per_core DataDatabricksNodeType#gb_per_core}. GbPerCore *float64 `field:"optional" json:"gbPerCore" yaml:"gbPerCore"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#graviton DataDatabricksNodeType#graviton}. Graviton interface{} `field:"optional" json:"graviton" yaml:"graviton"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#id DataDatabricksNodeType#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#is_io_cache_enabled DataDatabricksNodeType#is_io_cache_enabled}. IsIoCacheEnabled interface{} `field:"optional" json:"isIoCacheEnabled" yaml:"isIoCacheEnabled"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#local_disk DataDatabricksNodeType#local_disk}. LocalDisk interface{} `field:"optional" json:"localDisk" yaml:"localDisk"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#local_disk_min_size DataDatabricksNodeType#local_disk_min_size}. LocalDiskMinSize *float64 `field:"optional" json:"localDiskMinSize" yaml:"localDiskMinSize"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#min_cores DataDatabricksNodeType#min_cores}. MinCores *float64 `field:"optional" json:"minCores" yaml:"minCores"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#min_gpus DataDatabricksNodeType#min_gpus}. MinGpus *float64 `field:"optional" json:"minGpus" yaml:"minGpus"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#min_memory_gb DataDatabricksNodeType#min_memory_gb}. MinMemoryGb *float64 `field:"optional" json:"minMemoryGb" yaml:"minMemoryGb"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#photon_driver_capable DataDatabricksNodeType#photon_driver_capable}. PhotonDriverCapable interface{} `field:"optional" json:"photonDriverCapable" yaml:"photonDriverCapable"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#photon_worker_capable DataDatabricksNodeType#photon_worker_capable}. PhotonWorkerCapable interface{} `field:"optional" json:"photonWorkerCapable" yaml:"photonWorkerCapable"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.63.0/docs/data-sources/node_type#support_port_forwarding DataDatabricksNodeType#support_port_forwarding}. SupportPortForwarding interface{} `field:"optional" json:"supportPortForwarding" yaml:"supportPortForwarding"` }