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

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 (401) 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/targetGroupAttachment.d.ts +17 -10
  9. package/applicationloadbalancing/targetGroupAttachment.js +2 -1
  10. package/applicationloadbalancing/targetGroupAttachment.js.map +1 -1
  11. package/appsync/graphQLApi.d.ts +0 -134
  12. package/appsync/graphQLApi.js +0 -134
  13. package/appsync/graphQLApi.js.map +1 -1
  14. package/backup/regionSettings.d.ts +3 -3
  15. package/batch/computeEnvironment.d.ts +2 -0
  16. package/batch/computeEnvironment.js +2 -0
  17. package/batch/computeEnvironment.js.map +1 -1
  18. package/budgets/getBudget.d.ts +130 -0
  19. package/budgets/getBudget.js +51 -0
  20. package/budgets/getBudget.js.map +1 -0
  21. package/budgets/index.d.ts +3 -0
  22. package/budgets/index.js +4 -1
  23. package/budgets/index.js.map +1 -1
  24. package/chime/index.d.ts +9 -0
  25. package/chime/index.js +16 -1
  26. package/chime/index.js.map +1 -1
  27. package/chime/sdkvoiceGlobalSettings.d.ts +73 -0
  28. package/chime/sdkvoiceGlobalSettings.js +75 -0
  29. package/chime/sdkvoiceGlobalSettings.js.map +1 -0
  30. package/chime/sdkvoiceSipMediaApplication.d.ts +145 -0
  31. package/chime/sdkvoiceSipMediaApplication.js +95 -0
  32. package/chime/sdkvoiceSipMediaApplication.js.map +1 -0
  33. package/chime/sdkvoiceSipRule.d.ts +134 -0
  34. package/chime/sdkvoiceSipRule.js +99 -0
  35. package/chime/sdkvoiceSipRule.js.map +1 -0
  36. package/chime/voiceConnector.d.ts +44 -0
  37. package/chime/voiceConnector.js +6 -0
  38. package/chime/voiceConnector.js.map +1 -1
  39. package/cleanrooms/collaboration.d.ts +256 -0
  40. package/cleanrooms/collaboration.js +123 -0
  41. package/cleanrooms/collaboration.js.map +1 -0
  42. package/cleanrooms/index.d.ts +3 -0
  43. package/cleanrooms/index.js +22 -0
  44. package/cleanrooms/index.js.map +1 -0
  45. package/cloudfront/cachePolicy.d.ts +22 -22
  46. package/cloudfront/cachePolicy.js +2 -2
  47. package/cloudwatch/eventTarget.d.ts +8 -2
  48. package/cloudwatch/eventTarget.js +8 -2
  49. package/cloudwatch/eventTarget.js.map +1 -1
  50. package/cloudwatch/internetMonitor.d.ts +12 -0
  51. package/cloudwatch/internetMonitor.js +2 -0
  52. package/cloudwatch/internetMonitor.js.map +1 -1
  53. package/cloudwatch/metricStream.d.ts +94 -0
  54. package/cloudwatch/metricStream.js +94 -0
  55. package/cloudwatch/metricStream.js.map +1 -1
  56. package/codebuild/project.d.ts +2 -2
  57. package/codebuild/project.js +2 -2
  58. package/cognito/identityPool.d.ts +1 -1
  59. package/cognito/identityPool.js +1 -1
  60. package/cognito/index.d.ts +3 -0
  61. package/cognito/index.js +6 -1
  62. package/cognito/index.js.map +1 -1
  63. package/cognito/managedUserPoolClient.d.ts +394 -0
  64. package/cognito/managedUserPoolClient.js +170 -0
  65. package/cognito/managedUserPoolClient.js.map +1 -0
  66. package/cognito/userPool.d.ts +3 -3
  67. package/cognito/userPoolClient.d.ts +14 -14
  68. package/cognito/userPoolClient.js +1 -1
  69. package/config/vars.d.ts +5 -0
  70. package/config/vars.js +6 -0
  71. package/config/vars.js.map +1 -1
  72. package/cur/reportDefinition.d.ts +7 -4
  73. package/cur/reportDefinition.js +4 -1
  74. package/cur/reportDefinition.js.map +1 -1
  75. package/datasync/locationObjectStorage.d.ts +3 -3
  76. package/ec2/getInstances.d.ts +54 -0
  77. package/ec2/getInstances.js +54 -0
  78. package/ec2/getInstances.js.map +1 -1
  79. package/ec2/getVpcPeeringConnections.d.ts +34 -0
  80. package/ec2/getVpcPeeringConnections.js +34 -0
  81. package/ec2/getVpcPeeringConnections.js.map +1 -1
  82. package/ec2/instance.d.ts +61 -0
  83. package/ec2/instance.js +39 -0
  84. package/ec2/instance.js.map +1 -1
  85. package/ec2/managedPrefixListEntry.d.ts +8 -16
  86. package/ec2/managedPrefixListEntry.js +5 -13
  87. package/ec2/managedPrefixListEntry.js.map +1 -1
  88. package/ec2/peeringConnectionOptions.d.ts +6 -18
  89. package/ec2/peeringConnectionOptions.js.map +1 -1
  90. package/ec2/securityGroupRule.d.ts +6 -0
  91. package/ec2/securityGroupRule.js.map +1 -1
  92. package/ec2/spotInstanceRequest.d.ts +7 -7
  93. package/ec2/spotInstanceRequest.js +1 -1
  94. package/ec2transitgateway/connect.d.ts +3 -3
  95. package/ec2transitgateway/connectPeer.d.ts +16 -0
  96. package/ec2transitgateway/connectPeer.js +4 -0
  97. package/ec2transitgateway/connectPeer.js.map +1 -1
  98. package/ec2transitgateway/getConnectPeer.d.ts +8 -0
  99. package/ec2transitgateway/getConnectPeer.js.map +1 -1
  100. package/ec2transitgateway/getVpcAttachments.d.ts +32 -0
  101. package/ec2transitgateway/getVpcAttachments.js +32 -0
  102. package/ec2transitgateway/getVpcAttachments.js.map +1 -1
  103. package/ec2transitgateway/index.d.ts +3 -0
  104. package/ec2transitgateway/index.js +6 -1
  105. package/ec2transitgateway/index.js.map +1 -1
  106. package/ec2transitgateway/instanceConnectEndpoint.d.ts +183 -0
  107. package/ec2transitgateway/instanceConnectEndpoint.js +96 -0
  108. package/ec2transitgateway/instanceConnectEndpoint.js.map +1 -0
  109. package/ec2transitgateway/routeTableAssociation.d.ts +12 -0
  110. package/ec2transitgateway/routeTableAssociation.js +2 -0
  111. package/ec2transitgateway/routeTableAssociation.js.map +1 -1
  112. package/ecr/getPullThroughCacheRule.d.ts +67 -0
  113. package/ecr/getPullThroughCacheRule.js +47 -0
  114. package/ecr/getPullThroughCacheRule.js.map +1 -0
  115. package/ecr/index.d.ts +3 -0
  116. package/ecr/index.js +4 -1
  117. package/ecr/index.js.map +1 -1
  118. package/eks/addon.d.ts +5 -10
  119. package/eks/addon.js +2 -7
  120. package/eks/addon.js.map +1 -1
  121. package/eks/cluster.d.ts +2 -4
  122. package/eks/cluster.js +2 -4
  123. package/eks/cluster.js.map +1 -1
  124. package/eks/getAddonVersion.d.ts +4 -8
  125. package/eks/getAddonVersion.js +4 -8
  126. package/eks/getAddonVersion.js.map +1 -1
  127. package/eks/getCluster.d.ts +6 -12
  128. package/eks/getCluster.js +6 -12
  129. package/eks/getCluster.js.map +1 -1
  130. package/eks/nodeGroup.d.ts +24 -15
  131. package/eks/nodeGroup.js.map +1 -1
  132. package/elasticache/cluster.d.ts +6 -3
  133. package/elasticache/cluster.js.map +1 -1
  134. package/elasticache/globalReplicationGroup.d.ts +6 -3
  135. package/elasticache/globalReplicationGroup.js.map +1 -1
  136. package/elasticache/replicationGroup.d.ts +6 -3
  137. package/elasticache/replicationGroup.js.map +1 -1
  138. package/elasticloadbalancing/loadBalancer.d.ts +3 -3
  139. package/elasticloadbalancingv2/targetGroupAttachment.d.ts +17 -10
  140. package/elasticloadbalancingv2/targetGroupAttachment.js +2 -1
  141. package/elasticloadbalancingv2/targetGroupAttachment.js.map +1 -1
  142. package/elb/loadBalancer.d.ts +3 -3
  143. package/finspace/index.d.ts +12 -0
  144. package/finspace/index.js +37 -0
  145. package/finspace/index.js.map +1 -0
  146. package/finspace/kxCluster.d.ts +340 -0
  147. package/finspace/kxCluster.js +129 -0
  148. package/finspace/kxCluster.js.map +1 -0
  149. package/finspace/kxDatabase.d.ts +165 -0
  150. package/finspace/kxDatabase.js +102 -0
  151. package/finspace/kxDatabase.js.map +1 -0
  152. package/finspace/kxEnvironment.d.ts +235 -0
  153. package/finspace/kxEnvironment.js +132 -0
  154. package/finspace/kxEnvironment.js.map +1 -0
  155. package/finspace/kxUser.d.ts +160 -0
  156. package/finspace/kxUser.js +112 -0
  157. package/finspace/kxUser.js.map +1 -0
  158. package/fis/experimentTemplate.d.ts +12 -0
  159. package/fis/experimentTemplate.js +2 -0
  160. package/fis/experimentTemplate.js.map +1 -1
  161. package/getArn.d.ts +2 -3
  162. package/getArn.js +1 -0
  163. package/getArn.js.map +1 -1
  164. package/getBillingServiceAccount.d.ts +67 -2
  165. package/getBillingServiceAccount.js +56 -3
  166. package/getBillingServiceAccount.js.map +1 -1
  167. package/getCallerIdentity.d.ts +37 -2
  168. package/getCallerIdentity.js +26 -3
  169. package/getCallerIdentity.js.map +1 -1
  170. package/getDefaultTags.d.ts +2 -15
  171. package/getDefaultTags.js +1 -1
  172. package/getDefaultTags.js.map +1 -1
  173. package/getIpRanges.d.ts +2 -3
  174. package/getIpRanges.js +1 -0
  175. package/getIpRanges.js.map +1 -1
  176. package/getPartition.d.ts +41 -2
  177. package/getPartition.js +30 -3
  178. package/getPartition.js.map +1 -1
  179. package/getRegion.d.ts +2 -3
  180. package/getRegion.js +1 -0
  181. package/getRegion.js.map +1 -1
  182. package/getRegions.d.ts +9 -1
  183. package/getRegions.js +1 -0
  184. package/getRegions.js.map +1 -1
  185. package/getService.d.ts +2 -3
  186. package/getService.js +1 -0
  187. package/getService.js.map +1 -1
  188. package/globalaccelerator/customRoutingAccelerator.d.ts +192 -0
  189. package/globalaccelerator/customRoutingAccelerator.js +100 -0
  190. package/globalaccelerator/customRoutingAccelerator.js.map +1 -0
  191. package/globalaccelerator/customRoutingEndpointGroup.d.ts +130 -0
  192. package/globalaccelerator/customRoutingEndpointGroup.js +93 -0
  193. package/globalaccelerator/customRoutingEndpointGroup.js.map +1 -0
  194. package/globalaccelerator/customRoutingListener.d.ts +104 -0
  195. package/globalaccelerator/customRoutingListener.js +93 -0
  196. package/globalaccelerator/customRoutingListener.js.map +1 -0
  197. package/globalaccelerator/getAccelerator.d.ts +3 -9
  198. package/globalaccelerator/getAccelerator.js +1 -1
  199. package/globalaccelerator/getAccelerator.js.map +1 -1
  200. package/globalaccelerator/getCustomRoutingAccelerator.d.ts +96 -0
  201. package/globalaccelerator/getCustomRoutingAccelerator.js +58 -0
  202. package/globalaccelerator/getCustomRoutingAccelerator.js.map +1 -0
  203. package/globalaccelerator/index.d.ts +12 -0
  204. package/globalaccelerator/index.js +19 -1
  205. package/globalaccelerator/index.js.map +1 -1
  206. package/glue/crawler.d.ts +21 -0
  207. package/glue/crawler.js +2 -0
  208. package/glue/crawler.js.map +1 -1
  209. package/glue/devEndpoint.d.ts +3 -3
  210. package/glue/workflow.d.ts +3 -3
  211. package/guardduty/getFindingIds.d.ts +66 -0
  212. package/guardduty/getFindingIds.js +49 -0
  213. package/guardduty/getFindingIds.js.map +1 -0
  214. package/guardduty/index.d.ts +3 -0
  215. package/guardduty/index.js +4 -1
  216. package/guardduty/index.js.map +1 -1
  217. package/iam/getPrincipalPolicySimulation.d.ts +167 -0
  218. package/iam/getPrincipalPolicySimulation.js +48 -0
  219. package/iam/getPrincipalPolicySimulation.js.map +1 -0
  220. package/iam/index.d.ts +3 -0
  221. package/iam/index.js +5 -2
  222. package/iam/index.js.map +1 -1
  223. package/index.d.ts +9 -4
  224. package/index.js +15 -8
  225. package/index.js.map +1 -1
  226. package/iot/getEndpoint.d.ts +50 -0
  227. package/iot/getEndpoint.js +50 -0
  228. package/iot/getEndpoint.js.map +1 -1
  229. package/kendra/querySuggestionsBlockList.d.ts +24 -24
  230. package/kendra/querySuggestionsBlockList.js +2 -2
  231. package/keyspaces/table.d.ts +12 -0
  232. package/keyspaces/table.js +2 -0
  233. package/keyspaces/table.js.map +1 -1
  234. package/kinesis/firehoseDeliveryStream.d.ts +0 -50
  235. package/kinesis/firehoseDeliveryStream.js +0 -50
  236. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  237. package/lambda/eventSourceMapping.d.ts +6 -48
  238. package/lambda/eventSourceMapping.js +0 -42
  239. package/lambda/eventSourceMapping.js.map +1 -1
  240. package/lambda/function.d.ts +51 -4
  241. package/lambda/function.js +36 -1
  242. package/lambda/function.js.map +1 -1
  243. package/lambda/provisionedConcurrencyConfig.d.ts +2 -2
  244. package/lambda/provisionedConcurrencyConfig.js +2 -2
  245. package/lb/targetGroupAttachment.d.ts +17 -10
  246. package/lb/targetGroupAttachment.js +2 -1
  247. package/lb/targetGroupAttachment.js.map +1 -1
  248. package/msk/cluster.d.ts +108 -0
  249. package/msk/cluster.js +108 -0
  250. package/msk/cluster.js.map +1 -1
  251. package/opensearch/getServerlessAccessPolicy.d.ts +81 -0
  252. package/opensearch/getServerlessAccessPolicy.js +52 -0
  253. package/opensearch/getServerlessAccessPolicy.js.map +1 -0
  254. package/opensearch/getServerlessCollection.d.ts +101 -0
  255. package/opensearch/getServerlessCollection.js +51 -0
  256. package/opensearch/getServerlessCollection.js.map +1 -0
  257. package/opensearch/getServerlessSecurityConfig.d.ts +91 -0
  258. package/opensearch/getServerlessSecurityConfig.js +50 -0
  259. package/opensearch/getServerlessSecurityConfig.js.map +1 -0
  260. package/opensearch/getServerlessSecurityPolicy.d.ts +90 -0
  261. package/opensearch/getServerlessSecurityPolicy.js +50 -0
  262. package/opensearch/getServerlessSecurityPolicy.js.map +1 -0
  263. package/opensearch/getServerlessVpcEndpoint.d.ts +79 -0
  264. package/opensearch/getServerlessVpcEndpoint.js +47 -0
  265. package/opensearch/getServerlessVpcEndpoint.js.map +1 -0
  266. package/opensearch/index.d.ts +30 -0
  267. package/opensearch/index.js +41 -1
  268. package/opensearch/index.js.map +1 -1
  269. package/opensearch/serverlessAccessPolicy.d.ts +138 -0
  270. package/opensearch/serverlessAccessPolicy.js +106 -0
  271. package/opensearch/serverlessAccessPolicy.js.map +1 -0
  272. package/opensearch/serverlessCollection.d.ts +167 -0
  273. package/opensearch/serverlessCollection.js +104 -0
  274. package/opensearch/serverlessCollection.js.map +1 -0
  275. package/opensearch/serverlessSecurityConfig.d.ts +113 -0
  276. package/opensearch/serverlessSecurityConfig.js +76 -0
  277. package/opensearch/serverlessSecurityConfig.js.map +1 -0
  278. package/opensearch/serverlessSecurityPolicy.d.ts +148 -0
  279. package/opensearch/serverlessSecurityPolicy.js +116 -0
  280. package/opensearch/serverlessSecurityPolicy.js.map +1 -0
  281. package/opensearch/serverlessVpcEndpoint.d.ts +120 -0
  282. package/opensearch/serverlessVpcEndpoint.js +91 -0
  283. package/opensearch/serverlessVpcEndpoint.js.map +1 -0
  284. package/organizations/getPolicies.d.ts +45 -0
  285. package/organizations/getPolicies.js +29 -0
  286. package/organizations/getPolicies.js.map +1 -0
  287. package/organizations/getPoliciesForTarget.d.ts +54 -0
  288. package/organizations/getPoliciesForTarget.js +30 -0
  289. package/organizations/getPoliciesForTarget.js.map +1 -0
  290. package/organizations/index.d.ts +9 -0
  291. package/organizations/index.js +12 -1
  292. package/organizations/index.js.map +1 -1
  293. package/organizations/resourcePolicy.d.ts +137 -0
  294. package/organizations/resourcePolicy.js +109 -0
  295. package/organizations/resourcePolicy.js.map +1 -0
  296. package/package.json +2 -2
  297. package/package.json.dev +2 -2
  298. package/pinpoint/smsChannel.d.ts +18 -18
  299. package/pinpoint/smsChannel.js +2 -2
  300. package/pipes/pipe.d.ts +52 -19
  301. package/pipes/pipe.js +25 -8
  302. package/pipes/pipe.js.map +1 -1
  303. package/provider.d.ts +10 -0
  304. package/provider.js +2 -1
  305. package/provider.js.map +1 -1
  306. package/quicksight/dataSet.d.ts +2 -2
  307. package/quicksight/dataSet.js +0 -3
  308. package/quicksight/dataSet.js.map +1 -1
  309. package/quicksight/getTheme.d.ts +133 -0
  310. package/quicksight/getTheme.js +51 -0
  311. package/quicksight/getTheme.js.map +1 -0
  312. package/quicksight/index.d.ts +6 -0
  313. package/quicksight/index.js +9 -1
  314. package/quicksight/index.js.map +1 -1
  315. package/quicksight/refreshSchedule.d.ts +44 -0
  316. package/quicksight/refreshSchedule.js +44 -0
  317. package/quicksight/refreshSchedule.js.map +1 -1
  318. package/quicksight/theme.d.ts +211 -0
  319. package/quicksight/theme.js +97 -0
  320. package/quicksight/theme.js.map +1 -0
  321. package/rds/eventSubscription.d.ts +3 -3
  322. package/rds/getInstance.d.ts +1 -1
  323. package/rds/instance.d.ts +3 -3
  324. package/rds/proxy.d.ts +3 -3
  325. package/redshift/cluster.d.ts +8 -0
  326. package/redshift/cluster.js +2 -0
  327. package/redshift/cluster.js.map +1 -1
  328. package/redshift/getCluster.d.ts +5 -1
  329. package/redshift/getCluster.js.map +1 -1
  330. package/s3/bucketNotification.d.ts +15 -3
  331. package/s3/bucketNotification.js +12 -0
  332. package/s3/bucketNotification.js.map +1 -1
  333. package/servicecatalog/getProduct.d.ts +13 -13
  334. package/servicecatalog/getProduct.js +4 -4
  335. package/ses/activeReceiptRuleSet.d.ts +8 -0
  336. package/ses/activeReceiptRuleSet.js +8 -0
  337. package/ses/activeReceiptRuleSet.js.map +1 -1
  338. package/sesv2/emailIdentity.d.ts +15 -3
  339. package/sesv2/emailIdentity.js.map +1 -1
  340. package/sesv2/getEmailIdentity.d.ts +97 -0
  341. package/sesv2/getEmailIdentity.js +50 -0
  342. package/sesv2/getEmailIdentity.js.map +1 -0
  343. package/sesv2/getEmailIdentityMailFromAttributes.d.ts +75 -0
  344. package/sesv2/getEmailIdentityMailFromAttributes.js +55 -0
  345. package/sesv2/getEmailIdentityMailFromAttributes.js.map +1 -0
  346. package/sesv2/index.d.ts +6 -0
  347. package/sesv2/index.js +7 -1
  348. package/sesv2/index.js.map +1 -1
  349. package/sfn/alias.d.ts +136 -0
  350. package/sfn/alias.js +103 -0
  351. package/sfn/alias.js.map +1 -0
  352. package/sfn/getAlias.d.ts +97 -0
  353. package/sfn/getAlias.js +53 -0
  354. package/sfn/getAlias.js.map +1 -0
  355. package/sfn/getStateMachine.d.ts +5 -0
  356. package/sfn/getStateMachine.js.map +1 -1
  357. package/sfn/getStateMachineVersions.d.ts +65 -0
  358. package/sfn/getStateMachineVersions.js +49 -0
  359. package/sfn/getStateMachineVersions.js.map +1 -0
  360. package/sfn/index.d.ts +9 -0
  361. package/sfn/index.js +12 -1
  362. package/sfn/index.js.map +1 -1
  363. package/sfn/stateMachine.d.ts +45 -0
  364. package/sfn/stateMachine.js +35 -0
  365. package/sfn/stateMachine.js.map +1 -1
  366. package/ssm/patchBaseline.d.ts +6 -0
  367. package/ssm/patchBaseline.js.map +1 -1
  368. package/timestreamwrite/table.d.ts +30 -0
  369. package/timestreamwrite/table.js +20 -0
  370. package/timestreamwrite/table.js.map +1 -1
  371. package/transfer/agreement.d.ts +170 -0
  372. package/transfer/agreement.js +110 -0
  373. package/transfer/agreement.js.map +1 -0
  374. package/transfer/certificate.d.ts +172 -0
  375. package/transfer/certificate.js +103 -0
  376. package/transfer/certificate.js.map +1 -0
  377. package/transfer/connector.d.ts +152 -0
  378. package/transfer/connector.js +104 -0
  379. package/transfer/connector.js.map +1 -0
  380. package/transfer/index.d.ts +12 -0
  381. package/transfer/index.js +21 -1
  382. package/transfer/index.js.map +1 -1
  383. package/transfer/profile.d.ts +117 -0
  384. package/transfer/profile.js +78 -0
  385. package/transfer/profile.js.map +1 -0
  386. package/types/input.d.ts +9207 -97395
  387. package/types/output.d.ts +9845 -97697
  388. package/vpc/securityGroupEgressRule.d.ts +3 -3
  389. package/vpc/securityGroupEgressRule.js +4 -1
  390. package/vpc/securityGroupEgressRule.js.map +1 -1
  391. package/vpc/securityGroupIngressRule.d.ts +3 -3
  392. package/vpc/securityGroupIngressRule.js +4 -1
  393. package/vpc/securityGroupIngressRule.js.map +1 -1
  394. package/wafv2/ruleGroup.d.ts +0 -49
  395. package/wafv2/ruleGroup.js +0 -49
  396. package/wafv2/ruleGroup.js.map +1 -1
  397. package/wafv2/webAcl.d.ts +6 -246
  398. package/wafv2/webAcl.js +0 -240
  399. package/wafv2/webAcl.js.map +1 -1
  400. package/wafv2/webAclLoggingConfiguration.d.ts +17 -17
  401. package/wafv2/webAclLoggingConfiguration.js +5 -5
