Documentation
¶
Index ¶
- func GrantPrivilegesToDatabaseRole_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func GrantPrivilegesToDatabaseRole_IsConstruct(x interface{}) *bool
- func GrantPrivilegesToDatabaseRole_IsTerraformElement(x interface{}) *bool
- func GrantPrivilegesToDatabaseRole_IsTerraformResource(x interface{}) *bool
- func GrantPrivilegesToDatabaseRole_TfResourceType() *string
- func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference_Override(g GrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference, ...)
- func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference_Override(g GrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference, ...)
- func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference_Override(g GrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference, ...)
- func NewGrantPrivilegesToDatabaseRoleOnSchemaOutputReference_Override(g GrantPrivilegesToDatabaseRoleOnSchemaOutputReference, ...)
- func NewGrantPrivilegesToDatabaseRole_Override(g GrantPrivilegesToDatabaseRole, scope constructs.Construct, id *string, ...)
- type GrantPrivilegesToDatabaseRole
- type GrantPrivilegesToDatabaseRoleConfig
- type GrantPrivilegesToDatabaseRoleOnSchema
- type GrantPrivilegesToDatabaseRoleOnSchemaObject
- type GrantPrivilegesToDatabaseRoleOnSchemaObjectAll
- type GrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference
- type GrantPrivilegesToDatabaseRoleOnSchemaObjectFuture
- type GrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference
- type GrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference
- type GrantPrivilegesToDatabaseRoleOnSchemaOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrantPrivilegesToDatabaseRole_GenerateConfigForImport ¶
func GrantPrivilegesToDatabaseRole_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a GrantPrivilegesToDatabaseRole resource upon running "cdktf plan <stack-name>".
func GrantPrivilegesToDatabaseRole_IsConstruct ¶
func GrantPrivilegesToDatabaseRole_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 GrantPrivilegesToDatabaseRole_IsTerraformElement ¶
func GrantPrivilegesToDatabaseRole_IsTerraformElement(x interface{}) *bool
Experimental.
func GrantPrivilegesToDatabaseRole_IsTerraformResource ¶
func GrantPrivilegesToDatabaseRole_IsTerraformResource(x interface{}) *bool
Experimental.
func GrantPrivilegesToDatabaseRole_TfResourceType ¶
func GrantPrivilegesToDatabaseRole_TfResourceType() *string
func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference_Override ¶
func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference_Override(g GrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference_Override ¶
func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference_Override(g GrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference_Override ¶
func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference_Override(g GrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToDatabaseRoleOnSchemaOutputReference_Override ¶
func NewGrantPrivilegesToDatabaseRoleOnSchemaOutputReference_Override(g GrantPrivilegesToDatabaseRoleOnSchemaOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToDatabaseRole_Override ¶
func NewGrantPrivilegesToDatabaseRole_Override(g GrantPrivilegesToDatabaseRole, scope constructs.Construct, id *string, config *GrantPrivilegesToDatabaseRoleConfig)
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role snowflake_grant_privileges_to_database_role} Resource.
Types ¶
type GrantPrivilegesToDatabaseRole ¶
type GrantPrivilegesToDatabaseRole interface { cdktf.TerraformResource AllPrivileges() interface{} SetAllPrivileges(val interface{}) AllPrivilegesInput() interface{} AlwaysApply() interface{} SetAlwaysApply(val interface{}) AlwaysApplyInput() interface{} AlwaysApplyTrigger() *string SetAlwaysApplyTrigger(val *string) AlwaysApplyTriggerInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) DatabaseRoleName() *string SetDatabaseRoleName(val *string) DatabaseRoleNameInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) // The tree node. Node() constructs.Node OnDatabase() *string SetOnDatabase(val *string) OnDatabaseInput() *string OnSchema() GrantPrivilegesToDatabaseRoleOnSchemaOutputReference OnSchemaInput() *GrantPrivilegesToDatabaseRoleOnSchema OnSchemaObject() GrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference OnSchemaObjectInput() *GrantPrivilegesToDatabaseRoleOnSchemaObject Privileges() *[]*string SetPrivileges(val *[]*string) PrivilegesInput() *[]*string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string WithGrantOption() interface{} SetWithGrantOption(val interface{}) WithGrantOptionInput() interface{} // 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) PutOnSchema(value *GrantPrivilegesToDatabaseRoleOnSchema) PutOnSchemaObject(value *GrantPrivilegesToDatabaseRoleOnSchemaObject) ResetAllPrivileges() ResetAlwaysApply() ResetAlwaysApplyTrigger() ResetId() ResetOnDatabase() ResetOnSchema() ResetOnSchemaObject() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPrivileges() ResetWithGrantOption() 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/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role snowflake_grant_privileges_to_database_role}.
func NewGrantPrivilegesToDatabaseRole ¶
func NewGrantPrivilegesToDatabaseRole(scope constructs.Construct, id *string, config *GrantPrivilegesToDatabaseRoleConfig) GrantPrivilegesToDatabaseRole
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role snowflake_grant_privileges_to_database_role} Resource.
type GrantPrivilegesToDatabaseRoleConfig ¶
type GrantPrivilegesToDatabaseRoleConfig 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"` // The fully qualified name of the database role to which privileges will be granted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#database_role_name GrantPrivilegesToDatabaseRole#database_role_name} DatabaseRoleName *string `field:"required" json:"databaseRoleName" yaml:"databaseRoleName"` // Grant all privileges on the database role. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#all_privileges GrantPrivilegesToDatabaseRole#all_privileges} AllPrivileges interface{} `field:"optional" json:"allPrivileges" yaml:"allPrivileges"` // If true, the resource will always produce a “plan” and on “apply” it will re-grant defined privileges. // // It is supposed to be used only in “grant privileges on all X’s in database / schema Y” or “grant all privileges to X” scenarios to make sure that every new object in a given database / schema is granted by the account role and every new privilege is granted to the database role. Important note: this flag is not compliant with the Terraform assumptions of the config being eventually convergent (producing an empty plan). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#always_apply GrantPrivilegesToDatabaseRole#always_apply} AlwaysApply interface{} `field:"optional" json:"alwaysApply" yaml:"alwaysApply"` // This is a helper field and should not be set. // // Its main purpose is to help to achieve the functionality described by the always_apply field. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#always_apply_trigger GrantPrivilegesToDatabaseRole#always_apply_trigger} AlwaysApplyTrigger *string `field:"optional" json:"alwaysApplyTrigger" yaml:"alwaysApplyTrigger"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#id GrantPrivilegesToDatabaseRole#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"` // The fully qualified name of the database on which privileges will be granted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#on_database GrantPrivilegesToDatabaseRole#on_database} OnDatabase *string `field:"optional" json:"onDatabase" yaml:"onDatabase"` // on_schema block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#on_schema GrantPrivilegesToDatabaseRole#on_schema} OnSchema *GrantPrivilegesToDatabaseRoleOnSchema `field:"optional" json:"onSchema" yaml:"onSchema"` // on_schema_object block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#on_schema_object GrantPrivilegesToDatabaseRole#on_schema_object} OnSchemaObject *GrantPrivilegesToDatabaseRoleOnSchemaObject `field:"optional" json:"onSchemaObject" yaml:"onSchemaObject"` // The privileges to grant on the database role. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#privileges GrantPrivilegesToDatabaseRole#privileges} Privileges *[]*string `field:"optional" json:"privileges" yaml:"privileges"` // If specified, allows the recipient role to grant the privileges to other roles. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#with_grant_option GrantPrivilegesToDatabaseRole#with_grant_option} WithGrantOption interface{} `field:"optional" json:"withGrantOption" yaml:"withGrantOption"` }
type GrantPrivilegesToDatabaseRoleOnSchema ¶
type GrantPrivilegesToDatabaseRoleOnSchema struct { // The fully qualified name of the database. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#all_schemas_in_database GrantPrivilegesToDatabaseRole#all_schemas_in_database} AllSchemasInDatabase *string `field:"optional" json:"allSchemasInDatabase" yaml:"allSchemasInDatabase"` // The fully qualified name of the database. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#future_schemas_in_database GrantPrivilegesToDatabaseRole#future_schemas_in_database} FutureSchemasInDatabase *string `field:"optional" json:"futureSchemasInDatabase" yaml:"futureSchemasInDatabase"` // The fully qualified name of the schema. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#schema_name GrantPrivilegesToDatabaseRole#schema_name} SchemaName *string `field:"optional" json:"schemaName" yaml:"schemaName"` }
type GrantPrivilegesToDatabaseRoleOnSchemaObject ¶
type GrantPrivilegesToDatabaseRoleOnSchemaObject struct { // all block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#all GrantPrivilegesToDatabaseRole#all} All *GrantPrivilegesToDatabaseRoleOnSchemaObjectAll `field:"optional" json:"all" yaml:"all"` // future block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#future GrantPrivilegesToDatabaseRole#future} Future *GrantPrivilegesToDatabaseRoleOnSchemaObjectFuture `field:"optional" json:"future" yaml:"future"` // The fully qualified name of the object on which privileges will be granted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#object_name GrantPrivilegesToDatabaseRole#object_name} ObjectName *string `field:"optional" json:"objectName" yaml:"objectName"` // The object type of the schema object on which privileges will be granted. // // Valid values are: AGGREGATION POLICY | ALERT | AUTHENTICATION POLICY | DATA METRIC FUNCTION | DYNAMIC TABLE | EVENT TABLE | EXTERNAL TABLE | FILE FORMAT | FUNCTION | GIT REPOSITORY | HYBRID TABLE | IMAGE REPOSITORY | ICEBERG TABLE | MASKING POLICY | MATERIALIZED VIEW | MODEL | NETWORK RULE | PACKAGES POLICY | PASSWORD POLICY | PIPE | PROCEDURE | PROJECTION POLICY | ROW ACCESS POLICY | SECRET | SERVICE | SESSION POLICY | SEQUENCE | STAGE | STREAM | TABLE | TAG | TASK | VIEW | STREAMLIT // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#object_type GrantPrivilegesToDatabaseRole#object_type} ObjectType *string `field:"optional" json:"objectType" yaml:"objectType"` }
type GrantPrivilegesToDatabaseRoleOnSchemaObjectAll ¶
type GrantPrivilegesToDatabaseRoleOnSchemaObjectAll struct { // The plural object type of the schema object on which privileges will be granted. // // Valid values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | IMAGE REPOSITORIES | ICEBERG TABLES | MASKING POLICIES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | PACKAGES POLICIES | PASSWORD POLICIES | PIPES | PROCEDURES | PROJECTION POLICIES | ROW ACCESS POLICIES | SECRETS | SERVICES | SESSION POLICIES | SEQUENCES | STAGES | STREAMS | TABLES | TAGS | TASKS | VIEWS | STREAMLITS. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#object_type_plural GrantPrivilegesToDatabaseRole#object_type_plural} ObjectTypePlural *string `field:"required" json:"objectTypePlural" yaml:"objectTypePlural"` // The fully qualified name of the database. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#in_database GrantPrivilegesToDatabaseRole#in_database} InDatabase *string `field:"optional" json:"inDatabase" yaml:"inDatabase"` // The fully qualified name of the schema. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#in_schema GrantPrivilegesToDatabaseRole#in_schema} InSchema *string `field:"optional" json:"inSchema" yaml:"inSchema"` }
type GrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference ¶
type GrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference 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 InDatabase() *string SetInDatabase(val *string) InDatabaseInput() *string InSchema() *string SetInSchema(val *string) InSchemaInput() *string InternalValue() *GrantPrivilegesToDatabaseRoleOnSchemaObjectAll SetInternalValue(val *GrantPrivilegesToDatabaseRoleOnSchemaObjectAll) ObjectTypePlural() *string SetObjectTypePlural(val *string) ObjectTypePluralInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // 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 ResetInDatabase() ResetInSchema() // 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 NewGrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference ¶
func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference
type GrantPrivilegesToDatabaseRoleOnSchemaObjectFuture ¶
type GrantPrivilegesToDatabaseRoleOnSchemaObjectFuture struct { // The plural object type of the schema object on which privileges will be granted. // // Valid values are: ALERTS | AUTHENTICATION POLICIES | DATA METRIC FUNCTIONS | DYNAMIC TABLES | EVENT TABLES | EXTERNAL TABLES | FILE FORMATS | FUNCTIONS | GIT REPOSITORIES | HYBRID TABLES | ICEBERG TABLES | MATERIALIZED VIEWS | MODELS | NETWORK RULES | PASSWORD POLICIES | PIPES | PROCEDURES | SECRETS | SERVICES | SEQUENCES | STAGES | STREAMS | TABLES | TASKS | VIEWS. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#object_type_plural GrantPrivilegesToDatabaseRole#object_type_plural} ObjectTypePlural *string `field:"required" json:"objectTypePlural" yaml:"objectTypePlural"` // The fully qualified name of the database. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#in_database GrantPrivilegesToDatabaseRole#in_database} InDatabase *string `field:"optional" json:"inDatabase" yaml:"inDatabase"` // The fully qualified name of the schema. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.92.0/docs/resources/grant_privileges_to_database_role#in_schema GrantPrivilegesToDatabaseRole#in_schema} InSchema *string `field:"optional" json:"inSchema" yaml:"inSchema"` }
type GrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference ¶
type GrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference 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 InDatabase() *string SetInDatabase(val *string) InDatabaseInput() *string InSchema() *string SetInSchema(val *string) InSchemaInput() *string InternalValue() *GrantPrivilegesToDatabaseRoleOnSchemaObjectFuture SetInternalValue(val *GrantPrivilegesToDatabaseRoleOnSchemaObjectFuture) ObjectTypePlural() *string SetObjectTypePlural(val *string) ObjectTypePluralInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // 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 ResetInDatabase() ResetInSchema() // 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 NewGrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference ¶
func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference
type GrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference ¶
type GrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference interface { cdktf.ComplexObject All() GrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference AllInput() *GrantPrivilegesToDatabaseRoleOnSchemaObjectAll // 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 Future() GrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference FutureInput() *GrantPrivilegesToDatabaseRoleOnSchemaObjectFuture InternalValue() *GrantPrivilegesToDatabaseRoleOnSchemaObject SetInternalValue(val *GrantPrivilegesToDatabaseRoleOnSchemaObject) ObjectName() *string SetObjectName(val *string) ObjectNameInput() *string ObjectType() *string SetObjectType(val *string) ObjectTypeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // 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 PutAll(value *GrantPrivilegesToDatabaseRoleOnSchemaObjectAll) PutFuture(value *GrantPrivilegesToDatabaseRoleOnSchemaObjectFuture) ResetAll() ResetFuture() ResetObjectName() ResetObjectType() // 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 NewGrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference ¶
func NewGrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference
type GrantPrivilegesToDatabaseRoleOnSchemaOutputReference ¶
type GrantPrivilegesToDatabaseRoleOnSchemaOutputReference interface { cdktf.ComplexObject AllSchemasInDatabase() *string SetAllSchemasInDatabase(val *string) AllSchemasInDatabaseInput() *string // 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 FutureSchemasInDatabase() *string SetFutureSchemasInDatabase(val *string) FutureSchemasInDatabaseInput() *string InternalValue() *GrantPrivilegesToDatabaseRoleOnSchema SetInternalValue(val *GrantPrivilegesToDatabaseRoleOnSchema) SchemaName() *string SetSchemaName(val *string) SchemaNameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // 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 ResetAllSchemasInDatabase() ResetFutureSchemasInDatabase() ResetSchemaName() // 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 NewGrantPrivilegesToDatabaseRoleOnSchemaOutputReference ¶
func NewGrantPrivilegesToDatabaseRoleOnSchemaOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToDatabaseRoleOnSchemaOutputReference
Source Files
¶
- GrantPrivilegesToDatabaseRole.go
- GrantPrivilegesToDatabaseRoleConfig.go
- GrantPrivilegesToDatabaseRoleOnSchema.go
- GrantPrivilegesToDatabaseRoleOnSchemaObject.go
- GrantPrivilegesToDatabaseRoleOnSchemaObjectAll.go
- GrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference.go
- GrantPrivilegesToDatabaseRoleOnSchemaObjectAllOutputReference__checks.go
- GrantPrivilegesToDatabaseRoleOnSchemaObjectFuture.go
- GrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference.go
- GrantPrivilegesToDatabaseRoleOnSchemaObjectFutureOutputReference__checks.go
- GrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference.go
- GrantPrivilegesToDatabaseRoleOnSchemaObjectOutputReference__checks.go
- GrantPrivilegesToDatabaseRoleOnSchemaOutputReference.go
- GrantPrivilegesToDatabaseRoleOnSchemaOutputReference__checks.go
- GrantPrivilegesToDatabaseRole__checks.go
- main.go