@pulumi/aws-native 1.26.0-alpha.1741696873 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (346) hide show
  1. package/athena/dataCatalog.d.ts +26 -2
  2. package/athena/dataCatalog.js +6 -0
  3. package/athena/dataCatalog.js.map +1 -1
  4. package/athena/getDataCatalog.d.ts +13 -1
  5. package/athena/getDataCatalog.js.map +1 -1
  6. package/backup/getRestoreTestingPlan.d.ts +1 -1
  7. package/backup/restoreTestingPlan.d.ts +2 -2
  8. package/batch/computeEnvironment.d.ts +4 -0
  9. package/batch/computeEnvironment.js.map +1 -1
  10. package/batch/consumableResource.d.ts +92 -0
  11. package/batch/consumableResource.js +78 -0
  12. package/batch/consumableResource.js.map +1 -0
  13. package/batch/getConsumableResource.d.ts +43 -0
  14. package/batch/getConsumableResource.js +28 -0
  15. package/batch/getConsumableResource.js.map +1 -0
  16. package/batch/getJobDefinition.d.ts +5 -0
  17. package/batch/getJobDefinition.js.map +1 -1
  18. package/batch/index.d.ts +6 -0
  19. package/batch/index.js +8 -1
  20. package/batch/index.js.map +1 -1
  21. package/batch/jobDefinition.d.ts +9 -0
  22. package/batch/jobDefinition.js +4 -0
  23. package/batch/jobDefinition.js.map +1 -1
  24. package/bedrock/agent.d.ts +24 -0
  25. package/bedrock/agent.js.map +1 -1
  26. package/bedrock/blueprint.d.ts +108 -0
  27. package/bedrock/blueprint.js +82 -0
  28. package/bedrock/blueprint.js.map +1 -0
  29. package/bedrock/dataAutomationProject.d.ts +124 -0
  30. package/bedrock/dataAutomationProject.js +82 -0
  31. package/bedrock/dataAutomationProject.js.map +1 -0
  32. package/bedrock/getAgent.d.ts +12 -0
  33. package/bedrock/getAgent.js.map +1 -1
  34. package/bedrock/getBlueprint.d.ts +61 -0
  35. package/bedrock/getBlueprint.js +28 -0
  36. package/bedrock/getBlueprint.js.map +1 -0
  37. package/bedrock/getDataAutomationProject.d.ts +75 -0
  38. package/bedrock/getDataAutomationProject.js +28 -0
  39. package/bedrock/getDataAutomationProject.js.map +1 -0
  40. package/bedrock/index.d.ts +12 -0
  41. package/bedrock/index.js +15 -1
  42. package/bedrock/index.js.map +1 -1
  43. package/ce/costCategory.d.ts +11 -1
  44. package/ce/costCategory.js +3 -1
  45. package/ce/costCategory.js.map +1 -1
  46. package/ce/getCostCategory.d.ts +7 -2
  47. package/ce/getCostCategory.js +2 -2
  48. package/ce/getCostCategory.js.map +1 -1
  49. package/chatbot/customAction.d.ts +2 -2
  50. package/chatbot/getCustomAction.d.ts +1 -1
  51. package/chatbot/getMicrosoftTeamsChannelConfiguration.d.ts +4 -0
  52. package/chatbot/getMicrosoftTeamsChannelConfiguration.js.map +1 -1
  53. package/chatbot/microsoftTeamsChannelConfiguration.d.ts +8 -0
  54. package/chatbot/microsoftTeamsChannelConfiguration.js +2 -0
  55. package/chatbot/microsoftTeamsChannelConfiguration.js.map +1 -1
  56. package/cloudformation/getStack.d.ts +1 -1
  57. package/cloudformation/stack.d.ts +2 -2
  58. package/cloudtrail/getChannel.d.ts +4 -0
  59. package/cloudtrail/getChannel.js.map +1 -1
  60. package/cognito/getUserPool.d.ts +1 -1
  61. package/cognito/userPool.d.ts +2 -2
  62. package/datasync/locationNfs.js +0 -2
  63. package/datasync/locationNfs.js.map +1 -1
  64. package/datasync/locationObjectStorage.js +1 -1
  65. package/datasync/locationObjectStorage.js.map +1 -1
  66. package/datazone/domain.d.ts +16 -0
  67. package/datazone/domain.js +5 -1
  68. package/datazone/domain.js.map +1 -1
  69. package/datazone/getDomain.d.ts +4 -0
  70. package/datazone/getDomain.js.map +1 -1
  71. package/dynamodb/getTable.d.ts +2 -2
  72. package/dynamodb/table.d.ts +4 -4
  73. package/ec2/carrierGateway.d.ts +1 -1
  74. package/ec2/carrierGateway.js +1 -1
  75. package/ec2/getCarrierGateway.d.ts +2 -2
  76. package/ec2/getCarrierGateway.js +2 -2
  77. package/ec2/getLocalGatewayRoute.d.ts +2 -2
  78. package/ec2/getLocalGatewayRoute.js +2 -2
  79. package/ec2/getLocalGatewayRouteTable.d.ts +2 -2
  80. package/ec2/getLocalGatewayRouteTable.js +2 -2
  81. package/ec2/getLocalGatewayRouteTableVirtualInterfaceGroupAssociation.d.ts +2 -2
  82. package/ec2/getLocalGatewayRouteTableVirtualInterfaceGroupAssociation.js +2 -2
  83. package/ec2/getLocalGatewayRouteTableVpcAssociation.d.ts +2 -2
  84. package/ec2/getLocalGatewayRouteTableVpcAssociation.js +2 -2
  85. package/ec2/getVpcEndpointService.d.ts +5 -0
  86. package/ec2/getVpcEndpointService.js.map +1 -1
  87. package/ec2/localGatewayRoute.d.ts +1 -1
  88. package/ec2/localGatewayRoute.js +1 -1
  89. package/ec2/localGatewayRouteTable.d.ts +1 -1
  90. package/ec2/localGatewayRouteTable.js +1 -1
  91. package/ec2/localGatewayRouteTableVirtualInterfaceGroupAssociation.d.ts +1 -1
  92. package/ec2/localGatewayRouteTableVirtualInterfaceGroupAssociation.js +1 -1
  93. package/ec2/localGatewayRouteTableVpcAssociation.d.ts +1 -1
  94. package/ec2/localGatewayRouteTableVpcAssociation.js +1 -1
  95. package/ec2/vpcEndpointService.d.ts +9 -0
  96. package/ec2/vpcEndpointService.js +2 -0
  97. package/ec2/vpcEndpointService.js.map +1 -1
  98. package/ecr/getReplicationConfiguration.d.ts +7 -5
  99. package/ecr/getReplicationConfiguration.js +4 -2
  100. package/ecr/getReplicationConfiguration.js.map +1 -1
  101. package/ecr/getRepositoryCreationTemplate.d.ts +13 -13
  102. package/ecr/getRepositoryCreationTemplate.js +2 -2
  103. package/ecr/pullThroughCacheRule.d.ts +13 -9
  104. package/ecr/pullThroughCacheRule.js +6 -2
  105. package/ecr/pullThroughCacheRule.js.map +1 -1
  106. package/ecr/replicationConfiguration.d.ts +3 -2
  107. package/ecr/replicationConfiguration.js +2 -1
  108. package/ecr/replicationConfiguration.js.map +1 -1
  109. package/ecr/repositoryCreationTemplate.d.ts +19 -19
  110. package/ecr/repositoryCreationTemplate.js +1 -1
  111. package/ecs/getService.d.ts +1 -1
  112. package/ecs/service.d.ts +2 -2
  113. package/ecs/taskDefinition.d.ts +2 -4
  114. package/ecs/taskDefinition.js.map +1 -1
  115. package/elasticloadbalancingv2/getLoadBalancer.d.ts +2 -1
  116. package/elasticloadbalancingv2/getLoadBalancer.js.map +1 -1
  117. package/elasticloadbalancingv2/loadBalancer.d.ts +4 -2
  118. package/elasticloadbalancingv2/loadBalancer.js +2 -0
  119. package/elasticloadbalancingv2/loadBalancer.js.map +1 -1
  120. package/gamelift/containerFleet.d.ts +2 -2
  121. package/gamelift/fleet.d.ts +2 -2
  122. package/gamelift/getContainerFleet.d.ts +1 -1
  123. package/gamelift/getFleet.d.ts +1 -1
  124. package/gameliftstreams/application.d.ts +113 -0
  125. package/gameliftstreams/application.js +86 -0
  126. package/gameliftstreams/application.js.map +1 -0
  127. package/gameliftstreams/getApplication.d.ts +55 -0
  128. package/gameliftstreams/getApplication.js +28 -0
  129. package/gameliftstreams/getApplication.js.map +1 -0
  130. package/gameliftstreams/getStreamGroup.d.ts +50 -0
  131. package/gameliftstreams/getStreamGroup.js +28 -0
  132. package/gameliftstreams/getStreamGroup.js.map +1 -0
  133. package/gameliftstreams/index.d.ts +12 -0
  134. package/gameliftstreams/index.js +32 -0
  135. package/gameliftstreams/index.js.map +1 -0
  136. package/gameliftstreams/streamGroup.d.ts +165 -0
  137. package/gameliftstreams/streamGroup.js +79 -0
  138. package/gameliftstreams/streamGroup.js.map +1 -0
  139. package/guardduty/getPublishingDestination.d.ts +6 -0
  140. package/guardduty/getPublishingDestination.js.map +1 -1
  141. package/guardduty/publishingDestination.d.ts +12 -0
  142. package/guardduty/publishingDestination.js.map +1 -1
  143. package/iam/getManagedPolicy.d.ts +44 -0
  144. package/iam/getManagedPolicy.js.map +1 -1
  145. package/iam/getSamlProvider.d.ts +13 -0
  146. package/iam/getSamlProvider.js.map +1 -1
  147. package/iam/index.d.ts +1 -0
  148. package/iam/index.js +16 -0
  149. package/iam/index.js.map +1 -1
  150. package/iam/managedPolicy.d.ts +34 -0
  151. package/iam/managedPolicy.js.map +1 -1
  152. package/iam/samlProvider.d.ts +40 -3
  153. package/iam/samlProvider.js +11 -4
  154. package/iam/samlProvider.js.map +1 -1
  155. package/index.d.ts +2 -1
  156. package/index.js +5 -3
  157. package/index.js.map +1 -1
  158. package/iot/getSoftwarePackage.d.ts +9 -0
  159. package/iot/getSoftwarePackage.js.map +1 -1
  160. package/iot/getSoftwarePackageVersion.d.ts +7 -0
  161. package/iot/getSoftwarePackageVersion.js.map +1 -1
  162. package/iot/getThingType.d.ts +1 -1
  163. package/iot/getTopicRule.d.ts +0 -4
  164. package/iot/getTopicRule.js.map +1 -1
  165. package/iot/softwarePackage.d.ts +12 -0
  166. package/iot/softwarePackage.js.map +1 -1
  167. package/iot/softwarePackageVersion.d.ts +13 -0
  168. package/iot/softwarePackageVersion.js +8 -0
  169. package/iot/softwarePackageVersion.js.map +1 -1
  170. package/iot/thingType.d.ts +2 -2
  171. package/iot/topicRule.d.ts +0 -4
  172. package/iot/topicRule.js.map +1 -1
  173. package/lambda/function.d.ts +14 -2
  174. package/lambda/function.js +1 -1
  175. package/lambda/function.js.map +1 -1
  176. package/lambda/getFunction.d.ts +7 -5
  177. package/lambda/getFunction.js.map +1 -1
  178. package/medialive/cloudWatchAlarmTemplate.d.ts +2 -2
  179. package/medialive/cloudWatchAlarmTemplate.js +0 -3
  180. package/medialive/cloudWatchAlarmTemplate.js.map +1 -1
  181. package/medialive/eventBridgeRuleTemplate.d.ts +2 -2
  182. package/medialive/eventBridgeRuleTemplate.js +0 -3
  183. package/medialive/eventBridgeRuleTemplate.js.map +1 -1
  184. package/mediapackagev2/channel.d.ts +16 -0
  185. package/mediapackagev2/channel.js +4 -0
  186. package/mediapackagev2/channel.js.map +1 -1
  187. package/mediapackagev2/getChannel.d.ts +8 -0
  188. package/mediapackagev2/getChannel.js.map +1 -1
  189. package/msk/batchScramSecret.d.ts +12 -0
  190. package/msk/batchScramSecret.js.map +1 -1
  191. package/msk/cluster.d.ts +69 -0
  192. package/msk/cluster.js.map +1 -1
  193. package/msk/configuration.d.ts +33 -0
  194. package/msk/configuration.js.map +1 -1
  195. package/msk/getBatchScramSecret.d.ts +9 -0
  196. package/msk/getBatchScramSecret.js.map +1 -1
  197. package/msk/getCluster.d.ts +39 -0
  198. package/msk/getCluster.js.map +1 -1
  199. package/msk/getConfiguration.d.ts +15 -0
  200. package/msk/getConfiguration.js.map +1 -1
  201. package/msk/getServerlessCluster.d.ts +9 -0
  202. package/msk/getServerlessCluster.js.map +1 -1
  203. package/msk/getVpcConnection.d.ts +3 -0
  204. package/msk/getVpcConnection.js.map +1 -1
  205. package/msk/replicator.d.ts +1 -5
  206. package/msk/replicator.js +1 -1
  207. package/msk/replicator.js.map +1 -1
  208. package/msk/serverlessCluster.d.ts +21 -0
  209. package/msk/serverlessCluster.js.map +1 -1
  210. package/msk/vpcConnection.d.ts +24 -0
  211. package/msk/vpcConnection.js.map +1 -1
  212. package/opensearchserverless/getIndex.d.ts +44 -0
  213. package/opensearchserverless/getIndex.js +30 -0
  214. package/opensearchserverless/getIndex.js.map +1 -0
  215. package/opensearchserverless/getSecurityConfig.d.ts +3 -0
  216. package/opensearchserverless/getSecurityConfig.js.map +1 -1
  217. package/opensearchserverless/index.d.ts +6 -0
  218. package/opensearchserverless/index.js +8 -1
  219. package/opensearchserverless/index.js.map +1 -1
  220. package/opensearchserverless/index_.d.ts +71 -0
  221. package/opensearchserverless/index_.js +69 -0
  222. package/opensearchserverless/index_.js.map +1 -0
  223. package/opensearchserverless/securityConfig.d.ts +6 -0
  224. package/opensearchserverless/securityConfig.js.map +1 -1
  225. package/package.json +3 -3
  226. package/package.json.dev +2 -2
  227. package/pcaconnectorad/connector.d.ts +1 -1
  228. package/pcaconnectorad/connector.js +1 -1
  229. package/pcaconnectorad/getConnector.d.ts +2 -2
  230. package/pcaconnectorad/getConnector.js +2 -2
  231. package/quicksight/getTheme.d.ts +12 -0
  232. package/quicksight/getTheme.js.map +1 -1
  233. package/rds/dbInstance.d.ts +14 -2
  234. package/rds/dbInstance.js +2 -0
  235. package/rds/dbInstance.js.map +1 -1
  236. package/rds/dbParameterGroup.d.ts +2 -2
  237. package/rds/getDbInstance.d.ts +1 -1
  238. package/rds/getDbParameterGroup.d.ts +1 -1
  239. package/rds/getGlobalCluster.d.ts +0 -3
  240. package/rds/getGlobalCluster.js.map +1 -1
  241. package/rds/globalCluster.d.ts +0 -3
  242. package/rds/globalCluster.js.map +1 -1
  243. package/redshift/integration.d.ts +2 -2
  244. package/rum/appMonitor.d.ts +2 -0
  245. package/rum/appMonitor.js +2 -0
  246. package/rum/appMonitor.js.map +1 -1
  247. package/rum/getAppMonitor.d.ts +1 -0
  248. package/rum/getAppMonitor.js.map +1 -1
  249. package/s3/bucketPolicy.d.ts +4 -1
  250. package/s3/bucketPolicy.js +4 -1
  251. package/s3/bucketPolicy.js.map +1 -1
  252. package/s3/getBucketPolicy.d.ts +8 -2
  253. package/s3/getBucketPolicy.js +8 -2
  254. package/s3/getBucketPolicy.js.map +1 -1
  255. package/sagemaker/cluster.d.ts +2 -2
  256. package/sagemaker/getCluster.d.ts +1 -1
  257. package/sagemaker/getModelPackage.d.ts +4 -1
  258. package/sagemaker/getModelPackage.js.map +1 -1
  259. package/sagemaker/inferenceComponent.d.ts +2 -0
  260. package/sagemaker/inferenceComponent.js +2 -0
  261. package/sagemaker/inferenceComponent.js.map +1 -1
  262. package/sagemaker/modelPackage.d.ts +8 -2
  263. package/sagemaker/modelPackage.js.map +1 -1
  264. package/transfer/agreement.d.ts +10 -2
  265. package/transfer/agreement.js +2 -3
  266. package/transfer/agreement.js.map +1 -1
  267. package/transfer/getAgreement.d.ts +4 -0
  268. package/transfer/getAgreement.js.map +1 -1
  269. package/transfer/getServer.d.ts +5 -0
  270. package/transfer/getServer.js.map +1 -1
  271. package/transfer/server.d.ts +5 -0
  272. package/transfer/server.js.map +1 -1
  273. package/types/enums/athena/index.d.ts +17 -1
  274. package/types/enums/athena/index.js +13 -1
  275. package/types/enums/athena/index.js.map +1 -1
  276. package/types/enums/batch/index.d.ts +8 -0
  277. package/types/enums/batch/index.js +5 -1
  278. package/types/enums/batch/index.js.map +1 -1
  279. package/types/enums/bedrock/index.d.ts +94 -0
  280. package/types/enums/bedrock/index.js +70 -2
  281. package/types/enums/bedrock/index.js.map +1 -1
  282. package/types/enums/datazone/index.d.ts +8 -0
  283. package/types/enums/datazone/index.js +5 -1
  284. package/types/enums/datazone/index.js.map +1 -1
  285. package/types/enums/dms/index.d.ts +7 -0
  286. package/types/enums/dms/index.js +7 -1
  287. package/types/enums/dms/index.js.map +1 -1
  288. package/types/enums/ec2/index.d.ts +6 -1
  289. package/types/enums/ec2/index.js +5 -1
  290. package/types/enums/ec2/index.js.map +1 -1
  291. package/types/enums/ecr/index.d.ts +1 -1
  292. package/types/enums/ecs/index.d.ts +5 -1
  293. package/types/enums/ecs/index.js.map +1 -1
  294. package/types/enums/iam/index.d.ts +8 -0
  295. package/types/enums/iam/index.js +10 -0
  296. package/types/enums/iam/index.js.map +1 -0
  297. package/types/enums/index.d.ts +2 -1
  298. package/types/enums/index.js +5 -3
  299. package/types/enums/index.js.map +1 -1
  300. package/types/enums/iot/index.d.ts +10 -0
  301. package/types/enums/iot/index.js +7 -1
  302. package/types/enums/iot/index.js.map +1 -1
  303. package/types/enums/medialive/index.d.ts +1 -0
  304. package/types/enums/medialive/index.js +1 -0
  305. package/types/enums/medialive/index.js.map +1 -1
  306. package/types/enums/msk/index.d.ts +15 -0
  307. package/types/enums/msk/index.js.map +1 -1
  308. package/types/enums/oam/index.d.ts +2 -0
  309. package/types/enums/oam/index.js +2 -0
  310. package/types/enums/oam/index.js.map +1 -1
  311. package/types/enums/opensearchserverless/index.d.ts +37 -0
  312. package/types/enums/opensearchserverless/index.js +22 -1
  313. package/types/enums/opensearchserverless/index.js.map +1 -1
  314. package/types/enums/pcaconnectorad/index.d.ts +5 -0
  315. package/types/enums/pcaconnectorad/index.js +5 -1
  316. package/types/enums/pcaconnectorad/index.js.map +1 -1
  317. package/types/enums/quicksight/index.d.ts +31 -0
  318. package/types/enums/quicksight/index.js +35 -9
  319. package/types/enums/quicksight/index.js.map +1 -1
  320. package/types/enums/sagemaker/index.d.ts +5 -0
  321. package/types/enums/sagemaker/index.js +7 -3
  322. package/types/enums/sagemaker/index.js.map +1 -1
  323. package/types/enums/wafv2/index.d.ts +78 -0
  324. package/types/enums/wafv2/index.js +25 -1
  325. package/types/enums/wafv2/index.js.map +1 -1
  326. package/types/enums/workspacesweb/index.d.ts +29 -0
  327. package/types/enums/workspacesweb/index.js +26 -1
  328. package/types/enums/workspacesweb/index.js.map +1 -1
  329. package/types/input.d.ts +1540 -80
  330. package/types/output.d.ts +1551 -88
  331. package/types/output.js.map +1 -1
  332. package/wisdom/aiPrompt.d.ts +2 -2
  333. package/workspacesweb/getUserSettings.d.ts +4 -0
  334. package/workspacesweb/getUserSettings.js.map +1 -1
  335. package/workspacesweb/userSettings.d.ts +8 -0
  336. package/workspacesweb/userSettings.js +2 -0
  337. package/workspacesweb/userSettings.js.map +1 -1
  338. package/xray/getTransactionSearchConfig.d.ts +19 -0
  339. package/xray/getTransactionSearchConfig.js +28 -0
  340. package/xray/getTransactionSearchConfig.js.map +1 -0
  341. package/xray/index.d.ts +6 -0
  342. package/xray/index.js +8 -1
  343. package/xray/index.js.map +1 -1
  344. package/xray/transactionSearchConfig.d.ts +36 -0
  345. package/xray/transactionSearchConfig.js +58 -0
  346. package/xray/transactionSearchConfig.js.map +1 -0
