Documentation ¶
Index ¶
- func GrantPrivilegesToRole_IsConstruct(x interface{}) *bool
- func GrantPrivilegesToRole_IsTerraformElement(x interface{}) *bool
- func GrantPrivilegesToRole_IsTerraformResource(x interface{}) *bool
- func GrantPrivilegesToRole_TfResourceType() *string
- func NewGrantPrivilegesToRoleOnAccountObjectOutputReference_Override(g GrantPrivilegesToRoleOnAccountObjectOutputReference, ...)
- func NewGrantPrivilegesToRoleOnSchemaObjectAllOutputReference_Override(g GrantPrivilegesToRoleOnSchemaObjectAllOutputReference, ...)
- func NewGrantPrivilegesToRoleOnSchemaObjectFutureOutputReference_Override(g GrantPrivilegesToRoleOnSchemaObjectFutureOutputReference, ...)
- func NewGrantPrivilegesToRoleOnSchemaObjectOutputReference_Override(g GrantPrivilegesToRoleOnSchemaObjectOutputReference, ...)
- func NewGrantPrivilegesToRoleOnSchemaOutputReference_Override(g GrantPrivilegesToRoleOnSchemaOutputReference, ...)
- func NewGrantPrivilegesToRole_Override(g GrantPrivilegesToRole, scope constructs.Construct, id *string, ...)
- type GrantPrivilegesToRole
- type GrantPrivilegesToRoleConfig
- type GrantPrivilegesToRoleOnAccountObject
- type GrantPrivilegesToRoleOnAccountObjectOutputReference
- type GrantPrivilegesToRoleOnSchema
- type GrantPrivilegesToRoleOnSchemaObject
- type GrantPrivilegesToRoleOnSchemaObjectAll
- type GrantPrivilegesToRoleOnSchemaObjectAllOutputReference
- type GrantPrivilegesToRoleOnSchemaObjectFuture
- type GrantPrivilegesToRoleOnSchemaObjectFutureOutputReference
- type GrantPrivilegesToRoleOnSchemaObjectOutputReference
- type GrantPrivilegesToRoleOnSchemaOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrantPrivilegesToRole_IsConstruct ¶
func GrantPrivilegesToRole_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 GrantPrivilegesToRole_IsTerraformElement ¶
func GrantPrivilegesToRole_IsTerraformElement(x interface{}) *bool
Experimental.
func GrantPrivilegesToRole_IsTerraformResource ¶
func GrantPrivilegesToRole_IsTerraformResource(x interface{}) *bool
Experimental.
func GrantPrivilegesToRole_TfResourceType ¶
func GrantPrivilegesToRole_TfResourceType() *string
func NewGrantPrivilegesToRoleOnAccountObjectOutputReference_Override ¶
func NewGrantPrivilegesToRoleOnAccountObjectOutputReference_Override(g GrantPrivilegesToRoleOnAccountObjectOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToRoleOnSchemaObjectAllOutputReference_Override ¶
func NewGrantPrivilegesToRoleOnSchemaObjectAllOutputReference_Override(g GrantPrivilegesToRoleOnSchemaObjectAllOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToRoleOnSchemaObjectFutureOutputReference_Override ¶
func NewGrantPrivilegesToRoleOnSchemaObjectFutureOutputReference_Override(g GrantPrivilegesToRoleOnSchemaObjectFutureOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToRoleOnSchemaObjectOutputReference_Override ¶
func NewGrantPrivilegesToRoleOnSchemaObjectOutputReference_Override(g GrantPrivilegesToRoleOnSchemaObjectOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToRoleOnSchemaOutputReference_Override ¶
func NewGrantPrivilegesToRoleOnSchemaOutputReference_Override(g GrantPrivilegesToRoleOnSchemaOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGrantPrivilegesToRole_Override ¶
func NewGrantPrivilegesToRole_Override(g GrantPrivilegesToRole, scope constructs.Construct, id *string, config *GrantPrivilegesToRoleConfig)
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role snowflake_grant_privileges_to_role} Resource.
Types ¶
type GrantPrivilegesToRole ¶
type GrantPrivilegesToRole interface { cdktf.TerraformResource AllPrivileges() interface{} SetAllPrivileges(val interface{}) AllPrivilegesInput() interface{} // 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() GrantPrivilegesToRoleOnAccountObjectOutputReference OnAccountObjectInput() *GrantPrivilegesToRoleOnAccountObject OnSchema() GrantPrivilegesToRoleOnSchemaOutputReference OnSchemaInput() *GrantPrivilegesToRoleOnSchema OnSchemaObject() GrantPrivilegesToRoleOnSchemaObjectOutputReference OnSchemaObjectInput() *GrantPrivilegesToRoleOnSchemaObject 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{} RoleName() *string SetRoleName(val *string) RoleNameInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string WithGrantOption() interface{} SetWithGrantOption(val interface{}) WithGrantOptionInput() interface{} // 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) PutOnAccountObject(value *GrantPrivilegesToRoleOnAccountObject) PutOnSchema(value *GrantPrivilegesToRoleOnSchema) PutOnSchemaObject(value *GrantPrivilegesToRoleOnSchemaObject) ResetAllPrivileges() 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{} // 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.73.0/docs/resources/grant_privileges_to_role snowflake_grant_privileges_to_role}.
func NewGrantPrivilegesToRole ¶
func NewGrantPrivilegesToRole(scope constructs.Construct, id *string, config *GrantPrivilegesToRoleConfig) GrantPrivilegesToRole
Create a new {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role snowflake_grant_privileges_to_role} Resource.
type GrantPrivilegesToRoleConfig ¶
type GrantPrivilegesToRoleConfig 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 role to which privileges will be granted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#role_name GrantPrivilegesToRole#role_name} RoleName *string `field:"required" json:"roleName" yaml:"roleName"` // Grant all privileges on the account role. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#all_privileges GrantPrivilegesToRole#all_privileges} AllPrivileges interface{} `field:"optional" json:"allPrivileges" yaml:"allPrivileges"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#id GrantPrivilegesToRole#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.73.0/docs/resources/grant_privileges_to_role#on_account GrantPrivilegesToRole#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.73.0/docs/resources/grant_privileges_to_role#on_account_object GrantPrivilegesToRole#on_account_object} OnAccountObject *GrantPrivilegesToRoleOnAccountObject `field:"optional" json:"onAccountObject" yaml:"onAccountObject"` // on_schema block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#on_schema GrantPrivilegesToRole#on_schema} OnSchema *GrantPrivilegesToRoleOnSchema `field:"optional" json:"onSchema" yaml:"onSchema"` // on_schema_object block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#on_schema_object GrantPrivilegesToRole#on_schema_object} OnSchemaObject *GrantPrivilegesToRoleOnSchemaObject `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.73.0/docs/resources/grant_privileges_to_role#privileges GrantPrivilegesToRole#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.73.0/docs/resources/grant_privileges_to_role#with_grant_option GrantPrivilegesToRole#with_grant_option} WithGrantOption interface{} `field:"optional" json:"withGrantOption" yaml:"withGrantOption"` }
type GrantPrivilegesToRoleOnAccountObject ¶
type GrantPrivilegesToRoleOnAccountObject 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.73.0/docs/resources/grant_privileges_to_role#object_name GrantPrivilegesToRole#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 | DATABASE | INTEGRATION | FAILOVER GROUP | REPLICATION GROUP // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#object_type GrantPrivilegesToRole#object_type} ObjectType *string `field:"required" json:"objectType" yaml:"objectType"` }
type GrantPrivilegesToRoleOnAccountObjectOutputReference ¶
type GrantPrivilegesToRoleOnAccountObjectOutputReference 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() *GrantPrivilegesToRoleOnAccountObject SetInternalValue(val *GrantPrivilegesToRoleOnAccountObject) 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 NewGrantPrivilegesToRoleOnAccountObjectOutputReference ¶
func NewGrantPrivilegesToRoleOnAccountObjectOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToRoleOnAccountObjectOutputReference
type GrantPrivilegesToRoleOnSchema ¶
type GrantPrivilegesToRoleOnSchema struct { // The fully qualified name of the database. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#all_schemas_in_database GrantPrivilegesToRole#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.73.0/docs/resources/grant_privileges_to_role#future_schemas_in_database GrantPrivilegesToRole#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.73.0/docs/resources/grant_privileges_to_role#schema_name GrantPrivilegesToRole#schema_name} SchemaName *string `field:"optional" json:"schemaName" yaml:"schemaName"` }
type GrantPrivilegesToRoleOnSchemaObject ¶
type GrantPrivilegesToRoleOnSchemaObject struct { // all block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#all GrantPrivilegesToRole#all} All *GrantPrivilegesToRoleOnSchemaObjectAll `field:"optional" json:"all" yaml:"all"` // future block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#future GrantPrivilegesToRole#future} Future *GrantPrivilegesToRoleOnSchemaObjectFuture `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.73.0/docs/resources/grant_privileges_to_role#object_name GrantPrivilegesToRole#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: ALERT | DYNAMIC TABLE | EVENT TABLE | FILE FORMAT | FUNCTION | PROCEDURE | SECRET | SEQUENCE | PIPE | MASKING POLICY | PASSWORD POLICY | ROW ACCESS POLICY | SESSION POLICY | TAG | STAGE | STREAM | TABLE | EXTERNAL TABLE | TASK | VIEW | MATERIALIZED VIEW // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#object_type GrantPrivilegesToRole#object_type} ObjectType *string `field:"optional" json:"objectType" yaml:"objectType"` }
type GrantPrivilegesToRoleOnSchemaObjectAll ¶
type GrantPrivilegesToRoleOnSchemaObjectAll struct { // The plural object type of the schema object on which privileges will be granted. // // Valid values are: ALERTS | DYNAMIC TABLES | EVENT TABLES | FILE FORMATS | FUNCTIONS | PROCEDURES | SECRETS | SEQUENCES | PIPES | MASKING POLICIES | PASSWORD POLICIES | ROW ACCESS POLICIES | SESSION POLICIES | TAGS | STAGES | STREAMS | TABLES | EXTERNAL TABLES | TASKS | VIEWS | MATERIALIZED VIEWS // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#object_type_plural GrantPrivilegesToRole#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.73.0/docs/resources/grant_privileges_to_role#in_database GrantPrivilegesToRole#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.73.0/docs/resources/grant_privileges_to_role#in_schema GrantPrivilegesToRole#in_schema} InSchema *string `field:"optional" json:"inSchema" yaml:"inSchema"` }
type GrantPrivilegesToRoleOnSchemaObjectAllOutputReference ¶
type GrantPrivilegesToRoleOnSchemaObjectAllOutputReference 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() *GrantPrivilegesToRoleOnSchemaObjectAll SetInternalValue(val *GrantPrivilegesToRoleOnSchemaObjectAll) 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 NewGrantPrivilegesToRoleOnSchemaObjectAllOutputReference ¶
func NewGrantPrivilegesToRoleOnSchemaObjectAllOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToRoleOnSchemaObjectAllOutputReference
type GrantPrivilegesToRoleOnSchemaObjectFuture ¶
type GrantPrivilegesToRoleOnSchemaObjectFuture struct { // The plural object type of the schema object on which privileges will be granted. // // Valid values are: ALERTS | DYNAMIC TABLES | EVENT TABLES | FILE FORMATS | FUNCTIONS | PROCEDURES | SECRETS | SEQUENCES | PIPES | MASKING POLICIES | PASSWORD POLICIES | ROW ACCESS POLICIES | SESSION POLICIES | TAGS | STAGES | STREAMS | TABLES | EXTERNAL TABLES | TASKS | VIEWS | MATERIALIZED VIEWS // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.73.0/docs/resources/grant_privileges_to_role#object_type_plural GrantPrivilegesToRole#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.73.0/docs/resources/grant_privileges_to_role#in_database GrantPrivilegesToRole#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.73.0/docs/resources/grant_privileges_to_role#in_schema GrantPrivilegesToRole#in_schema} InSchema *string `field:"optional" json:"inSchema" yaml:"inSchema"` }
type GrantPrivilegesToRoleOnSchemaObjectFutureOutputReference ¶
type GrantPrivilegesToRoleOnSchemaObjectFutureOutputReference 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() *GrantPrivilegesToRoleOnSchemaObjectFuture SetInternalValue(val *GrantPrivilegesToRoleOnSchemaObjectFuture) 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 NewGrantPrivilegesToRoleOnSchemaObjectFutureOutputReference ¶
func NewGrantPrivilegesToRoleOnSchemaObjectFutureOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToRoleOnSchemaObjectFutureOutputReference
type GrantPrivilegesToRoleOnSchemaObjectOutputReference ¶
type GrantPrivilegesToRoleOnSchemaObjectOutputReference interface { cdktf.ComplexObject All() GrantPrivilegesToRoleOnSchemaObjectAllOutputReference AllInput() *GrantPrivilegesToRoleOnSchemaObjectAll // 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() GrantPrivilegesToRoleOnSchemaObjectFutureOutputReference FutureInput() *GrantPrivilegesToRoleOnSchemaObjectFuture InternalValue() *GrantPrivilegesToRoleOnSchemaObject SetInternalValue(val *GrantPrivilegesToRoleOnSchemaObject) 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 *GrantPrivilegesToRoleOnSchemaObjectAll) PutFuture(value *GrantPrivilegesToRoleOnSchemaObjectFuture) 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 NewGrantPrivilegesToRoleOnSchemaObjectOutputReference ¶
func NewGrantPrivilegesToRoleOnSchemaObjectOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToRoleOnSchemaObjectOutputReference
type GrantPrivilegesToRoleOnSchemaOutputReference ¶
type GrantPrivilegesToRoleOnSchemaOutputReference 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() *GrantPrivilegesToRoleOnSchema SetInternalValue(val *GrantPrivilegesToRoleOnSchema) 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 NewGrantPrivilegesToRoleOnSchemaOutputReference ¶
func NewGrantPrivilegesToRoleOnSchemaOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GrantPrivilegesToRoleOnSchemaOutputReference
Source Files ¶
- GrantPrivilegesToRole.go
- GrantPrivilegesToRoleConfig.go
- GrantPrivilegesToRoleOnAccountObject.go
- GrantPrivilegesToRoleOnAccountObjectOutputReference.go
- GrantPrivilegesToRoleOnAccountObjectOutputReference__checks.go
- GrantPrivilegesToRoleOnSchema.go
- GrantPrivilegesToRoleOnSchemaObject.go
- GrantPrivilegesToRoleOnSchemaObjectAll.go
- GrantPrivilegesToRoleOnSchemaObjectAllOutputReference.go
- GrantPrivilegesToRoleOnSchemaObjectAllOutputReference__checks.go
- GrantPrivilegesToRoleOnSchemaObjectFuture.go
- GrantPrivilegesToRoleOnSchemaObjectFutureOutputReference.go
- GrantPrivilegesToRoleOnSchemaObjectFutureOutputReference__checks.go
- GrantPrivilegesToRoleOnSchemaObjectOutputReference.go
- GrantPrivilegesToRoleOnSchemaObjectOutputReference__checks.go
- GrantPrivilegesToRoleOnSchemaOutputReference.go
- GrantPrivilegesToRoleOnSchemaOutputReference__checks.go
- GrantPrivilegesToRole__checks.go
- main.go