@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
package/getPartition.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getPartition = void 0;
5
+ exports.getPartitionOutput = exports.getPartition = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
@@ -25,9 +25,36 @@ const utilities = require("./utilities");
25
25
  * }));
26
26
  * ```
27
27
  */
28
- function getPartition(opts) {
28
+ function getPartition(args, opts) {
29
+ args = args || {};
29
30
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
- return pulumi.runtime.invoke("aws:index/getPartition:getPartition", {}, opts);
31
+ return pulumi.runtime.invoke("aws:index/getPartition:getPartition", {
32
+ "id": args.id,
33
+ }, opts);
31
34
  }
32
35
  exports.getPartition = getPartition;
36
+ /**
37
+ * Use this data source to lookup information about the current AWS partition in
38
+ * which the provider is working.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * ```typescript
43
+ * import * as pulumi from "@pulumi/pulumi";
44
+ * import * as aws from "@pulumi/aws";
45
+ *
46
+ * const current = aws.getPartition({});
47
+ * const s3Policy = current.then(current => aws.iam.getPolicyDocument({
48
+ * statements: [{
49
+ * actions: ["s3:ListBucket"],
50
+ * resources: [`arn:${current.partition}:s3:::my-bucket`],
51
+ * sid: "1",
52
+ * }],
53
+ * }));
54
+ * ```
55
+ */
56
+ function getPartitionOutput(args, opts) {
57
+ return pulumi.output(args).apply((a) => getPartition(a, opts));
58
+ }
59
+ exports.getPartitionOutput = getPartitionOutput;
33
60
  //# sourceMappingURL=getPartition.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPartition.js","sourceRoot":"","sources":["../getPartition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,YAAY,CAAC,IAA2B;IAEpD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE,EACnE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oCAKC"}
1
+ {"version":3,"file":"getPartition.js","sourceRoot":"","sources":["../getPartition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AAiCD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
package/getRegion.d.ts CHANGED
@@ -28,6 +28,7 @@ export interface GetRegionArgs {
28
28
  * EC2 endpoint of the region to select.
29
29
  */
30
30
  endpoint?: string;
31
+ id?: string;
31
32
  /**
32
33
  * Full name of the region to select.
33
34
  */
@@ -45,9 +46,6 @@ export interface GetRegionResult {
45
46
  * EC2 endpoint for the selected region.
46
47
  */
47
48
  readonly endpoint: string;
48
- /**
49
- * The provider-assigned unique ID for this managed resource.
50
- */
51
49
  readonly id: string;
52
50
  /**
53
51
  * Name of the selected region.
@@ -83,6 +81,7 @@ export interface GetRegionOutputArgs {
83
81
  * EC2 endpoint of the region to select.
84
82
  */
85
83
  endpoint?: pulumi.Input<string>;
84
+ id?: pulumi.Input<string>;
86
85
  /**
87
86
  * Full name of the region to select.
88
87
  */
package/getRegion.js CHANGED
@@ -30,6 +30,7 @@ function getRegion(args, opts) {
30
30
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
31
31
  return pulumi.runtime.invoke("aws:index/getRegion:getRegion", {
32
32
  "endpoint": args.endpoint,
33
+ "id": args.id,
33
34
  "name": args.name,
34
35
  }, opts);
35
36
  }
package/getRegion.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getRegion.js","sourceRoot":"","sources":["../getRegion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8BAQC;AAqCD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getRegion.js","sourceRoot":"","sources":["../getRegion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;AAmCD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
package/getRegions.d.ts CHANGED
@@ -54,6 +54,10 @@ export interface GetRegionsArgs {
54
54
  * Configuration block(s) to use as filters. Detailed below.
55
55
  */
56
56
  filters?: inputs.GetRegionsFilter[];
57
+ /**
58
+ * Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China).
59
+ */
60
+ id?: string;
57
61
  }
58
62
  /**
59
63
  * A collection of values returned by getRegions.
@@ -62,7 +66,7 @@ export interface GetRegionsResult {
62
66
  readonly allRegions?: boolean;
63
67
  readonly filters?: outputs.GetRegionsFilter[];
64
68
  /**
65
- * The provider-assigned unique ID for this managed resource.
69
+ * Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China).
66
70
  */
67
71
  readonly id: string;
68
72
  /**
@@ -123,4 +127,8 @@ export interface GetRegionsOutputArgs {
123
127
  * Configuration block(s) to use as filters. Detailed below.
124
128
  */
125
129
  filters?: pulumi.Input<pulumi.Input<inputs.GetRegionsFilterArgs>[]>;
130
+ /**
131
+ * Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China).
132
+ */
133
+ id?: pulumi.Input<string>;
126
134
  }
package/getRegions.js CHANGED
@@ -51,6 +51,7 @@ function getRegions(args, opts) {
51
51
  return pulumi.runtime.invoke("aws:index/getRegions:getRegions", {
52
52
  "allRegions": args.allRegions,
53
53
  "filters": args.filters,
54
+ "id": args.id,
54
55
  }, opts);
55
56
  }
56
57
  exports.getRegions = getRegions;
package/getRegions.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getRegions.js","sourceRoot":"","sources":["../getRegions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
1
+ {"version":3,"file":"getRegions.js","sourceRoot":"","sources":["../getRegions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gCASC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
package/getService.d.ts CHANGED
@@ -45,6 +45,7 @@ export interface GetServiceArgs {
45
45
  * DNS name of the service (_e.g.,_ `rds.us-east-1.amazonaws.com`). One of `dnsName`, `reverseDnsName`, or `serviceId` is required.
46
46
  */
47
47
  dnsName?: string;
48
+ id?: string;
48
49
  /**
49
50
  * Region of the service (_e.g.,_ `us-west-2`, `ap-northeast-1`).
50
51
  */
@@ -67,9 +68,6 @@ export interface GetServiceArgs {
67
68
  */
68
69
  export interface GetServiceResult {
69
70
  readonly dnsName: string;
70
- /**
71
- * The provider-assigned unique ID for this managed resource.
72
- */
73
71
  readonly id: string;
74
72
  readonly partition: string;
75
73
  readonly region: string;
@@ -127,6 +125,7 @@ export interface GetServiceOutputArgs {
127
125
  * DNS name of the service (_e.g.,_ `rds.us-east-1.amazonaws.com`). One of `dnsName`, `reverseDnsName`, or `serviceId` is required.
128
126
  */
129
127
  dnsName?: pulumi.Input<string>;
128
+ id?: pulumi.Input<string>;
130
129
  /**
131
130
  * Region of the service (_e.g.,_ `us-west-2`, `ap-northeast-1`).
132
131
  */
package/getService.js CHANGED
@@ -47,6 +47,7 @@ function getService(args, opts) {
47
47
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
48
48
  return pulumi.runtime.invoke("aws:index/getService:getService", {
49
49
  "dnsName": args.dnsName,
50
+ "id": args.id,
50
51
  "region": args.region,
51
52
  "reverseDnsName": args.reverseDnsName,
52
53
  "reverseDnsPrefix": args.reverseDnsPrefix,
package/getService.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getService.js","sourceRoot":"","sources":["../getService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,SAAS,EAAE,IAA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;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
@@ -0,0 +1,192 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Creates a Global Accelerator custom routing accelerator.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const example = new aws.globalaccelerator.CustomRoutingAccelerator("example", {
14
+ * attributes: {
15
+ * flowLogsEnabled: true,
16
+ * flowLogsS3Bucket: "example-bucket",
17
+ * flowLogsS3Prefix: "flow-logs/",
18
+ * },
19
+ * enabled: true,
20
+ * ipAddressType: "IPV4",
21
+ * ipAddresses: ["1.2.3.4"],
22
+ * name: "Example",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * Global Accelerator custom routing accelerators can be imported using the `arn`, e.g.,
29
+ *
30
+ * ```sh
31
+ * $ pulumi import aws:globalaccelerator/customRoutingAccelerator:CustomRoutingAccelerator example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
32
+ * ```
33
+ */
34
+ export declare class CustomRoutingAccelerator extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing CustomRoutingAccelerator 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?: CustomRoutingAcceleratorState, opts?: pulumi.CustomResourceOptions): CustomRoutingAccelerator;
45
+ /**
46
+ * Returns true if the given object is an instance of CustomRoutingAccelerator. 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 CustomRoutingAccelerator;
50
+ /**
51
+ * The attributes of the accelerator. Fields documented below.
52
+ */
53
+ readonly attributes: pulumi.Output<outputs.globalaccelerator.CustomRoutingAcceleratorAttributes | undefined>;
54
+ /**
55
+ * The DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`.
56
+ */
57
+ readonly dnsName: pulumi.Output<string>;
58
+ /**
59
+ * Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.
60
+ */
61
+ readonly enabled: pulumi.Output<boolean | undefined>;
62
+ /**
63
+ * - The Global Accelerator Route 53 zone ID that can be used to
64
+ * route an [Alias Resource Record Set](https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html) to the Global Accelerator. This attribute
65
+ * is simply an alias for the zone ID `Z2BJ6XQ5FK7U4H`.
66
+ */
67
+ readonly hostedZoneId: pulumi.Output<string>;
68
+ /**
69
+ * The IP address type that an accelerator supports. For a custom routing accelerator, the value must be `"IPV4"`.
70
+ */
71
+ readonly ipAddressType: pulumi.Output<string | undefined>;
72
+ /**
73
+ * The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
74
+ */
75
+ readonly ipAddresses: pulumi.Output<string[] | undefined>;
76
+ /**
77
+ * IP address set associated with the accelerator.
78
+ */
79
+ readonly ipSets: pulumi.Output<outputs.globalaccelerator.CustomRoutingAcceleratorIpSet[]>;
80
+ /**
81
+ * The name of a custom routing accelerator.
82
+ */
83
+ readonly name: pulumi.Output<string>;
84
+ /**
85
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
86
+ *
87
+ * **attributes** supports the following attributes:
88
+ */
89
+ readonly tags: pulumi.Output<{
90
+ [key: string]: string;
91
+ } | undefined>;
92
+ /**
93
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
94
+ */
95
+ readonly tagsAll: pulumi.Output<{
96
+ [key: string]: string;
97
+ }>;
98
+ /**
99
+ * Create a CustomRoutingAccelerator resource with the given unique name, arguments, and options.
100
+ *
101
+ * @param name The _unique_ name of the resource.
102
+ * @param args The arguments to use to populate this resource's properties.
103
+ * @param opts A bag of options that control this resource's behavior.
104
+ */
105
+ constructor(name: string, args: CustomRoutingAcceleratorArgs, opts?: pulumi.CustomResourceOptions);
106
+ }
107
+ /**
108
+ * Input properties used for looking up and filtering CustomRoutingAccelerator resources.
109
+ */
110
+ export interface CustomRoutingAcceleratorState {
111
+ /**
112
+ * The attributes of the accelerator. Fields documented below.
113
+ */
114
+ attributes?: pulumi.Input<inputs.globalaccelerator.CustomRoutingAcceleratorAttributes>;
115
+ /**
116
+ * The DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`.
117
+ */
118
+ dnsName?: pulumi.Input<string>;
119
+ /**
120
+ * Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.
121
+ */
122
+ enabled?: pulumi.Input<boolean>;
123
+ /**
124
+ * - The Global Accelerator Route 53 zone ID that can be used to
125
+ * route an [Alias Resource Record Set](https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html) to the Global Accelerator. This attribute
126
+ * is simply an alias for the zone ID `Z2BJ6XQ5FK7U4H`.
127
+ */
128
+ hostedZoneId?: pulumi.Input<string>;
129
+ /**
130
+ * The IP address type that an accelerator supports. For a custom routing accelerator, the value must be `"IPV4"`.
131
+ */
132
+ ipAddressType?: pulumi.Input<string>;
133
+ /**
134
+ * The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
135
+ */
136
+ ipAddresses?: pulumi.Input<pulumi.Input<string>[]>;
137
+ /**
138
+ * IP address set associated with the accelerator.
139
+ */
140
+ ipSets?: pulumi.Input<pulumi.Input<inputs.globalaccelerator.CustomRoutingAcceleratorIpSet>[]>;
141
+ /**
142
+ * The name of a custom routing accelerator.
143
+ */
144
+ name?: pulumi.Input<string>;
145
+ /**
146
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
147
+ *
148
+ * **attributes** supports the following attributes:
149
+ */
150
+ tags?: pulumi.Input<{
151
+ [key: string]: pulumi.Input<string>;
152
+ }>;
153
+ /**
154
+ * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
155
+ */
156
+ tagsAll?: pulumi.Input<{
157
+ [key: string]: pulumi.Input<string>;
158
+ }>;
159
+ }
160
+ /**
161
+ * The set of arguments for constructing a CustomRoutingAccelerator resource.
162
+ */
163
+ export interface CustomRoutingAcceleratorArgs {
164
+ /**
165
+ * The attributes of the accelerator. Fields documented below.
166
+ */
167
+ attributes?: pulumi.Input<inputs.globalaccelerator.CustomRoutingAcceleratorAttributes>;
168
+ /**
169
+ * Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.
170
+ */
171
+ enabled?: pulumi.Input<boolean>;
172
+ /**
173
+ * The IP address type that an accelerator supports. For a custom routing accelerator, the value must be `"IPV4"`.
174
+ */
175
+ ipAddressType?: pulumi.Input<string>;
176
+ /**
177
+ * The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
178
+ */
179
+ ipAddresses?: pulumi.Input<pulumi.Input<string>[]>;
180
+ /**
181
+ * The name of a custom routing accelerator.
182
+ */
183
+ name: pulumi.Input<string>;
184
+ /**
185
+ * A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
186
+ *
187
+ * **attributes** supports the following attributes:
188
+ */
189
+ tags?: pulumi.Input<{
190
+ [key: string]: pulumi.Input<string>;
191
+ }>;
192
+ }
@@ -0,0 +1,100 @@
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.CustomRoutingAccelerator = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Creates a Global Accelerator custom routing accelerator.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aws from "@pulumi/aws";
16
+ *
17
+ * const example = new aws.globalaccelerator.CustomRoutingAccelerator("example", {
18
+ * attributes: {
19
+ * flowLogsEnabled: true,
20
+ * flowLogsS3Bucket: "example-bucket",
21
+ * flowLogsS3Prefix: "flow-logs/",
22
+ * },
23
+ * enabled: true,
24
+ * ipAddressType: "IPV4",
25
+ * ipAddresses: ["1.2.3.4"],
26
+ * name: "Example",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * Global Accelerator custom routing accelerators can be imported using the `arn`, e.g.,
33
+ *
34
+ * ```sh
35
+ * $ pulumi import aws:globalaccelerator/customRoutingAccelerator:CustomRoutingAccelerator example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
36
+ * ```
37
+ */
38
+ class CustomRoutingAccelerator extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing CustomRoutingAccelerator 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 CustomRoutingAccelerator(name, state, Object.assign(Object.assign({}, opts), { id: id }));
50
+ }
51
+ /**
52
+ * Returns true if the given object is an instance of CustomRoutingAccelerator. 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'] === CustomRoutingAccelerator.__pulumiType;
60
+ }
61
+ constructor(name, argsOrState, opts) {
62
+ let resourceInputs = {};
63
+ opts = opts || {};
64
+ if (opts.id) {
65
+ const state = argsOrState;
66
+ resourceInputs["attributes"] = state ? state.attributes : undefined;
67
+ resourceInputs["dnsName"] = state ? state.dnsName : undefined;
68
+ resourceInputs["enabled"] = state ? state.enabled : undefined;
69
+ resourceInputs["hostedZoneId"] = state ? state.hostedZoneId : undefined;
70
+ resourceInputs["ipAddressType"] = state ? state.ipAddressType : undefined;
71
+ resourceInputs["ipAddresses"] = state ? state.ipAddresses : undefined;
72
+ resourceInputs["ipSets"] = state ? state.ipSets : undefined;
73
+ resourceInputs["name"] = state ? state.name : undefined;
74
+ resourceInputs["tags"] = state ? state.tags : undefined;
75
+ resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
76
+ }
77
+ else {
78
+ const args = argsOrState;
79
+ if ((!args || args.name === undefined) && !opts.urn) {
80
+ throw new Error("Missing required property 'name'");
81
+ }
82
+ resourceInputs["attributes"] = args ? args.attributes : undefined;
83
+ resourceInputs["enabled"] = args ? args.enabled : undefined;
84
+ resourceInputs["ipAddressType"] = args ? args.ipAddressType : undefined;
85
+ resourceInputs["ipAddresses"] = args ? args.ipAddresses : undefined;
86
+ resourceInputs["name"] = args ? args.name : undefined;
87
+ resourceInputs["tags"] = args ? args.tags : undefined;
88
+ resourceInputs["dnsName"] = undefined /*out*/;
89
+ resourceInputs["hostedZoneId"] = undefined /*out*/;
90
+ resourceInputs["ipSets"] = undefined /*out*/;
91
+ resourceInputs["tagsAll"] = undefined /*out*/;
92
+ }
93
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
94
+ super(CustomRoutingAccelerator.__pulumiType, name, resourceInputs, opts);
95
+ }
96
+ }
97
+ exports.CustomRoutingAccelerator = CustomRoutingAccelerator;
98
+ /** @internal */
99
+ CustomRoutingAccelerator.__pulumiType = 'aws:globalaccelerator/customRoutingAccelerator:CustomRoutingAccelerator';
100
+ //# sourceMappingURL=customRoutingAccelerator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customRoutingAccelerator.js","sourceRoot":"","sources":["../../globalaccelerator/customRoutingAccelerator.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAuDD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UA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as outputs from "../types/output";
4
+ /**
5
+ * Provides a Global Accelerator custom routing endpoint group.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const example = new aws.globalaccelerator.CustomRoutingEndpointGroup("example", {
14
+ * listenerArn: aws_globalaccelerator_custom_routing_listener.example.id,
15
+ * destinationConfigurations: [{
16
+ * fromPort: 80,
17
+ * toPort: 8080,
18
+ * protocols: ["TCP"],
19
+ * }],
20
+ * endpointConfigurations: [{
21
+ * endpointId: aws_subnet.example.id,
22
+ * }],
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * Global Accelerator custom routing endpoint groups can be imported using the `id`, e.g.,
29
+ *
30
+ * ```sh
31
+ * $ pulumi import aws:globalaccelerator/customRoutingEndpointGroup:CustomRoutingEndpointGroup example arn:aws:globalaccelerator::111111111111:accelerator/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/listener/xxxxxxx/endpoint-group/xxxxxxxx
32
+ * ```
33
+ */
34
+ export declare class CustomRoutingEndpointGroup extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing CustomRoutingEndpointGroup 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?: CustomRoutingEndpointGroupState, opts?: pulumi.CustomResourceOptions): CustomRoutingEndpointGroup;
45
+ /**
46
+ * Returns true if the given object is an instance of CustomRoutingEndpointGroup. 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 CustomRoutingEndpointGroup;
50
+ /**
51
+ * The Amazon Resource Name (ARN) of the custom routing endpoint group.
52
+ */
53
+ readonly arn: pulumi.Output<string>;
54
+ /**
55
+ * The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
56
+ */
57
+ readonly destinationConfigurations: pulumi.Output<outputs.globalaccelerator.CustomRoutingEndpointGroupDestinationConfiguration[]>;
58
+ /**
59
+ * The list of endpoint objects. Fields documented below.
60
+ */
61
+ readonly endpointConfigurations: pulumi.Output<outputs.globalaccelerator.CustomRoutingEndpointGroupEndpointConfiguration[] | undefined>;
62
+ /**
63
+ * The name of the AWS Region where the custom routing endpoint group is located.
64
+ *
65
+ * **destination_configuration** supports the following attributes:
66
+ */
67
+ readonly endpointGroupRegion: pulumi.Output<string>;
68
+ /**
69
+ * The Amazon Resource Name (ARN) of the custom routing listener.
70
+ */
71
+ readonly listenerArn: pulumi.Output<string>;
72
+ /**
73
+ * Create a CustomRoutingEndpointGroup 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: CustomRoutingEndpointGroupArgs, opts?: pulumi.CustomResourceOptions);
80
+ }
81
+ /**
82
+ * Input properties used for looking up and filtering CustomRoutingEndpointGroup resources.
83
+ */
84
+ export interface CustomRoutingEndpointGroupState {
85
+ /**
86
+ * The Amazon Resource Name (ARN) of the custom routing endpoint group.
87
+ */
88
+ arn?: pulumi.Input<string>;
89
+ /**
90
+ * The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
91
+ */
92
+ destinationConfigurations?: pulumi.Input<pulumi.Input<inputs.globalaccelerator.CustomRoutingEndpointGroupDestinationConfiguration>[]>;
93
+ /**
94
+ * The list of endpoint objects. Fields documented below.
95
+ */
96
+ endpointConfigurations?: pulumi.Input<pulumi.Input<inputs.globalaccelerator.CustomRoutingEndpointGroupEndpointConfiguration>[]>;
97
+ /**
98
+ * The name of the AWS Region where the custom routing endpoint group is located.
99
+ *
100
+ * **destination_configuration** supports the following attributes:
101
+ */
102
+ endpointGroupRegion?: pulumi.Input<string>;
103
+ /**
104
+ * The Amazon Resource Name (ARN) of the custom routing listener.
105
+ */
106
+ listenerArn?: pulumi.Input<string>;
107
+ }
108
+ /**
109
+ * The set of arguments for constructing a CustomRoutingEndpointGroup resource.
110
+ */
111
+ export interface CustomRoutingEndpointGroupArgs {
112
+ /**
113
+ * The port ranges and protocols for all endpoints in a custom routing endpoint group to accept client traffic on. Fields documented below.
114
+ */
115
+ destinationConfigurations: pulumi.Input<pulumi.Input<inputs.globalaccelerator.CustomRoutingEndpointGroupDestinationConfiguration>[]>;
116
+ /**
117
+ * The list of endpoint objects. Fields documented below.
118
+ */
119
+ endpointConfigurations?: pulumi.Input<pulumi.Input<inputs.globalaccelerator.CustomRoutingEndpointGroupEndpointConfiguration>[]>;
120
+ /**
121
+ * The name of the AWS Region where the custom routing endpoint group is located.
122
+ *
123
+ * **destination_configuration** supports the following attributes:
124
+ */
125
+ endpointGroupRegion?: pulumi.Input<string>;
126
+ /**
127
+ * The Amazon Resource Name (ARN) of the custom routing listener.
128
+ */
129
+ listenerArn: pulumi.Input<string>;
130
+ }