@@ -74,10 +74,18 @@ export declare class DataCatalog extends pulumi.CustomResource {
74
74
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
75
  */
76
76
  static isInstance(obj: any): obj is DataCatalog;
77
+ /**
78
+ * The type of connection for a FEDERATED data catalog
79
+ */
80
+ readonly connectionType: pulumi.Output<string | undefined>;
77
81
  /**
78
82
  * A description of the data catalog to be created.
79
83
  */
80
84
  readonly description: pulumi.Output<string | undefined>;
85
+ /**
86
+ * Text of the error that occurred during data catalog creation or deletion.
87
+ */
88
+ readonly error: pulumi.Output<string | undefined>;
81
89
  /**
82
90
  * The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
83
91
  */
@@ -88,12 +96,16 @@ export declare class DataCatalog extends pulumi.CustomResource {
88
96
  readonly parameters: pulumi.Output<{
89
97
  [key: string]: string;
90
98
  } | undefined>;
99
+ /**
100
+ * The status of the creation or deletion of the data catalog. LAMBDA, GLUE, and HIVE data catalog types are created synchronously. Their status is either CREATE_COMPLETE or CREATE_FAILED. The FEDERATED data catalog type is created asynchronously.
101
+ */
102
+ readonly status: pulumi.Output<enums.athena.DataCatalogStatus | undefined>;
91
103
  /**
92
104
  * A list of comma separated tags to add to the data catalog that is created.
93
105
  */
94
106
  readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
95
107
  /**
96
- * The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
108
+ * The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. FEDERATED is a federated catalog for which Athena creates the connection and the Lambda function for you based on the parameters that you pass.
97
109
  */
98
110
  readonly type: pulumi.Output<enums.athena.DataCatalogType>;
99
111
  /**
@@ -109,10 +121,18 @@ export declare class DataCatalog extends pulumi.CustomResource {
109
121
  * The set of arguments for constructing a DataCatalog resource.
110
122
  */
111
123
  export interface DataCatalogArgs {
124
+ /**
125
+ * The type of connection for a FEDERATED data catalog
126
+ */
127
+ connectionType?: pulumi.Input<string>;
112
128
  /**
113
129
  * A description of the data catalog to be created.
114
130
  */
115
131
  description?: pulumi.Input<string>;
132
+ /**
133
+ * Text of the error that occurred during data catalog creation or deletion.
134
+ */
135
+ error?: pulumi.Input<string>;
116
136
  /**
117
137
  * The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
118
138
  */
@@ -123,12 +143,16 @@ export interface DataCatalogArgs {
123
143
  parameters?: pulumi.Input<{
124
144
  [key: string]: pulumi.Input<string>;
125
145
  }>;
146
+ /**
147
+ * The status of the creation or deletion of the data catalog. LAMBDA, GLUE, and HIVE data catalog types are created synchronously. Their status is either CREATE_COMPLETE or CREATE_FAILED. The FEDERATED data catalog type is created asynchronously.
148
+ */
149
+ status?: pulumi.Input<enums.athena.DataCatalogStatus>;
126
150
  /**
127
151
  * A list of comma separated tags to add to the data catalog that is created.
128
152
  */
129
153
  tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
130
154
  /**
131
- * The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
155
+ * The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. FEDERATED is a federated catalog for which Athena creates the connection and the Lambda function for you based on the parameters that you pass.
132
156
  */
133
157
  type: pulumi.Input<enums.athena.DataCatalogType>;
134
158
  }
@@ -98,16 +98,22 @@ class DataCatalog extends pulumi.CustomResource {
98
98
  if ((!args || args.type === undefined) && !opts.urn) {
99
99
  throw new Error("Missing required property 'type'");
100
100
  }
101
+ resourceInputs["connectionType"] = args ? args.connectionType : undefined;
101
102
  resourceInputs["description"] = args ? args.description : undefined;
103
+ resourceInputs["error"] = args ? args.error : undefined;
102
104
  resourceInputs["name"] = args ? args.name : undefined;
103
105
  resourceInputs["parameters"] = args ? args.parameters : undefined;
106
+ resourceInputs["status"] = args ? args.status : undefined;
104
107
  resourceInputs["tags"] = args ? args.tags : undefined;
105
108
  resourceInputs["type"] = args ? args.type : undefined;
106
109
  }
107
110
  else {
111
+ resourceInputs["connectionType"] = undefined /*out*/;
108
112
  resourceInputs["description"] = undefined /*out*/;
113
+ resourceInputs["error"] = undefined /*out*/;
109
114
  resourceInputs["name"] = undefined /*out*/;
110
115
  resourceInputs["parameters"] = undefined /*out*/;
116
+ resourceInputs["status"] = undefined /*out*/;
111
117
  resourceInputs["tags"] = undefined /*out*/;
112
118
  resourceInputs["type"] = undefined /*out*/;
113
119
  }
@@ -1 +1 @@
1
- {"version":3,"file":"dataCatalog.js","sourceRoot":"","sources":["../../athena/dataCatalog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAuBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAqB,EAAE,IAAmC;QAChF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,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,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,C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,GAAG,EAAE,gBAAgB,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAhGL,kCAiGC;AApFG,gBAAgB;AACO,wBAAY,GAAG,+BAA+B,CAAC"}
@@ -12,22 +12,34 @@ export interface GetDataCatalogArgs {
12
12
  name: string;
13
13
  }
14
14
  export interface GetDataCatalogResult {
15
+ /**
16
+ * The type of connection for a FEDERATED data catalog
17
+ */
18
+ readonly connectionType?: string;
15
19
  /**
16
20
  * A description of the data catalog to be created.
17
21
  */
18
22
  readonly description?: string;
23
+ /**
24
+ * Text of the error that occurred during data catalog creation or deletion.
25
+ */
26
+ readonly error?: string;
19
27
  /**
20
28
  * Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type.
21
29
  */
22
30
  readonly parameters?: {
23
31
  [key: string]: string;
24
32
  };
33
+ /**
34
+ * The status of the creation or deletion of the data catalog. LAMBDA, GLUE, and HIVE data catalog types are created synchronously. Their status is either CREATE_COMPLETE or CREATE_FAILED. The FEDERATED data catalog type is created asynchronously.
35
+ */
36
+ readonly status?: enums.athena.DataCatalogStatus;
25
37
  /**
26
38
  * A list of comma separated tags to add to the data catalog that is created.
27
39
  */
28
40
  readonly tags?: outputs.Tag[];
29
41
  /**
30
- * The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
42
+ * The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. FEDERATED is a federated catalog for which Athena creates the connection and the Lambda function for you based on the parameters that you pass.
31
43
  */
32
44
  readonly type?: enums.athena.DataCatalogType;
33
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getDataCatalog.js","sourceRoot":"","sources":["../../athena/getDataCatalog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AA2BD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC"}
1
+ {"version":3,"file":"getDataCatalog.js","sourceRoot":"","sources":["../../athena/getDataCatalog.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAuCD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC"}
@@ -21,7 +21,7 @@ export interface GetRestoreTestingPlanResult {
21
21
  */
22
22
  readonly restoreTestingPlanArn?: string;
23
23
  /**
24
- * A CRON expression in specified timezone when a restore testing plan is executed.
24
+ * A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression `cron(0 5 ? * * *)` .
25
25
  */
26
26
  readonly scheduleExpression?: string;
27
27
  /**
@@ -33,7 +33,7 @@ export declare class RestoreTestingPlan extends pulumi.CustomResource {
33
33
  */
34
34
  readonly restoreTestingPlanName: pulumi.Output<string>;
35
35
  /**
36
- * A CRON expression in specified timezone when a restore testing plan is executed.
36
+ * A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression `cron(0 5 ? * * *)` .
37
37
  */
38
38
  readonly scheduleExpression: pulumi.Output<string>;
39
39
  /**
@@ -76,7 +76,7 @@ export interface RestoreTestingPlanArgs {
76
76
  */
77
77
  restoreTestingPlanName?: pulumi.Input<string>;
78
78
  /**
79
- * A CRON expression in specified timezone when a restore testing plan is executed.
79
+ * A CRON expression in specified timezone when a restore testing plan is executed. When no CRON expression is provided, AWS Backup will use the default expression `cron(0 5 ? * * *)` .
80
80
  */
81
81
  scheduleExpression: pulumi.Input<string>;
82
82
  /**
@@ -42,6 +42,8 @@ export declare class ComputeEnvironment extends pulumi.CustomResource {
42
42
  /**
43
43
  * Specifies whether the compute environment is replaced if an update is made that requires replacing the instances in the compute environment. The default value is `true` . To enable more properties to be updated, set this property to `false` . When changing the value of this property to `false` , do not change any other properties at the same time. If other properties are changed at the same time, and the change needs to be rolled back but it can't, it's possible for the stack to go into the `UPDATE_ROLLBACK_FAILED` state. You can't update a stack that is in the `UPDATE_ROLLBACK_FAILED` state. However, if you can continue to roll it back, you can return the stack to its original settings and then try to update it again. For more information, see [Continue rolling back an update](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) in the *AWS CloudFormation User Guide* .
44
44
  *
45
+ * `ReplaceComputeEnvironment` is not applicable for Fargate compute environments. Fargate compute environments are always updated without interruption.
46
+ *
45
47
  * The properties that can't be changed without replacing the compute environment are in the [`ComputeResources`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html) property type: [`AllocationStrategy`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-allocationstrategy) , [`BidPercentage`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-bidpercentage) , [`Ec2Configuration`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2configuration) , [`Ec2KeyPair`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair) , [`Ec2KeyPair`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair) , [`ImageId`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-imageid) , [`InstanceRole`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancerole) , [`InstanceTypes`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancetypes) , [`LaunchTemplate`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-launchtemplate) , [`MaxvCpus`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-maxvcpus) , [`MinvCpus`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-minvcpus) , [`PlacementGroup`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-placementgroup) , [`SecurityGroupIds`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-securitygroupids) , [`Subnets`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-subnets) , [Tags](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-tags) , [`Type`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-type) , and [`UpdateToLatestImageVersion`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-updatetolatestimageversion) .
46
48
  */
47
49
  readonly replaceComputeEnvironment: pulumi.Output<boolean | undefined>;
@@ -119,6 +121,8 @@ export interface ComputeEnvironmentArgs {
119
121
  /**
120
122
  * Specifies whether the compute environment is replaced if an update is made that requires replacing the instances in the compute environment. The default value is `true` . To enable more properties to be updated, set this property to `false` . When changing the value of this property to `false` , do not change any other properties at the same time. If other properties are changed at the same time, and the change needs to be rolled back but it can't, it's possible for the stack to go into the `UPDATE_ROLLBACK_FAILED` state. You can't update a stack that is in the `UPDATE_ROLLBACK_FAILED` state. However, if you can continue to roll it back, you can return the stack to its original settings and then try to update it again. For more information, see [Continue rolling back an update](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html) in the *AWS CloudFormation User Guide* .
121
123
  *
124
+ * `ReplaceComputeEnvironment` is not applicable for Fargate compute environments. Fargate compute environments are always updated without interruption.
125
+ *
122
126
  * The properties that can't be changed without replacing the compute environment are in the [`ComputeResources`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html) property type: [`AllocationStrategy`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-allocationstrategy) , [`BidPercentage`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-bidpercentage) , [`Ec2Configuration`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2configuration) , [`Ec2KeyPair`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair) , [`Ec2KeyPair`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-ec2keypair) , [`ImageId`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-imageid) , [`InstanceRole`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancerole) , [`InstanceTypes`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancetypes) , [`LaunchTemplate`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-launchtemplate) , [`MaxvCpus`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-maxvcpus) , [`MinvCpus`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-minvcpus) , [`PlacementGroup`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-placementgroup) , [`SecurityGroupIds`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-securitygroupids) , [`Subnets`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-subnets) , [Tags](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-tags) , [`Type`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-type) , and [`UpdateToLatestImageVersion`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-updatetolatestimageversion) .
123
127
  */
124
128
  replaceComputeEnvironment?: pulumi.Input<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"computeEnvironment.js","sourceRoot":"","sources":["../../batch/computeEnvironment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,SAAgB,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAqED;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA4B,EAAE,IAAmC;QACvF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,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,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAA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AAG,SAAS,CAAC,OAAO,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,wBAAwB,EAAE,mCAAmC,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,CAAC;QACrJ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA5IL,gDA6IC;AAhIG,gBAAgB;AACO,+BAAY,GAAG,qCAAqC,CAAC"}
@@ -0,0 +1,92 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as enums from "../types/enums";
3
+ /**
4
+ * Resource Type schema for AWS::Batch::ConsumableResource
5
+ */
6
+ export declare class ConsumableResource extends pulumi.CustomResource {
7
+ /**
8
+ * Get an existing ConsumableResource resource's state with the given name, ID, and optional extra
9
+ * properties used to qualify the lookup.
10
+ *
11
+ * @param name The _unique_ name of the resulting resource.
12
+ * @param id The _unique_ provider ID of the resource to lookup.
13
+ * @param opts Optional settings to control the behavior of the CustomResource.
14
+ */
15
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ConsumableResource;
16
+ /**
17
+ * Returns true if the given object is an instance of ConsumableResource. This is designed to work even
18
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
19
+ */
20
+ static isInstance(obj: any): obj is ConsumableResource;
21
+ /**
22
+ * Available Quantity of ConsumableResource.
23
+ */
24
+ readonly availableQuantity: pulumi.Output<number>;
25
+ /**
26
+ * The Amazon Resource Name (ARN) of the consumable resource.
27
+ */
28
+ readonly consumableResourceArn: pulumi.Output<string>;
29
+ /**
30
+ * Name of ConsumableResource.
31
+ */
32
+ readonly consumableResourceName: pulumi.Output<string | undefined>;
33
+ /**
34
+ * The Unix timestamp (in milliseconds) for when the consumable resource was created.
35
+ */
36
+ readonly createdAt: pulumi.Output<number>;
37
+ /**
38
+ * In-use Quantity of ConsumableResource.
39
+ */
40
+ readonly inUseQuantity: pulumi.Output<number>;
41
+ /**
42
+ * Indicates whether the resource is available to be re-used after a job completes. Can be one of:
43
+ *
44
+ * - `REPLENISHABLE`
45
+ * - `NON_REPLENISHABLE`
46
+ */
47
+ readonly resourceType: pulumi.Output<enums.batch.ConsumableResourceResourceType>;
48
+ /**
49
+ * A key-value pair to associate with a resource.
50
+ */
51
+ readonly tags: pulumi.Output<{
52
+ [key: string]: string;
53
+ } | undefined>;
54
+ /**
55
+ * Total Quantity of ConsumableResource.
56
+ */
57
+ readonly totalQuantity: pulumi.Output<number>;
58
+ /**
59
+ * Create a ConsumableResource resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args: ConsumableResourceArgs, opts?: pulumi.CustomResourceOptions);
66
+ }
67
+ /**
68
+ * The set of arguments for constructing a ConsumableResource resource.
69
+ */
70
+ export interface ConsumableResourceArgs {
71
+ /**
72
+ * Name of ConsumableResource.
73
+ */
74
+ consumableResourceName?: pulumi.Input<string>;
75
+ /**
76
+ * Indicates whether the resource is available to be re-used after a job completes. Can be one of:
77
+ *
78
+ * - `REPLENISHABLE`
79
+ * - `NON_REPLENISHABLE`
80
+ */
81
+ resourceType: pulumi.Input<enums.batch.ConsumableResourceResourceType>;
82
+ /**
83
+ * A key-value pair to associate with a resource.
84
+ */
85
+ tags?: pulumi.Input<{
86
+ [key: string]: pulumi.Input<string>;
87
+ }>;
88
+ /**
89
+ * Total Quantity of ConsumableResource.
90
+ */
91
+ totalQuantity: pulumi.Input<number>;
92
+ }
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.ConsumableResource = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type schema for AWS::Batch::ConsumableResource
10
+ */
11
+ class ConsumableResource extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing ConsumableResource resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param opts Optional settings to control the behavior of the CustomResource.
19
+ */
20
+ static get(name, id, opts) {
21
+ return new ConsumableResource(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
22
+ }
23
+ /**
24
+ * Returns true if the given object is an instance of ConsumableResource. This is designed to work even
25
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
26
+ */
27
+ static isInstance(obj) {
28
+ if (obj === undefined || obj === null) {
29
+ return false;
30
+ }
31
+ return obj['__pulumiType'] === ConsumableResource.__pulumiType;
32
+ }
33
+ /**
34
+ * Create a ConsumableResource resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name, args, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (!opts.id) {
44
+ if ((!args || args.resourceType === undefined) && !opts.urn) {
45
+ throw new Error("Missing required property 'resourceType'");
46
+ }
47
+ if ((!args || args.totalQuantity === undefined) && !opts.urn) {
48
+ throw new Error("Missing required property 'totalQuantity'");
49
+ }
50
+ resourceInputs["consumableResourceName"] = args ? args.consumableResourceName : undefined;
51
+ resourceInputs["resourceType"] = args ? args.resourceType : undefined;
52
+ resourceInputs["tags"] = args ? args.tags : undefined;
53
+ resourceInputs["totalQuantity"] = args ? args.totalQuantity : undefined;
54
+ resourceInputs["availableQuantity"] = undefined /*out*/;
55
+ resourceInputs["consumableResourceArn"] = undefined /*out*/;
56
+ resourceInputs["createdAt"] = undefined /*out*/;
57
+ resourceInputs["inUseQuantity"] = undefined /*out*/;
58
+ }
59
+ else {
60
+ resourceInputs["availableQuantity"] = undefined /*out*/;
61
+ resourceInputs["consumableResourceArn"] = undefined /*out*/;
62
+ resourceInputs["consumableResourceName"] = undefined /*out*/;
63
+ resourceInputs["createdAt"] = undefined /*out*/;
64
+ resourceInputs["inUseQuantity"] = undefined /*out*/;
65
+ resourceInputs["resourceType"] = undefined /*out*/;
66
+ resourceInputs["tags"] = undefined /*out*/;
67
+ resourceInputs["totalQuantity"] = undefined /*out*/;
68
+ }
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
70
+ const replaceOnChanges = { replaceOnChanges: ["consumableResourceName", "resourceType", "tags.*"] };
71
+ opts = pulumi.mergeOptions(opts, replaceOnChanges);
72
+ super(ConsumableResource.__pulumiType, name, resourceInputs, opts);
73
+ }
74
+ }
75
+ exports.ConsumableResource = ConsumableResource;
76
+ /** @internal */
77
+ ConsumableResource.__pulumiType = 'aws-native:batch:ConsumableResource';
78
+ //# sourceMappingURL=consumableResource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consumableResource.js","sourceRoot":"","sources":["../../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AE,CAAC;QACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAtGL,gDAuGC;AA1FG,gBAAgB;AACO,+BAAY,GAAG,qCAAqC,CAAC"}
@@ -0,0 +1,43 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource Type schema for AWS::Batch::ConsumableResource
4
+ */
5
+ export declare function getConsumableResource(args: GetConsumableResourceArgs, opts?: pulumi.InvokeOptions): Promise<GetConsumableResourceResult>;
6
+ export interface GetConsumableResourceArgs {
7
+ /**
8
+ * The Amazon Resource Name (ARN) of the consumable resource.
9
+ */
10
+ consumableResourceArn: string;
11
+ }
12
+ export interface GetConsumableResourceResult {
13
+ /**
14
+ * Available Quantity of ConsumableResource.
15
+ */
16
+ readonly availableQuantity?: number;
17
+ /**
18
+ * The Amazon Resource Name (ARN) of the consumable resource.
19
+ */
20
+ readonly consumableResourceArn?: string;
21
+ /**
22
+ * The Unix timestamp (in milliseconds) for when the consumable resource was created.
23
+ */
24
+ readonly createdAt?: number;
25
+ /**
26
+ * In-use Quantity of ConsumableResource.
27
+ */
28
+ readonly inUseQuantity?: number;
29
+ /**
30
+ * Total Quantity of ConsumableResource.
31
+ */
32
+ readonly totalQuantity?: number;
33
+ }
34
+ /**
35
+ * Resource Type schema for AWS::Batch::ConsumableResource
36
+ */
37
+ export declare function getConsumableResourceOutput(args: GetConsumableResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConsumableResourceResult>;
38
+ export interface GetConsumableResourceOutputArgs {
39
+ /**
40
+ * The Amazon Resource Name (ARN) of the consumable resource.
41
+ */
42
+ consumableResourceArn: pulumi.Input<string>;
43
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getConsumableResourceOutput = exports.getConsumableResource = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Resource Type schema for AWS::Batch::ConsumableResource
10
+ */
11
+ function getConsumableResource(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("aws-native:batch:getConsumableResource", {
14
+ "consumableResourceArn": args.consumableResourceArn,
15
+ }, opts);
16
+ }
17
+ exports.getConsumableResource = getConsumableResource;
18
+ /**
19
+ * Resource Type schema for AWS::Batch::ConsumableResource
20
+ */
21
+ function getConsumableResourceOutput(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invokeOutput("aws-native:batch:getConsumableResource", {
24
+ "consumableResourceArn": args.consumableResourceArn,
25
+ }, opts);
26
+ }
27
+ exports.getConsumableResourceOutput = getConsumableResourceOutput;
28
+ //# sourceMappingURL=getConsumableResource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConsumableResource.js","sourceRoot":"","sources":["../../batch/getConsumableResource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sDAKC;AA+BD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kEAKC"}
@@ -11,6 +11,10 @@ export interface GetJobDefinitionArgs {
11
11
  jobDefinitionName: string;
12
12
  }
13
13
  export interface GetJobDefinitionResult {
14
+ /**
15
+ * Contains a list of consumable resources required by the job.
16
+ */
17
+ readonly consumableResourceProperties?: outputs.batch.JobDefinitionConsumableResourceProperties;
14
18
  /**
15
19
  * An object with properties specific to Amazon ECS-based jobs. When `containerProperties` is used in the job definition, it can't be used in addition to `eksProperties` , `ecsProperties` , or `nodeProperties` .
16
20
  */
@@ -23,6 +27,7 @@ export interface GetJobDefinitionResult {
23
27
  * An object with properties that are specific to Amazon EKS-based jobs. When `eksProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `nodeProperties` .
24
28
  */
25
29
  readonly eksProperties?: outputs.batch.JobDefinitionEksProperties;
30
+ readonly jobDefinitionArn?: string;
26
31
  /**
27
32
  * An object with properties that are specific to multi-node parallel jobs. When `nodeProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `eksProperties` .
28
33
  *
@@ -1 +1 @@
1
- {"version":3,"file":"getJobDefinition.js","sourceRoot":"","sources":["../../batch/getJobDefinition.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,C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AE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wDAKC"}
package/batch/index.d.ts CHANGED
@@ -1,9 +1,15 @@
1
1
  export { ComputeEnvironmentArgs } from "./computeEnvironment";
2
2
  export type ComputeEnvironment = import("./computeEnvironment").ComputeEnvironment;
3
3
  export declare const ComputeEnvironment: typeof import("./computeEnvironment").ComputeEnvironment;
4
+ export { ConsumableResourceArgs } from "./consumableResource";
5
+ export type ConsumableResource = import("./consumableResource").ConsumableResource;
6
+ export declare const ConsumableResource: typeof import("./consumableResource").ConsumableResource;
4
7
  export { GetComputeEnvironmentArgs, GetComputeEnvironmentResult, GetComputeEnvironmentOutputArgs } from "./getComputeEnvironment";
5
8
  export declare const getComputeEnvironment: typeof import("./getComputeEnvironment").getComputeEnvironment;
6
9
  export declare const getComputeEnvironmentOutput: typeof import("./getComputeEnvironment").getComputeEnvironmentOutput;
10
+ export { GetConsumableResourceArgs, GetConsumableResourceResult, GetConsumableResourceOutputArgs } from "./getConsumableResource";
11
+ export declare const getConsumableResource: typeof import("./getConsumableResource").getConsumableResource;
12
+ export declare const getConsumableResourceOutput: typeof import("./getConsumableResource").getConsumableResourceOutput;
7
13
  export { GetJobDefinitionArgs, GetJobDefinitionResult, GetJobDefinitionOutputArgs } from "./getJobDefinition";
8
14
  export declare const getJobDefinition: typeof import("./getJobDefinition").getJobDefinition;
9
15
  export declare const getJobDefinitionOutput: typeof import("./getJobDefinition").getJobDefinitionOutput;
package/batch/index.js CHANGED
@@ -16,14 +16,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.SchedulingPolicy = exports.JobQueue = exports.JobDefinition = exports.getSchedulingPolicyOutput = exports.getSchedulingPolicy = exports.getJobQueueOutput = exports.getJobQueue = exports.getJobDefinitionOutput = exports.getJobDefinition = exports.getComputeEnvironmentOutput = exports.getComputeEnvironment = exports.ComputeEnvironment = void 0;
19
+ exports.SchedulingPolicy = exports.JobQueue = exports.JobDefinition = exports.getSchedulingPolicyOutput = exports.getSchedulingPolicy = exports.getJobQueueOutput = exports.getJobQueue = exports.getJobDefinitionOutput = exports.getJobDefinition = exports.getConsumableResourceOutput = exports.getConsumableResource = exports.getComputeEnvironmentOutput = exports.getComputeEnvironment = exports.ConsumableResource = exports.ComputeEnvironment = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("../utilities");
22
22
  exports.ComputeEnvironment = null;
23
23
  utilities.lazyLoad(exports, ["ComputeEnvironment"], () => require("./computeEnvironment"));
24
+ exports.ConsumableResource = null;
25
+ utilities.lazyLoad(exports, ["ConsumableResource"], () => require("./consumableResource"));
24
26
  exports.getComputeEnvironment = null;
25
27
  exports.getComputeEnvironmentOutput = null;
26
28
  utilities.lazyLoad(exports, ["getComputeEnvironment", "getComputeEnvironmentOutput"], () => require("./getComputeEnvironment"));
29
+ exports.getConsumableResource = null;
30
+ exports.getConsumableResourceOutput = null;
31
+ utilities.lazyLoad(exports, ["getConsumableResource", "getConsumableResourceOutput"], () => require("./getConsumableResource"));
27
32
  exports.getJobDefinition = null;
28
33
  exports.getJobDefinitionOutput = null;
29
34
  utilities.lazyLoad(exports, ["getJobDefinition", "getJobDefinitionOutput"], () => require("./getJobDefinition"));
@@ -47,6 +52,8 @@ const _module = {
47
52
  switch (type) {
48
53
  case "aws-native:batch:ComputeEnvironment":
49
54
  return new exports.ComputeEnvironment(name, undefined, { urn });
55
+ case "aws-native:batch:ConsumableResource":
56
+ return new exports.ConsumableResource(name, undefined, { urn });
50
57
  case "aws-native:batch:JobDefinition":
51
58
  return new exports.JobDefinition(name, undefined, { urn });
52
59
  case "aws-native:batch:JobQueue":
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../batch/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;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C,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,2BAA2B;gBAC5B,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,mCAAmC;gBACpC,OAAO,IAAI,wBAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA"}
@@ -19,6 +19,10 @@ export declare class JobDefinition extends pulumi.CustomResource {
19
19
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
20
  */
21
21
  static isInstance(obj: any): obj is JobDefinition;
22
+ /**
23
+ * Contains a list of consumable resources required by the job.
24
+ */
25
+ readonly consumableResourceProperties: pulumi.Output<outputs.batch.JobDefinitionConsumableResourceProperties | undefined>;
22
26
  /**
23
27
  * An object with properties specific to Amazon ECS-based jobs. When `containerProperties` is used in the job definition, it can't be used in addition to `eksProperties` , `ecsProperties` , or `nodeProperties` .
24
28
  */
@@ -31,6 +35,7 @@ export declare class JobDefinition extends pulumi.CustomResource {
31
35
  * An object with properties that are specific to Amazon EKS-based jobs. When `eksProperties` is used in the job definition, it can't be used in addition to `containerProperties` , `ecsProperties` , or `nodeProperties` .
32
36
  */
33
37
  readonly eksProperties: pulumi.Output<outputs.batch.JobDefinitionEksProperties | undefined>;
38
+ readonly jobDefinitionArn: pulumi.Output<string>;
34
39
  /**
35
40
  * The name of the job definition.
36
41
  */
@@ -95,6 +100,10 @@ export declare class JobDefinition extends pulumi.CustomResource {
95
100
  * The set of arguments for constructing a JobDefinition resource.
96
101
  */
97
102
  export interface JobDefinitionArgs {
103
+ /**
104
+ * Contains a list of consumable resources required by the job.
105
+ */
106
+ consumableResourceProperties?: pulumi.Input<inputs.batch.JobDefinitionConsumableResourcePropertiesArgs>;
98
107
  /**
99
108
  * An object with properties specific to Amazon ECS-based jobs. When `containerProperties` is used in the job definition, it can't be used in addition to `eksProperties` , `ecsProperties` , or `nodeProperties` .
100
109
  */