Documentation ¶
Index ¶
- func Metastore_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func Metastore_IsConstruct(x interface{}) *bool
- func Metastore_IsTerraformElement(x interface{}) *bool
- func Metastore_IsTerraformResource(x interface{}) *bool
- func Metastore_TfResourceType() *string
- func NewMetastore_Override(m Metastore, scope constructs.Construct, id *string, config *MetastoreConfig)
- type Metastore
- type MetastoreConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Metastore_GenerateConfigForImport ¶
func Metastore_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a Metastore resource upon running "cdktf plan <stack-name>".
func Metastore_IsConstruct ¶
func Metastore_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 Metastore_IsTerraformElement ¶
func Metastore_IsTerraformElement(x interface{}) *bool
Experimental.
func Metastore_IsTerraformResource ¶
func Metastore_IsTerraformResource(x interface{}) *bool
Experimental.
func Metastore_TfResourceType ¶
func Metastore_TfResourceType() *string
func NewMetastore_Override ¶
func NewMetastore_Override(m Metastore, scope constructs.Construct, id *string, config *MetastoreConfig)
Create a new {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore databricks_metastore} Resource.
Types ¶
type Metastore ¶
type Metastore interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack Cloud() *string SetCloud(val *string) CloudInput() *string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreatedAt() *float64 SetCreatedAt(val *float64) CreatedAtInput() *float64 CreatedBy() *string SetCreatedBy(val *string) CreatedByInput() *string DefaultDataAccessConfigId() *string SetDefaultDataAccessConfigId(val *string) DefaultDataAccessConfigIdInput() *string DeltaSharingOrganizationName() *string SetDeltaSharingOrganizationName(val *string) DeltaSharingOrganizationNameInput() *string DeltaSharingRecipientTokenLifetimeInSeconds() *float64 SetDeltaSharingRecipientTokenLifetimeInSeconds(val *float64) DeltaSharingRecipientTokenLifetimeInSecondsInput() *float64 DeltaSharingScope() *string SetDeltaSharingScope(val *string) DeltaSharingScopeInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) ForceDestroy() interface{} SetForceDestroy(val interface{}) ForceDestroyInput() interface{} // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GlobalMetastoreId() *string SetGlobalMetastoreId(val *string) GlobalMetastoreIdInput() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MetastoreId() *string SetMetastoreId(val *string) MetastoreIdInput() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Owner() *string SetOwner(val *string) OwnerInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string StorageRoot() *string SetStorageRoot(val *string) StorageRootCredentialId() *string SetStorageRootCredentialId(val *string) StorageRootCredentialIdInput() *string StorageRootInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string UpdatedAt() *float64 SetUpdatedAt(val *float64) UpdatedAtInput() *float64 UpdatedBy() *string SetUpdatedBy(val *string) UpdatedByInput() *string // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *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. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // 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. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetCloud() ResetCreatedAt() ResetCreatedBy() ResetDefaultDataAccessConfigId() ResetDeltaSharingOrganizationName() ResetDeltaSharingRecipientTokenLifetimeInSeconds() ResetDeltaSharingScope() ResetForceDestroy() ResetGlobalMetastoreId() ResetId() ResetMetastoreId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetOwner() ResetRegion() ResetStorageRoot() ResetStorageRootCredentialId() ResetUpdatedAt() ResetUpdatedBy() 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/databricks/databricks/1.60.0/docs/resources/metastore databricks_metastore}.
func NewMetastore ¶
func NewMetastore(scope constructs.Construct, id *string, config *MetastoreConfig) Metastore
Create a new {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore databricks_metastore} Resource.
type MetastoreConfig ¶
type MetastoreConfig 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.60.0/docs/resources/metastore#name Metastore#name}. Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#cloud Metastore#cloud}. Cloud *string `field:"optional" json:"cloud" yaml:"cloud"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#created_at Metastore#created_at}. CreatedAt *float64 `field:"optional" json:"createdAt" yaml:"createdAt"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#created_by Metastore#created_by}. CreatedBy *string `field:"optional" json:"createdBy" yaml:"createdBy"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#default_data_access_config_id Metastore#default_data_access_config_id}. DefaultDataAccessConfigId *string `field:"optional" json:"defaultDataAccessConfigId" yaml:"defaultDataAccessConfigId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#delta_sharing_organization_name Metastore#delta_sharing_organization_name}. DeltaSharingOrganizationName *string `field:"optional" json:"deltaSharingOrganizationName" yaml:"deltaSharingOrganizationName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#delta_sharing_recipient_token_lifetime_in_seconds Metastore#delta_sharing_recipient_token_lifetime_in_seconds}. DeltaSharingRecipientTokenLifetimeInSeconds *float64 `field:"optional" json:"deltaSharingRecipientTokenLifetimeInSeconds" yaml:"deltaSharingRecipientTokenLifetimeInSeconds"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#delta_sharing_scope Metastore#delta_sharing_scope}. DeltaSharingScope *string `field:"optional" json:"deltaSharingScope" yaml:"deltaSharingScope"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#force_destroy Metastore#force_destroy}. ForceDestroy interface{} `field:"optional" json:"forceDestroy" yaml:"forceDestroy"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#global_metastore_id Metastore#global_metastore_id}. GlobalMetastoreId *string `field:"optional" json:"globalMetastoreId" yaml:"globalMetastoreId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#id Metastore#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.60.0/docs/resources/metastore#metastore_id Metastore#metastore_id}. MetastoreId *string `field:"optional" json:"metastoreId" yaml:"metastoreId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#owner Metastore#owner}. Owner *string `field:"optional" json:"owner" yaml:"owner"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#region Metastore#region}. Region *string `field:"optional" json:"region" yaml:"region"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#storage_root Metastore#storage_root}. StorageRoot *string `field:"optional" json:"storageRoot" yaml:"storageRoot"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#storage_root_credential_id Metastore#storage_root_credential_id}. StorageRootCredentialId *string `field:"optional" json:"storageRootCredentialId" yaml:"storageRootCredentialId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#updated_at Metastore#updated_at}. UpdatedAt *float64 `field:"optional" json:"updatedAt" yaml:"updatedAt"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/databricks/databricks/1.60.0/docs/resources/metastore#updated_by Metastore#updated_by}. UpdatedBy *string `field:"optional" json:"updatedBy" yaml:"updatedBy"` }