@pulumi/aws 6.0.0-alpha.2 → 6.0.0-alpha.4

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 (568) hide show
  1. package/alb/targetGroupAttachment.d.ts +17 -10
  2. package/alb/targetGroupAttachment.js +2 -1
  3. package/alb/targetGroupAttachment.js.map +1 -1
  4. package/appconfig/environment.d.ts +1 -1
  5. package/appflow/flow.d.ts +98 -0
  6. package/appflow/flow.js +98 -0
  7. package/appflow/flow.js.map +1 -1
  8. package/applicationloadbalancing/index.d.ts +0 -27
  9. package/applicationloadbalancing/index.js +1 -51
  10. package/applicationloadbalancing/index.js.map +1 -1
  11. package/appmesh/virtualGateway.d.ts +23 -2
  12. package/appmesh/virtualGateway.js +23 -2
  13. package/appmesh/virtualGateway.js.map +1 -1
  14. package/appmesh/virtualNode.d.ts +8 -8
  15. package/appmesh/virtualNode.js +8 -8
  16. package/appmesh/virtualRouter.d.ts +2 -2
  17. package/appmesh/virtualRouter.js +2 -2
  18. package/appsync/dataSource.d.ts +18 -18
  19. package/appsync/graphQLApi.d.ts +0 -134
  20. package/appsync/graphQLApi.js +0 -134
  21. package/appsync/graphQLApi.js.map +1 -1
  22. package/backup/regionSettings.d.ts +3 -3
  23. package/batch/computeEnvironment.d.ts +2 -0
  24. package/batch/computeEnvironment.js +2 -0
  25. package/batch/computeEnvironment.js.map +1 -1
  26. package/budgets/getBudget.d.ts +130 -0
  27. package/budgets/getBudget.js +51 -0
  28. package/budgets/getBudget.js.map +1 -0
  29. package/budgets/index.d.ts +3 -0
  30. package/budgets/index.js +4 -1
  31. package/budgets/index.js.map +1 -1
  32. package/chime/index.d.ts +9 -0
  33. package/chime/index.js +16 -1
  34. package/chime/index.js.map +1 -1
  35. package/chime/sdkvoiceGlobalSettings.d.ts +73 -0
  36. package/chime/sdkvoiceGlobalSettings.js +75 -0
  37. package/chime/sdkvoiceGlobalSettings.js.map +1 -0
  38. package/chime/sdkvoiceSipMediaApplication.d.ts +145 -0
  39. package/chime/sdkvoiceSipMediaApplication.js +95 -0
  40. package/chime/sdkvoiceSipMediaApplication.js.map +1 -0
  41. package/chime/sdkvoiceSipRule.d.ts +134 -0
  42. package/chime/sdkvoiceSipRule.js +99 -0
  43. package/chime/sdkvoiceSipRule.js.map +1 -0
  44. package/chime/voiceConnector.d.ts +44 -0
  45. package/chime/voiceConnector.js +6 -0
  46. package/chime/voiceConnector.js.map +1 -1
  47. package/cleanrooms/collaboration.d.ts +256 -0
  48. package/cleanrooms/collaboration.js +123 -0
  49. package/cleanrooms/collaboration.js.map +1 -0
  50. package/cleanrooms/index.d.ts +3 -0
  51. package/cleanrooms/index.js +22 -0
  52. package/cleanrooms/index.js.map +1 -0
  53. package/cloudfront/cachePolicy.d.ts +22 -22
  54. package/cloudfront/cachePolicy.js +2 -2
  55. package/cloudtrail/index.d.ts +0 -3
  56. package/cloudtrail/index.js +1 -4
  57. package/cloudtrail/index.js.map +1 -1
  58. package/cloudwatch/eventTarget.d.ts +8 -2
  59. package/cloudwatch/eventTarget.js +8 -2
  60. package/cloudwatch/eventTarget.js.map +1 -1
  61. package/cloudwatch/internetMonitor.d.ts +12 -0
  62. package/cloudwatch/internetMonitor.js +2 -0
  63. package/cloudwatch/internetMonitor.js.map +1 -1
  64. package/cloudwatch/metricStream.d.ts +94 -0
  65. package/cloudwatch/metricStream.js +94 -0
  66. package/cloudwatch/metricStream.js.map +1 -1
  67. package/codebuild/project.d.ts +2 -2
  68. package/codebuild/project.js +2 -2
  69. package/cognito/identityPool.d.ts +1 -1
  70. package/cognito/identityPool.js +1 -1
  71. package/cognito/index.d.ts +3 -0
  72. package/cognito/index.js +6 -1
  73. package/cognito/index.js.map +1 -1
  74. package/cognito/managedUserPoolClient.d.ts +394 -0
  75. package/cognito/managedUserPoolClient.js +170 -0
  76. package/cognito/managedUserPoolClient.js.map +1 -0
  77. package/cognito/userPool.d.ts +3 -3
  78. package/cognito/userPoolClient.d.ts +14 -14
  79. package/cognito/userPoolClient.js +1 -1
  80. package/config/vars.d.ts +5 -0
  81. package/config/vars.js +6 -0
  82. package/config/vars.js.map +1 -1
  83. package/cur/reportDefinition.d.ts +7 -4
  84. package/cur/reportDefinition.js +4 -1
  85. package/cur/reportDefinition.js.map +1 -1
  86. package/datasync/locationObjectStorage.d.ts +3 -3
  87. package/ec2/fleet.d.ts +5 -5
  88. package/ec2/fleet.js +6 -6
  89. package/ec2/fleet.js.map +1 -1
  90. package/ec2/getInstances.d.ts +54 -0
  91. package/ec2/getInstances.js +54 -0
  92. package/ec2/getInstances.js.map +1 -1
  93. package/ec2/getVpcPeeringConnections.d.ts +34 -0
  94. package/ec2/getVpcPeeringConnections.js +34 -0
  95. package/ec2/getVpcPeeringConnections.js.map +1 -1
  96. package/ec2/index.d.ts +0 -3
  97. package/ec2/index.js +2 -7
  98. package/ec2/index.js.map +1 -1
  99. package/ec2/instance.d.ts +61 -0
  100. package/ec2/instance.js +39 -0
  101. package/ec2/instance.js.map +1 -1
  102. package/ec2/managedPrefixListEntry.d.ts +8 -16
  103. package/ec2/managedPrefixListEntry.js +5 -13
  104. package/ec2/managedPrefixListEntry.js.map +1 -1
  105. package/ec2/peeringConnectionOptions.d.ts +6 -18
  106. package/ec2/peeringConnectionOptions.js.map +1 -1
  107. package/ec2/securityGroup.d.ts +14 -0
  108. package/ec2/securityGroup.js +14 -0
  109. package/ec2/securityGroup.js.map +1 -1
  110. package/ec2/securityGroupRule.d.ts +6 -0
  111. package/ec2/securityGroupRule.js.map +1 -1
  112. package/ec2/spotInstanceRequest.d.ts +7 -7
  113. package/ec2/spotInstanceRequest.js +1 -1
  114. package/ec2transitgateway/connect.d.ts +3 -3
  115. package/ec2transitgateway/connectPeer.d.ts +16 -0
  116. package/ec2transitgateway/connectPeer.js +4 -0
  117. package/ec2transitgateway/connectPeer.js.map +1 -1
  118. package/ec2transitgateway/getConnectPeer.d.ts +8 -0
  119. package/ec2transitgateway/getConnectPeer.js.map +1 -1
  120. package/ec2transitgateway/getVpcAttachments.d.ts +32 -0
  121. package/ec2transitgateway/getVpcAttachments.js +32 -0
  122. package/ec2transitgateway/getVpcAttachments.js.map +1 -1
  123. package/ec2transitgateway/index.d.ts +3 -0
  124. package/ec2transitgateway/index.js +6 -1
  125. package/ec2transitgateway/index.js.map +1 -1
  126. package/ec2transitgateway/instanceConnectEndpoint.d.ts +183 -0
  127. package/ec2transitgateway/instanceConnectEndpoint.js +96 -0
  128. package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -0
  129. package/ec2transitgateway/routeTableAssociation.d.ts +12 -0
  130. package/ec2transitgateway/routeTableAssociation.js +2 -0
  131. package/ec2transitgateway/routeTableAssociation.js.map +1 -1
  132. package/ecr/getPullThroughCacheRule.d.ts +67 -0
  133. package/ecr/getPullThroughCacheRule.js +47 -0
  134. package/ecr/getPullThroughCacheRule.js.map +1 -0
  135. package/ecr/index.d.ts +3 -0
  136. package/ecr/index.js +4 -1
  137. package/ecr/index.js.map +1 -1
  138. package/eks/addon.d.ts +5 -10
  139. package/eks/addon.js +2 -7
  140. package/eks/addon.js.map +1 -1
  141. package/eks/cluster.d.ts +2 -4
  142. package/eks/cluster.js +2 -4
  143. package/eks/cluster.js.map +1 -1
  144. package/eks/getAddonVersion.d.ts +4 -8
  145. package/eks/getAddonVersion.js +4 -8
  146. package/eks/getAddonVersion.js.map +1 -1
  147. package/eks/getCluster.d.ts +6 -12
  148. package/eks/getCluster.js +6 -12
  149. package/eks/getCluster.js.map +1 -1
  150. package/eks/nodeGroup.d.ts +24 -15
  151. package/eks/nodeGroup.js.map +1 -1
  152. package/elasticache/cluster.d.ts +6 -3
  153. package/elasticache/cluster.js.map +1 -1
  154. package/elasticache/globalReplicationGroup.d.ts +6 -3
  155. package/elasticache/globalReplicationGroup.js.map +1 -1
  156. package/elasticache/replicationGroup.d.ts +6 -3
  157. package/elasticache/replicationGroup.js.map +1 -1
  158. package/elb/loadBalancer.d.ts +3 -3
  159. package/finspace/index.d.ts +12 -0
  160. package/finspace/index.js +37 -0
  161. package/finspace/index.js.map +1 -0
  162. package/finspace/kxCluster.d.ts +340 -0
  163. package/finspace/kxCluster.js +129 -0
  164. package/finspace/kxCluster.js.map +1 -0
  165. package/finspace/kxDatabase.d.ts +165 -0
  166. package/finspace/kxDatabase.js +102 -0
  167. package/finspace/kxDatabase.js.map +1 -0
  168. package/finspace/kxEnvironment.d.ts +235 -0
  169. package/finspace/kxEnvironment.js +132 -0
  170. package/finspace/kxEnvironment.js.map +1 -0
  171. package/finspace/kxUser.d.ts +160 -0
  172. package/finspace/kxUser.js +112 -0
  173. package/finspace/kxUser.js.map +1 -0
  174. package/fis/experimentTemplate.d.ts +12 -0
  175. package/fis/experimentTemplate.js +2 -0
  176. package/fis/experimentTemplate.js.map +1 -1
  177. package/fms/policy.d.ts +2 -0
  178. package/fms/policy.js +2 -0
  179. package/fms/policy.js.map +1 -1
  180. package/getArn.d.ts +2 -3
  181. package/getArn.js +1 -0
  182. package/getArn.js.map +1 -1
  183. package/getBillingServiceAccount.d.ts +67 -2
  184. package/getBillingServiceAccount.js +56 -3
  185. package/getBillingServiceAccount.js.map +1 -1
  186. package/getCallerIdentity.d.ts +37 -2
  187. package/getCallerIdentity.js +26 -3
  188. package/getCallerIdentity.js.map +1 -1
  189. package/getDefaultTags.d.ts +2 -15
  190. package/getDefaultTags.js +1 -1
  191. package/getDefaultTags.js.map +1 -1
  192. package/getIpRanges.d.ts +2 -3
  193. package/getIpRanges.js +1 -0
  194. package/getIpRanges.js.map +1 -1
  195. package/getPartition.d.ts +41 -2
  196. package/getPartition.js +30 -3
  197. package/getPartition.js.map +1 -1
  198. package/getRegion.d.ts +2 -3
  199. package/getRegion.js +1 -0
  200. package/getRegion.js.map +1 -1
  201. package/getRegions.d.ts +9 -1
  202. package/getRegions.js +1 -0
  203. package/getRegions.js.map +1 -1
  204. package/getService.d.ts +2 -3
  205. package/getService.js +1 -0
  206. package/getService.js.map +1 -1
  207. package/globalaccelerator/customRoutingAccelerator.d.ts +192 -0
  208. package/globalaccelerator/customRoutingAccelerator.js +100 -0
  209. package/globalaccelerator/customRoutingAccelerator.js.map +1 -0
  210. package/globalaccelerator/customRoutingEndpointGroup.d.ts +130 -0
  211. package/globalaccelerator/customRoutingEndpointGroup.js +93 -0
  212. package/globalaccelerator/customRoutingEndpointGroup.js.map +1 -0
  213. package/globalaccelerator/customRoutingListener.d.ts +104 -0
  214. package/globalaccelerator/customRoutingListener.js +93 -0
  215. package/globalaccelerator/customRoutingListener.js.map +1 -0
  216. package/globalaccelerator/getAccelerator.d.ts +3 -9
  217. package/globalaccelerator/getAccelerator.js +1 -1
  218. package/globalaccelerator/getAccelerator.js.map +1 -1
  219. package/globalaccelerator/getCustomRoutingAccelerator.d.ts +96 -0
  220. package/globalaccelerator/getCustomRoutingAccelerator.js +58 -0
  221. package/globalaccelerator/getCustomRoutingAccelerator.js.map +1 -0
  222. package/globalaccelerator/index.d.ts +12 -0
  223. package/globalaccelerator/index.js +19 -1
  224. package/globalaccelerator/index.js.map +1 -1
  225. package/glue/crawler.d.ts +21 -0
  226. package/glue/crawler.js +2 -0
  227. package/glue/crawler.js.map +1 -1
  228. package/glue/devEndpoint.d.ts +3 -3
  229. package/glue/workflow.d.ts +3 -3
  230. package/guardduty/getFindingIds.d.ts +66 -0
  231. package/guardduty/getFindingIds.js +49 -0
  232. package/guardduty/getFindingIds.js.map +1 -0
  233. package/guardduty/index.d.ts +3 -0
  234. package/guardduty/index.js +4 -1
  235. package/guardduty/index.js.map +1 -1
  236. package/iam/{getOpenidConnectProvider.d.ts → getOpenIdConnectProvider.d.ts} +12 -12
  237. package/iam/{getOpenidConnectProvider.js → getOpenIdConnectProvider.js} +12 -12
  238. package/iam/{getOpenidConnectProvider.js.map → getOpenIdConnectProvider.js.map} +1 -1
  239. package/iam/getPrincipalPolicySimulation.d.ts +167 -0
  240. package/iam/getPrincipalPolicySimulation.js +48 -0
  241. package/iam/getPrincipalPolicySimulation.js.map +1 -0
  242. package/iam/index.d.ts +6 -3
  243. package/iam/index.js +8 -5
  244. package/iam/index.js.map +1 -1
  245. package/iam/virtualMfaDevice.d.ts +22 -2
  246. package/iam/virtualMfaDevice.js +8 -0
  247. package/iam/virtualMfaDevice.js.map +1 -1
  248. package/index.d.ts +9 -24
  249. package/index.js +15 -30
  250. package/index.js.map +1 -1
  251. package/iot/getEndpoint.d.ts +50 -0
  252. package/iot/getEndpoint.js +50 -0
  253. package/iot/getEndpoint.js.map +1 -1
  254. package/iot/topicRule.d.ts +35 -35
  255. package/iot/topicRule.js +16 -16
  256. package/iot/topicRule.js.map +1 -1
  257. package/kendra/dataSource.d.ts +32 -9
  258. package/kendra/dataSource.js +23 -0
  259. package/kendra/dataSource.js.map +1 -1
  260. package/kendra/querySuggestionsBlockList.d.ts +24 -24
  261. package/kendra/querySuggestionsBlockList.js +2 -2
  262. package/keyspaces/table.d.ts +12 -0
  263. package/keyspaces/table.js +2 -0
  264. package/keyspaces/table.js.map +1 -1
  265. package/kinesis/firehoseDeliveryStream.d.ts +39 -0
  266. package/kinesis/firehoseDeliveryStream.js +39 -0
  267. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  268. package/lambda/eventSourceMapping.d.ts +6 -48
  269. package/lambda/eventSourceMapping.js +0 -42
  270. package/lambda/eventSourceMapping.js.map +1 -1
  271. package/lambda/function.d.ts +51 -4
  272. package/lambda/function.js +36 -1
  273. package/lambda/function.js.map +1 -1
  274. package/lambda/provisionedConcurrencyConfig.d.ts +2 -2
  275. package/lambda/provisionedConcurrencyConfig.js +2 -2
  276. package/lb/targetGroupAttachment.d.ts +17 -10
  277. package/lb/targetGroupAttachment.js +2 -1
  278. package/lb/targetGroupAttachment.js.map +1 -1
  279. package/msk/cluster.d.ts +108 -0
  280. package/msk/cluster.js +108 -0
  281. package/msk/cluster.js.map +1 -1
  282. package/opensearch/getServerlessAccessPolicy.d.ts +81 -0
  283. package/opensearch/getServerlessAccessPolicy.js +52 -0
  284. package/opensearch/getServerlessAccessPolicy.js.map +1 -0
  285. package/opensearch/getServerlessCollection.d.ts +101 -0
  286. package/opensearch/getServerlessCollection.js +51 -0
  287. package/opensearch/getServerlessCollection.js.map +1 -0
  288. package/opensearch/getServerlessSecurityConfig.d.ts +91 -0
  289. package/opensearch/getServerlessSecurityConfig.js +50 -0
  290. package/opensearch/getServerlessSecurityConfig.js.map +1 -0
  291. package/opensearch/getServerlessSecurityPolicy.d.ts +90 -0
  292. package/opensearch/getServerlessSecurityPolicy.js +50 -0
  293. package/opensearch/getServerlessSecurityPolicy.js.map +1 -0
  294. package/opensearch/getServerlessVpcEndpoint.d.ts +79 -0
  295. package/opensearch/getServerlessVpcEndpoint.js +47 -0
  296. package/opensearch/getServerlessVpcEndpoint.js.map +1 -0
  297. package/opensearch/index.d.ts +30 -0
  298. package/opensearch/index.js +41 -1
  299. package/opensearch/index.js.map +1 -1
  300. package/opensearch/serverlessAccessPolicy.d.ts +138 -0
  301. package/opensearch/serverlessAccessPolicy.js +106 -0
  302. package/opensearch/serverlessAccessPolicy.js.map +1 -0
  303. package/opensearch/serverlessCollection.d.ts +167 -0
  304. package/opensearch/serverlessCollection.js +104 -0
  305. package/opensearch/serverlessCollection.js.map +1 -0
  306. package/opensearch/serverlessSecurityConfig.d.ts +113 -0
  307. package/opensearch/serverlessSecurityConfig.js +76 -0
  308. package/opensearch/serverlessSecurityConfig.js.map +1 -0
  309. package/opensearch/serverlessSecurityPolicy.d.ts +262 -0
  310. package/opensearch/serverlessSecurityPolicy.js +230 -0
  311. package/opensearch/serverlessSecurityPolicy.js.map +1 -0
  312. package/opensearch/serverlessVpcEndpoint.d.ts +120 -0
  313. package/opensearch/serverlessVpcEndpoint.js +91 -0
  314. package/opensearch/serverlessVpcEndpoint.js.map +1 -0
  315. package/organizations/getPolicies.d.ts +45 -0
  316. package/organizations/getPolicies.js +29 -0
  317. package/organizations/getPolicies.js.map +1 -0
  318. package/organizations/getPoliciesForTarget.d.ts +54 -0
  319. package/organizations/getPoliciesForTarget.js +30 -0
  320. package/organizations/getPoliciesForTarget.js.map +1 -0
  321. package/organizations/index.d.ts +9 -0
  322. package/organizations/index.js +12 -1
  323. package/organizations/index.js.map +1 -1
  324. package/organizations/resourcePolicy.d.ts +137 -0
  325. package/organizations/resourcePolicy.js +109 -0
  326. package/organizations/resourcePolicy.js.map +1 -0
  327. package/package.json +2 -2
  328. package/package.json.dev +2 -2
  329. package/pinpoint/smsChannel.d.ts +18 -18
  330. package/pinpoint/smsChannel.js +2 -2
  331. package/pipes/pipe.d.ts +52 -19
  332. package/pipes/pipe.js +25 -8
  333. package/pipes/pipe.js.map +1 -1
  334. package/provider.d.ts +10 -0
  335. package/provider.js +2 -1
  336. package/provider.js.map +1 -1
  337. package/quicksight/dataSet.d.ts +2 -2
  338. package/quicksight/dataSet.js +0 -3
  339. package/quicksight/dataSet.js.map +1 -1
  340. package/quicksight/getTheme.d.ts +133 -0
  341. package/quicksight/getTheme.js +51 -0
  342. package/quicksight/getTheme.js.map +1 -0
  343. package/quicksight/index.d.ts +6 -0
  344. package/quicksight/index.js +9 -1
  345. package/quicksight/index.js.map +1 -1
  346. package/quicksight/refreshSchedule.d.ts +44 -0
  347. package/quicksight/refreshSchedule.js +44 -0
  348. package/quicksight/refreshSchedule.js.map +1 -1
  349. package/quicksight/theme.d.ts +211 -0
  350. package/quicksight/theme.js +97 -0
  351. package/quicksight/theme.js.map +1 -0
  352. package/rds/eventSubscription.d.ts +3 -3
  353. package/rds/getInstance.d.ts +1 -1
  354. package/rds/instance.d.ts +0 -9
  355. package/rds/instance.js.map +1 -1
  356. package/rds/proxy.d.ts +3 -3
  357. package/redshift/cluster.d.ts +8 -0
  358. package/redshift/cluster.js +2 -0
  359. package/redshift/cluster.js.map +1 -1
  360. package/redshift/getCluster.d.ts +5 -1
  361. package/redshift/getCluster.js.map +1 -1
  362. package/s3/bucketNotification.d.ts +15 -3
  363. package/s3/bucketNotification.js +12 -0
  364. package/s3/bucketNotification.js.map +1 -1
  365. package/securityhub/standardsControl.d.ts +3 -3
  366. package/servicecatalog/getProduct.d.ts +13 -13
  367. package/servicecatalog/getProduct.js +4 -4
  368. package/ses/activeReceiptRuleSet.d.ts +8 -0
  369. package/ses/activeReceiptRuleSet.js +8 -0
  370. package/ses/activeReceiptRuleSet.js.map +1 -1
  371. package/ses/index.d.ts +0 -3
  372. package/ses/index.js +1 -6
  373. package/ses/index.js.map +1 -1
  374. package/sesv2/emailIdentity.d.ts +15 -3
  375. package/sesv2/emailIdentity.js.map +1 -1
  376. package/sesv2/getEmailIdentity.d.ts +97 -0
  377. package/sesv2/getEmailIdentity.js +50 -0
  378. package/sesv2/getEmailIdentity.js.map +1 -0
  379. package/sesv2/getEmailIdentityMailFromAttributes.d.ts +75 -0
  380. package/sesv2/getEmailIdentityMailFromAttributes.js +55 -0
  381. package/sesv2/getEmailIdentityMailFromAttributes.js.map +1 -0
  382. package/sesv2/index.d.ts +6 -0
  383. package/sesv2/index.js +7 -1
  384. package/sesv2/index.js.map +1 -1
  385. package/sfn/alias.d.ts +136 -0
  386. package/sfn/alias.js +103 -0
  387. package/sfn/alias.js.map +1 -0
  388. package/sfn/getAlias.d.ts +97 -0
  389. package/sfn/getAlias.js +53 -0
  390. package/sfn/getAlias.js.map +1 -0
  391. package/sfn/getStateMachine.d.ts +5 -0
  392. package/sfn/getStateMachine.js.map +1 -1
  393. package/sfn/getStateMachineVersions.d.ts +65 -0
  394. package/sfn/getStateMachineVersions.js +49 -0
  395. package/sfn/getStateMachineVersions.js.map +1 -0
  396. package/sfn/index.d.ts +9 -0
  397. package/sfn/index.js +12 -1
  398. package/sfn/index.js.map +1 -1
  399. package/sfn/stateMachine.d.ts +45 -0
  400. package/sfn/stateMachine.js +35 -0
  401. package/sfn/stateMachine.js.map +1 -1
  402. package/ssm/getParameter.d.ts +1 -0
  403. package/ssm/getParameter.js.map +1 -1
  404. package/ssm/patchBaseline.d.ts +6 -0
  405. package/ssm/patchBaseline.js.map +1 -1
  406. package/timestreamwrite/table.d.ts +30 -0
  407. package/timestreamwrite/table.js +20 -0
  408. package/timestreamwrite/table.js.map +1 -1
  409. package/transfer/agreement.d.ts +170 -0
  410. package/transfer/agreement.js +110 -0
  411. package/transfer/agreement.js.map +1 -0
  412. package/transfer/certificate.d.ts +172 -0
  413. package/transfer/certificate.js +103 -0
  414. package/transfer/certificate.js.map +1 -0
  415. package/transfer/connector.d.ts +152 -0
  416. package/transfer/connector.js +104 -0
  417. package/transfer/connector.js.map +1 -0
  418. package/transfer/index.d.ts +12 -0
  419. package/transfer/index.js +21 -1
  420. package/transfer/index.js.map +1 -1
  421. package/transfer/profile.d.ts +117 -0
  422. package/transfer/profile.js +78 -0
  423. package/transfer/profile.js.map +1 -0
  424. package/types/input.d.ts +11137 -100596
  425. package/types/output.d.ts +32173 -121499
  426. package/utils.d.ts +0 -1
  427. package/utils.js +0 -6
  428. package/utils.js.map +1 -1
  429. package/vpc/securityGroupEgressRule.d.ts +3 -3
  430. package/vpc/securityGroupEgressRule.js +4 -1
  431. package/vpc/securityGroupEgressRule.js.map +1 -1
  432. package/vpc/securityGroupIngressRule.d.ts +3 -3
  433. package/vpc/securityGroupIngressRule.js +4 -1
  434. package/vpc/securityGroupIngressRule.js.map +1 -1
  435. package/wafv2/getIpSet.d.ts +1 -1
  436. package/wafv2/ipSet.d.ts +3 -3
  437. package/wafv2/regexPatternSet.d.ts +3 -3
  438. package/wafv2/ruleGroup.d.ts +0 -49
  439. package/wafv2/ruleGroup.js +0 -49
  440. package/wafv2/ruleGroup.js.map +1 -1
  441. package/wafv2/webAcl.d.ts +6 -246
  442. package/wafv2/webAcl.js +0 -240
  443. package/wafv2/webAcl.js.map +1 -1
  444. package/wafv2/webAclLoggingConfiguration.d.ts +17 -17
  445. package/wafv2/webAclLoggingConfiguration.js +5 -5
  446. package/applicationloadbalancing/getListener.d.ts +0 -120
  447. package/applicationloadbalancing/getListener.js +0 -80
  448. package/applicationloadbalancing/getListener.js.map +0 -1
  449. package/applicationloadbalancing/getLoadBalancer.d.ts +0 -133
  450. package/applicationloadbalancing/getLoadBalancer.js +0 -73
  451. package/applicationloadbalancing/getLoadBalancer.js.map +0 -1
  452. package/applicationloadbalancing/getTargetGroup.d.ts +0 -126
  453. package/applicationloadbalancing/getTargetGroup.js +0 -73
  454. package/applicationloadbalancing/getTargetGroup.js.map +0 -1
  455. package/applicationloadbalancing/listener.d.ts +0 -377
  456. package/applicationloadbalancing/listener.js +0 -276
  457. package/applicationloadbalancing/listener.js.map +0 -1
  458. package/applicationloadbalancing/listenerCertificate.d.ts +0 -96
  459. package/applicationloadbalancing/listenerCertificate.js +0 -95
  460. package/applicationloadbalancing/listenerCertificate.js.map +0 -1
  461. package/applicationloadbalancing/listenerRule.d.ts +0 -301
  462. package/applicationloadbalancing/listenerRule.js +0 -249
  463. package/applicationloadbalancing/listenerRule.js.map +0 -1
  464. package/applicationloadbalancing/loadBalancer.d.ts +0 -463
  465. package/applicationloadbalancing/loadBalancer.js +0 -201
  466. package/applicationloadbalancing/loadBalancer.js.map +0 -1
  467. package/applicationloadbalancing/targetGroup.d.ts +0 -402
  468. package/applicationloadbalancing/targetGroup.js +0 -161
  469. package/applicationloadbalancing/targetGroup.js.map +0 -1
  470. package/applicationloadbalancing/targetGroupAttachment.d.ts +0 -135
  471. package/applicationloadbalancing/targetGroupAttachment.js +0 -114
  472. package/applicationloadbalancing/targetGroupAttachment.js.map +0 -1
  473. package/awsMixins.d.ts +0 -21
  474. package/awsMixins.js +0 -40
  475. package/awsMixins.js.map +0 -1
  476. package/cloudtrail/getFunction.d.ts +0 -102
  477. package/cloudtrail/getFunction.js +0 -55
  478. package/cloudtrail/getFunction.js.map +0 -1
  479. package/ec2/transitGatewayPeeringAttachmentAccepter.d.ts +0 -132
  480. package/ec2/transitGatewayPeeringAttachmentAccepter.js +0 -94
  481. package/ec2/transitGatewayPeeringAttachmentAccepter.js.map +0 -1
  482. package/elasticloadbalancing/appCookieStickinessPolicy.d.ts +0 -129
  483. package/elasticloadbalancing/appCookieStickinessPolicy.js +0 -102
  484. package/elasticloadbalancing/appCookieStickinessPolicy.js.map +0 -1
  485. package/elasticloadbalancing/attachment.d.ts +0 -86
  486. package/elasticloadbalancing/attachment.js +0 -85
  487. package/elasticloadbalancing/attachment.js.map +0 -1
  488. package/elasticloadbalancing/getHostedZoneId.d.ts +0 -81
  489. package/elasticloadbalancing/getHostedZoneId.js +0 -69
  490. package/elasticloadbalancing/getHostedZoneId.js.map +0 -1
  491. package/elasticloadbalancing/getLoadBalancer.d.ts +0 -105
  492. package/elasticloadbalancing/getLoadBalancer.js +0 -67
  493. package/elasticloadbalancing/getLoadBalancer.js.map +0 -1
  494. package/elasticloadbalancing/getServiceAccount.d.ts +0 -135
  495. package/elasticloadbalancing/getServiceAccount.js +0 -119
  496. package/elasticloadbalancing/getServiceAccount.js.map +0 -1
  497. package/elasticloadbalancing/index.d.ts +0 -33
  498. package/elasticloadbalancing/index.js +0 -66
  499. package/elasticloadbalancing/index.js.map +0 -1
  500. package/elasticloadbalancing/listenerPolicy.d.ts +0 -176
  501. package/elasticloadbalancing/listenerPolicy.js +0 -149
  502. package/elasticloadbalancing/listenerPolicy.js.map +0 -1
  503. package/elasticloadbalancing/loadBalancer.d.ts +0 -398
  504. package/elasticloadbalancing/loadBalancer.js +0 -177
  505. package/elasticloadbalancing/loadBalancer.js.map +0 -1
  506. package/elasticloadbalancing/loadBalancerBackendServerPolicy.d.ts +0 -123
  507. package/elasticloadbalancing/loadBalancerBackendServerPolicy.js +0 -112
  508. package/elasticloadbalancing/loadBalancerBackendServerPolicy.js.map +0 -1
  509. package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.d.ts +0 -124
  510. package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.js +0 -91
  511. package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.js.map +0 -1
  512. package/elasticloadbalancing/loadBalancerPolicy.d.ts +0 -166
  513. package/elasticloadbalancing/loadBalancerPolicy.js +0 -146
  514. package/elasticloadbalancing/loadBalancerPolicy.js.map +0 -1
  515. package/elasticloadbalancing/sslNegotiationPolicy.d.ts +0 -183
  516. package/elasticloadbalancing/sslNegotiationPolicy.js +0 -123
  517. package/elasticloadbalancing/sslNegotiationPolicy.js.map +0 -1
  518. package/elasticloadbalancingv2/getListener.d.ts +0 -120
  519. package/elasticloadbalancingv2/getListener.js +0 -80
  520. package/elasticloadbalancingv2/getListener.js.map +0 -1
  521. package/elasticloadbalancingv2/getLoadBalancer.d.ts +0 -133
  522. package/elasticloadbalancingv2/getLoadBalancer.js +0 -73
  523. package/elasticloadbalancingv2/getLoadBalancer.js.map +0 -1
  524. package/elasticloadbalancingv2/getTargetGroup.d.ts +0 -126
  525. package/elasticloadbalancingv2/getTargetGroup.js +0 -73
  526. package/elasticloadbalancingv2/getTargetGroup.js.map +0 -1
  527. package/elasticloadbalancingv2/index.d.ts +0 -27
  528. package/elasticloadbalancingv2/index.js +0 -56
  529. package/elasticloadbalancingv2/index.js.map +0 -1
  530. package/elasticloadbalancingv2/listener.d.ts +0 -377
  531. package/elasticloadbalancingv2/listener.js +0 -276
  532. package/elasticloadbalancingv2/listener.js.map +0 -1
  533. package/elasticloadbalancingv2/listenerCertificate.d.ts +0 -96
  534. package/elasticloadbalancingv2/listenerCertificate.js +0 -95
  535. package/elasticloadbalancingv2/listenerCertificate.js.map +0 -1
  536. package/elasticloadbalancingv2/listenerRule.d.ts +0 -301
  537. package/elasticloadbalancingv2/listenerRule.js +0 -249
  538. package/elasticloadbalancingv2/listenerRule.js.map +0 -1
  539. package/elasticloadbalancingv2/loadBalancer.d.ts +0 -462
  540. package/elasticloadbalancingv2/loadBalancer.js +0 -201
  541. package/elasticloadbalancingv2/loadBalancer.js.map +0 -1
  542. package/elasticloadbalancingv2/targetGroup.d.ts +0 -402
  543. package/elasticloadbalancingv2/targetGroup.js +0 -161
  544. package/elasticloadbalancingv2/targetGroup.js.map +0 -1
  545. package/elasticloadbalancingv2/targetGroupAttachment.d.ts +0 -135
  546. package/elasticloadbalancingv2/targetGroupAttachment.js +0 -114
  547. package/elasticloadbalancingv2/targetGroupAttachment.js.map +0 -1
  548. package/getAmi.d.ts +0 -331
  549. package/getAmi.js +0 -93
  550. package/getAmi.js.map +0 -1
  551. package/getAmiIds.d.ts +0 -135
  552. package/getAmiIds.js +0 -63
  553. package/getAmiIds.js.map +0 -1
  554. package/getAutoscalingGroups.d.ts +0 -119
  555. package/getAutoscalingGroups.js +0 -92
  556. package/getAutoscalingGroups.js.map +0 -1
  557. package/getCanonicalUserId.d.ts +0 -32
  558. package/getCanonicalUserId.js +0 -31
  559. package/getCanonicalUserId.js.map +0 -1
  560. package/getElasticIp.d.ts +0 -221
  561. package/getElasticIp.js +0 -126
  562. package/getElasticIp.js.map +0 -1
  563. package/getPrefixList.d.ts +0 -160
  564. package/getPrefixList.js +0 -125
  565. package/getPrefixList.js.map +0 -1
  566. package/ses/confgurationSet.d.ts +0 -153
  567. package/ses/confgurationSet.js +0 -96
  568. package/ses/confgurationSet.js.map +0 -1
