@pulumi/gcp 9.25.0 → 9.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.
Files changed (359) hide show
  1. package/appengine/applicationUrlDispatchRules.d.ts +1 -1
  2. package/appengine/applicationUrlDispatchRules.js +1 -1
  3. package/appengine/engineSplitTraffic.d.ts +2 -2
  4. package/appengine/engineSplitTraffic.js +2 -2
  5. package/appengine/serviceNetworkSettings.d.ts +1 -1
  6. package/appengine/serviceNetworkSettings.js +1 -1
  7. package/appengine/standardAppVersion.d.ts +2 -2
  8. package/appengine/standardAppVersion.js +2 -2
  9. package/bigtable/instance.d.ts +18 -6
  10. package/bigtable/instance.d.ts.map +1 -1
  11. package/bigtable/instance.js +2 -0
  12. package/bigtable/instance.js.map +1 -1
  13. package/bigtable/table.d.ts +3 -3
  14. package/billing/subAccount.d.ts +1 -1
  15. package/billing/subAccount.js +1 -1
  16. package/ces/guardrail.d.ts +41 -0
  17. package/ces/guardrail.d.ts.map +1 -1
  18. package/ces/guardrail.js +41 -0
  19. package/ces/guardrail.js.map +1 -1
  20. package/ces/index.d.ts +3 -0
  21. package/ces/index.d.ts.map +1 -1
  22. package/ces/index.js +6 -1
  23. package/ces/index.js.map +1 -1
  24. package/ces/securitySettings.d.ts +163 -0
  25. package/ces/securitySettings.d.ts.map +1 -0
  26. package/ces/securitySettings.js +135 -0
  27. package/ces/securitySettings.js.map +1 -0
  28. package/chronicle/findingsRefinement.d.ts +250 -0
  29. package/chronicle/findingsRefinement.d.ts.map +1 -0
  30. package/chronicle/findingsRefinement.js +165 -0
  31. package/chronicle/findingsRefinement.js.map +1 -0
  32. package/chronicle/index.d.ts +3 -0
  33. package/chronicle/index.d.ts.map +1 -1
  34. package/chronicle/index.js +6 -1
  35. package/chronicle/index.js.map +1 -1
  36. package/cloudrun/getService.d.ts +26 -22
  37. package/cloudrun/getService.d.ts.map +1 -1
  38. package/cloudrun/getService.js +14 -12
  39. package/cloudrun/getService.js.map +1 -1
  40. package/compute/futureReservation.d.ts +15 -0
  41. package/compute/futureReservation.d.ts.map +1 -1
  42. package/compute/futureReservation.js +2 -0
  43. package/compute/futureReservation.js.map +1 -1
  44. package/compute/getNetwork.d.ts +13 -5
  45. package/compute/getNetwork.d.ts.map +1 -1
  46. package/compute/getNetwork.js +4 -0
  47. package/compute/getNetwork.js.map +1 -1
  48. package/compute/getRegionSSLPolicy.d.ts +83 -0
  49. package/compute/getRegionSSLPolicy.d.ts.map +1 -1
  50. package/compute/getRegionSSLPolicy.js +30 -0
  51. package/compute/getRegionSSLPolicy.js.map +1 -1
  52. package/compute/getSSLPolicy.d.ts +4 -0
  53. package/compute/getSSLPolicy.d.ts.map +1 -1
  54. package/compute/getSSLPolicy.js.map +1 -1
  55. package/compute/getServiceAttachment.d.ts +109 -0
  56. package/compute/getServiceAttachment.d.ts.map +1 -0
  57. package/compute/getServiceAttachment.js +85 -0
  58. package/compute/getServiceAttachment.js.map +1 -0
  59. package/compute/index.d.ts +3 -0
  60. package/compute/index.d.ts.map +1 -1
  61. package/compute/index.js +7 -4
  62. package/compute/index.js.map +1 -1
  63. package/compute/instanceFromTemplate.d.ts +18 -3
  64. package/compute/instanceFromTemplate.d.ts.map +1 -1
  65. package/compute/instanceFromTemplate.js.map +1 -1
  66. package/compute/networkFirewallPolicyRule.d.ts +135 -0
  67. package/compute/networkFirewallPolicyRule.d.ts.map +1 -1
  68. package/compute/networkFirewallPolicyRule.js +88 -0
  69. package/compute/networkFirewallPolicyRule.js.map +1 -1
  70. package/compute/organizationSecurityPolicyAssociation.d.ts +2 -2
  71. package/compute/organizationSecurityPolicyAssociation.js +2 -2
  72. package/compute/organizationSecurityPolicyRule.d.ts +5 -5
  73. package/compute/organizationSecurityPolicyRule.js +5 -5
  74. package/compute/regionSslPolicy.d.ts +68 -0
  75. package/compute/regionSslPolicy.d.ts.map +1 -1
  76. package/compute/regionSslPolicy.js +31 -0
  77. package/compute/regionSslPolicy.js.map +1 -1
  78. package/compute/rolloutPlan.d.ts +1 -1
  79. package/compute/rolloutPlan.js +1 -1
  80. package/compute/router.d.ts +1 -1
  81. package/compute/router.js +1 -1
  82. package/compute/sslpolicy.d.ts +52 -0
  83. package/compute/sslpolicy.d.ts.map +1 -1
  84. package/compute/sslpolicy.js +15 -0
  85. package/compute/sslpolicy.js.map +1 -1
  86. package/compute/subnetwork.d.ts +58 -0
  87. package/compute/subnetwork.d.ts.map +1 -1
  88. package/compute/subnetwork.js +58 -0
  89. package/compute/subnetwork.js.map +1 -1
  90. package/compute/targetInstance.d.ts +2 -2
  91. package/compute/targetInstance.js +2 -2
  92. package/config/vars.d.ts +1 -0
  93. package/config/vars.d.ts.map +1 -1
  94. package/config/vars.js +6 -0
  95. package/config/vars.js.map +1 -1
  96. package/configdeployment/deployment.d.ts +364 -0
  97. package/configdeployment/deployment.d.ts.map +1 -0
  98. package/configdeployment/deployment.js +174 -0
  99. package/configdeployment/deployment.js.map +1 -0
  100. package/configdeployment/index.d.ts +4 -0
  101. package/configdeployment/index.d.ts.map +1 -0
  102. package/configdeployment/index.js +45 -0
  103. package/configdeployment/index.js.map +1 -0
  104. package/databasemigrationservice/connectionProfile.d.ts +3 -3
  105. package/databasemigrationservice/connectionProfile.js +3 -3
  106. package/databasemigrationservice/privateConnection.d.ts +4 -4
  107. package/databasemigrationservice/privateConnection.js +4 -4
  108. package/dataflow/flexTemplateJob.d.ts +15 -3
  109. package/dataflow/flexTemplateJob.d.ts.map +1 -1
  110. package/dataflow/flexTemplateJob.js +2 -0
  111. package/dataflow/flexTemplateJob.js.map +1 -1
  112. package/dataform/folder.d.ts +3 -3
  113. package/dataform/folder.js +3 -3
  114. package/dataform/teamFolder.d.ts +1 -1
  115. package/dataform/teamFolder.js +1 -1
  116. package/datafusion/instance.d.ts +29 -14
  117. package/datafusion/instance.d.ts.map +1 -1
  118. package/datafusion/instance.js +4 -0
  119. package/datafusion/instance.js.map +1 -1
  120. package/datalineage/config.d.ts +2 -2
  121. package/datalineage/config.js +2 -2
  122. package/dataplex/dataAsset.d.ts +5 -5
  123. package/dataplex/dataAsset.js +5 -5
  124. package/dataplex/dataProduct.d.ts +7 -6
  125. package/dataplex/dataProduct.d.ts.map +1 -1
  126. package/dataplex/dataProduct.js +7 -6
  127. package/dataplex/dataProduct.js.map +1 -1
  128. package/dataplex/dataProductDataAsset.d.ts +5 -8
  129. package/dataplex/dataProductDataAsset.d.ts.map +1 -1
  130. package/dataplex/dataProductDataAsset.js +5 -8
  131. package/dataplex/dataProductDataAsset.js.map +1 -1
  132. package/dataplex/datascan.d.ts +24 -24
  133. package/dataplex/datascan.js +24 -24
  134. package/dataplex/entryLink.d.ts +11 -11
  135. package/dataplex/entryLink.js +11 -11
  136. package/dataplex/entryType.d.ts +1 -1
  137. package/dataplex/entryType.js +1 -1
  138. package/dataplex/glossaryCategory.d.ts +4 -4
  139. package/dataplex/glossaryCategory.js +4 -4
  140. package/dataplex/glossaryTerm.d.ts +4 -4
  141. package/dataplex/glossaryTerm.js +4 -4
  142. package/dataplex/task.d.ts +8 -8
  143. package/dataplex/task.js +8 -8
  144. package/dataproc/batch.d.ts +5 -5
  145. package/dataproc/batch.js +5 -5
  146. package/dataproc/cluster.d.ts +1 -1
  147. package/dataproc/cluster.js +1 -1
  148. package/dataproc/job.d.ts +1 -1
  149. package/dataproc/job.js +1 -1
  150. package/datastream/connectionProfile.d.ts +0 -6
  151. package/datastream/connectionProfile.d.ts.map +1 -1
  152. package/datastream/connectionProfile.js +0 -6
  153. package/datastream/connectionProfile.js.map +1 -1
  154. package/datastream/privateConnection.d.ts +3 -3
  155. package/datastream/privateConnection.js +3 -3
  156. package/datastream/stream.d.ts +2 -2
  157. package/datastream/stream.js +2 -2
  158. package/developerconnect/insightsConfig.d.ts +5 -5
  159. package/developerconnect/insightsConfig.js +5 -5
  160. package/diagflow/conversationProfile.d.ts +28 -6
  161. package/diagflow/conversationProfile.d.ts.map +1 -1
  162. package/diagflow/conversationProfile.js +7 -1
  163. package/diagflow/conversationProfile.js.map +1 -1
  164. package/diagflow/index.d.ts +3 -0
  165. package/diagflow/index.d.ts.map +1 -1
  166. package/diagflow/index.js +6 -1
  167. package/diagflow/index.js.map +1 -1
  168. package/diagflow/sipTrunk.d.ts +169 -0
  169. package/diagflow/sipTrunk.d.ts.map +1 -0
  170. package/diagflow/sipTrunk.js +124 -0
  171. package/diagflow/sipTrunk.js.map +1 -0
  172. package/firestore/field.d.ts +79 -6
  173. package/firestore/field.d.ts.map +1 -1
  174. package/firestore/field.js +76 -3
  175. package/firestore/field.js.map +1 -1
  176. package/folder/iamAuditConfig.d.ts +1 -1
  177. package/folder/iamAuditConfig.js +1 -1
  178. package/folder/iambinding.d.ts +1 -1
  179. package/folder/iambinding.js +1 -1
  180. package/folder/iammember.d.ts +1 -1
  181. package/folder/iammember.js +1 -1
  182. package/folder/iampolicy.d.ts +1 -1
  183. package/folder/iampolicy.js +1 -1
  184. package/gkehub/membershipBinding.d.ts +3 -3
  185. package/gkehub/membershipBinding.js +3 -3
  186. package/gkehub/membershipRbacRoleBinding.d.ts +2 -2
  187. package/gkehub/membershipRbacRoleBinding.js +2 -2
  188. package/gkehub/namespace.d.ts +2 -2
  189. package/gkehub/namespace.js +2 -2
  190. package/gkehub/scopeRbacRoleBinding.d.ts +4 -4
  191. package/gkehub/scopeRbacRoleBinding.js +4 -4
  192. package/iam/folderAccessPolicy.d.ts +333 -0
  193. package/iam/folderAccessPolicy.d.ts.map +1 -0
  194. package/iam/folderAccessPolicy.js +195 -0
  195. package/iam/folderAccessPolicy.js.map +1 -0
  196. package/iam/index.d.ts +6 -0
  197. package/iam/index.d.ts.map +1 -1
  198. package/iam/index.js +11 -1
  199. package/iam/index.js.map +1 -1
  200. package/iam/projectAccessPolicy.d.ts +326 -0
  201. package/iam/projectAccessPolicy.d.ts.map +1 -0
  202. package/iam/projectAccessPolicy.js +182 -0
  203. package/iam/projectAccessPolicy.js.map +1 -0
  204. package/iap/getClient.d.ts +16 -18
  205. package/iap/getClient.d.ts.map +1 -1
  206. package/iap/getClient.js +8 -14
  207. package/iap/getClient.js.map +1 -1
  208. package/iap/tunnelDestGroup.d.ts +1 -1
  209. package/iap/tunnelDestGroup.js +1 -1
  210. package/index.d.ts +2 -1
  211. package/index.d.ts.map +1 -1
  212. package/index.js +5 -3
  213. package/index.js.map +1 -1
  214. package/integrationconnectors/managedZone.d.ts +4 -4
  215. package/integrationconnectors/managedZone.js +4 -4
  216. package/kms/getKMSSecretCiphertext.d.ts +2 -2
  217. package/kms/getKMSSecretCiphertext.js +2 -2
  218. package/migrationcenter/assetsExportJob.d.ts +332 -0
  219. package/migrationcenter/assetsExportJob.d.ts.map +1 -0
  220. package/migrationcenter/assetsExportJob.js +155 -0
  221. package/migrationcenter/assetsExportJob.js.map +1 -0
  222. package/migrationcenter/discoveryClient.d.ts +396 -0
  223. package/migrationcenter/discoveryClient.d.ts.map +1 -0
  224. package/migrationcenter/discoveryClient.js +181 -0
  225. package/migrationcenter/discoveryClient.js.map +1 -0
  226. package/migrationcenter/index.d.ts +18 -0
  227. package/migrationcenter/index.d.ts.map +1 -1
  228. package/migrationcenter/index.js +31 -1
  229. package/migrationcenter/index.js.map +1 -1
  230. package/migrationcenter/report.d.ts +276 -0
  231. package/migrationcenter/report.d.ts.map +1 -0
  232. package/migrationcenter/report.js +158 -0
  233. package/migrationcenter/report.js.map +1 -0
  234. package/migrationcenter/reportConfig.d.ts +227 -0
  235. package/migrationcenter/reportConfig.d.ts.map +1 -0
  236. package/migrationcenter/reportConfig.js +146 -0
  237. package/migrationcenter/reportConfig.js.map +1 -0
  238. package/migrationcenter/settings.d.ts +173 -0
  239. package/migrationcenter/settings.d.ts.map +1 -0
  240. package/migrationcenter/settings.js +132 -0
  241. package/migrationcenter/settings.js.map +1 -0
  242. package/migrationcenter/source.d.ts +293 -0
  243. package/migrationcenter/source.d.ts.map +1 -0
  244. package/migrationcenter/source.js +144 -0
  245. package/migrationcenter/source.js.map +1 -0
  246. package/netapp/backup.d.ts +0 -3
  247. package/netapp/backup.d.ts.map +1 -1
  248. package/netapp/backup.js.map +1 -1
  249. package/networkconnectivity/gatewayAdvertisedRoute.d.ts +1 -1
  250. package/networkconnectivity/gatewayAdvertisedRoute.js +1 -1
  251. package/networkconnectivity/spoke.d.ts +8 -8
  252. package/networkconnectivity/spoke.js +8 -8
  253. package/networkconnectivity/transport.d.ts +17 -8
  254. package/networkconnectivity/transport.d.ts.map +1 -1
  255. package/networkconnectivity/transport.js +5 -8
  256. package/networkconnectivity/transport.js.map +1 -1
  257. package/networkmanagement/connectivityTest.d.ts +22 -0
  258. package/networkmanagement/connectivityTest.d.ts.map +1 -1
  259. package/networkmanagement/connectivityTest.js +22 -0
  260. package/networkmanagement/connectivityTest.js.map +1 -1
  261. package/networkmanagement/getConnectivityTestRun.d.ts +2 -2
  262. package/networkmanagement/getConnectivityTestRun.js +2 -2
  263. package/observability/folderSettings.d.ts +2 -2
  264. package/observability/folderSettings.js +2 -2
  265. package/observability/projectSettings.d.ts +2 -2
  266. package/observability/projectSettings.js +2 -2
  267. package/observability/traceScope.d.ts +2 -2
  268. package/observability/traceScope.js +2 -2
  269. package/oracledatabase/cloudVmCluster.d.ts +12 -0
  270. package/oracledatabase/cloudVmCluster.d.ts.map +1 -1
  271. package/oracledatabase/cloudVmCluster.js +2 -0
  272. package/oracledatabase/cloudVmCluster.js.map +1 -1
  273. package/oracledatabase/getCloudVmCluster.d.ts +1 -0
  274. package/oracledatabase/getCloudVmCluster.d.ts.map +1 -1
  275. package/oracledatabase/getCloudVmCluster.js.map +1 -1
  276. package/oracledatabase/getGoldengateConnectionTypes.d.ts +107 -0
  277. package/oracledatabase/getGoldengateConnectionTypes.d.ts.map +1 -0
  278. package/oracledatabase/getGoldengateConnectionTypes.js +109 -0
  279. package/oracledatabase/getGoldengateConnectionTypes.js.map +1 -0
  280. package/oracledatabase/getGoldengateDeploymentEnvironments.d.ts +139 -0
  281. package/oracledatabase/getGoldengateDeploymentEnvironments.d.ts.map +1 -0
  282. package/oracledatabase/getGoldengateDeploymentEnvironments.js +141 -0
  283. package/oracledatabase/getGoldengateDeploymentEnvironments.js.map +1 -0
  284. package/oracledatabase/goldengateConnection.d.ts +585 -0
  285. package/oracledatabase/goldengateConnection.d.ts.map +1 -0
  286. package/oracledatabase/goldengateConnection.js +408 -0
  287. package/oracledatabase/goldengateConnection.js.map +1 -0
  288. package/oracledatabase/goldengateConnectionAssignment.d.ts +265 -0
  289. package/oracledatabase/goldengateConnectionAssignment.d.ts.map +1 -0
  290. package/oracledatabase/goldengateConnectionAssignment.js +150 -0
  291. package/oracledatabase/goldengateConnectionAssignment.js.map +1 -0
  292. package/oracledatabase/goldengateDeployment.d.ts +362 -0
  293. package/oracledatabase/goldengateDeployment.d.ts.map +1 -0
  294. package/oracledatabase/goldengateDeployment.js +209 -0
  295. package/oracledatabase/goldengateDeployment.js.map +1 -0
  296. package/oracledatabase/index.d.ts +15 -0
  297. package/oracledatabase/index.d.ts.map +1 -1
  298. package/oracledatabase/index.js +22 -1
  299. package/oracledatabase/index.js.map +1 -1
  300. package/organizations/iamAuditConfig.d.ts +1 -1
  301. package/organizations/iamAuditConfig.js +1 -1
  302. package/organizations/iambinding.d.ts +1 -1
  303. package/organizations/iambinding.js +1 -1
  304. package/organizations/iammember.d.ts +1 -1
  305. package/organizations/iammember.js +1 -1
  306. package/organizations/iampolicy.d.ts +1 -1
  307. package/organizations/iampolicy.js +1 -1
  308. package/orgpolicy/policy.d.ts +1 -1
  309. package/orgpolicy/policy.js +1 -1
  310. package/package.json +2 -2
  311. package/projects/iamauditConfig.d.ts +2 -2
  312. package/projects/iamauditConfig.js +2 -2
  313. package/projects/iambinding.d.ts +2 -2
  314. package/projects/iambinding.js +2 -2
  315. package/projects/iammember.d.ts +2 -2
  316. package/projects/iammember.js +2 -2
  317. package/projects/iampolicy.d.ts +2 -2
  318. package/projects/iampolicy.js +2 -2
  319. package/projects/service.d.ts +6 -0
  320. package/projects/service.d.ts.map +1 -1
  321. package/projects/service.js.map +1 -1
  322. package/provider.d.ts +2 -0
  323. package/provider.d.ts.map +1 -1
  324. package/provider.js +1 -0
  325. package/provider.js.map +1 -1
  326. package/pubsub/subscription.d.ts +4 -4
  327. package/pubsub/subscription.js +4 -4
  328. package/storage/bucket.d.ts +0 -22
  329. package/storage/bucket.d.ts.map +1 -1
  330. package/storage/bucket.js +0 -22
  331. package/storage/bucket.js.map +1 -1
  332. package/storage/getControlFolderIntelligenceConfig.d.ts +8 -14
  333. package/storage/getControlFolderIntelligenceConfig.d.ts.map +1 -1
  334. package/storage/getControlFolderIntelligenceConfig.js +6 -12
  335. package/storage/getControlFolderIntelligenceConfig.js.map +1 -1
  336. package/storage/getControlOrganizationIntelligenceConfig.d.ts +8 -14
  337. package/storage/getControlOrganizationIntelligenceConfig.d.ts.map +1 -1
  338. package/storage/getControlOrganizationIntelligenceConfig.js +6 -12
  339. package/storage/getControlOrganizationIntelligenceConfig.js.map +1 -1
  340. package/storage/getControlProjectIntelligenceConfig.d.ts +8 -14
  341. package/storage/getControlProjectIntelligenceConfig.d.ts.map +1 -1
  342. package/storage/getControlProjectIntelligenceConfig.js +6 -12
  343. package/storage/getControlProjectIntelligenceConfig.js.map +1 -1
  344. package/types/input.d.ts +9906 -5729
  345. package/types/input.d.ts.map +1 -1
  346. package/types/output.d.ts +11669 -7189
  347. package/types/output.d.ts.map +1 -1
  348. package/vertex/aiEndpoint.d.ts +3 -3
  349. package/vertex/aiEndpoint.js +3 -3
  350. package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
  351. package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
  352. package/vertex/getAiReasoningEngineQuery.d.ts +2 -2
  353. package/vertex/getAiReasoningEngineQuery.js +2 -2
  354. package/vmwareengine/getDatastore.d.ts +38 -18
  355. package/vmwareengine/getDatastore.d.ts.map +1 -1
  356. package/vmwareengine/getDatastore.js +8 -14
  357. package/vmwareengine/getDatastore.js.map +1 -1
  358. package/workstations/workstationCluster.d.ts +26 -26
  359. package/workstations/workstationCluster.js +26 -26