@@ -0,0 +1,75 @@
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.SdkvoiceGlobalSettings = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource for managing Amazon Chime SDK Voice Global Settings.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const example = new aws.chime.SdkvoiceGlobalSettings("example", {voiceConnector: {
19
+ * cdrBucket: "example-bucket-name",
20
+ * }});
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * AWS Chime SDK Voice Global Settings can be imported using the `id` (AWS account ID), e.g.,
26
+ *
27
+ * ```sh
28
+ * $ pulumi import aws:chime/sdkvoiceGlobalSettings:SdkvoiceGlobalSettings example 123456789012
29
+ * ```
30
+ */
31
+ class SdkvoiceGlobalSettings extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing SdkvoiceGlobalSettings resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name, id, state, opts) {
42
+ return new SdkvoiceGlobalSettings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
43
+ }
44
+ /**
45
+ * Returns true if the given object is an instance of SdkvoiceGlobalSettings. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj) {
49
+ if (obj === undefined || obj === null) {
50
+ return false;
51
+ }
52
+ return obj['__pulumiType'] === SdkvoiceGlobalSettings.__pulumiType;
53
+ }
54
+ constructor(name, argsOrState, opts) {
55
+ let resourceInputs = {};
56
+ opts = opts || {};
57
+ if (opts.id) {
58
+ const state = argsOrState;
59
+ resourceInputs["voiceConnector"] = state ? state.voiceConnector : undefined;
60
+ }
61
+ else {
62
+ const args = argsOrState;
63
+ if ((!args || args.voiceConnector === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'voiceConnector'");
65
+ }
66
+ resourceInputs["voiceConnector"] = args ? args.voiceConnector : undefined;
67
+ }
68
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
69
+ super(SdkvoiceGlobalSettings.__pulumiType, name, resourceInputs, opts);
70
+ }
71
+ }
72
+ exports.SdkvoiceGlobalSettings = SdkvoiceGlobalSettings;
73
+ /** @internal */
74
+ SdkvoiceGlobalSettings.__pulumiType = 'aws:chime/sdkvoiceGlobalSettings:SdkvoiceGlobalSettings';
75
+ //# sourceMappingURL=sdkvoiceGlobalSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdkvoiceGlobalSettings.js","sourceRoot":"","sources":["../../chime/sdkvoiceGlobalSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAeD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAxDL,wDAyDC;AA3CG,gBAAgB;AACO,mCAAY,GAAG,yDAAyD,CAAC"}
@@ -0,0 +1,145 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * A ChimeSDKVoice SIP Media Application is a managed object that passes values from a SIP rule to a target AWS Lambda function.
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.chime.SdkvoiceSipMediaApplication("example", {
15
+ * awsRegion: "us-east-1",
16
+ * name: "example-sip-media-application",
17
+ * endpoints: {
18
+ * lambdaArn: aws_lambda_function.test.arn,
19
+ * },
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * A ChimeSDKVoice SIP Media Application can be imported using the `id`, e.g.,
26
+ *
27
+ * ```sh
28
+ * $ pulumi import aws:chime/sdkvoiceSipMediaApplication:SdkvoiceSipMediaApplication example abcdef123456
29
+ * ```
30
+ */
31
+ export declare class SdkvoiceSipMediaApplication extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing SdkvoiceSipMediaApplication resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SdkvoiceSipMediaApplicationState, opts?: pulumi.CustomResourceOptions): SdkvoiceSipMediaApplication;
42
+ /**
43
+ * Returns true if the given object is an instance of SdkvoiceSipMediaApplication. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is SdkvoiceSipMediaApplication;
47
+ /**
48
+ * ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
49
+ */
50
+ readonly arn: pulumi.Output<string>;
51
+ /**
52
+ * The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
53
+ */
54
+ readonly awsRegion: pulumi.Output<string>;
55
+ /**
56
+ * List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See `endpoints`.
57
+ */
58
+ readonly endpoints: pulumi.Output<outputs.chime.SdkvoiceSipMediaApplicationEndpoints>;
59
+ /**
60
+ * The name of the AWS Chime SDK Voice Sip Media Application.
61
+ *
62
+ * The following arguments are optional:
63
+ */
64
+ readonly name: pulumi.Output<string>;
65
+ /**
66
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
67
+ */
68
+ readonly tags: pulumi.Output<{
69
+ [key: string]: string;
70
+ } | undefined>;
71
+ /**
72
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
73
+ */
74
+ readonly tagsAll: pulumi.Output<{
75
+ [key: string]: string;
76
+ }>;
77
+ /**
78
+ * Create a SdkvoiceSipMediaApplication resource with the given unique name, arguments, and options.
79
+ *
80
+ * @param name The _unique_ name of the resource.
81
+ * @param args The arguments to use to populate this resource's properties.
82
+ * @param opts A bag of options that control this resource's behavior.
83
+ */
84
+ constructor(name: string, args: SdkvoiceSipMediaApplicationArgs, opts?: pulumi.CustomResourceOptions);
85
+ }
86
+ /**
87
+ * Input properties used for looking up and filtering SdkvoiceSipMediaApplication resources.
88
+ */
89
+ export interface SdkvoiceSipMediaApplicationState {
90
+ /**
91
+ * ARN (Amazon Resource Name) of the AWS Chime SDK Voice Sip Media Application
92
+ */
93
+ arn?: pulumi.Input<string>;
94
+ /**
95
+ * The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
96
+ */
97
+ awsRegion?: pulumi.Input<string>;
98
+ /**
99
+ * List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See `endpoints`.
100
+ */
101
+ endpoints?: pulumi.Input<inputs.chime.SdkvoiceSipMediaApplicationEndpoints>;
102
+ /**
103
+ * The name of the AWS Chime SDK Voice Sip Media Application.
104
+ *
105
+ * The following arguments are optional:
106
+ */
107
+ name?: pulumi.Input<string>;
108
+ /**
109
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
110
+ */
111
+ tags?: pulumi.Input<{
112
+ [key: string]: pulumi.Input<string>;
113
+ }>;
114
+ /**
115
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
116
+ */
117
+ tagsAll?: pulumi.Input<{
118
+ [key: string]: pulumi.Input<string>;
119
+ }>;
120
+ }
121
+ /**
122
+ * The set of arguments for constructing a SdkvoiceSipMediaApplication resource.
123
+ */
124
+ export interface SdkvoiceSipMediaApplicationArgs {
125
+ /**
126
+ * The AWS Region in which the AWS Chime SDK Voice Sip Media Application is created.
127
+ */
128
+ awsRegion: pulumi.Input<string>;
129
+ /**
130
+ * List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported. See `endpoints`.
131
+ */
132
+ endpoints: pulumi.Input<inputs.chime.SdkvoiceSipMediaApplicationEndpoints>;
133
+ /**
134
+ * The name of the AWS Chime SDK Voice Sip Media Application.
135
+ *
136
+ * The following arguments are optional:
137
+ */
138
+ name: pulumi.Input<string>;
139
+ /**
140
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
141
+ */
142
+ tags?: pulumi.Input<{
143
+ [key: string]: pulumi.Input<string>;
144
+ }>;
145
+ }
@@ -0,0 +1,95 @@
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.SdkvoiceSipMediaApplication = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * A ChimeSDKVoice SIP Media Application is a managed object that passes values from a SIP rule to a target AWS Lambda function.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const example = new aws.chime.SdkvoiceSipMediaApplication("example", {
19
+ * awsRegion: "us-east-1",
20
+ * name: "example-sip-media-application",
21
+ * endpoints: {
22
+ * lambdaArn: aws_lambda_function.test.arn,
23
+ * },
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * A ChimeSDKVoice SIP Media Application can be imported using the `id`, e.g.,
30
+ *
31
+ * ```sh
32
+ * $ pulumi import aws:chime/sdkvoiceSipMediaApplication:SdkvoiceSipMediaApplication example abcdef123456
33
+ * ```
34
+ */
35
+ class SdkvoiceSipMediaApplication extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing SdkvoiceSipMediaApplication resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name, id, state, opts) {
46
+ return new SdkvoiceSipMediaApplication(name, state, Object.assign(Object.assign({}, opts), { id: id }));
47
+ }
48
+ /**
49
+ * Returns true if the given object is an instance of SdkvoiceSipMediaApplication. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === SdkvoiceSipMediaApplication.__pulumiType;
57
+ }
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["arn"] = state ? state.arn : undefined;
64
+ resourceInputs["awsRegion"] = state ? state.awsRegion : undefined;
65
+ resourceInputs["endpoints"] = state ? state.endpoints : undefined;
66
+ resourceInputs["name"] = state ? state.name : undefined;
67
+ resourceInputs["tags"] = state ? state.tags : undefined;
68
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
69
+ }
70
+ else {
71
+ const args = argsOrState;
72
+ if ((!args || args.awsRegion === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'awsRegion'");
74
+ }
75
+ if ((!args || args.endpoints === undefined) && !opts.urn) {
76
+ throw new Error("Missing required property 'endpoints'");
77
+ }
78
+ if ((!args || args.name === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'name'");
80
+ }
81
+ resourceInputs["awsRegion"] = args ? args.awsRegion : undefined;
82
+ resourceInputs["endpoints"] = args ? args.endpoints : undefined;
83
+ resourceInputs["name"] = args ? args.name : undefined;
84
+ resourceInputs["tags"] = args ? args.tags : undefined;
85
+ resourceInputs["arn"] = undefined /*out*/;
86
+ resourceInputs["tagsAll"] = undefined /*out*/;
87
+ }
88
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
89
+ super(SdkvoiceSipMediaApplication.__pulumiType, name, resourceInputs, opts);
90
+ }
91
+ }
92
+ exports.SdkvoiceSipMediaApplication = SdkvoiceSipMediaApplication;
93
+ /** @internal */
94
+ SdkvoiceSipMediaApplication.__pulumiType = 'aws:chime/sdkvoiceSipMediaApplication:SdkvoiceSipMediaApplication';
95
+ //# sourceMappingURL=sdkvoiceSipMediaApplication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdkvoiceSipMediaApplication.js","sourceRoot":"","sources":["../../chime/sdkvoiceSipMediaApplication.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,2B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K,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AA9FL,kEA+FC;AAjFG,gBAAgB;AACO,wCAAY,GAAG,mEAAmE,CAAC"}
@@ -0,0 +1,134 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * A SIP rule associates your SIP media application with a phone number or a Request URI hostname. You can associate a SIP rule with more than one SIP media application. Each application then runs only that rule.
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.chime.SdkvoiceSipRule("example", {
15
+ * name: "example-sip-rule",
16
+ * triggerType: "RequestUriHostname",
17
+ * triggerValue: aws_chime_voice_connector["example-voice-connector"].outbound_host_name,
18
+ * targetApplications: [{
19
+ * priority: 1,
20
+ * sipMediaApplicationId: aws_chimesdkvoice_sip_media_application["example-sma"].id,
21
+ * awsRegion: "us-east-1",
22
+ * }],
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * A ChimeSDKVoice SIP Rule can be imported using the `id`, e.g.,
29
+ *
30
+ * ```sh
31
+ * $ pulumi import aws:chime/sdkvoiceSipRule:SdkvoiceSipRule example abcdef123456
32
+ * ```
33
+ */
34
+ export declare class SdkvoiceSipRule extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing SdkvoiceSipRule resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SdkvoiceSipRuleState, opts?: pulumi.CustomResourceOptions): SdkvoiceSipRule;
45
+ /**
46
+ * Returns true if the given object is an instance of SdkvoiceSipRule. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj: any): obj is SdkvoiceSipRule;
50
+ /**
51
+ * Enables or disables a rule. You must disable rules before you can delete them.
52
+ */
53
+ readonly disabled: pulumi.Output<boolean | undefined>;
54
+ /**
55
+ * The name of the SIP rule.
56
+ */
57
+ readonly name: pulumi.Output<string>;
58
+ /**
59
+ * List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used. See `targetApplications`.
60
+ */
61
+ readonly targetApplications: pulumi.Output<outputs.chime.SdkvoiceSipRuleTargetApplication[]>;
62
+ /**
63
+ * The type of trigger assigned to the SIP rule in `triggerValue`. Valid values are `RequestUriHostname` or `ToPhoneNumber`.
64
+ */
65
+ readonly triggerType: pulumi.Output<string>;
66
+ /**
67
+ * If `triggerType` is `RequestUriHostname`, the value can be the outbound host name of an Amazon Chime Voice Connector. If `triggerType` is `ToPhoneNumber`, the value can be a customer-owned phone number in the E164 format. The Sip Media Application specified in the Sip Rule is triggered if the request URI in an incoming SIP request matches the `RequestUriHostname`, or if the "To" header in the incoming SIP request matches the `ToPhoneNumber` value.
68
+ *
69
+ * The following arguments are optional:
70
+ */
71
+ readonly triggerValue: pulumi.Output<string>;
72
+ /**
73
+ * Create a SdkvoiceSipRule resource with the given unique name, arguments, and options.
74
+ *
75
+ * @param name The _unique_ name of the resource.
76
+ * @param args The arguments to use to populate this resource's properties.
77
+ * @param opts A bag of options that control this resource's behavior.
78
+ */
79
+ constructor(name: string, args: SdkvoiceSipRuleArgs, opts?: pulumi.CustomResourceOptions);
80
+ }
81
+ /**
82
+ * Input properties used for looking up and filtering SdkvoiceSipRule resources.
83
+ */
84
+ export interface SdkvoiceSipRuleState {
85
+ /**
86
+ * Enables or disables a rule. You must disable rules before you can delete them.
87
+ */
88
+ disabled?: pulumi.Input<boolean>;
89
+ /**
90
+ * The name of the SIP rule.
91
+ */
92
+ name?: pulumi.Input<string>;
93
+ /**
94
+ * List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used. See `targetApplications`.
95
+ */
96
+ targetApplications?: pulumi.Input<pulumi.Input<inputs.chime.SdkvoiceSipRuleTargetApplication>[]>;
97
+ /**
98
+ * The type of trigger assigned to the SIP rule in `triggerValue`. Valid values are `RequestUriHostname` or `ToPhoneNumber`.
99
+ */
100
+ triggerType?: pulumi.Input<string>;
101
+ /**
102
+ * If `triggerType` is `RequestUriHostname`, the value can be the outbound host name of an Amazon Chime Voice Connector. If `triggerType` is `ToPhoneNumber`, the value can be a customer-owned phone number in the E164 format. The Sip Media Application specified in the Sip Rule is triggered if the request URI in an incoming SIP request matches the `RequestUriHostname`, or if the "To" header in the incoming SIP request matches the `ToPhoneNumber` value.
103
+ *
104
+ * The following arguments are optional:
105
+ */
106
+ triggerValue?: pulumi.Input<string>;
107
+ }
108
+ /**
109
+ * The set of arguments for constructing a SdkvoiceSipRule resource.
110
+ */
111
+ export interface SdkvoiceSipRuleArgs {
112
+ /**
113
+ * Enables or disables a rule. You must disable rules before you can delete them.
114
+ */
115
+ disabled?: pulumi.Input<boolean>;
116
+ /**
117
+ * The name of the SIP rule.
118
+ */
119
+ name: pulumi.Input<string>;
120
+ /**
121
+ * List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used. See `targetApplications`.
122
+ */
123
+ targetApplications: pulumi.Input<pulumi.Input<inputs.chime.SdkvoiceSipRuleTargetApplication>[]>;
124
+ /**
125
+ * The type of trigger assigned to the SIP rule in `triggerValue`. Valid values are `RequestUriHostname` or `ToPhoneNumber`.
126
+ */
127
+ triggerType: pulumi.Input<string>;
128
+ /**
129
+ * If `triggerType` is `RequestUriHostname`, the value can be the outbound host name of an Amazon Chime Voice Connector. If `triggerType` is `ToPhoneNumber`, the value can be a customer-owned phone number in the E164 format. The Sip Media Application specified in the Sip Rule is triggered if the request URI in an incoming SIP request matches the `RequestUriHostname`, or if the "To" header in the incoming SIP request matches the `ToPhoneNumber` value.
130
+ *
131
+ * The following arguments are optional:
132
+ */
133
+ triggerValue: pulumi.Input<string>;
134
+ }
@@ -0,0 +1,99 @@
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.SdkvoiceSipRule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * A SIP rule associates your SIP media application with a phone number or a Request URI hostname. You can associate a SIP rule with more than one SIP media application. Each application then runs only that rule.
10
+ *
11
+ * ## Example Usage
12
+ * ### Basic Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as aws from "@pulumi/aws";
17
+ *
18
+ * const example = new aws.chime.SdkvoiceSipRule("example", {
19
+ * name: "example-sip-rule",
20
+ * triggerType: "RequestUriHostname",
21
+ * triggerValue: aws_chime_voice_connector["example-voice-connector"].outbound_host_name,
22
+ * targetApplications: [{
23
+ * priority: 1,
24
+ * sipMediaApplicationId: aws_chimesdkvoice_sip_media_application["example-sma"].id,
25
+ * awsRegion: "us-east-1",
26
+ * }],
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * A ChimeSDKVoice SIP Rule can be imported using the `id`, e.g.,
33
+ *
34
+ * ```sh
35
+ * $ pulumi import aws:chime/sdkvoiceSipRule:SdkvoiceSipRule example abcdef123456
36
+ * ```
37
+ */
38
+ class SdkvoiceSipRule extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing SdkvoiceSipRule resource's state with the given name, ID, and optional extra
41
+ * properties used to qualify the lookup.
42
+ *
43
+ * @param name The _unique_ name of the resulting resource.
44
+ * @param id The _unique_ provider ID of the resource to lookup.
45
+ * @param state Any extra arguments used during the lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name, id, state, opts) {
49
+ return new SdkvoiceSipRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
50
+ }
51
+ /**
52
+ * Returns true if the given object is an instance of SdkvoiceSipRule. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj) {
56
+ if (obj === undefined || obj === null) {
57
+ return false;
58
+ }
59
+ return obj['__pulumiType'] === SdkvoiceSipRule.__pulumiType;
60
+ }
61
+ constructor(name, argsOrState, opts) {
62
+ let resourceInputs = {};
63
+ opts = opts || {};
64
+ if (opts.id) {
65
+ const state = argsOrState;
66
+ resourceInputs["disabled"] = state ? state.disabled : undefined;
67
+ resourceInputs["name"] = state ? state.name : undefined;
68
+ resourceInputs["targetApplications"] = state ? state.targetApplications : undefined;
69
+ resourceInputs["triggerType"] = state ? state.triggerType : undefined;
70
+ resourceInputs["triggerValue"] = state ? state.triggerValue : undefined;
71
+ }
72
+ else {
73
+ const args = argsOrState;
74
+ if ((!args || args.name === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'name'");
76
+ }
77
+ if ((!args || args.targetApplications === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'targetApplications'");
79
+ }
80
+ if ((!args || args.triggerType === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'triggerType'");
82
+ }
83
+ if ((!args || args.triggerValue === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'triggerValue'");
85
+ }
86
+ resourceInputs["disabled"] = args ? args.disabled : undefined;
87
+ resourceInputs["name"] = args ? args.name : undefined;
88
+ resourceInputs["targetApplications"] = args ? args.targetApplications : undefined;
89
+ resourceInputs["triggerType"] = args ? args.triggerType : undefined;
90
+ resourceInputs["triggerValue"] = args ? args.triggerValue : undefined;
91
+ }
92
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
93
+ super(SdkvoiceSipRule.__pulumiType, name, resourceInputs, opts);
94
+ }
95
+ }
96
+ exports.SdkvoiceSipRule = SdkvoiceSipRule;
97
+ /** @internal */
98
+ SdkvoiceSipRule.__pulumiType = 'aws:chime/sdkvoiceSipRule:SdkvoiceSipRule';
99
+ //# sourceMappingURL=sdkvoiceSipRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdkvoiceSipRule.js","sourceRoot":"","sources":["../../chime/sdkvoiceSipRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,eAA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SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA3FL,0CA4FC;AA9EG,gBAAgB;AACO,4BAAY,GAAG,2CAA2C,CAAC"}
@@ -38,6 +38,10 @@ export declare class VoiceConnector extends pulumi.CustomResource {
38
38
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
39
  */
40
40
  static isInstance(obj: any): obj is VoiceConnector;
41
+ /**
42
+ * ARN (Amazon Resource Name) of the Amazon Chime Voice Connector.
43
+ */
44
+ readonly arn: pulumi.Output<string>;
41
45
  /**
42
46
  * The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-east-1`
43
47
  */
@@ -52,8 +56,22 @@ export declare class VoiceConnector extends pulumi.CustomResource {
52
56
  readonly outboundHostName: pulumi.Output<string>;
53
57
  /**
54
58
  * When enabled, requires encryption for the Amazon Chime Voice Connector.
59
+ *
60
+ * The following arguments are optional:
55
61
  */
56
62
  readonly requireEncryption: pulumi.Output<boolean>;
63
+ /**
64
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
65
+ */
66
+ readonly tags: pulumi.Output<{
67
+ [key: string]: string;
68
+ } | undefined>;
69
+ /**
70
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
71
+ */
72
+ readonly tagsAll: pulumi.Output<{
73
+ [key: string]: string;
74
+ }>;
57
75
  /**
58
76
  * Create a VoiceConnector resource with the given unique name, arguments, and options.
59
77
  *
@@ -67,6 +85,10 @@ export declare class VoiceConnector extends pulumi.CustomResource {
67
85
  * Input properties used for looking up and filtering VoiceConnector resources.
68
86
  */
69
87
  export interface VoiceConnectorState {
88
+ /**
89
+ * ARN (Amazon Resource Name) of the Amazon Chime Voice Connector.
90
+ */
91
+ arn?: pulumi.Input<string>;
70
92
  /**
71
93
  * The AWS Region in which the Amazon Chime Voice Connector is created. Default value: `us-east-1`
72
94
  */
@@ -81,8 +103,22 @@ export interface VoiceConnectorState {
81
103
  outboundHostName?: pulumi.Input<string>;
82
104
  /**
83
105
  * When enabled, requires encryption for the Amazon Chime Voice Connector.
106
+ *
107
+ * The following arguments are optional:
84
108
  */
85
109
  requireEncryption?: pulumi.Input<boolean>;
110
+ /**
111
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
112
+ */
113
+ tags?: pulumi.Input<{
114
+ [key: string]: pulumi.Input<string>;
115
+ }>;
116
+ /**
117
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
118
+ */
119
+ tagsAll?: pulumi.Input<{
120
+ [key: string]: pulumi.Input<string>;
121
+ }>;
86
122
  }
87
123
  /**
88
124
  * The set of arguments for constructing a VoiceConnector resource.
@@ -98,6 +134,14 @@ export interface VoiceConnectorArgs {
98
134
  name?: pulumi.Input<string>;
99
135
  /**
100
136
  * When enabled, requires encryption for the Amazon Chime Voice Connector.
137
+ *
138
+ * The following arguments are optional:
101
139
  */
102
140
  requireEncryption: pulumi.Input<boolean>;
141
+ /**
142
+ * Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
143
+ */
144
+ tags?: pulumi.Input<{
145
+ [key: string]: pulumi.Input<string>;
146
+ }>;
103
147
  }