@pulumi/snowflake 0.25.2-alpha.1685168807 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accountGrant.d.ts +3 -3
- package/apiIntegration.d.ts +12 -0
- package/apiIntegration.js +2 -0
- package/apiIntegration.js.map +1 -1
- package/databaseGrant.d.ts +15 -3
- package/databaseGrant.js +2 -0
- package/databaseGrant.js.map +1 -1
- package/externalTableGrant.d.ts +15 -3
- package/externalTableGrant.js +2 -0
- package/externalTableGrant.js.map +1 -1
- package/failoverGroupGrant.d.ts +111 -0
- package/failoverGroupGrant.js +62 -0
- package/failoverGroupGrant.js.map +1 -0
- package/fileFormatGrant.d.ts +15 -3
- package/fileFormatGrant.js +2 -0
- package/fileFormatGrant.js.map +1 -1
- package/functionGrant.d.ts +15 -3
- package/functionGrant.js +2 -0
- package/functionGrant.js.map +1 -1
- package/getAccounts.d.ts +39 -0
- package/getAccounts.js +20 -0
- package/getAccounts.js.map +1 -0
- package/getAlerts.d.ts +89 -0
- package/getAlerts.js +48 -0
- package/getAlerts.js.map +1 -0
- package/getFailoverGroups.d.ts +39 -0
- package/getFailoverGroups.js +20 -0
- package/getFailoverGroups.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +17 -3
- package/index.js.map +1 -1
- package/integrationGrant.d.ts +15 -3
- package/integrationGrant.js +2 -0
- package/integrationGrant.js.map +1 -1
- package/maskingPolicyGrant.d.ts +15 -3
- package/maskingPolicyGrant.js +2 -0
- package/maskingPolicyGrant.js.map +1 -1
- package/materializedViewGrant.d.ts +15 -3
- package/materializedViewGrant.js +2 -0
- package/materializedViewGrant.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/pipeGrant.d.ts +15 -3
- package/pipeGrant.js +2 -0
- package/pipeGrant.js.map +1 -1
- package/procedureGrant.d.ts +15 -3
- package/procedureGrant.js +2 -0
- package/procedureGrant.js.map +1 -1
- package/resourceMonitorGrant.d.ts +3 -3
- package/roleGrants.d.ts +3 -3
- package/rowAccessPolicyGrant.d.ts +15 -3
- package/rowAccessPolicyGrant.js +2 -0
- package/rowAccessPolicyGrant.js.map +1 -1
- package/schemaGrant.d.ts +15 -3
- package/schemaGrant.js +2 -0
- package/schemaGrant.js.map +1 -1
- package/sequenceGrant.d.ts +15 -3
- package/sequenceGrant.js +2 -0
- package/sequenceGrant.js.map +1 -1
- package/stageGrant.d.ts +15 -3
- package/stageGrant.js +2 -0
- package/stageGrant.js.map +1 -1
- package/streamGrant.d.ts +15 -3
- package/streamGrant.js +2 -0
- package/streamGrant.js.map +1 -1
- package/tableGrant.d.ts +15 -3
- package/tableGrant.js +2 -0
- package/tableGrant.js.map +1 -1
- package/tagGrant.d.ts +15 -3
- package/tagGrant.js +2 -0
- package/tagGrant.js.map +1 -1
- package/taskGrant.d.ts +15 -3
- package/taskGrant.js +2 -0
- package/taskGrant.js.map +1 -1
- package/types/input.d.ts +0 -18
- package/types/output.d.ts +47 -19
- package/userGrant.d.ts +3 -3
- package/viewGrant.d.ts +15 -3
- package/viewGrant.js +2 -0
- package/viewGrant.js.map +1 -1
- package/warehouse.d.ts +6 -20
- package/warehouse.js +0 -2
- package/warehouse.js.map +1 -1
- package/warehouseGrant.d.ts +15 -3
- package/warehouseGrant.js +2 -0
- package/warehouseGrant.js.map +1 -1
package/accountGrant.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare class AccountGrant extends pulumi.CustomResource {
|
|
|
46
46
|
*/
|
|
47
47
|
readonly enableMultipleGrants: pulumi.Output<boolean | undefined>;
|
|
48
48
|
/**
|
|
49
|
-
* The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html)
|
|
49
|
+
* The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
50
50
|
*/
|
|
51
51
|
readonly privilege: pulumi.Output<string | undefined>;
|
|
52
52
|
/**
|
|
@@ -76,7 +76,7 @@ export interface AccountGrantState {
|
|
|
76
76
|
*/
|
|
77
77
|
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
78
78
|
/**
|
|
79
|
-
* The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html)
|
|
79
|
+
* The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
80
80
|
*/
|
|
81
81
|
privilege?: pulumi.Input<string>;
|
|
82
82
|
/**
|
|
@@ -98,7 +98,7 @@ export interface AccountGrantArgs {
|
|
|
98
98
|
*/
|
|
99
99
|
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
100
100
|
/**
|
|
101
|
-
* The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html)
|
|
101
|
+
* The account privilege to grant. Valid privileges are those in [globalPrivileges](https://docs.snowflake.com/en/sql-reference/sql/grant-privilege.html). To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
102
102
|
*/
|
|
103
103
|
privilege?: pulumi.Input<string>;
|
|
104
104
|
/**
|
package/apiIntegration.d.ts
CHANGED
|
@@ -69,6 +69,10 @@ export declare class ApiIntegration extends pulumi.CustomResource {
|
|
|
69
69
|
* Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
|
|
70
70
|
*/
|
|
71
71
|
readonly apiBlockedPrefixes: pulumi.Output<string[] | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* The service account used for communication with the Google API Gateway.
|
|
74
|
+
*/
|
|
75
|
+
readonly apiGcpServiceAccount: pulumi.Output<string>;
|
|
72
76
|
/**
|
|
73
77
|
* The API key (also called a “subscription key”).
|
|
74
78
|
*/
|
|
@@ -137,6 +141,10 @@ export interface ApiIntegrationState {
|
|
|
137
141
|
* Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
|
|
138
142
|
*/
|
|
139
143
|
apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
144
|
+
/**
|
|
145
|
+
* The service account used for communication with the Google API Gateway.
|
|
146
|
+
*/
|
|
147
|
+
apiGcpServiceAccount?: pulumi.Input<string>;
|
|
140
148
|
/**
|
|
141
149
|
* The API key (also called a “subscription key”).
|
|
142
150
|
*/
|
|
@@ -189,6 +197,10 @@ export interface ApiIntegrationArgs {
|
|
|
189
197
|
* Lists the endpoints and resources in the HTTPS proxy service that are not allowed to be called from Snowflake.
|
|
190
198
|
*/
|
|
191
199
|
apiBlockedPrefixes?: pulumi.Input<pulumi.Input<string>[]>;
|
|
200
|
+
/**
|
|
201
|
+
* The service account used for communication with the Google API Gateway.
|
|
202
|
+
*/
|
|
203
|
+
apiGcpServiceAccount?: pulumi.Input<string>;
|
|
192
204
|
/**
|
|
193
205
|
* The API key (also called a “subscription key”).
|
|
194
206
|
*/
|
package/apiIntegration.js
CHANGED
|
@@ -72,6 +72,7 @@ class ApiIntegration extends pulumi.CustomResource {
|
|
|
72
72
|
resourceInputs["apiAwsIamUserArn"] = state ? state.apiAwsIamUserArn : undefined;
|
|
73
73
|
resourceInputs["apiAwsRoleArn"] = state ? state.apiAwsRoleArn : undefined;
|
|
74
74
|
resourceInputs["apiBlockedPrefixes"] = state ? state.apiBlockedPrefixes : undefined;
|
|
75
|
+
resourceInputs["apiGcpServiceAccount"] = state ? state.apiGcpServiceAccount : undefined;
|
|
75
76
|
resourceInputs["apiKey"] = state ? state.apiKey : undefined;
|
|
76
77
|
resourceInputs["apiProvider"] = state ? state.apiProvider : undefined;
|
|
77
78
|
resourceInputs["azureAdApplicationId"] = state ? state.azureAdApplicationId : undefined;
|
|
@@ -95,6 +96,7 @@ class ApiIntegration extends pulumi.CustomResource {
|
|
|
95
96
|
resourceInputs["apiAllowedPrefixes"] = args ? args.apiAllowedPrefixes : undefined;
|
|
96
97
|
resourceInputs["apiAwsRoleArn"] = args ? args.apiAwsRoleArn : undefined;
|
|
97
98
|
resourceInputs["apiBlockedPrefixes"] = args ? args.apiBlockedPrefixes : undefined;
|
|
99
|
+
resourceInputs["apiGcpServiceAccount"] = args ? args.apiGcpServiceAccount : undefined;
|
|
98
100
|
resourceInputs["apiKey"] = (args === null || args === void 0 ? void 0 : args.apiKey) ? pulumi.secret(args.apiKey) : undefined;
|
|
99
101
|
resourceInputs["apiProvider"] = args ? args.apiProvider : undefined;
|
|
100
102
|
resourceInputs["azureAdApplicationId"] = args ? args.azureAdApplicationId : undefined;
|
package/apiIntegration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiIntegration.js","sourceRoot":"","sources":["../apiIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;
|
|
1
|
+
{"version":3,"file":"apiIntegration.js","sourceRoot":"","sources":["../apiIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAE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E,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AApJL,wCAqJC;AAvIG,gBAAgB;AACO,2BAAY,GAAG,+CAA+C,CAAC"}
|
package/databaseGrant.d.ts
CHANGED
|
@@ -55,9 +55,13 @@ export declare class DatabaseGrant extends pulumi.CustomResource {
|
|
|
55
55
|
*/
|
|
56
56
|
readonly enableMultipleGrants: pulumi.Output<boolean | undefined>;
|
|
57
57
|
/**
|
|
58
|
-
* The privilege to grant on the database.
|
|
58
|
+
* The privilege to grant on the database. To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
59
59
|
*/
|
|
60
60
|
readonly privilege: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
63
|
+
*/
|
|
64
|
+
readonly revertOwnershipToRoleName: pulumi.Output<string | undefined>;
|
|
61
65
|
/**
|
|
62
66
|
* Grants privilege to these roles.
|
|
63
67
|
*/
|
|
@@ -93,9 +97,13 @@ export interface DatabaseGrantState {
|
|
|
93
97
|
*/
|
|
94
98
|
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
95
99
|
/**
|
|
96
|
-
* The privilege to grant on the database.
|
|
100
|
+
* The privilege to grant on the database. To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
97
101
|
*/
|
|
98
102
|
privilege?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
105
|
+
*/
|
|
106
|
+
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
99
107
|
/**
|
|
100
108
|
* Grants privilege to these roles.
|
|
101
109
|
*/
|
|
@@ -123,9 +131,13 @@ export interface DatabaseGrantArgs {
|
|
|
123
131
|
*/
|
|
124
132
|
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
125
133
|
/**
|
|
126
|
-
* The privilege to grant on the database.
|
|
134
|
+
* The privilege to grant on the database. To grant all privileges, use the value `ALL PRIVILEGES`.
|
|
127
135
|
*/
|
|
128
136
|
privilege?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
139
|
+
*/
|
|
140
|
+
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
129
141
|
/**
|
|
130
142
|
* Grants privilege to these roles.
|
|
131
143
|
*/
|
package/databaseGrant.js
CHANGED
|
@@ -66,6 +66,7 @@ class DatabaseGrant extends pulumi.CustomResource {
|
|
|
66
66
|
resourceInputs["databaseName"] = state ? state.databaseName : undefined;
|
|
67
67
|
resourceInputs["enableMultipleGrants"] = state ? state.enableMultipleGrants : undefined;
|
|
68
68
|
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
69
|
+
resourceInputs["revertOwnershipToRoleName"] = state ? state.revertOwnershipToRoleName : undefined;
|
|
69
70
|
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
70
71
|
resourceInputs["shares"] = state ? state.shares : undefined;
|
|
71
72
|
resourceInputs["withGrantOption"] = state ? state.withGrantOption : undefined;
|
|
@@ -78,6 +79,7 @@ class DatabaseGrant extends pulumi.CustomResource {
|
|
|
78
79
|
resourceInputs["databaseName"] = args ? args.databaseName : undefined;
|
|
79
80
|
resourceInputs["enableMultipleGrants"] = args ? args.enableMultipleGrants : undefined;
|
|
80
81
|
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
82
|
+
resourceInputs["revertOwnershipToRoleName"] = args ? args.revertOwnershipToRoleName : undefined;
|
|
81
83
|
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
82
84
|
resourceInputs["shares"] = args ? args.shares : undefined;
|
|
83
85
|
resourceInputs["withGrantOption"] = args ? args.withGrantOption : undefined;
|
package/databaseGrant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databaseGrant.js","sourceRoot":"","sources":["../databaseGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;
|
|
1
|
+
{"version":3,"file":"databaseGrant.js","sourceRoot":"","sources":["../databaseGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC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AI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA7FL,sCA8FC;AAhFG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/externalTableGrant.d.ts
CHANGED
|
@@ -70,9 +70,13 @@ export declare class ExternalTableGrant extends pulumi.CustomResource {
|
|
|
70
70
|
*/
|
|
71
71
|
readonly onFuture: pulumi.Output<boolean | undefined>;
|
|
72
72
|
/**
|
|
73
|
-
* The privilege to grant on the current or future external table.
|
|
73
|
+
* The privilege to grant on the current or future external table. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
74
74
|
*/
|
|
75
75
|
readonly privilege: pulumi.Output<string | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
78
|
+
*/
|
|
79
|
+
readonly revertOwnershipToRoleName: pulumi.Output<string | undefined>;
|
|
76
80
|
/**
|
|
77
81
|
* Grants privilege to these roles.
|
|
78
82
|
*/
|
|
@@ -124,9 +128,13 @@ export interface ExternalTableGrantState {
|
|
|
124
128
|
*/
|
|
125
129
|
onFuture?: pulumi.Input<boolean>;
|
|
126
130
|
/**
|
|
127
|
-
* The privilege to grant on the current or future external table.
|
|
131
|
+
* The privilege to grant on the current or future external table. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
128
132
|
*/
|
|
129
133
|
privilege?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
136
|
+
*/
|
|
137
|
+
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
130
138
|
/**
|
|
131
139
|
* Grants privilege to these roles.
|
|
132
140
|
*/
|
|
@@ -170,9 +178,13 @@ export interface ExternalTableGrantArgs {
|
|
|
170
178
|
*/
|
|
171
179
|
onFuture?: pulumi.Input<boolean>;
|
|
172
180
|
/**
|
|
173
|
-
* The privilege to grant on the current or future external table.
|
|
181
|
+
* The privilege to grant on the current or future external table. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
174
182
|
*/
|
|
175
183
|
privilege?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
186
|
+
*/
|
|
187
|
+
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
176
188
|
/**
|
|
177
189
|
* Grants privilege to these roles.
|
|
178
190
|
*/
|
package/externalTableGrant.js
CHANGED
|
@@ -72,6 +72,7 @@ class ExternalTableGrant extends pulumi.CustomResource {
|
|
|
72
72
|
resourceInputs["onAll"] = state ? state.onAll : undefined;
|
|
73
73
|
resourceInputs["onFuture"] = state ? state.onFuture : undefined;
|
|
74
74
|
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
75
|
+
resourceInputs["revertOwnershipToRoleName"] = state ? state.revertOwnershipToRoleName : undefined;
|
|
75
76
|
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
76
77
|
resourceInputs["schemaName"] = state ? state.schemaName : undefined;
|
|
77
78
|
resourceInputs["shares"] = state ? state.shares : undefined;
|
|
@@ -91,6 +92,7 @@ class ExternalTableGrant extends pulumi.CustomResource {
|
|
|
91
92
|
resourceInputs["onAll"] = args ? args.onAll : undefined;
|
|
92
93
|
resourceInputs["onFuture"] = args ? args.onFuture : undefined;
|
|
93
94
|
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
95
|
+
resourceInputs["revertOwnershipToRoleName"] = args ? args.revertOwnershipToRoleName : undefined;
|
|
94
96
|
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
95
97
|
resourceInputs["schemaName"] = args ? args.schemaName : undefined;
|
|
96
98
|
resourceInputs["shares"] = args ? args.shares : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"externalTableGrant.js","sourceRoot":"","sources":["../externalTableGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO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AI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAxHL,gDAyHC;AA3GG,gBAAgB;AACO,+BAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class FailoverGroupGrant extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing FailoverGroupGrant resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FailoverGroupGrantState, opts?: pulumi.CustomResourceOptions): FailoverGroupGrant;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of FailoverGroupGrant. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is FailoverGroupGrant;
|
|
18
|
+
/**
|
|
19
|
+
* When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
|
|
20
|
+
* grants applied to roles and objects outside Terraform.
|
|
21
|
+
*/
|
|
22
|
+
readonly enableMultipleGrants: pulumi.Output<boolean | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* The name of the failover group on which to grant privileges.
|
|
25
|
+
*/
|
|
26
|
+
readonly failoverGroupName: pulumi.Output<string | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* The privilege to grant on the failover group. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
29
|
+
*/
|
|
30
|
+
readonly privilege: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
33
|
+
*/
|
|
34
|
+
readonly revertOwnershipToRoleName: pulumi.Output<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Grants privilege to these roles.
|
|
37
|
+
*/
|
|
38
|
+
readonly roles: pulumi.Output<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* When this is set to true, allows the recipient role to grant the privileges to other roles.
|
|
41
|
+
*/
|
|
42
|
+
readonly withGrantOption: pulumi.Output<boolean | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Create a FailoverGroupGrant resource with the given unique name, arguments, and options.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resource.
|
|
47
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
48
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
49
|
+
*/
|
|
50
|
+
constructor(name: string, args: FailoverGroupGrantArgs, opts?: pulumi.CustomResourceOptions);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Input properties used for looking up and filtering FailoverGroupGrant resources.
|
|
54
|
+
*/
|
|
55
|
+
export interface FailoverGroupGrantState {
|
|
56
|
+
/**
|
|
57
|
+
* When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
|
|
58
|
+
* grants applied to roles and objects outside Terraform.
|
|
59
|
+
*/
|
|
60
|
+
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the failover group on which to grant privileges.
|
|
63
|
+
*/
|
|
64
|
+
failoverGroupName?: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The privilege to grant on the failover group. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
67
|
+
*/
|
|
68
|
+
privilege?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
71
|
+
*/
|
|
72
|
+
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Grants privilege to these roles.
|
|
75
|
+
*/
|
|
76
|
+
roles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
77
|
+
/**
|
|
78
|
+
* When this is set to true, allows the recipient role to grant the privileges to other roles.
|
|
79
|
+
*/
|
|
80
|
+
withGrantOption?: pulumi.Input<boolean>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The set of arguments for constructing a FailoverGroupGrant resource.
|
|
84
|
+
*/
|
|
85
|
+
export interface FailoverGroupGrantArgs {
|
|
86
|
+
/**
|
|
87
|
+
* When this is set to true, multiple grants of the same type can be created. This will cause Terraform to not revoke
|
|
88
|
+
* grants applied to roles and objects outside Terraform.
|
|
89
|
+
*/
|
|
90
|
+
enableMultipleGrants?: pulumi.Input<boolean>;
|
|
91
|
+
/**
|
|
92
|
+
* The name of the failover group on which to grant privileges.
|
|
93
|
+
*/
|
|
94
|
+
failoverGroupName?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The privilege to grant on the failover group. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
97
|
+
*/
|
|
98
|
+
privilege?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
101
|
+
*/
|
|
102
|
+
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Grants privilege to these roles.
|
|
105
|
+
*/
|
|
106
|
+
roles: pulumi.Input<pulumi.Input<string>[]>;
|
|
107
|
+
/**
|
|
108
|
+
* When this is set to true, allows the recipient role to grant the privileges to other roles.
|
|
109
|
+
*/
|
|
110
|
+
withGrantOption?: pulumi.Input<boolean>;
|
|
111
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.FailoverGroupGrant = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class FailoverGroupGrant extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing FailoverGroupGrant resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new FailoverGroupGrant(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of FailoverGroupGrant. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === FailoverGroupGrant.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["enableMultipleGrants"] = state ? state.enableMultipleGrants : undefined;
|
|
37
|
+
resourceInputs["failoverGroupName"] = state ? state.failoverGroupName : undefined;
|
|
38
|
+
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
39
|
+
resourceInputs["revertOwnershipToRoleName"] = state ? state.revertOwnershipToRoleName : undefined;
|
|
40
|
+
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
41
|
+
resourceInputs["withGrantOption"] = state ? state.withGrantOption : undefined;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const args = argsOrState;
|
|
45
|
+
if ((!args || args.roles === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'roles'");
|
|
47
|
+
}
|
|
48
|
+
resourceInputs["enableMultipleGrants"] = args ? args.enableMultipleGrants : undefined;
|
|
49
|
+
resourceInputs["failoverGroupName"] = args ? args.failoverGroupName : undefined;
|
|
50
|
+
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
51
|
+
resourceInputs["revertOwnershipToRoleName"] = args ? args.revertOwnershipToRoleName : undefined;
|
|
52
|
+
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
53
|
+
resourceInputs["withGrantOption"] = args ? args.withGrantOption : undefined;
|
|
54
|
+
}
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
|
+
super(FailoverGroupGrant.__pulumiType, name, resourceInputs, opts);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.FailoverGroupGrant = FailoverGroupGrant;
|
|
60
|
+
/** @internal */
|
|
61
|
+
FailoverGroupGrant.__pulumiType = 'snowflake:index/failoverGroupGrant:FailoverGroupGrant';
|
|
62
|
+
//# sourceMappingURL=failoverGroupGrant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"failoverGroupGrant.js","sourceRoot":"","sources":["../failoverGroupGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAoCD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS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,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAvFL,gDAwFC;AA1EG,gBAAgB;AACO,+BAAY,GAAG,uDAAuD,CAAC"}
|
package/fileFormatGrant.d.ts
CHANGED
|
@@ -66,9 +66,13 @@ export declare class FileFormatGrant extends pulumi.CustomResource {
|
|
|
66
66
|
*/
|
|
67
67
|
readonly onFuture: pulumi.Output<boolean | undefined>;
|
|
68
68
|
/**
|
|
69
|
-
* The privilege to grant on the current or future file format.
|
|
69
|
+
* The privilege to grant on the current or future file format. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
70
70
|
*/
|
|
71
71
|
readonly privilege: pulumi.Output<string | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
74
|
+
*/
|
|
75
|
+
readonly revertOwnershipToRoleName: pulumi.Output<string | undefined>;
|
|
72
76
|
/**
|
|
73
77
|
* Grants privilege to these roles.
|
|
74
78
|
*/
|
|
@@ -116,9 +120,13 @@ export interface FileFormatGrantState {
|
|
|
116
120
|
*/
|
|
117
121
|
onFuture?: pulumi.Input<boolean>;
|
|
118
122
|
/**
|
|
119
|
-
* The privilege to grant on the current or future file format.
|
|
123
|
+
* The privilege to grant on the current or future file format. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
120
124
|
*/
|
|
121
125
|
privilege?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
128
|
+
*/
|
|
129
|
+
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
122
130
|
/**
|
|
123
131
|
* Grants privilege to these roles.
|
|
124
132
|
*/
|
|
@@ -158,9 +166,13 @@ export interface FileFormatGrantArgs {
|
|
|
158
166
|
*/
|
|
159
167
|
onFuture?: pulumi.Input<boolean>;
|
|
160
168
|
/**
|
|
161
|
-
* The privilege to grant on the current or future file format.
|
|
169
|
+
* The privilege to grant on the current or future file format. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
162
170
|
*/
|
|
163
171
|
privilege?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
174
|
+
*/
|
|
175
|
+
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
164
176
|
/**
|
|
165
177
|
* Grants privilege to these roles.
|
|
166
178
|
*/
|
package/fileFormatGrant.js
CHANGED
|
@@ -68,6 +68,7 @@ class FileFormatGrant extends pulumi.CustomResource {
|
|
|
68
68
|
resourceInputs["onAll"] = state ? state.onAll : undefined;
|
|
69
69
|
resourceInputs["onFuture"] = state ? state.onFuture : undefined;
|
|
70
70
|
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
71
|
+
resourceInputs["revertOwnershipToRoleName"] = state ? state.revertOwnershipToRoleName : undefined;
|
|
71
72
|
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
72
73
|
resourceInputs["schemaName"] = state ? state.schemaName : undefined;
|
|
73
74
|
resourceInputs["withGrantOption"] = state ? state.withGrantOption : undefined;
|
|
@@ -86,6 +87,7 @@ class FileFormatGrant extends pulumi.CustomResource {
|
|
|
86
87
|
resourceInputs["onAll"] = args ? args.onAll : undefined;
|
|
87
88
|
resourceInputs["onFuture"] = args ? args.onFuture : undefined;
|
|
88
89
|
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
90
|
+
resourceInputs["revertOwnershipToRoleName"] = args ? args.revertOwnershipToRoleName : undefined;
|
|
89
91
|
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
90
92
|
resourceInputs["schemaName"] = args ? args.schemaName : undefined;
|
|
91
93
|
resourceInputs["withGrantOption"] = args ? args.withGrantOption : undefined;
|
package/fileFormatGrant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileFormatGrant.js","sourceRoot":"","sources":["../fileFormatGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;
|
|
1
|
+
{"version":3,"file":"fileFormatGrant.js","sourceRoot":"","sources":["../fileFormatGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,I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,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAlHL,0CAmHC;AArGG,gBAAgB;AACO,4BAAY,GAAG,iDAAiD,CAAC"}
|
package/functionGrant.d.ts
CHANGED
|
@@ -78,9 +78,13 @@ export declare class FunctionGrant extends pulumi.CustomResource {
|
|
|
78
78
|
*/
|
|
79
79
|
readonly onFuture: pulumi.Output<boolean | undefined>;
|
|
80
80
|
/**
|
|
81
|
-
* The privilege to grant on the current or future function. Must be one of `USAGE` or `OWNERSHIP`.
|
|
81
|
+
* The privilege to grant on the current or future function. Must be one of `USAGE` or `OWNERSHIP`. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
82
82
|
*/
|
|
83
83
|
readonly privilege: pulumi.Output<string | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
86
|
+
*/
|
|
87
|
+
readonly revertOwnershipToRoleName: pulumi.Output<string | undefined>;
|
|
84
88
|
/**
|
|
85
89
|
* Grants privilege to these roles.
|
|
86
90
|
*/
|
|
@@ -136,9 +140,13 @@ export interface FunctionGrantState {
|
|
|
136
140
|
*/
|
|
137
141
|
onFuture?: pulumi.Input<boolean>;
|
|
138
142
|
/**
|
|
139
|
-
* The privilege to grant on the current or future function. Must be one of `USAGE` or `OWNERSHIP`.
|
|
143
|
+
* The privilege to grant on the current or future function. Must be one of `USAGE` or `OWNERSHIP`. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
140
144
|
*/
|
|
141
145
|
privilege?: pulumi.Input<string>;
|
|
146
|
+
/**
|
|
147
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
148
|
+
*/
|
|
149
|
+
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
142
150
|
/**
|
|
143
151
|
* Grants privilege to these roles.
|
|
144
152
|
*/
|
|
@@ -186,9 +194,13 @@ export interface FunctionGrantArgs {
|
|
|
186
194
|
*/
|
|
187
195
|
onFuture?: pulumi.Input<boolean>;
|
|
188
196
|
/**
|
|
189
|
-
* The privilege to grant on the current or future function. Must be one of `USAGE` or `OWNERSHIP`.
|
|
197
|
+
* The privilege to grant on the current or future function. Must be one of `USAGE` or `OWNERSHIP`. To grant all privileges, use the value `ALL PRIVILEGES`
|
|
190
198
|
*/
|
|
191
199
|
privilege?: pulumi.Input<string>;
|
|
200
|
+
/**
|
|
201
|
+
* The name of the role to revert ownership to on destroy. Has no effect unless `privilege` is set to `OWNERSHIP`
|
|
202
|
+
*/
|
|
203
|
+
revertOwnershipToRoleName?: pulumi.Input<string>;
|
|
192
204
|
/**
|
|
193
205
|
* Grants privilege to these roles.
|
|
194
206
|
*/
|
package/functionGrant.js
CHANGED
|
@@ -77,6 +77,7 @@ class FunctionGrant extends pulumi.CustomResource {
|
|
|
77
77
|
resourceInputs["onAll"] = state ? state.onAll : undefined;
|
|
78
78
|
resourceInputs["onFuture"] = state ? state.onFuture : undefined;
|
|
79
79
|
resourceInputs["privilege"] = state ? state.privilege : undefined;
|
|
80
|
+
resourceInputs["revertOwnershipToRoleName"] = state ? state.revertOwnershipToRoleName : undefined;
|
|
80
81
|
resourceInputs["roles"] = state ? state.roles : undefined;
|
|
81
82
|
resourceInputs["schemaName"] = state ? state.schemaName : undefined;
|
|
82
83
|
resourceInputs["shares"] = state ? state.shares : undefined;
|
|
@@ -97,6 +98,7 @@ class FunctionGrant extends pulumi.CustomResource {
|
|
|
97
98
|
resourceInputs["onAll"] = args ? args.onAll : undefined;
|
|
98
99
|
resourceInputs["onFuture"] = args ? args.onFuture : undefined;
|
|
99
100
|
resourceInputs["privilege"] = args ? args.privilege : undefined;
|
|
101
|
+
resourceInputs["revertOwnershipToRoleName"] = args ? args.revertOwnershipToRoleName : undefined;
|
|
100
102
|
resourceInputs["roles"] = args ? args.roles : undefined;
|
|
101
103
|
resourceInputs["schemaName"] = args ? args.schemaName : undefined;
|
|
102
104
|
resourceInputs["shares"] = args ? args.shares : undefined;
|
package/functionGrant.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functionGrant.js","sourceRoot":"","sources":["../functionGrant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;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