-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Triggered by GitHub Actions Workflow for New Release v0.83.1
- Loading branch information
1 parent
07a58e2
commit 8a33acc
Showing
13 changed files
with
462 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
dist/snowflake_resources/grant_privileges_to_database_role.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import { TerraformMetaArguments, TerraformResource } from "cdktf"; | ||
import { Construct } from "constructs"; | ||
export interface Grant_Privileges_To_Database_Role_On_Schema { | ||
readonly all_schemas_in_database?: string; | ||
readonly future_schemas_in_database?: string; | ||
readonly schema_name?: string; | ||
} | ||
export interface Grant_Privileges_To_Database_Role_On_Schema_Object { | ||
readonly all?: { | ||
readonly object_type_plural: string; | ||
readonly in_database?: string; | ||
readonly in_schema?: string; | ||
}; | ||
readonly future?: { | ||
readonly object_type_plural: string; | ||
readonly in_database?: string; | ||
readonly in_schema?: string; | ||
}; | ||
readonly object_name?: string; | ||
readonly object_type?: string; | ||
} | ||
export interface Grant_Privileges_To_Database_RoleConfig extends TerraformMetaArguments { | ||
database_role_name: string; | ||
all_privileges?: boolean; | ||
always_apply?: boolean; | ||
always_apply_trigger?: string; | ||
on_database?: string; | ||
on_schema?: Grant_Privileges_To_Database_Role_On_Schema[]; | ||
on_schema_object?: Grant_Privileges_To_Database_Role_On_Schema_Object[]; | ||
privileges?: Set<string>; | ||
with_grant_option?: boolean; | ||
} | ||
export declare class Grant_Privileges_To_Database_Role extends TerraformResource { | ||
_database_role_name: string; | ||
_all_privileges?: boolean; | ||
_always_apply?: boolean; | ||
_always_apply_trigger?: string; | ||
_on_database?: string; | ||
_on_schema?: Grant_Privileges_To_Database_Role_On_Schema[]; | ||
_on_schema_object?: Grant_Privileges_To_Database_Role_On_Schema_Object[]; | ||
_privileges?: Set<string>; | ||
_with_grant_option?: boolean; | ||
readonly _id: string; | ||
constructor(scope: Construct, id: string, config: Grant_Privileges_To_Database_RoleConfig); | ||
getAttributes(): { | ||
[name: string]: any; | ||
}; | ||
get id(): string; | ||
ref(attribute: string): string; | ||
get database_role_name(): string; | ||
set database_role_name(value: string); | ||
get all_privileges(): boolean | undefined; | ||
set all_privileges(value: boolean | undefined); | ||
get always_apply(): boolean | undefined; | ||
set always_apply(value: boolean | undefined); | ||
get always_apply_trigger(): string | undefined; | ||
set always_apply_trigger(value: string | undefined); | ||
get on_database(): string | undefined; | ||
set on_database(value: string | undefined); | ||
get on_schema(): Grant_Privileges_To_Database_Role_On_Schema[] | undefined; | ||
set on_schema(value: Grant_Privileges_To_Database_Role_On_Schema[] | undefined); | ||
get on_schema_object(): Grant_Privileges_To_Database_Role_On_Schema_Object[] | undefined; | ||
set on_schema_object(value: Grant_Privileges_To_Database_Role_On_Schema_Object[] | undefined); | ||
get privileges(): Set<string> | undefined; | ||
set privileges(value: Set<string> | undefined); | ||
get with_grant_option(): boolean | undefined; | ||
set with_grant_option(value: boolean | undefined); | ||
} |
115 changes: 115 additions & 0 deletions
115
dist/snowflake_resources/grant_privileges_to_database_role.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
"use strict"; | ||
/* | ||
DO NOT EDIT - Generated by main.js. Refer to the README for more info. | ||
*/ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Grant_Privileges_To_Database_Role = void 0; | ||
const cdktf_1 = require("cdktf"); | ||
class Grant_Privileges_To_Database_Role extends cdktf_1.TerraformResource { | ||
_database_role_name; | ||
_all_privileges; | ||
_always_apply; | ||
_always_apply_trigger; | ||
_on_database; | ||
_on_schema; | ||
_on_schema_object; | ||
_privileges; | ||
_with_grant_option; | ||
_id; | ||
constructor(scope, id, config) { | ||
super(scope, id, { | ||
terraformResourceType: "snowflake_grant_privileges_to_database_role", | ||
terraformGeneratorMetadata: { | ||
providerName: "snowflake" | ||
}, | ||
provider: config.provider, | ||
dependsOn: config.dependsOn, | ||
count: config.count, | ||
lifecycle: config.lifecycle | ||
}); | ||
this._id = id; | ||
this._database_role_name = config.database_role_name; | ||
this._all_privileges = config.all_privileges; | ||
this._always_apply = config.always_apply; | ||
this._always_apply_trigger = config.always_apply_trigger; | ||
this._on_database = config.on_database; | ||
this._on_schema = config.on_schema; | ||
this._on_schema_object = config.on_schema_object; | ||
this._privileges = config.privileges; | ||
this._with_grant_option = config.with_grant_option; | ||
} | ||
getAttributes() { | ||
return { | ||
database_role_name: this._database_role_name, | ||
all_privileges: this._all_privileges, | ||
always_apply: this._always_apply, | ||
always_apply_trigger: this._always_apply_trigger, | ||
on_database: this._on_database, | ||
on_schema: this._on_schema, | ||
on_schema_object: this._on_schema_object, | ||
privileges: this._privileges, | ||
with_grant_option: this._with_grant_option, | ||
}; | ||
} | ||
get id() { | ||
return this._id; | ||
} | ||
ref(attribute) { | ||
return `\${snowflake_grant_privileges_to_database_role.${this.friendlyUniqueId}.${attribute}}`; | ||
} | ||
get database_role_name() { | ||
return this._database_role_name; | ||
} | ||
set database_role_name(value) { | ||
this._database_role_name = value; | ||
} | ||
get all_privileges() { | ||
return this._all_privileges; | ||
} | ||
set all_privileges(value) { | ||
this._all_privileges = value; | ||
} | ||
get always_apply() { | ||
return this._always_apply; | ||
} | ||
set always_apply(value) { | ||
this._always_apply = value; | ||
} | ||
get always_apply_trigger() { | ||
return this._always_apply_trigger; | ||
} | ||
set always_apply_trigger(value) { | ||
this._always_apply_trigger = value; | ||
} | ||
get on_database() { | ||
return this._on_database; | ||
} | ||
set on_database(value) { | ||
this._on_database = value; | ||
} | ||
get on_schema() { | ||
return this._on_schema; | ||
} | ||
set on_schema(value) { | ||
this._on_schema = value; | ||
} | ||
get on_schema_object() { | ||
return this._on_schema_object; | ||
} | ||
set on_schema_object(value) { | ||
this._on_schema_object = value; | ||
} | ||
get privileges() { | ||
return this._privileges; | ||
} | ||
set privileges(value) { | ||
this._privileges = value; | ||
} | ||
get with_grant_option() { | ||
return this._with_grant_option; | ||
} | ||
set with_grant_option(value) { | ||
this._with_grant_option = value; | ||
} | ||
} | ||
exports.Grant_Privileges_To_Database_Role = Grant_Privileges_To_Database_Role; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.