Documentation
¶
Index ¶
- func NewPermissionsAccessControlList_Override(p PermissionsAccessControlList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewPermissionsAccessControlOutputReference_Override(p PermissionsAccessControlOutputReference, ...)
- func NewPermissions_Override(p Permissions, scope constructs.Construct, id *string, ...)
- func Permissions_IsConstruct(x interface{}) *bool
- func Permissions_TfResourceType() *string
- type Permissions
- type PermissionsAccessControl
- type PermissionsAccessControlList
- type PermissionsAccessControlOutputReference
- type PermissionsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPermissionsAccessControlList_Override ¶
func NewPermissionsAccessControlList_Override(p PermissionsAccessControlList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewPermissionsAccessControlOutputReference_Override ¶
func NewPermissionsAccessControlOutputReference_Override(p PermissionsAccessControlOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewPermissions_Override ¶
func NewPermissions_Override(p Permissions, scope constructs.Construct, id *string, config *PermissionsConfig)
Create a new {@link https://www.terraform.io/docs/providers/databricks/r/permissions databricks_permissions} Resource.
func Permissions_IsConstruct ¶
func Permissions_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 Permissions_TfResourceType ¶
func Permissions_TfResourceType() *string
Types ¶
type Permissions ¶
type Permissions interface { cdktf.TerraformResource AccessControl() PermissionsAccessControlList AccessControlInput() interface{} Authorization() *string SetAuthorization(val *string) AuthorizationInput() *string // Experimental. CdktfStack() cdktf.TerraformStack ClusterId() *string SetClusterId(val *string) ClusterIdInput() *string ClusterPolicyId() *string SetClusterPolicyId(val *string) ClusterPolicyIdInput() *string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DirectoryId() *string SetDirectoryId(val *string) DirectoryIdInput() *string DirectoryPath() *string SetDirectoryPath(val *string) DirectoryPathInput() *string ExperimentId() *string SetExperimentId(val *string) ExperimentIdInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string InstancePoolId() *string SetInstancePoolId(val *string) InstancePoolIdInput() *string JobId() *string SetJobId(val *string) JobIdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) // The tree node. Node() constructs.Node NotebookId() *string SetNotebookId(val *string) NotebookIdInput() *string NotebookPath() *string SetNotebookPath(val *string) NotebookPathInput() *string ObjectType() *string SetObjectType(val *string) ObjectTypeInput() *string PipelineId() *string SetPipelineId(val *string) PipelineIdInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} RegisteredModelId() *string SetRegisteredModelId(val *string) RegisteredModelIdInput() *string RepoId() *string SetRepoId(val *string) RepoIdInput() *string RepoPath() *string SetRepoPath(val *string) RepoPathInput() *string SqlAlertId() *string SetSqlAlertId(val *string) SqlAlertIdInput() *string SqlDashboardId() *string SetSqlDashboardId(val *string) SqlDashboardIdInput() *string SqlEndpointId() *string SetSqlEndpointId(val *string) SqlEndpointIdInput() *string SqlQueryId() *string SetSqlQueryId(val *string) SqlQueryIdInput() *string // 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) PutAccessControl(value interface{}) ResetAuthorization() ResetClusterId() ResetClusterPolicyId() ResetDirectoryId() ResetDirectoryPath() ResetExperimentId() ResetId() ResetInstancePoolId() ResetJobId() ResetNotebookId() ResetNotebookPath() ResetObjectType() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPipelineId() ResetRegisteredModelId() ResetRepoId() ResetRepoPath() ResetSqlAlertId() ResetSqlDashboardId() ResetSqlEndpointId() ResetSqlQueryId() SynthesizeAttributes() *map[string]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://www.terraform.io/docs/providers/databricks/r/permissions databricks_permissions}.
func NewPermissions ¶
func NewPermissions(scope constructs.Construct, id *string, config *PermissionsConfig) Permissions
Create a new {@link https://www.terraform.io/docs/providers/databricks/r/permissions databricks_permissions} Resource.
type PermissionsAccessControl ¶
type PermissionsAccessControl struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#permission_level Permissions#permission_level}. PermissionLevel *string `field:"required" json:"permissionLevel" yaml:"permissionLevel"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#group_name Permissions#group_name}. GroupName *string `field:"optional" json:"groupName" yaml:"groupName"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#service_principal_name Permissions#service_principal_name}. ServicePrincipalName *string `field:"optional" json:"servicePrincipalName" yaml:"servicePrincipalName"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#user_name Permissions#user_name}. UserName *string `field:"optional" json:"userName" yaml:"userName"` }
type PermissionsAccessControlList ¶
type PermissionsAccessControlList interface { cdktf.ComplexList // 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. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) PermissionsAccessControlOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewPermissionsAccessControlList ¶
func NewPermissionsAccessControlList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) PermissionsAccessControlList
type PermissionsAccessControlOutputReference ¶
type PermissionsAccessControlOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // 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. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string GroupName() *string SetGroupName(val *string) GroupNameInput() *string InternalValue() interface{} SetInternalValue(val interface{}) PermissionLevel() *string SetPermissionLevel(val *string) PermissionLevelInput() *string ServicePrincipalName() *string SetServicePrincipalName(val *string) ServicePrincipalNameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) UserName() *string SetUserName(val *string) UserNameInput() *string // Experimental. ComputeFqn() *string // 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. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetGroupName() ResetServicePrincipalName() ResetUserName() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewPermissionsAccessControlOutputReference ¶
func NewPermissionsAccessControlOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) PermissionsAccessControlOutputReference
type PermissionsConfig ¶
type PermissionsConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // access_control block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#access_control Permissions#access_control} AccessControl interface{} `field:"required" json:"accessControl" yaml:"accessControl"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#authorization Permissions#authorization}. Authorization *string `field:"optional" json:"authorization" yaml:"authorization"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#cluster_id Permissions#cluster_id}. ClusterId *string `field:"optional" json:"clusterId" yaml:"clusterId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#cluster_policy_id Permissions#cluster_policy_id}. ClusterPolicyId *string `field:"optional" json:"clusterPolicyId" yaml:"clusterPolicyId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#directory_id Permissions#directory_id}. DirectoryId *string `field:"optional" json:"directoryId" yaml:"directoryId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#directory_path Permissions#directory_path}. DirectoryPath *string `field:"optional" json:"directoryPath" yaml:"directoryPath"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#experiment_id Permissions#experiment_id}. ExperimentId *string `field:"optional" json:"experimentId" yaml:"experimentId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#id Permissions#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://www.terraform.io/docs/providers/databricks/r/permissions#instance_pool_id Permissions#instance_pool_id}. InstancePoolId *string `field:"optional" json:"instancePoolId" yaml:"instancePoolId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#job_id Permissions#job_id}. JobId *string `field:"optional" json:"jobId" yaml:"jobId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#notebook_id Permissions#notebook_id}. NotebookId *string `field:"optional" json:"notebookId" yaml:"notebookId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#notebook_path Permissions#notebook_path}. NotebookPath *string `field:"optional" json:"notebookPath" yaml:"notebookPath"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#object_type Permissions#object_type}. ObjectType *string `field:"optional" json:"objectType" yaml:"objectType"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#pipeline_id Permissions#pipeline_id}. PipelineId *string `field:"optional" json:"pipelineId" yaml:"pipelineId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#registered_model_id Permissions#registered_model_id}. RegisteredModelId *string `field:"optional" json:"registeredModelId" yaml:"registeredModelId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#repo_id Permissions#repo_id}. RepoId *string `field:"optional" json:"repoId" yaml:"repoId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#repo_path Permissions#repo_path}. RepoPath *string `field:"optional" json:"repoPath" yaml:"repoPath"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#sql_alert_id Permissions#sql_alert_id}. SqlAlertId *string `field:"optional" json:"sqlAlertId" yaml:"sqlAlertId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#sql_dashboard_id Permissions#sql_dashboard_id}. SqlDashboardId *string `field:"optional" json:"sqlDashboardId" yaml:"sqlDashboardId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#sql_endpoint_id Permissions#sql_endpoint_id}. SqlEndpointId *string `field:"optional" json:"sqlEndpointId" yaml:"sqlEndpointId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/databricks/r/permissions#sql_query_id Permissions#sql_query_id}. SqlQueryId *string `field:"optional" json:"sqlQueryId" yaml:"sqlQueryId"` }
Source Files
¶
- permissions.go
- permissions_Permissions.go
- permissions_PermissionsAccessControl.go
- permissions_PermissionsAccessControlList.go
- permissions_PermissionsAccessControlList__runtime_type_checks.go
- permissions_PermissionsAccessControlOutputReference.go
- permissions_PermissionsAccessControlOutputReference__runtime_type_checks.go
- permissions_PermissionsConfig.go
- permissions_Permissions__runtime_type_checks.go