Documentation ¶
Index ¶
- func GrantPrivilegesToAccountRole_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func GrantPrivilegesToAccountRole_IsConstruct(x interface{}) *bool
- func GrantPrivilegesToAccountRole_IsTerraformElement(x interface{}) *bool
- func GrantPrivilegesToAccountRole_IsTerraformResource(x interface{}) *bool
- func GrantPrivilegesToAccountRole_TfResourceType() *string
- func NewGrantPrivilegesToAccountRoleOnAccountObjectOutputReference_Override(g GrantPrivilegesToAccountRoleOnAccountObjectOutputReference, ...)
- func NewGrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference_Override(g GrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference, ...)
- func NewGrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference_Override(g GrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference, ...)
- func NewGrantPrivilegesToAccountRoleOnSchemaObjectOutputReference_Override(g GrantPrivilegesToAccountRoleOnSchemaObjectOutputReference, ...)
- func NewGrantPrivilegesToAccountRoleOnSchemaOutputReference_Override(g GrantPrivilegesToAccountRoleOnSchemaOutputReference, ...)
- func NewGrantPrivilegesToAccountRole_Override(g GrantPrivilegesToAccountRole, scope constructs.Construct, id *string, ...)
- type GrantPrivilegesToAccountRole
- type GrantPrivilegesToAccountRoleConfig
- type GrantPrivilegesToAccountRoleOnAccountObject
- type GrantPrivilegesToAccountRoleOnAccountObjectOutputReference
- type GrantPrivilegesToAccountRoleOnSchema
- type GrantPrivilegesToAccountRoleOnSchemaObject
- type GrantPrivilegesToAccountRoleOnSchemaObjectAll
- type GrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference
- type GrantPrivilegesToAccountRoleOnSchemaObjectFuture
- type GrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference
- type GrantPrivilegesToAccountRoleOnSchemaObjectOutputReference
- type GrantPrivilegesToAccountRoleOnSchemaOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrantPrivilegesToAccountRole_GenerateConfigForImport ¶
func GrantPrivilegesToAccountRole_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a GrantPrivilegesToAccountRole resource upon running "cdktf plan <stack-name>".
func GrantPrivilegesToAccountRole_IsConstruct ¶
func GrantPrivilegesToAccountRole_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 GrantPrivilegesToAccountRole_IsTerraformElement ¶
func GrantPrivilegesToAccountRole_IsTerraformElement(x interface{}) *bool
Experimental.
func GrantPrivilegesToAccountRole_IsTerraformResource ¶
func GrantPrivilegesToAccountRole_IsTerraformResource(x interface{}) *bool
Experimental.
func GrantPrivilegesToAccountRole_TfResourceType ¶
func GrantPrivilegesToAccountRole_TfResourceType() *string
func NewGrantPrivilegesToAccountRoleOnAccountObjectOutputReference_Override ¶
func NewGrantPrivilegesToAccountRoleOnAccountObjectOutputReference_Override(g GrantPrivilegesToAccountRoleOnAccountObjectOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference_Override ¶
func NewGrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference_Override(g GrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference_Override ¶
func NewGrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference_Override(g GrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToAccountRoleOnSchemaObjectOutputReference_Override ¶
func NewGrantPrivilegesToAccountRoleOnSchemaObjectOutputReference_Override(g GrantPrivilegesToAccountRoleOnSchemaObjectOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToAccountRoleOnSchemaOutputReference_Override ¶
func NewGrantPrivilegesToAccountRoleOnSchemaOutputReference_Override(g GrantPrivilegesToAccountRoleOnSchemaOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToAccountRole_Override ¶
func NewGrantPrivilegesToAccountRole_Override(g GrantPrivilegesToAccountRole, scope constructs.Construct, id *string, config *GrantPrivilegesToAccountRoleConfig)
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role snowflake_grant_privileges_to_account_role} Resource.
Types ¶
type GrantPrivilegesToAccountRole ¶
type GrantPrivilegesToAccountRole interface { cdktf.TerraformResource AccountRoleName() *string SetAccountRoleName(val *string) AccountRoleNameInput() *string 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{}) // 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 OnAccount() interface{} SetOnAccount(val interface{}) OnAccountInput() interface{} OnAccountObject() GrantPrivilegesToAccountRoleOnAccountObjectOutputReference OnAccountObjectInput() *GrantPrivilegesToAccountRoleOnAccountObject OnSchema() GrantPrivilegesToAccountRoleOnSchemaOutputReference OnSchemaInput() *GrantPrivilegesToAccountRoleOnSchema OnSchemaObject() GrantPrivilegesToAccountRoleOnSchemaObjectOutputReference OnSchemaObjectInput() *GrantPrivilegesToAccountRoleOnSchemaObject 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) PutOnAccountObject(value *GrantPrivilegesToAccountRoleOnAccountObject) PutOnSchema(value *GrantPrivilegesToAccountRoleOnSchema) PutOnSchemaObject(value *GrantPrivilegesToAccountRoleOnSchemaObject) ResetAllPrivileges() ResetAlwaysApply() ResetAlwaysApplyTrigger() ResetId() ResetOnAccount() ResetOnAccountObject() 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.98.0/docs/resources/grant_privileges_to_account_role snowflake_grant_privileges_to_account_role}.
func NewGrantPrivilegesToAccountRole ¶
func NewGrantPrivilegesToAccountRole(scope constructs.Construct, id *string, config *GrantPrivilegesToAccountRoleConfig) GrantPrivilegesToAccountRole
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role snowflake_grant_privileges_to_account_role} Resource.
type GrantPrivilegesToAccountRoleConfig ¶
type GrantPrivilegesToAccountRoleConfig 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 account role to which privileges will be granted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#account_role_name GrantPrivilegesToAccountRole#account_role_name} AccountRoleName *string `field:"required" json:"accountRoleName" yaml:"accountRoleName"` // Grant all privileges on the account role. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#all_privileges GrantPrivilegesToAccountRole#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.98.0/docs/resources/grant_privileges_to_account_role#always_apply GrantPrivilegesToAccountRole#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.98.0/docs/resources/grant_privileges_to_account_role#always_apply_trigger GrantPrivilegesToAccountRole#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.98.0/docs/resources/grant_privileges_to_account_role#id GrantPrivilegesToAccountRole#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"` // If true, the privileges will be granted on the account. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#on_account GrantPrivilegesToAccountRole#on_account} OnAccount interface{} `field:"optional" json:"onAccount" yaml:"onAccount"` // on_account_object block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#on_account_object GrantPrivilegesToAccountRole#on_account_object} OnAccountObject *GrantPrivilegesToAccountRoleOnAccountObject `field:"optional" json:"onAccountObject" yaml:"onAccountObject"` // on_schema block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#on_schema GrantPrivilegesToAccountRole#on_schema} OnSchema *GrantPrivilegesToAccountRoleOnSchema `field:"optional" json:"onSchema" yaml:"onSchema"` // on_schema_object block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#on_schema_object GrantPrivilegesToAccountRole#on_schema_object} OnSchemaObject *GrantPrivilegesToAccountRoleOnSchemaObject `field:"optional" json:"onSchemaObject" yaml:"onSchemaObject"` // The privileges to grant on the account role. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#privileges GrantPrivilegesToAccountRole#privileges} Privileges *[]*string `field:"optional" json:"privileges" yaml:"privileges"` // Specifies whether the grantee can grant the privileges to other users. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#with_grant_option GrantPrivilegesToAccountRole#with_grant_option} WithGrantOption interface{} `field:"optional" json:"withGrantOption" yaml:"withGrantOption"` }
type GrantPrivilegesToAccountRoleOnAccountObject ¶
type GrantPrivilegesToAccountRoleOnAccountObject struct { // 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.98.0/docs/resources/grant_privileges_to_account_role#object_name GrantPrivilegesToAccountRole#object_name} ObjectName *string `field:"required" json:"objectName" yaml:"objectName"` // The object type of the account object on which privileges will be granted. // // Valid values are: USER | RESOURCE MONITOR | WAREHOUSE | COMPUTE POOL | DATABASE | INTEGRATION | FAILOVER GROUP | REPLICATION GROUP | EXTERNAL VOLUME // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#object_type GrantPrivilegesToAccountRole#object_type} ObjectType *string `field:"required" json:"objectType" yaml:"objectType"` }
type GrantPrivilegesToAccountRoleOnAccountObjectOutputReference ¶
type GrantPrivilegesToAccountRoleOnAccountObjectOutputReference 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 InternalValue() *GrantPrivilegesToAccountRoleOnAccountObject SetInternalValue(val *GrantPrivilegesToAccountRoleOnAccountObject) 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 // 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 NewGrantPrivilegesToAccountRoleOnAccountObjectOutputReference ¶
func NewGrantPrivilegesToAccountRoleOnAccountObjectOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToAccountRoleOnAccountObjectOutputReference
type GrantPrivilegesToAccountRoleOnSchema ¶
type GrantPrivilegesToAccountRoleOnSchema struct { // The fully qualified name of the database. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#all_schemas_in_database GrantPrivilegesToAccountRole#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.98.0/docs/resources/grant_privileges_to_account_role#future_schemas_in_database GrantPrivilegesToAccountRole#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.98.0/docs/resources/grant_privileges_to_account_role#schema_name GrantPrivilegesToAccountRole#schema_name} SchemaName *string `field:"optional" json:"schemaName" yaml:"schemaName"` }
type GrantPrivilegesToAccountRoleOnSchemaObject ¶
type GrantPrivilegesToAccountRoleOnSchemaObject struct { // all block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#all GrantPrivilegesToAccountRole#all} All *GrantPrivilegesToAccountRoleOnSchemaObjectAll `field:"optional" json:"all" yaml:"all"` // future block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#future GrantPrivilegesToAccountRole#future} Future *GrantPrivilegesToAccountRoleOnSchemaObjectFuture `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.98.0/docs/resources/grant_privileges_to_account_role#object_name GrantPrivilegesToAccountRole#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 | CORTEX SEARCH SERVICE | 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 | NOTEBOOK | PACKAGES POLICY | PASSWORD POLICY | PIPE | PROCEDURE | PROJECTION POLICY | ROW ACCESS POLICY | SECRET | SERVICE | SESSION POLICY | SEQUENCE | SNAPSHOT | STAGE | STREAM | TABLE | TAG | TASK | VIEW | STREAMLIT | DATASET // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#object_type GrantPrivilegesToAccountRole#object_type} ObjectType *string `field:"optional" json:"objectType" yaml:"objectType"` }
type GrantPrivilegesToAccountRoleOnSchemaObjectAll ¶
type GrantPrivilegesToAccountRoleOnSchemaObjectAll struct { // The plural object type of the schema object on which privileges will be granted. // // Valid values are: AGGREGATION POLICIES | ALERTS | AUTHENTICATION POLICIES | CORTEX SEARCH SERVICES | 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 | NOTEBOOKS | PACKAGES POLICIES | PASSWORD POLICIES | PIPES | PROCEDURES | PROJECTION POLICIES | ROW ACCESS POLICIES | SECRETS | SERVICES | SESSION POLICIES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TAGS | TASKS | VIEWS | STREAMLITS | DATASETS. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#object_type_plural GrantPrivilegesToAccountRole#object_type_plural} ObjectTypePlural *string `field:"required" json:"objectTypePlural" yaml:"objectTypePlural"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#in_database GrantPrivilegesToAccountRole#in_database}. InDatabase *string `field:"optional" json:"inDatabase" yaml:"inDatabase"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#in_schema GrantPrivilegesToAccountRole#in_schema}. InSchema *string `field:"optional" json:"inSchema" yaml:"inSchema"` }
type GrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference ¶
type GrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference 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() *GrantPrivilegesToAccountRoleOnSchemaObjectAll SetInternalValue(val *GrantPrivilegesToAccountRoleOnSchemaObjectAll) 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 NewGrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference ¶
func NewGrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference
type GrantPrivilegesToAccountRoleOnSchemaObjectFuture ¶
type GrantPrivilegesToAccountRoleOnSchemaObjectFuture 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 | NOTEBOOKS | PASSWORD POLICIES | PIPES | PROCEDURES | SECRETS | SERVICES | SEQUENCES | SNAPSHOTS | STAGES | STREAMS | TABLES | TASKS | VIEWS | DATASETS. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#object_type_plural GrantPrivilegesToAccountRole#object_type_plural} ObjectTypePlural *string `field:"required" json:"objectTypePlural" yaml:"objectTypePlural"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#in_database GrantPrivilegesToAccountRole#in_database}. InDatabase *string `field:"optional" json:"inDatabase" yaml:"inDatabase"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs/resources/grant_privileges_to_account_role#in_schema GrantPrivilegesToAccountRole#in_schema}. InSchema *string `field:"optional" json:"inSchema" yaml:"inSchema"` }
type GrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference ¶
type GrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference 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() *GrantPrivilegesToAccountRoleOnSchemaObjectFuture SetInternalValue(val *GrantPrivilegesToAccountRoleOnSchemaObjectFuture) 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 NewGrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference ¶
func NewGrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference
type GrantPrivilegesToAccountRoleOnSchemaObjectOutputReference ¶
type GrantPrivilegesToAccountRoleOnSchemaObjectOutputReference interface { cdktf.ComplexObject All() GrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference AllInput() *GrantPrivilegesToAccountRoleOnSchemaObjectAll // 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() GrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference FutureInput() *GrantPrivilegesToAccountRoleOnSchemaObjectFuture InternalValue() *GrantPrivilegesToAccountRoleOnSchemaObject SetInternalValue(val *GrantPrivilegesToAccountRoleOnSchemaObject) 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 *GrantPrivilegesToAccountRoleOnSchemaObjectAll) PutFuture(value *GrantPrivilegesToAccountRoleOnSchemaObjectFuture) 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 NewGrantPrivilegesToAccountRoleOnSchemaObjectOutputReference ¶
func NewGrantPrivilegesToAccountRoleOnSchemaObjectOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToAccountRoleOnSchemaObjectOutputReference
type GrantPrivilegesToAccountRoleOnSchemaOutputReference ¶
type GrantPrivilegesToAccountRoleOnSchemaOutputReference 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() *GrantPrivilegesToAccountRoleOnSchema SetInternalValue(val *GrantPrivilegesToAccountRoleOnSchema) 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 NewGrantPrivilegesToAccountRoleOnSchemaOutputReference ¶
func NewGrantPrivilegesToAccountRoleOnSchemaOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToAccountRoleOnSchemaOutputReference
Source Files ¶
- GrantPrivilegesToAccountRole.go
- GrantPrivilegesToAccountRoleConfig.go
- GrantPrivilegesToAccountRoleOnAccountObject.go
- GrantPrivilegesToAccountRoleOnAccountObjectOutputReference.go
- GrantPrivilegesToAccountRoleOnAccountObjectOutputReference__checks.go
- GrantPrivilegesToAccountRoleOnSchema.go
- GrantPrivilegesToAccountRoleOnSchemaObject.go
- GrantPrivilegesToAccountRoleOnSchemaObjectAll.go
- GrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference.go
- GrantPrivilegesToAccountRoleOnSchemaObjectAllOutputReference__checks.go
- GrantPrivilegesToAccountRoleOnSchemaObjectFuture.go
- GrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference.go
- GrantPrivilegesToAccountRoleOnSchemaObjectFutureOutputReference__checks.go
- GrantPrivilegesToAccountRoleOnSchemaObjectOutputReference.go
- GrantPrivilegesToAccountRoleOnSchemaObjectOutputReference__checks.go
- GrantPrivilegesToAccountRoleOnSchemaOutputReference.go
- GrantPrivilegesToAccountRoleOnSchemaOutputReference__checks.go
- GrantPrivilegesToAccountRole__checks.go
- main.go