@@ -0,0 +1,333 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Represents an IAM v3 Access Policy parented by a Folder. This policy defines rules
6
+ * that allow or deny access to resources within the specified folder based on principals and conditions.
7
+ * See the Cloud IAM documentation for more details on Access Policies.
8
+ *
9
+ * > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
10
+ * See Provider Versions for more details on beta resources.
11
+ *
12
+ * To get more information about FolderAccessPolicy, see:
13
+ *
14
+ * * [API documentation](https://cloud.google.com/iam/docs/reference/rest/v3beta/folders.locations.accessPolicies)
15
+ *
16
+ * ## Example Usage
17
+ *
18
+ * ### Access Policy Folder Minimal
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as gcp from "@pulumi/gcp";
23
+ * import * as time from "@pulumiverse/time";
24
+ *
25
+ * const folder = new gcp.organizations.Folder("folder", {
26
+ * displayName: "ap-folder-",
27
+ * parent: "organizations/123456789",
28
+ * deletionProtection: false,
29
+ * });
30
+ * const project = new gcp.organizations.Project("project", {
31
+ * projectId: "ap-project-",
32
+ * name: "ap-project-",
33
+ * folderId: folder.folderId,
34
+ * billingAccount: "000000-0000000-0000000-000000",
35
+ * deletionPolicy: "DELETE",
36
+ * }, {
37
+ * dependsOn: [folder],
38
+ * });
39
+ * const iamApi = new gcp.projects.Service("iam_api", {
40
+ * project: project.projectId,
41
+ * service: "iam.googleapis.com",
42
+ * disableOnDestroy: false,
43
+ * }, {
44
+ * dependsOn: [project],
45
+ * });
46
+ * const waitForPropagation = new time.Sleep("wait_for_propagation", {createDuration: "30s"}, {
47
+ * dependsOn: [
48
+ * folder,
49
+ * iamApi,
50
+ * ],
51
+ * });
52
+ * const testSa = new gcp.serviceaccount.Account("test_sa", {
53
+ * accountId: "svc-acc-",
54
+ * displayName: "Test Service Account for Access Policy",
55
+ * project: project.projectId,
56
+ * }, {
57
+ * dependsOn: [waitForPropagation],
58
+ * });
59
+ * const example = new gcp.iam.FolderAccessPolicy("example", {
60
+ * folder: folder.folderId,
61
+ * location: "global",
62
+ * accessPolicyId: "my-folder-policy-",
63
+ * details: {
64
+ * rules: [{
65
+ * effect: "ALLOW",
66
+ * principals: [pulumi.interpolate`principal://iam.googleapis.com/projects/-/serviceAccounts/${testSa.email}`],
67
+ * operation: {
68
+ * permissions: ["eventarc.googleapis.com/messageBuses.publish"],
69
+ * },
70
+ * }],
71
+ * },
72
+ * }, {
73
+ * dependsOn: [
74
+ * waitForPropagation,
75
+ * testSa,
76
+ * ],
77
+ * });
78
+ * ```
79
+ *
80
+ * ## Import
81
+ *
82
+ * FolderAccessPolicy can be imported using any of these accepted formats:
83
+ *
84
+ * * `folders/{{folder}}/locations/{{location}}/accessPolicies/{{access_policy_id}}`
85
+ * * `{{folder}}/{{location}}/{{access_policy_id}}`
86
+ *
87
+ * When using the `pulumi import` command, FolderAccessPolicy can be imported using one of the formats above. For example:
88
+ *
89
+ * ```sh
90
+ * $ pulumi import gcp:iam/folderAccessPolicy:FolderAccessPolicy default folders/{{folder}}/locations/{{location}}/accessPolicies/{{access_policy_id}}
91
+ * $ pulumi import gcp:iam/folderAccessPolicy:FolderAccessPolicy default {{folder}}/{{location}}/{{access_policy_id}}
92
+ * ```
93
+ */
94
+ export declare class FolderAccessPolicy extends pulumi.CustomResource {
95
+ /**
96
+ * Get an existing FolderAccessPolicy resource's state with the given name, ID, and optional extra
97
+ * properties used to qualify the lookup.
98
+ *
99
+ * @param name The _unique_ name of the resulting resource.
100
+ * @param id The _unique_ provider ID of the resource to lookup.
101
+ * @param state Any extra arguments used during the lookup.
102
+ * @param opts Optional settings to control the behavior of the CustomResource.
103
+ */
104
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FolderAccessPolicyState, opts?: pulumi.CustomResourceOptions): FolderAccessPolicy;
105
+ /**
106
+ * Returns true if the given object is an instance of FolderAccessPolicy. This is designed to work even
107
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
108
+ */
109
+ static isInstance(obj: any): obj is FolderAccessPolicy;
110
+ /**
111
+ * The ID to use for the access policy, which
112
+ * will become the final component of the access policy's
113
+ * resource name.
114
+ * This value must start with a lowercase letter followed by up to 62
115
+ * lowercase letters, numbers, hyphens, or dots. Pattern,
116
+ * /a-z{2,62}/.
117
+ * This value must be unique among all access policies with the same parent.
118
+ */
119
+ readonly accessPolicyId: pulumi.Output<string>;
120
+ /**
121
+ * User defined annotations. See https://google.aip.dev/148#annotations for
122
+ * more details such as format and size limitations
123
+ * **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
124
+ * Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
125
+ */
126
+ readonly annotations: pulumi.Output<{
127
+ [key: string]: string;
128
+ } | undefined>;
129
+ /**
130
+ * The time when the access policy was created.
131
+ */
132
+ readonly createTime: pulumi.Output<string>;
133
+ /**
134
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
135
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
136
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
137
+ * When set to "ABANDON", the command will remove the resource from Terraform
138
+ * management without updating or deleting the resource in the API.
139
+ * When set to "DELETE", deleting the resource is allowed.
140
+ */
141
+ readonly deletionPolicy: pulumi.Output<string>;
142
+ /**
143
+ * Access policy details.
144
+ * Structure is documented below.
145
+ */
146
+ readonly details: pulumi.Output<outputs.iam.FolderAccessPolicyDetails | undefined>;
147
+ /**
148
+ * The description of the access policy. Must be less than
149
+ * or equal to 63 characters.
150
+ */
151
+ readonly displayName: pulumi.Output<string | undefined>;
152
+ /**
153
+ * All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
154
+ */
155
+ readonly effectiveAnnotations: pulumi.Output<{
156
+ [key: string]: string;
157
+ }>;
158
+ /**
159
+ * The etag for the access policy.
160
+ * If this is provided on update, it must match the server's etag.
161
+ */
162
+ readonly etag: pulumi.Output<string>;
163
+ /**
164
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
165
+ */
166
+ readonly folder: pulumi.Output<string>;
167
+ /**
168
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
169
+ */
170
+ readonly location: pulumi.Output<string>;
171
+ /**
172
+ * Identifier. The resource name of the access policy.
173
+ * The following formats are supported:
174
+ * * `projects/{project_id}/locations/{location}/accessPolicies/{policy_id}`
175
+ * * `projects/{project_number}/locations/{location}/accessPolicies/{policy_id}`
176
+ * * `folders/{folder_id}/locations/{location}/accessPolicies/{policy_id}`
177
+ * * `organizations/{organization_id}/locations/{location}/accessPolicies/{policy_id}`
178
+ */
179
+ readonly name: pulumi.Output<string>;
180
+ /**
181
+ * The globally unique ID of the access policy.
182
+ */
183
+ readonly uid: pulumi.Output<string>;
184
+ /**
185
+ * The time when the access policy was most recently
186
+ * updated.
187
+ */
188
+ readonly updateTime: pulumi.Output<string>;
189
+ /**
190
+ * Create a FolderAccessPolicy resource with the given unique name, arguments, and options.
191
+ *
192
+ * @param name The _unique_ name of the resource.
193
+ * @param args The arguments to use to populate this resource's properties.
194
+ * @param opts A bag of options that control this resource's behavior.
195
+ */
196
+ constructor(name: string, args: FolderAccessPolicyArgs, opts?: pulumi.CustomResourceOptions);
197
+ }
198
+ /**
199
+ * Input properties used for looking up and filtering FolderAccessPolicy resources.
200
+ */
201
+ export interface FolderAccessPolicyState {
202
+ /**
203
+ * The ID to use for the access policy, which
204
+ * will become the final component of the access policy's
205
+ * resource name.
206
+ * This value must start with a lowercase letter followed by up to 62
207
+ * lowercase letters, numbers, hyphens, or dots. Pattern,
208
+ * /a-z{2,62}/.
209
+ * This value must be unique among all access policies with the same parent.
210
+ */
211
+ accessPolicyId?: pulumi.Input<string | undefined>;
212
+ /**
213
+ * User defined annotations. See https://google.aip.dev/148#annotations for
214
+ * more details such as format and size limitations
215
+ * **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
216
+ * Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
217
+ */
218
+ annotations?: pulumi.Input<{
219
+ [key: string]: pulumi.Input<string>;
220
+ } | undefined>;
221
+ /**
222
+ * The time when the access policy was created.
223
+ */
224
+ createTime?: pulumi.Input<string | undefined>;
225
+ /**
226
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
227
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
228
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
229
+ * When set to "ABANDON", the command will remove the resource from Terraform
230
+ * management without updating or deleting the resource in the API.
231
+ * When set to "DELETE", deleting the resource is allowed.
232
+ */
233
+ deletionPolicy?: pulumi.Input<string | undefined>;
234
+ /**
235
+ * Access policy details.
236
+ * Structure is documented below.
237
+ */
238
+ details?: pulumi.Input<inputs.iam.FolderAccessPolicyDetails | undefined>;
239
+ /**
240
+ * The description of the access policy. Must be less than
241
+ * or equal to 63 characters.
242
+ */
243
+ displayName?: pulumi.Input<string | undefined>;
244
+ /**
245
+ * All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
246
+ */
247
+ effectiveAnnotations?: pulumi.Input<{
248
+ [key: string]: pulumi.Input<string>;
249
+ } | undefined>;
250
+ /**
251
+ * The etag for the access policy.
252
+ * If this is provided on update, it must match the server's etag.
253
+ */
254
+ etag?: pulumi.Input<string | undefined>;
255
+ /**
256
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
257
+ */
258
+ folder?: pulumi.Input<string | undefined>;
259
+ /**
260
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
261
+ */
262
+ location?: pulumi.Input<string | undefined>;
263
+ /**
264
+ * Identifier. The resource name of the access policy.
265
+ * The following formats are supported:
266
+ * * `projects/{project_id}/locations/{location}/accessPolicies/{policy_id}`
267
+ * * `projects/{project_number}/locations/{location}/accessPolicies/{policy_id}`
268
+ * * `folders/{folder_id}/locations/{location}/accessPolicies/{policy_id}`
269
+ * * `organizations/{organization_id}/locations/{location}/accessPolicies/{policy_id}`
270
+ */
271
+ name?: pulumi.Input<string | undefined>;
272
+ /**
273
+ * The globally unique ID of the access policy.
274
+ */
275
+ uid?: pulumi.Input<string | undefined>;
276
+ /**
277
+ * The time when the access policy was most recently
278
+ * updated.
279
+ */
280
+ updateTime?: pulumi.Input<string | undefined>;
281
+ }
282
+ /**
283
+ * The set of arguments for constructing a FolderAccessPolicy resource.
284
+ */
285
+ export interface FolderAccessPolicyArgs {
286
+ /**
287
+ * The ID to use for the access policy, which
288
+ * will become the final component of the access policy's
289
+ * resource name.
290
+ * This value must start with a lowercase letter followed by up to 62
291
+ * lowercase letters, numbers, hyphens, or dots. Pattern,
292
+ * /a-z{2,62}/.
293
+ * This value must be unique among all access policies with the same parent.
294
+ */
295
+ accessPolicyId: pulumi.Input<string>;
296
+ /**
297
+ * User defined annotations. See https://google.aip.dev/148#annotations for
298
+ * more details such as format and size limitations
299
+ * **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
300
+ * Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
301
+ */
302
+ annotations?: pulumi.Input<{
303
+ [key: string]: pulumi.Input<string>;
304
+ } | undefined>;
305
+ /**
306
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
307
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
308
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
309
+ * When set to "ABANDON", the command will remove the resource from Terraform
310
+ * management without updating or deleting the resource in the API.
311
+ * When set to "DELETE", deleting the resource is allowed.
312
+ */
313
+ deletionPolicy?: pulumi.Input<string | undefined>;
314
+ /**
315
+ * Access policy details.
316
+ * Structure is documented below.
317
+ */
318
+ details?: pulumi.Input<inputs.iam.FolderAccessPolicyDetails | undefined>;
319
+ /**
320
+ * The description of the access policy. Must be less than
321
+ * or equal to 63 characters.
322
+ */
323
+ displayName?: pulumi.Input<string | undefined>;
324
+ /**
325
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
326
+ */
327
+ folder: pulumi.Input<string>;
328
+ /**
329
+ * Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
330
+ */
331
+ location: pulumi.Input<string>;
332
+ }
333
+ //# sourceMappingURL=folderAccessPolicy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folderAccessPolicy.d.ts","sourceRoot":"","sources":["../../iam/folderAccessPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFG;AACH,qBAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,kBAAkB;IAOtJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,kBAAkB;IAO7D;;;;;;;;OAQG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;;;;OAKG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACxF;;OAEG;IACH,SAAgC,UAAU,EAAE,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,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;;;;;OAQG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAC9E;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzE;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
@@ -0,0 +1,195 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.FolderAccessPolicy = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Represents an IAM v3 Access Policy parented by a Folder. This policy defines rules
33
+ * that allow or deny access to resources within the specified folder based on principals and conditions.
34
+ * See the Cloud IAM documentation for more details on Access Policies.
35
+ *
36
+ * > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
37
+ * See Provider Versions for more details on beta resources.
38
+ *
39
+ * To get more information about FolderAccessPolicy, see:
40
+ *
41
+ * * [API documentation](https://cloud.google.com/iam/docs/reference/rest/v3beta/folders.locations.accessPolicies)
42
+ *
43
+ * ## Example Usage
44
+ *
45
+ * ### Access Policy Folder Minimal
46
+ *
47
+ * ```typescript
48
+ * import * as pulumi from "@pulumi/pulumi";
49
+ * import * as gcp from "@pulumi/gcp";
50
+ * import * as time from "@pulumiverse/time";
51
+ *
52
+ * const folder = new gcp.organizations.Folder("folder", {
53
+ * displayName: "ap-folder-",
54
+ * parent: "organizations/123456789",
55
+ * deletionProtection: false,
56
+ * });
57
+ * const project = new gcp.organizations.Project("project", {
58
+ * projectId: "ap-project-",
59
+ * name: "ap-project-",
60
+ * folderId: folder.folderId,
61
+ * billingAccount: "000000-0000000-0000000-000000",
62
+ * deletionPolicy: "DELETE",
63
+ * }, {
64
+ * dependsOn: [folder],
65
+ * });
66
+ * const iamApi = new gcp.projects.Service("iam_api", {
67
+ * project: project.projectId,
68
+ * service: "iam.googleapis.com",
69
+ * disableOnDestroy: false,
70
+ * }, {
71
+ * dependsOn: [project],
72
+ * });
73
+ * const waitForPropagation = new time.Sleep("wait_for_propagation", {createDuration: "30s"}, {
74
+ * dependsOn: [
75
+ * folder,
76
+ * iamApi,
77
+ * ],
78
+ * });
79
+ * const testSa = new gcp.serviceaccount.Account("test_sa", {
80
+ * accountId: "svc-acc-",
81
+ * displayName: "Test Service Account for Access Policy",
82
+ * project: project.projectId,
83
+ * }, {
84
+ * dependsOn: [waitForPropagation],
85
+ * });
86
+ * const example = new gcp.iam.FolderAccessPolicy("example", {
87
+ * folder: folder.folderId,
88
+ * location: "global",
89
+ * accessPolicyId: "my-folder-policy-",
90
+ * details: {
91
+ * rules: [{
92
+ * effect: "ALLOW",
93
+ * principals: [pulumi.interpolate`principal://iam.googleapis.com/projects/-/serviceAccounts/${testSa.email}`],
94
+ * operation: {
95
+ * permissions: ["eventarc.googleapis.com/messageBuses.publish"],
96
+ * },
97
+ * }],
98
+ * },
99
+ * }, {
100
+ * dependsOn: [
101
+ * waitForPropagation,
102
+ * testSa,
103
+ * ],
104
+ * });
105
+ * ```
106
+ *
107
+ * ## Import
108
+ *
109
+ * FolderAccessPolicy can be imported using any of these accepted formats:
110
+ *
111
+ * * `folders/{{folder}}/locations/{{location}}/accessPolicies/{{access_policy_id}}`
112
+ * * `{{folder}}/{{location}}/{{access_policy_id}}`
113
+ *
114
+ * When using the `pulumi import` command, FolderAccessPolicy can be imported using one of the formats above. For example:
115
+ *
116
+ * ```sh
117
+ * $ pulumi import gcp:iam/folderAccessPolicy:FolderAccessPolicy default folders/{{folder}}/locations/{{location}}/accessPolicies/{{access_policy_id}}
118
+ * $ pulumi import gcp:iam/folderAccessPolicy:FolderAccessPolicy default {{folder}}/{{location}}/{{access_policy_id}}
119
+ * ```
120
+ */
121
+ class FolderAccessPolicy extends pulumi.CustomResource {
122
+ /**
123
+ * Get an existing FolderAccessPolicy resource's state with the given name, ID, and optional extra
124
+ * properties used to qualify the lookup.
125
+ *
126
+ * @param name The _unique_ name of the resulting resource.
127
+ * @param id The _unique_ provider ID of the resource to lookup.
128
+ * @param state Any extra arguments used during the lookup.
129
+ * @param opts Optional settings to control the behavior of the CustomResource.
130
+ */
131
+ static get(name, id, state, opts) {
132
+ return new FolderAccessPolicy(name, state, { ...opts, id: id });
133
+ }
134
+ /** @internal */
135
+ static __pulumiType = 'gcp:iam/folderAccessPolicy:FolderAccessPolicy';
136
+ /**
137
+ * Returns true if the given object is an instance of FolderAccessPolicy. This is designed to work even
138
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
139
+ */
140
+ static isInstance(obj) {
141
+ if (obj === undefined || obj === null) {
142
+ return false;
143
+ }
144
+ return obj['__pulumiType'] === FolderAccessPolicy.__pulumiType;
145
+ }
146
+ constructor(name, argsOrState, opts) {
147
+ let resourceInputs = {};
148
+ opts = opts || {};
149
+ if (opts.id) {
150
+ const state = argsOrState;
151
+ resourceInputs["accessPolicyId"] = state?.accessPolicyId;
152
+ resourceInputs["annotations"] = state?.annotations;
153
+ resourceInputs["createTime"] = state?.createTime;
154
+ resourceInputs["deletionPolicy"] = state?.deletionPolicy;
155
+ resourceInputs["details"] = state?.details;
156
+ resourceInputs["displayName"] = state?.displayName;
157
+ resourceInputs["effectiveAnnotations"] = state?.effectiveAnnotations;
158
+ resourceInputs["etag"] = state?.etag;
159
+ resourceInputs["folder"] = state?.folder;
160
+ resourceInputs["location"] = state?.location;
161
+ resourceInputs["name"] = state?.name;
162
+ resourceInputs["uid"] = state?.uid;
163
+ resourceInputs["updateTime"] = state?.updateTime;
164
+ }
165
+ else {
166
+ const args = argsOrState;
167
+ if (args?.accessPolicyId === undefined && !opts.urn) {
168
+ throw new Error("Missing required property 'accessPolicyId'");
169
+ }
170
+ if (args?.folder === undefined && !opts.urn) {
171
+ throw new Error("Missing required property 'folder'");
172
+ }
173
+ if (args?.location === undefined && !opts.urn) {
174
+ throw new Error("Missing required property 'location'");
175
+ }
176
+ resourceInputs["accessPolicyId"] = args?.accessPolicyId;
177
+ resourceInputs["annotations"] = args?.annotations;
178
+ resourceInputs["deletionPolicy"] = args?.deletionPolicy;
179
+ resourceInputs["details"] = args?.details;
180
+ resourceInputs["displayName"] = args?.displayName;
181
+ resourceInputs["folder"] = args?.folder;
182
+ resourceInputs["location"] = args?.location;
183
+ resourceInputs["createTime"] = undefined /*out*/;
184
+ resourceInputs["effectiveAnnotations"] = undefined /*out*/;
185
+ resourceInputs["etag"] = undefined /*out*/;
186
+ resourceInputs["name"] = undefined /*out*/;
187
+ resourceInputs["uid"] = undefined /*out*/;
188
+ resourceInputs["updateTime"] = undefined /*out*/;
189
+ }
190
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
191
+ super(FolderAccessPolicy.__pulumiType, name, resourceInputs, opts);
192
+ }
193
+ }
194
+ exports.FolderAccessPolicy = FolderAccessPolicy;
195
+ //# sourceMappingURL=folderAccessPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folderAccessPolicy.js","sourceRoot":"","sources":["../../iam/folderAccessPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFG;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,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,gBAAgB;IACT,MAAM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YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;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;;AA7JL,gDA8JC"}
package/iam/index.d.ts CHANGED
@@ -4,6 +4,9 @@ export declare const AccessBoundaryPolicy: typeof import("./accessBoundaryPolicy
4
4
  export { DenyPolicyArgs, DenyPolicyState } from "./denyPolicy";
5
5
  export type DenyPolicy = import("./denyPolicy").DenyPolicy;
6
6
  export declare const DenyPolicy: typeof import("./denyPolicy").DenyPolicy;
7
+ export { FolderAccessPolicyArgs, FolderAccessPolicyState } from "./folderAccessPolicy";
8
+ export type FolderAccessPolicy = import("./folderAccessPolicy").FolderAccessPolicy;
9
+ export declare const FolderAccessPolicy: typeof import("./folderAccessPolicy").FolderAccessPolicy;
7
10
  export { FoldersPolicyBindingArgs, FoldersPolicyBindingState } from "./foldersPolicyBinding";
8
11
  export type FoldersPolicyBinding = import("./foldersPolicyBinding").FoldersPolicyBinding;
9
12
  export declare const FoldersPolicyBinding: typeof import("./foldersPolicyBinding").FoldersPolicyBinding;
@@ -37,6 +40,9 @@ export declare const OrganizationsPolicyBinding: typeof import("./organizationsP
37
40
  export { PrincipalAccessBoundaryPolicyArgs, PrincipalAccessBoundaryPolicyState } from "./principalAccessBoundaryPolicy";
38
41
  export type PrincipalAccessBoundaryPolicy = import("./principalAccessBoundaryPolicy").PrincipalAccessBoundaryPolicy;
39
42
  export declare const PrincipalAccessBoundaryPolicy: typeof import("./principalAccessBoundaryPolicy").PrincipalAccessBoundaryPolicy;
43
+ export { ProjectAccessPolicyArgs, ProjectAccessPolicyState } from "./projectAccessPolicy";
44
+ export type ProjectAccessPolicy = import("./projectAccessPolicy").ProjectAccessPolicy;
45
+ export declare const ProjectAccessPolicy: typeof import("./projectAccessPolicy").ProjectAccessPolicy;
40
46
  export { ProjectsPolicyBindingArgs, ProjectsPolicyBindingState } from "./projectsPolicyBinding";
41
47
  export type ProjectsPolicyBinding = import("./projectsPolicyBinding").ProjectsPolicyBinding;
42
48
  export declare const ProjectsPolicyBinding: typeof import("./projectsPolicyBinding").ProjectsPolicyBinding;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../iam/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAC7F,MAAM,MAAM,oBAAoB,GAAG,OAAO,wBAAwB,EAAE,oBAAoB,CAAC;AACzF,eAAO,MAAM,oBAAoB,EAAE,cAAc,wBAAwB,EAAE,oBAAkC,CAAC;AAG9G,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,MAAM,MAAM,UAAU,GAAG,OAAO,cAAc,EAAE,UAAU,CAAC;AAC3D,eAAO,MAAM,UAAU,EAAE,cAAc,cAAc,EAAE,UAAwB,CAAC;AAGhF,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAC7F,MAAM,MAAM,oBAAoB,GAAG,OAAO,wBAAwB,EAAE,oBAAoB,CAAC;AACzF,eAAO,MAAM,oBAAoB,EAAE,cAAc,wBAAwB,EAAE,oBAAkC,CAAC;AAG9G,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1E,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC;AACvE,eAAO,MAAM,aAAa,EAAE,cAAc,WAAW,EAAE,aAA2B,CAAC;AAGnF,OAAO,EAAE,0BAA0B,EAAE,4BAA4B,EAAE,gCAAgC,EAAE,MAAM,0BAA0B,CAAC;AACtI,eAAO,MAAM,sBAAsB,EAAE,cAAc,0BAA0B,EAAE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M,uCAAuC,CAAC;AAC1I,MAAM,MAAM,mCAAmC,GAAG,OAAO,uCAAuC,EAAE,mCAAmC,CAAC;AACtI,eAAO,MAAM,mCAAmC,EAAE,cAAc,uCAAuC,EAAE,mCAAiD,CAAC;AAG3J,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AACxH,MAAM,MAAM,6BAA6B,GAAG,OAAO,iCAAiC,EAAE,6BAA6B,CAAC;AACpH,eAAO,MAAM,6BAA6B,EAAE,cAAc,iCAAiC,EAAE,6BAA2C,CAAC;AAGzI,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AACrH,MAAM,MAAM,4BAA4B,GAAG,OAAO,gCAAgC,EAAE,4BAA4B,CAAC;AACjH,eAAO,MAAM,4BAA4B,EAAE,cAAc,gCAAgC,EAAE,4BAA0C,CAAC;AAGtI,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AACrH,MAAM,MAAM,4BAA4B,GAAG,OAAO,gCAAgC,EAAE,4BAA4B,CAAC;AACjH,eAAO,MAAM,4BAA4B,EAAE,cAAc,gCAAgC,EAAE,4BAA0C,CAAC"}
package/iam/index.js CHANGED
@@ -25,13 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.WorkloadIdentityServiceAgent = exports.WorkloadIdentityPoolProvider = exports.WorkloadIdentityPoolNamespace = exports.WorkloadIdentityPoolManagedIdentity = exports.WorkloadIdentityPoolIamPolicy = exports.WorkloadIdentityPoolIamMember = exports.WorkloadIdentityPoolIamBinding = exports.WorkloadIdentityPool = exports.WorkforcePoolProviderScimToken = exports.WorkforcePoolProviderScimTenant = exports.WorkforcePoolProviderKey = exports.WorkforcePoolProvider = exports.WorkforcePoolIamPolicy = exports.WorkforcePoolIamMember = exports.WorkforcePoolIamBinding = exports.WorkforcePool = exports.ProjectsPolicyBinding = exports.PrincipalAccessBoundaryPolicy = exports.OrganizationsPolicyBinding = exports.OauthClientCredential = exports.OauthClient = exports.getWorkloadIdentityPoolProviderOutput = exports.getWorkloadIdentityPoolProvider = exports.getWorkloadIdentityPoolIamPolicyOutput = exports.getWorkloadIdentityPoolIamPolicy = exports.getWorkloadIdentityPoolOutput = exports.getWorkloadIdentityPool = exports.getWorkforcePoolIamPolicyOutput = exports.getWorkforcePoolIamPolicy = exports.getTestablePermissionsOutput = exports.getTestablePermissions = exports.getRuleOutput = exports.getRule = exports.FoldersPolicyBinding = exports.DenyPolicy = exports.AccessBoundaryPolicy = void 0;
28
+ exports.WorkloadIdentityServiceAgent = exports.WorkloadIdentityPoolProvider = exports.WorkloadIdentityPoolNamespace = exports.WorkloadIdentityPoolManagedIdentity = exports.WorkloadIdentityPoolIamPolicy = exports.WorkloadIdentityPoolIamMember = exports.WorkloadIdentityPoolIamBinding = exports.WorkloadIdentityPool = exports.WorkforcePoolProviderScimToken = exports.WorkforcePoolProviderScimTenant = exports.WorkforcePoolProviderKey = exports.WorkforcePoolProvider = exports.WorkforcePoolIamPolicy = exports.WorkforcePoolIamMember = exports.WorkforcePoolIamBinding = exports.WorkforcePool = exports.ProjectsPolicyBinding = exports.ProjectAccessPolicy = exports.PrincipalAccessBoundaryPolicy = exports.OrganizationsPolicyBinding = exports.OauthClientCredential = exports.OauthClient = exports.getWorkloadIdentityPoolProviderOutput = exports.getWorkloadIdentityPoolProvider = exports.getWorkloadIdentityPoolIamPolicyOutput = exports.getWorkloadIdentityPoolIamPolicy = exports.getWorkloadIdentityPoolOutput = exports.getWorkloadIdentityPool = exports.getWorkforcePoolIamPolicyOutput = exports.getWorkforcePoolIamPolicy = exports.getTestablePermissionsOutput = exports.getTestablePermissions = exports.getRuleOutput = exports.getRule = exports.FoldersPolicyBinding = exports.FolderAccessPolicy = exports.DenyPolicy = exports.AccessBoundaryPolicy = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../utilities"));
31
31
  exports.AccessBoundaryPolicy = null;
32
32
  utilities.lazyLoad(exports, ["AccessBoundaryPolicy"], () => require("./accessBoundaryPolicy"));
33
33
  exports.DenyPolicy = null;
34
34
  utilities.lazyLoad(exports, ["DenyPolicy"], () => require("./denyPolicy"));
35
+ exports.FolderAccessPolicy = null;
36
+ utilities.lazyLoad(exports, ["FolderAccessPolicy"], () => require("./folderAccessPolicy"));
35
37
  exports.FoldersPolicyBinding = null;
36
38
  utilities.lazyLoad(exports, ["FoldersPolicyBinding"], () => require("./foldersPolicyBinding"));
37
39
  exports.getRule = null;
@@ -60,6 +62,8 @@ exports.OrganizationsPolicyBinding = null;
60
62
  utilities.lazyLoad(exports, ["OrganizationsPolicyBinding"], () => require("./organizationsPolicyBinding"));
61
63
  exports.PrincipalAccessBoundaryPolicy = null;
62
64
  utilities.lazyLoad(exports, ["PrincipalAccessBoundaryPolicy"], () => require("./principalAccessBoundaryPolicy"));
65
+ exports.ProjectAccessPolicy = null;
66
+ utilities.lazyLoad(exports, ["ProjectAccessPolicy"], () => require("./projectAccessPolicy"));
63
67
  exports.ProjectsPolicyBinding = null;
64
68
  utilities.lazyLoad(exports, ["ProjectsPolicyBinding"], () => require("./projectsPolicyBinding"));
65
69
  exports.WorkforcePool = null;
@@ -102,6 +106,8 @@ const _module = {
102
106
  return new exports.AccessBoundaryPolicy(name, undefined, { urn });
103
107
  case "gcp:iam/denyPolicy:DenyPolicy":
104
108
  return new exports.DenyPolicy(name, undefined, { urn });
109
+ case "gcp:iam/folderAccessPolicy:FolderAccessPolicy":
110
+ return new exports.FolderAccessPolicy(name, undefined, { urn });
105
111
  case "gcp:iam/foldersPolicyBinding:FoldersPolicyBinding":
106
112
  return new exports.FoldersPolicyBinding(name, undefined, { urn });
107
113
  case "gcp:iam/oauthClient:OauthClient":
@@ -112,6 +118,8 @@ const _module = {
112
118
  return new exports.OrganizationsPolicyBinding(name, undefined, { urn });
113
119
  case "gcp:iam/principalAccessBoundaryPolicy:PrincipalAccessBoundaryPolicy":
114
120
  return new exports.PrincipalAccessBoundaryPolicy(name, undefined, { urn });
121
+ case "gcp:iam/projectAccessPolicy:ProjectAccessPolicy":
122
+ return new exports.ProjectAccessPolicy(name, undefined, { urn });
115
123
  case "gcp:iam/projectsPolicyBinding:ProjectsPolicyBinding":
116
124
  return new exports.ProjectsPolicyBinding(name, undefined, { urn });
117
125
  case "gcp:iam/workforcePool:WorkforcePool":
@@ -153,11 +161,13 @@ const _module = {
153
161
  };
154
162
  pulumi.runtime.registerResourceModule("gcp", "iam/accessBoundaryPolicy", _module);
155
163
  pulumi.runtime.registerResourceModule("gcp", "iam/denyPolicy", _module);
164
+ pulumi.runtime.registerResourceModule("gcp", "iam/folderAccessPolicy", _module);
156
165
  pulumi.runtime.registerResourceModule("gcp", "iam/foldersPolicyBinding", _module);
157
166
  pulumi.runtime.registerResourceModule("gcp", "iam/oauthClient", _module);
158
167
  pulumi.runtime.registerResourceModule("gcp", "iam/oauthClientCredential", _module);
159
168
  pulumi.runtime.registerResourceModule("gcp", "iam/organizationsPolicyBinding", _module);
160
169
  pulumi.runtime.registerResourceModule("gcp", "iam/principalAccessBoundaryPolicy", _module);
170
+ pulumi.runtime.registerResourceModule("gcp", "iam/projectAccessPolicy", _module);
161
171
  pulumi.runtime.registerResourceModule("gcp", "iam/projectsPolicyBinding", _module);
162
172
  pulumi.runtime.registerResourceModule("gcp", "iam/workforcePool", _module);
163
173
  pulumi.runtime.registerResourceModule("gcp", "iam/workforcePoolIamBinding", _module);