@@ -0,0 +1,262 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource for managing an AWS OpenSearch Serverless Security Policy. See AWS documentation for [encryption policies](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html#serverless-encryption-policies) and [network policies](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html#serverless-network-policies).
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ### Encryption Security Policy
8
+ * ### Applies to a single collection
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as aws from "@pulumi/aws";
13
+ *
14
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
15
+ * name: "example",
16
+ * type: "encryption",
17
+ * description: "encryption security policy for example-collection",
18
+ * policy: JSON.stringify({
19
+ * Rules: [{
20
+ * Resource: ["collection/example-collection"],
21
+ * ResourceType: "collection",
22
+ * }],
23
+ * AWSOwnedKey: true,
24
+ * }),
25
+ * });
26
+ * ```
27
+ * ### Applies to multiple collections
28
+ *
29
+ * ```typescript
30
+ * import * as pulumi from "@pulumi/pulumi";
31
+ * import * as aws from "@pulumi/aws";
32
+ *
33
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
34
+ * name: "example",
35
+ * type: "encryption",
36
+ * description: "encryption security policy for collections that begin with \"example\"",
37
+ * policy: JSON.stringify({
38
+ * Rules: [{
39
+ * Resource: ["collection/example*"],
40
+ * ResourceType: "collection",
41
+ * }],
42
+ * AWSOwnedKey: true,
43
+ * }),
44
+ * });
45
+ * ```
46
+ * ### Using a customer managed key
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as aws from "@pulumi/aws";
51
+ *
52
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
53
+ * name: "example",
54
+ * type: "encryption",
55
+ * description: "encryption security policy using customer KMS key",
56
+ * policy: JSON.stringify({
57
+ * Rules: [{
58
+ * Resource: ["collection/customer-managed-key-collection"],
59
+ * ResourceType: "collection",
60
+ * }],
61
+ * AWSOwnedKey: false,
62
+ * KmsARN: "arn:aws:kms:us-east-1:123456789012:key/93fd6da4-a317-4c17-bfe9-382b5d988b36",
63
+ * }),
64
+ * });
65
+ * ```
66
+ * ### Network Security Policy
67
+ * ### Allow public access to the collection endpoint and the Dashboards endpoint
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as aws from "@pulumi/aws";
72
+ *
73
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
74
+ * name: "example",
75
+ * type: "network",
76
+ * description: "Public access",
77
+ * policy: JSON.stringify([{
78
+ * Description: "Public access to collection and Dashboards endpoint for example collection",
79
+ * Rules: [
80
+ * {
81
+ * ResourceType: "collection",
82
+ * Resource: ["collection/example-collection"],
83
+ * },
84
+ * {
85
+ * ResourceType: "dashboard",
86
+ * Resource: ["collection/example-collection"],
87
+ * },
88
+ * ],
89
+ * AllowFromPublic: true,
90
+ * }]),
91
+ * });
92
+ * ```
93
+ * ### Allow VPC access to the collection endpoint and the Dashboards endpoint
94
+ *
95
+ * ```typescript
96
+ * import * as pulumi from "@pulumi/pulumi";
97
+ * import * as aws from "@pulumi/aws";
98
+ *
99
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
100
+ * name: "example",
101
+ * type: "network",
102
+ * description: "VPC access",
103
+ * policy: JSON.stringify([{
104
+ * Description: "VPC access to collection and Dashboards endpoint for example collection",
105
+ * Rules: [
106
+ * {
107
+ * ResourceType: "collection",
108
+ * Resource: ["collection/example-collection"],
109
+ * },
110
+ * {
111
+ * ResourceType: "dashboard",
112
+ * Resource: ["collection/example-collection"],
113
+ * },
114
+ * ],
115
+ * AllowFromPublic: false,
116
+ * SourceVPCEs: ["vpce-050f79086ee71ac05"],
117
+ * }]),
118
+ * });
119
+ * ```
120
+ * ### Mixed access for different collections
121
+ *
122
+ * ```typescript
123
+ * import * as pulumi from "@pulumi/pulumi";
124
+ * import * as aws from "@pulumi/aws";
125
+ *
126
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
127
+ * name: "example",
128
+ * type: "network",
129
+ * description: "Mixed access for marketing and sales",
130
+ * policy: JSON.stringify([
131
+ * {
132
+ * Description: "Marketing access",
133
+ * Rules: [
134
+ * {
135
+ * ResourceType: "collection",
136
+ * Resource: ["collection/marketing*"],
137
+ * },
138
+ * {
139
+ * ResourceType: "dashboard",
140
+ * Resource: ["collection/marketing*"],
141
+ * },
142
+ * ],
143
+ * AllowFromPublic: false,
144
+ * SourceVPCEs: ["vpce-050f79086ee71ac05"],
145
+ * },
146
+ * {
147
+ * Description: "Sales access",
148
+ * Rules: [{
149
+ * ResourceType: "collection",
150
+ * Resource: ["collection/finance"],
151
+ * }],
152
+ * AllowFromPublic: true,
153
+ * },
154
+ * ]),
155
+ * });
156
+ * ```
157
+ *
158
+ * ## Import
159
+ *
160
+ * OpenSearchServerless Security Policy can be imported using the `name` and `type` arguments separated by a slash (`/`), e.g.,
161
+ *
162
+ * ```sh
163
+ * $ pulumi import aws:opensearch/serverlessSecurityPolicy:ServerlessSecurityPolicy example example/encryption
164
+ * ```
165
+ */
166
+ export declare class ServerlessSecurityPolicy extends pulumi.CustomResource {
167
+ /**
168
+ * Get an existing ServerlessSecurityPolicy resource's state with the given name, ID, and optional extra
169
+ * properties used to qualify the lookup.
170
+ *
171
+ * @param name The _unique_ name of the resulting resource.
172
+ * @param id The _unique_ provider ID of the resource to lookup.
173
+ * @param state Any extra arguments used during the lookup.
174
+ * @param opts Optional settings to control the behavior of the CustomResource.
175
+ */
176
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServerlessSecurityPolicyState, opts?: pulumi.CustomResourceOptions): ServerlessSecurityPolicy;
177
+ /**
178
+ * Returns true if the given object is an instance of ServerlessSecurityPolicy. This is designed to work even
179
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
180
+ */
181
+ static isInstance(obj: any): obj is ServerlessSecurityPolicy;
182
+ /**
183
+ * Description of the policy. Typically used to store information about the permissions defined in the policy.
184
+ */
185
+ readonly description: pulumi.Output<string | undefined>;
186
+ /**
187
+ * Name of the policy.
188
+ */
189
+ readonly name: pulumi.Output<string>;
190
+ /**
191
+ * JSON policy document to use as the content for the new policy
192
+ */
193
+ readonly policy: pulumi.Output<string>;
194
+ /**
195
+ * Version of the policy.
196
+ */
197
+ readonly policyVersion: pulumi.Output<string>;
198
+ /**
199
+ * Type of security policy. One of `encryption` or `network`.
200
+ *
201
+ * The following arguments are optional:
202
+ */
203
+ readonly type: pulumi.Output<string>;
204
+ /**
205
+ * Create a ServerlessSecurityPolicy resource with the given unique name, arguments, and options.
206
+ *
207
+ * @param name The _unique_ name of the resource.
208
+ * @param args The arguments to use to populate this resource's properties.
209
+ * @param opts A bag of options that control this resource's behavior.
210
+ */
211
+ constructor(name: string, args: ServerlessSecurityPolicyArgs, opts?: pulumi.CustomResourceOptions);
212
+ }
213
+ /**
214
+ * Input properties used for looking up and filtering ServerlessSecurityPolicy resources.
215
+ */
216
+ export interface ServerlessSecurityPolicyState {
217
+ /**
218
+ * Description of the policy. Typically used to store information about the permissions defined in the policy.
219
+ */
220
+ description?: pulumi.Input<string>;
221
+ /**
222
+ * Name of the policy.
223
+ */
224
+ name?: pulumi.Input<string>;
225
+ /**
226
+ * JSON policy document to use as the content for the new policy
227
+ */
228
+ policy?: pulumi.Input<string>;
229
+ /**
230
+ * Version of the policy.
231
+ */
232
+ policyVersion?: pulumi.Input<string>;
233
+ /**
234
+ * Type of security policy. One of `encryption` or `network`.
235
+ *
236
+ * The following arguments are optional:
237
+ */
238
+ type?: pulumi.Input<string>;
239
+ }
240
+ /**
241
+ * The set of arguments for constructing a ServerlessSecurityPolicy resource.
242
+ */
243
+ export interface ServerlessSecurityPolicyArgs {
244
+ /**
245
+ * Description of the policy. Typically used to store information about the permissions defined in the policy.
246
+ */
247
+ description?: pulumi.Input<string>;
248
+ /**
249
+ * Name of the policy.
250
+ */
251
+ name: pulumi.Input<string>;
252
+ /**
253
+ * JSON policy document to use as the content for the new policy
254
+ */
255
+ policy: pulumi.Input<string>;
256
+ /**
257
+ * Type of security policy. One of `encryption` or `network`.
258
+ *
259
+ * The following arguments are optional:
260
+ */
261
+ type: pulumi.Input<string>;
262
+ }
@@ -0,0 +1,230 @@
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.ServerlessSecurityPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing an AWS OpenSearch Serverless Security Policy. See AWS documentation for [encryption policies](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-encryption.html#serverless-encryption-policies) and [network policies](https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-network.html#serverless-network-policies).
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Encryption Security Policy
14
+ * ### Applies to a single collection
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as aws from "@pulumi/aws";
19
+ *
20
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
21
+ * name: "example",
22
+ * type: "encryption",
23
+ * description: "encryption security policy for example-collection",
24
+ * policy: JSON.stringify({
25
+ * Rules: [{
26
+ * Resource: ["collection/example-collection"],
27
+ * ResourceType: "collection",
28
+ * }],
29
+ * AWSOwnedKey: true,
30
+ * }),
31
+ * });
32
+ * ```
33
+ * ### Applies to multiple collections
34
+ *
35
+ * ```typescript
36
+ * import * as pulumi from "@pulumi/pulumi";
37
+ * import * as aws from "@pulumi/aws";
38
+ *
39
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
40
+ * name: "example",
41
+ * type: "encryption",
42
+ * description: "encryption security policy for collections that begin with \"example\"",
43
+ * policy: JSON.stringify({
44
+ * Rules: [{
45
+ * Resource: ["collection/example*"],
46
+ * ResourceType: "collection",
47
+ * }],
48
+ * AWSOwnedKey: true,
49
+ * }),
50
+ * });
51
+ * ```
52
+ * ### Using a customer managed key
53
+ *
54
+ * ```typescript
55
+ * import * as pulumi from "@pulumi/pulumi";
56
+ * import * as aws from "@pulumi/aws";
57
+ *
58
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
59
+ * name: "example",
60
+ * type: "encryption",
61
+ * description: "encryption security policy using customer KMS key",
62
+ * policy: JSON.stringify({
63
+ * Rules: [{
64
+ * Resource: ["collection/customer-managed-key-collection"],
65
+ * ResourceType: "collection",
66
+ * }],
67
+ * AWSOwnedKey: false,
68
+ * KmsARN: "arn:aws:kms:us-east-1:123456789012:key/93fd6da4-a317-4c17-bfe9-382b5d988b36",
69
+ * }),
70
+ * });
71
+ * ```
72
+ * ### Network Security Policy
73
+ * ### Allow public access to the collection endpoint and the Dashboards endpoint
74
+ *
75
+ * ```typescript
76
+ * import * as pulumi from "@pulumi/pulumi";
77
+ * import * as aws from "@pulumi/aws";
78
+ *
79
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
80
+ * name: "example",
81
+ * type: "network",
82
+ * description: "Public access",
83
+ * policy: JSON.stringify([{
84
+ * Description: "Public access to collection and Dashboards endpoint for example collection",
85
+ * Rules: [
86
+ * {
87
+ * ResourceType: "collection",
88
+ * Resource: ["collection/example-collection"],
89
+ * },
90
+ * {
91
+ * ResourceType: "dashboard",
92
+ * Resource: ["collection/example-collection"],
93
+ * },
94
+ * ],
95
+ * AllowFromPublic: true,
96
+ * }]),
97
+ * });
98
+ * ```
99
+ * ### Allow VPC access to the collection endpoint and the Dashboards endpoint
100
+ *
101
+ * ```typescript
102
+ * import * as pulumi from "@pulumi/pulumi";
103
+ * import * as aws from "@pulumi/aws";
104
+ *
105
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
106
+ * name: "example",
107
+ * type: "network",
108
+ * description: "VPC access",
109
+ * policy: JSON.stringify([{
110
+ * Description: "VPC access to collection and Dashboards endpoint for example collection",
111
+ * Rules: [
112
+ * {
113
+ * ResourceType: "collection",
114
+ * Resource: ["collection/example-collection"],
115
+ * },
116
+ * {
117
+ * ResourceType: "dashboard",
118
+ * Resource: ["collection/example-collection"],
119
+ * },
120
+ * ],
121
+ * AllowFromPublic: false,
122
+ * SourceVPCEs: ["vpce-050f79086ee71ac05"],
123
+ * }]),
124
+ * });
125
+ * ```
126
+ * ### Mixed access for different collections
127
+ *
128
+ * ```typescript
129
+ * import * as pulumi from "@pulumi/pulumi";
130
+ * import * as aws from "@pulumi/aws";
131
+ *
132
+ * const example = new aws.opensearch.ServerlessSecurityPolicy("example", {
133
+ * name: "example",
134
+ * type: "network",
135
+ * description: "Mixed access for marketing and sales",
136
+ * policy: JSON.stringify([
137
+ * {
138
+ * Description: "Marketing access",
139
+ * Rules: [
140
+ * {
141
+ * ResourceType: "collection",
142
+ * Resource: ["collection/marketing*"],
143
+ * },
144
+ * {
145
+ * ResourceType: "dashboard",
146
+ * Resource: ["collection/marketing*"],
147
+ * },
148
+ * ],
149
+ * AllowFromPublic: false,
150
+ * SourceVPCEs: ["vpce-050f79086ee71ac05"],
151
+ * },
152
+ * {
153
+ * Description: "Sales access",
154
+ * Rules: [{
155
+ * ResourceType: "collection",
156
+ * Resource: ["collection/finance"],
157
+ * }],
158
+ * AllowFromPublic: true,
159
+ * },
160
+ * ]),
161
+ * });
162
+ * ```
163
+ *
164
+ * ## Import
165
+ *
166
+ * OpenSearchServerless Security Policy can be imported using the `name` and `type` arguments separated by a slash (`/`), e.g.,
167
+ *
168
+ * ```sh
169
+ * $ pulumi import aws:opensearch/serverlessSecurityPolicy:ServerlessSecurityPolicy example example/encryption
170
+ * ```
171
+ */
172
+ class ServerlessSecurityPolicy extends pulumi.CustomResource {
173
+ /**
174
+ * Get an existing ServerlessSecurityPolicy resource's state with the given name, ID, and optional extra
175
+ * properties used to qualify the lookup.
176
+ *
177
+ * @param name The _unique_ name of the resulting resource.
178
+ * @param id The _unique_ provider ID of the resource to lookup.
179
+ * @param state Any extra arguments used during the lookup.
180
+ * @param opts Optional settings to control the behavior of the CustomResource.
181
+ */
182
+ static get(name, id, state, opts) {
183
+ return new ServerlessSecurityPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
184
+ }
185
+ /**
186
+ * Returns true if the given object is an instance of ServerlessSecurityPolicy. This is designed to work even
187
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
188
+ */
189
+ static isInstance(obj) {
190
+ if (obj === undefined || obj === null) {
191
+ return false;
192
+ }
193
+ return obj['__pulumiType'] === ServerlessSecurityPolicy.__pulumiType;
194
+ }
195
+ constructor(name, argsOrState, opts) {
196
+ let resourceInputs = {};
197
+ opts = opts || {};
198
+ if (opts.id) {
199
+ const state = argsOrState;
200
+ resourceInputs["description"] = state ? state.description : undefined;
201
+ resourceInputs["name"] = state ? state.name : undefined;
202
+ resourceInputs["policy"] = state ? state.policy : undefined;
203
+ resourceInputs["policyVersion"] = state ? state.policyVersion : undefined;
204
+ resourceInputs["type"] = state ? state.type : undefined;
205
+ }
206
+ else {
207
+ const args = argsOrState;
208
+ if ((!args || args.name === undefined) && !opts.urn) {
209
+ throw new Error("Missing required property 'name'");
210
+ }
211
+ if ((!args || args.policy === undefined) && !opts.urn) {
212
+ throw new Error("Missing required property 'policy'");
213
+ }
214
+ if ((!args || args.type === undefined) && !opts.urn) {
215
+ throw new Error("Missing required property 'type'");
216
+ }
217
+ resourceInputs["description"] = args ? args.description : undefined;
218
+ resourceInputs["name"] = args ? args.name : undefined;
219
+ resourceInputs["policy"] = args ? args.policy : undefined;
220
+ resourceInputs["type"] = args ? args.type : undefined;
221
+ resourceInputs["policyVersion"] = undefined /*out*/;
222
+ }
223
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
224
+ super(ServerlessSecurityPolicy.__pulumiType, name, resourceInputs, opts);
225
+ }
226
+ }
227
+ exports.ServerlessSecurityPolicy = ServerlessSecurityPolicy;
228
+ /** @internal */
229
+ ServerlessSecurityPolicy.__pulumiType = 'aws:opensearch/serverlessSecurityPolicy:ServerlessSecurityPolicy';
230
+ //# sourceMappingURL=serverlessSecurityPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverlessSecurityPolicy.js","sourceRoot":"","sources":["../../opensearch/serverlessSecurityPolicy.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,120 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Resource for managing an AWS OpenSearchServerless VPC Endpoint.
6
+ *
7
+ * ## Example Usage
8
+ * ### Basic Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as aws from "@pulumi/aws";
13
+ *
14
+ * const example = new aws.opensearch.ServerlessVpcEndpoint("example", {
15
+ * name: "myendpoint",
16
+ * subnetIds: [aws_subnet.example.id],
17
+ * vpcId: aws_vpc.example.id,
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * OpenSearchServerless Vpc Endpointa can be imported using the `id`, e.g.,
24
+ *
25
+ * ```sh
26
+ * $ pulumi import aws:opensearch/serverlessVpcEndpoint:ServerlessVpcEndpoint example vpce-8012925589
27
+ * ```
28
+ */
29
+ export declare class ServerlessVpcEndpoint extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing ServerlessVpcEndpoint resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServerlessVpcEndpointState, opts?: pulumi.CustomResourceOptions): ServerlessVpcEndpoint;
40
+ /**
41
+ * Returns true if the given object is an instance of ServerlessVpcEndpoint. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is ServerlessVpcEndpoint;
45
+ /**
46
+ * Name of the interface endpoint.
47
+ */
48
+ readonly name: pulumi.Output<string>;
49
+ /**
50
+ * One or more security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. Up to 5 security groups can be provided.
51
+ */
52
+ readonly securityGroupIds: pulumi.Output<string[]>;
53
+ /**
54
+ * One or more subnet IDs from which you'll access OpenSearch Serverless. Up to 6 subnets can be provided.
55
+ */
56
+ readonly subnetIds: pulumi.Output<string[]>;
57
+ readonly timeouts: pulumi.Output<outputs.opensearch.ServerlessVpcEndpointTimeouts | undefined>;
58
+ /**
59
+ * ID of the VPC from which you'll access OpenSearch Serverless.
60
+ *
61
+ * The following arguments are optional:
62
+ */
63
+ readonly vpcId: pulumi.Output<string>;
64
+ /**
65
+ * Create a ServerlessVpcEndpoint resource with the given unique name, arguments, and options.
66
+ *
67
+ * @param name The _unique_ name of the resource.
68
+ * @param args The arguments to use to populate this resource's properties.
69
+ * @param opts A bag of options that control this resource's behavior.
70
+ */
71
+ constructor(name: string, args: ServerlessVpcEndpointArgs, opts?: pulumi.CustomResourceOptions);
72
+ }
73
+ /**
74
+ * Input properties used for looking up and filtering ServerlessVpcEndpoint resources.
75
+ */
76
+ export interface ServerlessVpcEndpointState {
77
+ /**
78
+ * Name of the interface endpoint.
79
+ */
80
+ name?: pulumi.Input<string>;
81
+ /**
82
+ * One or more security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. Up to 5 security groups can be provided.
83
+ */
84
+ securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
85
+ /**
86
+ * One or more subnet IDs from which you'll access OpenSearch Serverless. Up to 6 subnets can be provided.
87
+ */
88
+ subnetIds?: pulumi.Input<pulumi.Input<string>[]>;
89
+ timeouts?: pulumi.Input<inputs.opensearch.ServerlessVpcEndpointTimeouts>;
90
+ /**
91
+ * ID of the VPC from which you'll access OpenSearch Serverless.
92
+ *
93
+ * The following arguments are optional:
94
+ */
95
+ vpcId?: pulumi.Input<string>;
96
+ }
97
+ /**
98
+ * The set of arguments for constructing a ServerlessVpcEndpoint resource.
99
+ */
100
+ export interface ServerlessVpcEndpointArgs {
101
+ /**
102
+ * Name of the interface endpoint.
103
+ */
104
+ name: pulumi.Input<string>;
105
+ /**
106
+ * One or more security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint. Up to 5 security groups can be provided.
107
+ */
108
+ securityGroupIds?: pulumi.Input<pulumi.Input<string>[]>;
109
+ /**
110
+ * One or more subnet IDs from which you'll access OpenSearch Serverless. Up to 6 subnets can be provided.
111
+ */
112
+ subnetIds: pulumi.Input<pulumi.Input<string>[]>;
113
+ timeouts?: pulumi.Input<inputs.opensearch.ServerlessVpcEndpointTimeouts>;
114
+ /**
115
+ * ID of the VPC from which you'll access OpenSearch Serverless.
116
+ *
117
+ * The following arguments are optional:
118
+ */
119
+ vpcId: pulumi.Input<string>;
120
+ }