@aws-cdk/cfn-property-mixins 2.252.0 → 2.253.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 (309) hide show
  1. package/.jsii.gz +0 -0
  2. package/.jsii.tabl.json.gz +0 -0
  3. package/.warnings.jsii.js +41 -2
  4. package/lib/services/alexa-ask/cfn-props-mixins.generated.js +1 -1
  5. package/lib/services/aws-accessanalyzer/cfn-props-mixins.generated.js +1 -1
  6. package/lib/services/aws-acmpca/cfn-props-mixins.generated.js +4 -4
  7. package/lib/services/aws-aiops/cfn-props-mixins.generated.js +1 -1
  8. package/lib/services/aws-amazonmq/cfn-props-mixins.generated.js +3 -3
  9. package/lib/services/aws-amplify/cfn-props-mixins.generated.js +3 -3
  10. package/lib/services/aws-amplifyuibuilder/cfn-props-mixins.generated.js +3 -3
  11. package/lib/services/aws-apigateway/cfn-props-mixins.generated.js +22 -22
  12. package/lib/services/aws-apigatewayv2/cfn-props-mixins.generated.js +14 -14
  13. package/lib/services/aws-appconfig/cfn-props-mixins.generated.js +8 -8
  14. package/lib/services/aws-appflow/cfn-props-mixins.generated.js +3 -3
  15. package/lib/services/aws-appintegrations/cfn-props-mixins.generated.js +3 -3
  16. package/lib/services/aws-applicationautoscaling/cfn-props-mixins.generated.js +2 -2
  17. package/lib/services/aws-applicationinsights/cfn-props-mixins.generated.js +1 -1
  18. package/lib/services/aws-applicationsignals/cfn-props-mixins.generated.js +3 -3
  19. package/lib/services/aws-appmesh/cfn-props-mixins.generated.js +7 -7
  20. package/lib/services/aws-apprunner/cfn-props-mixins.generated.js +5 -5
  21. package/lib/services/aws-appstream/cfn-props-mixins.generated.js +13 -13
  22. package/lib/services/aws-appsync/cfn-props-mixins.generated.js +12 -12
  23. package/lib/services/aws-apptest/cfn-props-mixins.generated.js +1 -1
  24. package/lib/services/aws-aps/cfn-props-mixins.generated.js +5 -5
  25. package/lib/services/aws-arcregionswitch/cfn-props-mixins.generated.js +1 -1
  26. package/lib/services/aws-arczonalshift/cfn-props-mixins.generated.js +2 -2
  27. package/lib/services/aws-athena/cfn-props-mixins.generated.js +5 -5
  28. package/lib/services/aws-auditmanager/cfn-props-mixins.generated.js +1 -1
  29. package/lib/services/aws-autoscaling/cfn-props-mixins.generated.js +6 -6
  30. package/lib/services/aws-autoscalingplans/cfn-props-mixins.generated.js +1 -1
  31. package/lib/services/aws-b2bi/cfn-props-mixins.generated.js +4 -4
  32. package/lib/services/aws-backup/cfn-props-mixins.generated.js +9 -9
  33. package/lib/services/aws-backupgateway/cfn-props-mixins.generated.js +1 -1
  34. package/lib/services/aws-batch/cfn-props-mixins.generated.d.ts +544 -544
  35. package/lib/services/aws-batch/cfn-props-mixins.generated.js +7 -7
  36. package/lib/services/aws-bcmdataexports/cfn-props-mixins.generated.js +1 -1
  37. package/lib/services/aws-bcmpricingcalculator/cfn-props-mixins.generated.js +1 -1
  38. package/lib/services/aws-bedrock/cfn-props-mixins.generated.js +20 -20
  39. package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.d.ts +286 -0
  40. package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.js +18 -18
  41. package/lib/services/aws-bedrockmantle/cfn-props-mixins.generated.js +1 -1
  42. package/lib/services/aws-billingconductor/cfn-props-mixins.generated.js +4 -4
  43. package/lib/services/aws-braket/cfn-props-mixins.generated.js +1 -1
  44. package/lib/services/aws-budgets/cfn-props-mixins.generated.js +2 -2
  45. package/lib/services/aws-cases/cfn-props-mixins.generated.js +5 -5
  46. package/lib/services/aws-cassandra/cfn-props-mixins.generated.js +3 -3
  47. package/lib/services/aws-ce/cfn-props-mixins.generated.js +3 -3
  48. package/lib/services/aws-certificatemanager/cfn-props-mixins.generated.js +2 -2
  49. package/lib/services/aws-chatbot/cfn-props-mixins.generated.js +3 -3
  50. package/lib/services/aws-chime/.jsiirc.json +13 -0
  51. package/lib/services/aws-chime/cfn-props-mixins.generated.d.ts +61 -0
  52. package/lib/services/aws-chime/cfn-props-mixins.generated.js +58 -0
  53. package/lib/services/aws-chime/index.d.ts +1 -0
  54. package/lib/services/aws-chime/index.js +17 -0
  55. package/lib/services/aws-cleanrooms/cfn-props-mixins.generated.js +8 -8
  56. package/lib/services/aws-cleanroomsml/cfn-props-mixins.generated.js +3 -3
  57. package/lib/services/aws-cloud9/cfn-props-mixins.generated.js +1 -1
  58. package/lib/services/aws-cloudformation/cfn-props-mixins.generated.js +18 -18
  59. package/lib/services/aws-cloudfront/cfn-props-mixins.generated.d.ts +15 -0
  60. package/lib/services/aws-cloudfront/cfn-props-mixins.generated.js +21 -20
  61. package/lib/services/aws-cloudtrail/cfn-props-mixins.generated.js +5 -5
  62. package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.d.ts +37 -0
  63. package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.js +58 -8
  64. package/lib/services/aws-codeartifact/cfn-props-mixins.generated.js +3 -3
  65. package/lib/services/aws-codebuild/cfn-props-mixins.generated.js +4 -4
  66. package/lib/services/aws-codecommit/cfn-props-mixins.generated.js +1 -1
  67. package/lib/services/aws-codeconnections/cfn-props-mixins.generated.js +1 -1
  68. package/lib/services/aws-codedeploy/cfn-props-mixins.generated.js +3 -3
  69. package/lib/services/aws-codeguruprofiler/cfn-props-mixins.generated.js +1 -1
  70. package/lib/services/aws-codegurureviewer/cfn-props-mixins.generated.js +1 -1
  71. package/lib/services/aws-codepipeline/cfn-props-mixins.generated.js +3 -3
  72. package/lib/services/aws-codestar/cfn-props-mixins.generated.js +1 -1
  73. package/lib/services/aws-codestarconnections/cfn-props-mixins.generated.js +3 -3
  74. package/lib/services/aws-codestarnotifications/cfn-props-mixins.generated.js +1 -1
  75. package/lib/services/aws-cognito/cfn-props-mixins.generated.d.ts +4 -0
  76. package/lib/services/aws-cognito/cfn-props-mixins.generated.js +17 -17
  77. package/lib/services/aws-comprehend/cfn-props-mixins.generated.js +2 -2
  78. package/lib/services/aws-computeoptimizer/cfn-props-mixins.generated.js +1 -1
  79. package/lib/services/aws-config/cfn-props-mixins.generated.js +10 -10
  80. package/lib/services/aws-connect/cfn-props-mixins.generated.js +34 -34
  81. package/lib/services/aws-connectcampaigns/cfn-props-mixins.generated.js +1 -1
  82. package/lib/services/aws-connectcampaignsv2/cfn-props-mixins.generated.js +1 -1
  83. package/lib/services/aws-controltower/cfn-props-mixins.generated.js +3 -3
  84. package/lib/services/aws-cur/cfn-props-mixins.generated.js +1 -1
  85. package/lib/services/aws-customerprofiles/cfn-props-mixins.generated.d.ts +108 -0
  86. package/lib/services/aws-customerprofiles/cfn-props-mixins.generated.js +59 -9
  87. package/lib/services/aws-databrew/cfn-props-mixins.generated.js +6 -6
  88. package/lib/services/aws-datapipeline/cfn-props-mixins.generated.js +1 -1
  89. package/lib/services/aws-datasync/cfn-props-mixins.generated.js +13 -13
  90. package/lib/services/aws-datazone/cfn-props-mixins.generated.js +17 -17
  91. package/lib/services/aws-dax/cfn-props-mixins.generated.js +3 -3
  92. package/lib/services/aws-deadline/cfn-props-mixins.generated.js +11 -11
  93. package/lib/services/aws-detective/cfn-props-mixins.generated.js +3 -3
  94. package/lib/services/aws-devicefarm/cfn-props-mixins.generated.js +6 -6
  95. package/lib/services/aws-devopsagent/cfn-props-mixins.generated.d.ts +165 -165
  96. package/lib/services/aws-devopsagent/cfn-props-mixins.generated.js +27 -27
  97. package/lib/services/aws-devopsguru/cfn-props-mixins.generated.js +3 -3
  98. package/lib/services/aws-directconnect/cfn-props-mixins.generated.js +7 -7
  99. package/lib/services/aws-directoryservice/cfn-props-mixins.generated.js +2 -2
  100. package/lib/services/aws-dlm/cfn-props-mixins.generated.js +1 -1
  101. package/lib/services/aws-dms/cfn-props-mixins.generated.js +11 -11
  102. package/lib/services/aws-docdb/cfn-props-mixins.generated.js +6 -6
  103. package/lib/services/aws-docdbelastic/cfn-props-mixins.generated.js +1 -1
  104. package/lib/services/aws-dsql/cfn-props-mixins.generated.js +1 -1
  105. package/lib/services/aws-dynamodb/cfn-props-mixins.generated.js +2 -2
  106. package/lib/services/aws-ec2/cfn-props-mixins.generated.d.ts +31 -0
  107. package/lib/services/aws-ec2/cfn-props-mixins.generated.js +115 -115
  108. package/lib/services/aws-ecr/cfn-props-mixins.generated.js +9 -9
  109. package/lib/services/aws-ecs/cfn-props-mixins.generated.js +10 -10
  110. package/lib/services/aws-efs/cfn-props-mixins.generated.js +3 -3
  111. package/lib/services/aws-eks/cfn-props-mixins.generated.js +8 -8
  112. package/lib/services/aws-elasticache/cfn-props-mixins.generated.js +10 -10
  113. package/lib/services/aws-elasticbeanstalk/cfn-props-mixins.generated.js +4 -4
  114. package/lib/services/aws-elasticloadbalancing/cfn-props-mixins.generated.js +1 -1
  115. package/lib/services/aws-elasticloadbalancingv2/cfn-props-mixins.generated.js +7 -7
  116. package/lib/services/aws-elasticsearch/cfn-props-mixins.generated.js +1 -1
  117. package/lib/services/aws-elementalinference/cfn-props-mixins.generated.js +1 -1
  118. package/lib/services/aws-emr/cfn-props-mixins.generated.js +8 -8
  119. package/lib/services/aws-emrcontainers/cfn-props-mixins.generated.js +3 -3
  120. package/lib/services/aws-emrserverless/cfn-props-mixins.generated.d.ts +7 -0
  121. package/lib/services/aws-emrserverless/cfn-props-mixins.generated.js +1 -1
  122. package/lib/services/aws-entityresolution/cfn-props-mixins.generated.js +5 -5
  123. package/lib/services/aws-eventschemas/cfn-props-mixins.generated.js +4 -4
  124. package/lib/services/aws-evidently/cfn-props-mixins.generated.js +5 -5
  125. package/lib/services/aws-evs/cfn-props-mixins.generated.js +1 -1
  126. package/lib/services/aws-finspace/cfn-props-mixins.generated.js +1 -1
  127. package/lib/services/aws-fis/cfn-props-mixins.generated.js +2 -2
  128. package/lib/services/aws-fms/cfn-props-mixins.generated.js +3 -3
  129. package/lib/services/aws-forecast/cfn-props-mixins.generated.js +2 -2
  130. package/lib/services/aws-frauddetector/cfn-props-mixins.generated.js +7 -7
  131. package/lib/services/aws-fsx/cfn-props-mixins.generated.js +6 -6
  132. package/lib/services/aws-gamelift/cfn-props-mixins.generated.js +11 -11
  133. package/lib/services/aws-gameliftstreams/cfn-props-mixins.generated.js +2 -2
  134. package/lib/services/aws-globalaccelerator/cfn-props-mixins.generated.js +4 -4
  135. package/lib/services/aws-glue/cfn-props-mixins.generated.d.ts +215 -0
  136. package/lib/services/aws-glue/cfn-props-mixins.generated.js +26 -26
  137. package/lib/services/aws-grafana/cfn-props-mixins.generated.js +1 -1
  138. package/lib/services/aws-greengrass/cfn-props-mixins.generated.js +16 -16
  139. package/lib/services/aws-greengrassv2/cfn-props-mixins.generated.js +2 -2
  140. package/lib/services/aws-groundstation/cfn-props-mixins.generated.js +4 -4
  141. package/lib/services/aws-guardduty/cfn-props-mixins.generated.js +10 -10
  142. package/lib/services/aws-healthimaging/cfn-props-mixins.generated.js +1 -1
  143. package/lib/services/aws-healthlake/cfn-props-mixins.generated.js +1 -1
  144. package/lib/services/aws-iam/cfn-props-mixins.generated.js +16 -16
  145. package/lib/services/aws-identitystore/cfn-props-mixins.generated.js +2 -2
  146. package/lib/services/aws-imagebuilder/cfn-props-mixins.generated.js +9 -9
  147. package/lib/services/aws-inspector/cfn-props-mixins.generated.js +3 -3
  148. package/lib/services/aws-inspectorv2/cfn-props-mixins.generated.js +4 -4
  149. package/lib/services/aws-interconnect/cfn-props-mixins.generated.js +1 -1
  150. package/lib/services/aws-internetmonitor/cfn-props-mixins.generated.js +1 -1
  151. package/lib/services/aws-invoicing/cfn-props-mixins.generated.js +1 -1
  152. package/lib/services/aws-iot/cfn-props-mixins.generated.js +30 -30
  153. package/lib/services/aws-iotanalytics/cfn-props-mixins.generated.js +4 -4
  154. package/lib/services/aws-iotcoredeviceadvisor/cfn-props-mixins.generated.js +1 -1
  155. package/lib/services/aws-iotevents/cfn-props-mixins.generated.js +3 -3
  156. package/lib/services/aws-iotfleethub/cfn-props-mixins.generated.js +1 -1
  157. package/lib/services/aws-iotfleetwise/cfn-props-mixins.generated.js +7 -7
  158. package/lib/services/aws-iotsitewise/cfn-props-mixins.generated.js +9 -9
  159. package/lib/services/aws-iotthingsgraph/cfn-props-mixins.generated.js +1 -1
  160. package/lib/services/aws-iottwinmaker/cfn-props-mixins.generated.js +5 -5
  161. package/lib/services/aws-iotwireless/cfn-props-mixins.generated.js +11 -11
  162. package/lib/services/aws-ivs/cfn-props-mixins.generated.js +10 -10
  163. package/lib/services/aws-ivschat/cfn-props-mixins.generated.js +2 -2
  164. package/lib/services/aws-kafkaconnect/cfn-props-mixins.generated.js +3 -3
  165. package/lib/services/aws-kendra/cfn-props-mixins.generated.js +3 -3
  166. package/lib/services/aws-kendraranking/cfn-props-mixins.generated.js +1 -1
  167. package/lib/services/aws-kinesis/cfn-props-mixins.generated.js +3 -3
  168. package/lib/services/aws-kinesisanalytics/cfn-props-mixins.generated.js +3 -3
  169. package/lib/services/aws-kinesisanalyticsv2/cfn-props-mixins.generated.js +4 -4
  170. package/lib/services/aws-kinesisfirehose/cfn-props-mixins.generated.js +1 -1
  171. package/lib/services/aws-kinesisvideo/cfn-props-mixins.generated.js +2 -2
  172. package/lib/services/aws-kms/cfn-props-mixins.generated.js +3 -3
  173. package/lib/services/aws-lakeformation/cfn-props-mixins.generated.js +7 -7
  174. package/lib/services/aws-lambda/cfn-props-mixins.generated.js +11 -11
  175. package/lib/services/aws-launchwizard/cfn-props-mixins.generated.js +1 -1
  176. package/lib/services/aws-lex/cfn-props-mixins.generated.js +4 -4
  177. package/lib/services/aws-licensemanager/cfn-props-mixins.generated.js +2 -2
  178. package/lib/services/aws-lightsail/cfn-props-mixins.generated.js +15 -15
  179. package/lib/services/aws-location/cfn-props-mixins.generated.js +7 -7
  180. package/lib/services/aws-logs/cfn-props-mixins.generated.d.ts +4 -0
  181. package/lib/services/aws-logs/cfn-props-mixins.generated.js +15 -15
  182. package/lib/services/aws-lookoutequipment/cfn-props-mixins.generated.js +1 -1
  183. package/lib/services/aws-lookoutmetrics/cfn-props-mixins.generated.js +2 -2
  184. package/lib/services/aws-lookoutvision/cfn-props-mixins.generated.js +1 -1
  185. package/lib/services/aws-m2/cfn-props-mixins.generated.js +3 -3
  186. package/lib/services/aws-macie/cfn-props-mixins.generated.js +4 -4
  187. package/lib/services/aws-managedblockchain/cfn-props-mixins.generated.js +3 -3
  188. package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.d.ts +6 -0
  189. package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.js +13 -13
  190. package/lib/services/aws-mediaconvert/cfn-props-mixins.generated.js +3 -3
  191. package/lib/services/aws-medialive/cfn-props-mixins.generated.js +14 -14
  192. package/lib/services/aws-mediapackage/cfn-props-mixins.generated.js +5 -5
  193. package/lib/services/aws-mediapackagev2/cfn-props-mixins.generated.js +5 -5
  194. package/lib/services/aws-mediastore/cfn-props-mixins.generated.js +1 -1
  195. package/lib/services/aws-mediatailor/cfn-props-mixins.generated.js +6 -6
  196. package/lib/services/aws-memorydb/cfn-props-mixins.generated.js +6 -6
  197. package/lib/services/aws-mpa/cfn-props-mixins.generated.js +2 -2
  198. package/lib/services/aws-msk/cfn-props-mixins.generated.d.ts +15 -0
  199. package/lib/services/aws-msk/cfn-props-mixins.generated.js +9 -9
  200. package/lib/services/aws-mwaa/cfn-props-mixins.generated.js +1 -1
  201. package/lib/services/aws-mwaaserverless/cfn-props-mixins.generated.js +1 -1
  202. package/lib/services/aws-neptune/cfn-props-mixins.generated.js +6 -6
  203. package/lib/services/aws-neptunegraph/cfn-props-mixins.generated.js +3 -3
  204. package/lib/services/aws-networkfirewall/cfn-props-mixins.generated.js +6 -6
  205. package/lib/services/aws-networkmanager/cfn-props-mixins.generated.js +16 -16
  206. package/lib/services/aws-nimblestudio/cfn-props-mixins.generated.js +4 -4
  207. package/lib/services/aws-notifications/cfn-props-mixins.generated.js +7 -7
  208. package/lib/services/aws-notificationscontacts/cfn-props-mixins.generated.js +1 -1
  209. package/lib/services/aws-novaact/cfn-props-mixins.generated.js +1 -1
  210. package/lib/services/aws-oam/cfn-props-mixins.generated.js +2 -2
  211. package/lib/services/aws-observabilityadmin/cfn-props-mixins.generated.js +6 -6
  212. package/lib/services/aws-odb/cfn-props-mixins.generated.js +5 -5
  213. package/lib/services/aws-omics/cfn-props-mixins.generated.js +8 -8
  214. package/lib/services/aws-opensearchserverless/cfn-props-mixins.generated.js +8 -8
  215. package/lib/services/aws-opensearchservice/cfn-props-mixins.generated.js +2 -2
  216. package/lib/services/aws-opsworks/cfn-props-mixins.generated.js +7 -7
  217. package/lib/services/aws-opsworkscm/cfn-props-mixins.generated.js +1 -1
  218. package/lib/services/aws-organizations/cfn-props-mixins.generated.js +5 -5
  219. package/lib/services/aws-osis/cfn-props-mixins.generated.js +1 -1
  220. package/lib/services/aws-panorama/cfn-props-mixins.generated.js +3 -3
  221. package/lib/services/aws-paymentcryptography/cfn-props-mixins.generated.js +2 -2
  222. package/lib/services/aws-pcaconnectorad/cfn-props-mixins.generated.js +5 -5
  223. package/lib/services/aws-pcaconnectorscep/cfn-props-mixins.generated.js +2 -2
  224. package/lib/services/aws-pcs/cfn-props-mixins.generated.js +3 -3
  225. package/lib/services/aws-personalize/cfn-props-mixins.generated.js +4 -4
  226. package/lib/services/aws-pinpoint/cfn-props-mixins.generated.js +19 -19
  227. package/lib/services/aws-pinpointemail/cfn-props-mixins.generated.js +4 -4
  228. package/lib/services/aws-pipes/cfn-props-mixins.generated.js +1 -1
  229. package/lib/services/aws-proton/cfn-props-mixins.generated.js +3 -3
  230. package/lib/services/aws-qbusiness/cfn-props-mixins.generated.js +8 -8
  231. package/lib/services/aws-qldb/cfn-props-mixins.generated.js +2 -2
  232. package/lib/services/aws-quicksight/cfn-props-mixins.generated.js +12 -12
  233. package/lib/services/aws-ram/cfn-props-mixins.generated.js +2 -2
  234. package/lib/services/aws-rbin/cfn-props-mixins.generated.js +1 -1
  235. package/lib/services/aws-rds/cfn-props-mixins.generated.d.ts +4 -0
  236. package/lib/services/aws-rds/cfn-props-mixins.generated.js +17 -17
  237. package/lib/services/aws-redshift/cfn-props-mixins.generated.js +10 -10
  238. package/lib/services/aws-redshiftserverless/cfn-props-mixins.generated.js +3 -3
  239. package/lib/services/aws-refactorspaces/cfn-props-mixins.generated.js +4 -4
  240. package/lib/services/aws-rekognition/cfn-props-mixins.generated.js +3 -3
  241. package/lib/services/aws-resiliencehub/cfn-props-mixins.generated.js +2 -2
  242. package/lib/services/aws-resourceexplorer2/cfn-props-mixins.generated.js +3 -3
  243. package/lib/services/aws-resourcegroups/cfn-props-mixins.generated.js +2 -2
  244. package/lib/services/aws-robomaker/cfn-props-mixins.generated.js +6 -6
  245. package/lib/services/aws-rolesanywhere/cfn-props-mixins.generated.js +3 -3
  246. package/lib/services/aws-route53/cfn-props-mixins.generated.js +7 -7
  247. package/lib/services/aws-route53globalresolver/cfn-props-mixins.generated.d.ts +4 -0
  248. package/lib/services/aws-route53globalresolver/cfn-props-mixins.generated.js +7 -7
  249. package/lib/services/aws-route53profiles/cfn-props-mixins.generated.js +3 -3
  250. package/lib/services/aws-route53recoverycontrol/cfn-props-mixins.generated.js +4 -4
  251. package/lib/services/aws-route53recoveryreadiness/cfn-props-mixins.generated.js +4 -4
  252. package/lib/services/aws-route53resolver/cfn-props-mixins.generated.js +11 -11
  253. package/lib/services/aws-rtbfabric/cfn-props-mixins.generated.d.ts +43 -0
  254. package/lib/services/aws-rtbfabric/cfn-props-mixins.generated.js +5 -5
  255. package/lib/services/aws-rum/cfn-props-mixins.generated.js +1 -1
  256. package/lib/services/aws-s3/cfn-props-mixins.generated.js +10 -10
  257. package/lib/services/aws-s3express/cfn-props-mixins.generated.js +3 -3
  258. package/lib/services/aws-s3files/cfn-props-mixins.generated.js +4 -4
  259. package/lib/services/aws-s3objectlambda/cfn-props-mixins.generated.js +2 -2
  260. package/lib/services/aws-s3outposts/cfn-props-mixins.generated.js +4 -4
  261. package/lib/services/aws-s3tables/cfn-props-mixins.generated.js +5 -5
  262. package/lib/services/aws-s3vectors/cfn-props-mixins.generated.js +3 -3
  263. package/lib/services/aws-sagemaker/cfn-props-mixins.generated.d.ts +46 -0
  264. package/lib/services/aws-sagemaker/cfn-props-mixins.generated.js +34 -34
  265. package/lib/services/aws-sam/cfn-props-mixins.generated.js +7 -7
  266. package/lib/services/aws-scheduler/cfn-props-mixins.generated.js +2 -2
  267. package/lib/services/aws-sdb/cfn-props-mixins.generated.js +1 -1
  268. package/lib/services/aws-secretsmanager/cfn-props-mixins.generated.js +4 -4
  269. package/lib/services/aws-securityagent/cfn-props-mixins.generated.js +4 -4
  270. package/lib/services/aws-securityhub/cfn-props-mixins.generated.js +15 -15
  271. package/lib/services/aws-securitylake/cfn-props-mixins.generated.js +4 -4
  272. package/lib/services/aws-servicecatalog/cfn-props-mixins.generated.js +16 -16
  273. package/lib/services/aws-servicecatalogappregistry/cfn-props-mixins.generated.js +4 -4
  274. package/lib/services/aws-servicediscovery/cfn-props-mixins.generated.js +5 -5
  275. package/lib/services/aws-ses/cfn-props-mixins.generated.js +21 -21
  276. package/lib/services/aws-shield/cfn-props-mixins.generated.js +4 -4
  277. package/lib/services/aws-signer/cfn-props-mixins.generated.js +2 -2
  278. package/lib/services/aws-simspaceweaver/cfn-props-mixins.generated.js +1 -1
  279. package/lib/services/aws-smsvoice/cfn-props-mixins.generated.js +7 -7
  280. package/lib/services/aws-sns/cfn-props-mixins.generated.js +4 -4
  281. package/lib/services/aws-sqs/cfn-props-mixins.generated.js +3 -3
  282. package/lib/services/aws-ssm/cfn-props-mixins.generated.js +9 -9
  283. package/lib/services/aws-ssmcontacts/cfn-props-mixins.generated.js +4 -4
  284. package/lib/services/aws-ssmguiconnect/cfn-props-mixins.generated.js +1 -1
  285. package/lib/services/aws-ssmincidents/cfn-props-mixins.generated.js +2 -2
  286. package/lib/services/aws-ssmquicksetup/cfn-props-mixins.generated.js +2 -2
  287. package/lib/services/aws-sso/cfn-props-mixins.generated.js +6 -6
  288. package/lib/services/aws-stepfunctions/cfn-props-mixins.generated.js +4 -4
  289. package/lib/services/aws-supportapp/cfn-props-mixins.generated.js +3 -3
  290. package/lib/services/aws-synthetics/cfn-props-mixins.generated.js +2 -2
  291. package/lib/services/aws-systemsmanagersap/cfn-props-mixins.generated.js +1 -1
  292. package/lib/services/aws-timestream/cfn-props-mixins.generated.js +5 -5
  293. package/lib/services/aws-transfer/cfn-props-mixins.generated.js +8 -8
  294. package/lib/services/aws-uxc/cfn-props-mixins.generated.js +1 -1
  295. package/lib/services/aws-verifiedpermissions/cfn-props-mixins.generated.js +4 -4
  296. package/lib/services/aws-voiceid/cfn-props-mixins.generated.js +1 -1
  297. package/lib/services/aws-vpclattice/cfn-props-mixins.generated.js +14 -14
  298. package/lib/services/aws-waf/cfn-props-mixins.generated.js +7 -7
  299. package/lib/services/aws-wafregional/cfn-props-mixins.generated.js +11 -11
  300. package/lib/services/aws-wafv2/cfn-props-mixins.generated.js +6 -6
  301. package/lib/services/aws-wisdom/cfn-props-mixins.generated.js +12 -12
  302. package/lib/services/aws-workspaces/cfn-props-mixins.generated.js +3 -3
  303. package/lib/services/aws-workspacesinstances/cfn-props-mixins.generated.js +3 -3
  304. package/lib/services/aws-workspacesthinclient/cfn-props-mixins.generated.js +1 -1
  305. package/lib/services/aws-workspacesweb/cfn-props-mixins.generated.js +10 -10
  306. package/lib/services/aws-xray/cfn-props-mixins.generated.js +4 -4
  307. package/lib/services/index.d.ts +1 -0
  308. package/lib/services/index.js +7 -6
  309. package/package.json +7 -6
@@ -1588,463 +1588,418 @@ export declare namespace CfnJobDefinitionPropsMixin {
1588
1588
  readonly onStatusReason?: string;
1589
1589
  }
1590
1590
  /**
1591
- * An object that contains the properties for the Kubernetes resources of a job.
1591
+ * An object that contains the properties for the Amazon ECS resources of a job.
1592
1592
  *
1593
1593
  * @struct
1594
1594
  * @stability external
1595
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html
1595
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html
1596
1596
  */
1597
- interface EksPropertiesProperty {
1597
+ interface EcsPropertiesProperty {
1598
1598
  /**
1599
- * The properties for the Kubernetes pod resources of a job.
1599
+ * An object that contains the properties for the Amazon ECS task definition of a job.
1600
1600
  *
1601
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html#cfn-batch-jobdefinition-eksproperties-podproperties
1601
+ * > This object is currently limited to one task element. However, the task element can run up to 10 containers.
1602
+ *
1603
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html#cfn-batch-jobdefinition-ecsproperties-taskproperties
1602
1604
  */
1603
- readonly podProperties?: cdk.IResolvable | CfnJobDefinitionPropsMixin.PodPropertiesProperty;
1605
+ readonly taskProperties?: Array<CfnJobDefinitionPropsMixin.EcsTaskPropertiesProperty | cdk.IResolvable> | cdk.IResolvable;
1604
1606
  }
1605
1607
  /**
1608
+ * The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
1609
+ *
1610
+ * You can specify which Docker images to use, the required resources, and other configurations related to launching the task definition through an Amazon ECS service or task.
1611
+ *
1606
1612
  * @struct
1607
1613
  * @stability external
1608
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html
1614
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html
1609
1615
  */
1610
- interface PodPropertiesProperty {
1611
- /**
1612
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-containers
1613
- */
1614
- readonly containers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
1615
- /**
1616
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-dnspolicy
1617
- */
1618
- readonly dnsPolicy?: string;
1619
- /**
1620
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-hostnetwork
1621
- */
1622
- readonly hostNetwork?: boolean | cdk.IResolvable;
1623
- /**
1624
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-imagepullsecrets
1625
- */
1626
- readonly imagePullSecrets?: Array<CfnJobDefinitionPropsMixin.ImagePullSecretProperty | cdk.IResolvable> | cdk.IResolvable;
1627
- /**
1628
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-initcontainers
1629
- */
1630
- readonly initContainers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
1631
- /**
1632
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-metadata
1633
- */
1634
- readonly metadata?: cdk.IResolvable | CfnJobDefinitionPropsMixin.MetadataProperty;
1635
- /**
1636
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-serviceaccountname
1637
- */
1638
- readonly serviceAccountName?: string;
1639
- /**
1640
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-shareprocessnamespace
1641
- */
1642
- readonly shareProcessNamespace?: boolean | cdk.IResolvable;
1616
+ interface EcsTaskPropertiesProperty {
1643
1617
  /**
1644
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-volumes
1618
+ * This object is a list of containers.
1619
+ *
1620
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-containers
1645
1621
  */
1646
- readonly volumes?: Array<CfnJobDefinitionPropsMixin.EksVolumeProperty | cdk.IResolvable> | cdk.IResolvable;
1647
- }
1648
- /**
1649
- * Specifies an Amazon EKS volume for a job definition.
1650
- *
1651
- * @struct
1652
- * @stability external
1653
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html
1654
- */
1655
- interface EksVolumeProperty {
1622
+ readonly containers?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerPropertiesProperty> | cdk.IResolvable;
1656
1623
  /**
1657
- * Specifies the configuration of a Kubernetes `emptyDir` volume.
1624
+ * Determines whether execute command functionality is turned on for this task.
1658
1625
  *
1659
- * For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* .
1626
+ * If `true` , execute command functionality is turned on all the containers in the task.
1660
1627
  *
1661
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-emptydir
1628
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-enableexecutecommand
1662
1629
  */
1663
- readonly emptyDir?: CfnJobDefinitionPropsMixin.EmptyDirProperty | cdk.IResolvable;
1630
+ readonly enableExecuteCommand?: boolean | cdk.IResolvable;
1664
1631
  /**
1665
- * Specifies the configuration of a Kubernetes `hostPath` volume.
1632
+ * The amount of ephemeral storage to allocate for the task.
1666
1633
  *
1667
- * For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* .
1634
+ * This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
1668
1635
  *
1669
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-hostpath
1636
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ephemeralstorage
1670
1637
  */
1671
- readonly hostPath?: CfnJobDefinitionPropsMixin.HostPathProperty | cdk.IResolvable;
1638
+ readonly ephemeralStorage?: CfnJobDefinitionPropsMixin.EphemeralStorageProperty | cdk.IResolvable;
1672
1639
  /**
1673
- * The name of the volume.
1640
+ * The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume.
1674
1641
  *
1675
- * The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* .
1642
+ * For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* .
1676
1643
  *
1677
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-name
1644
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-executionrolearn
1678
1645
  */
1679
- readonly name?: string;
1646
+ readonly executionRoleArn?: string;
1680
1647
  /**
1681
- * Specifies the configuration of a Kubernetes `persistentVolumeClaim` bounded to a `persistentVolume` .
1648
+ * The IPC resource namespace to use for the containers in the task.
1682
1649
  *
1683
- * For more information, see [Persistent Volume Claims](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) in the *Kubernetes documentation* .
1650
+ * The valid values are `host` , `task` , or `none` .
1684
1651
  *
1685
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-persistentvolumeclaim
1652
+ * If `host` is specified, all containers within the tasks that specified the `host` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance.
1653
+ *
1654
+ * If `task` is specified, all containers within the specified `task` share the same IPC resources.
1655
+ *
1656
+ * If `none` is specified, the IPC resources within the containers of a task are private, and are not shared with other containers in a task or on the container instance.
1657
+ *
1658
+ * If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. For more information, see [IPC settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#ipc-settings---ipc) in the Docker run reference.
1659
+ *
1660
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ipcmode
1686
1661
  */
1687
- readonly persistentVolumeClaim?: CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty | cdk.IResolvable;
1662
+ readonly ipcMode?: string;
1688
1663
  /**
1689
- * Specifies the configuration of a Kubernetes `secret` volume.
1664
+ * The network configuration for jobs that are running on Fargate resources.
1690
1665
  *
1691
- * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
1666
+ * Jobs that are running on Amazon EC2 resources must not specify this parameter.
1692
1667
  *
1693
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-secret
1668
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-networkconfiguration
1694
1669
  */
1695
- readonly secret?: CfnJobDefinitionPropsMixin.EksSecretProperty | cdk.IResolvable;
1696
- }
1697
- /**
1698
- * Specifies the configuration of a Kubernetes `secret` volume.
1699
- *
1700
- * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
1701
- *
1702
- * @struct
1703
- * @stability external
1704
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html
1705
- */
1706
- interface EksSecretProperty {
1670
+ readonly networkConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.NetworkConfigurationProperty;
1707
1671
  /**
1708
- * Specifies whether the secret or the secret's keys must be defined.
1672
+ * The process namespace to use for the containers in the task.
1709
1673
  *
1710
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-optional
1674
+ * The valid values are `host` or `task` . For example, monitoring sidecars might need `pidMode` to access information about other containers running in the same task.
1675
+ *
1676
+ * If `host` is specified, all containers within the tasks that specified the `host` PID mode on the same container instance share the process namespace with the host Amazon EC2 instance.
1677
+ *
1678
+ * If `task` is specified, all containers within the specified task share the same process namespace.
1679
+ *
1680
+ * If no value is specified, the default is a private namespace for each container. For more information, see [PID settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#pid-settings---pid) in the Docker run reference.
1681
+ *
1682
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-pidmode
1711
1683
  */
1712
- readonly optional?: boolean | cdk.IResolvable;
1684
+ readonly pidMode?: string;
1713
1685
  /**
1714
- * The name of the secret.
1686
+ * The Fargate platform version where the jobs are running.
1715
1687
  *
1716
- * The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* .
1688
+ * A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* .
1717
1689
  *
1718
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-secretname
1690
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-platformversion
1719
1691
  */
1720
- readonly secretName?: string;
1721
- }
1722
- /**
1723
- * @struct
1724
- * @stability external
1725
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html
1726
- */
1727
- interface EmptyDirProperty {
1692
+ readonly platformVersion?: string;
1728
1693
  /**
1729
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-medium
1694
+ * An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
1695
+ *
1696
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-runtimeplatform
1730
1697
  */
1731
- readonly medium?: string;
1698
+ readonly runtimePlatform?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RuntimePlatformProperty;
1732
1699
  /**
1733
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-sizelimit
1700
+ * The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
1701
+ *
1702
+ * > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) .
1703
+ *
1704
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-taskrolearn
1734
1705
  */
1735
- readonly sizeLimit?: string;
1736
- }
1737
- /**
1738
- * @struct
1739
- * @stability external
1740
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html
1741
- */
1742
- interface HostPathProperty {
1706
+ readonly taskRoleArn?: string;
1743
1707
  /**
1744
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html#cfn-batch-jobdefinition-hostpath-path
1708
+ * A list of volumes that are associated with the job.
1709
+ *
1710
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-volumes
1745
1711
  */
1746
- readonly path?: string;
1712
+ readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
1747
1713
  }
1748
1714
  /**
1749
- * A `persistentVolumeClaim` volume is used to mount a [PersistentVolume](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/) into a Pod. PersistentVolumeClaims are a way for users to "claim" durable storage without knowing the details of the particular cloud environment. See the information about [PersistentVolumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/) in the *Kubernetes documentation* .
1715
+ * Container properties are used for Amazon ECS-based job definitions.
1716
+ *
1717
+ * These properties to describe the container that's launched as part of a job.
1750
1718
  *
1751
1719
  * @struct
1752
1720
  * @stability external
1753
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html
1721
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html
1754
1722
  */
1755
- interface EksPersistentVolumeClaimProperty {
1723
+ interface TaskContainerPropertiesProperty {
1756
1724
  /**
1757
- * The name of the `persistentVolumeClaim` bounded to a `persistentVolume` .
1725
+ * The command that's passed to the container.
1758
1726
  *
1759
- * For more information, see [Persistent Volume Claims](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) in the *Kubernetes documentation* .
1727
+ * This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) .
1760
1728
  *
1761
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-claimname
1729
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-command
1762
1730
  */
1763
- readonly claimName?: string;
1731
+ readonly command?: Array<string>;
1764
1732
  /**
1765
- * An optional boolean value indicating if the mount is read only.
1766
- *
1767
- * Default is false. For more information, see [Read Only Mounts](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#read-only-mounts) in the *Kubernetes documentation* .
1733
+ * A list of containers that this container depends on.
1768
1734
  *
1769
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-readonly
1735
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-dependson
1770
1736
  */
1771
- readonly readOnly?: boolean | cdk.IResolvable;
1772
- }
1773
- /**
1774
- * EKS container properties are used in job definitions for Amazon EKS based job definitions to describe the properties for a container node in the pod that's launched as part of a job.
1775
- *
1776
- * This can't be specified for Amazon ECS based job definitions.
1777
- *
1778
- * @struct
1779
- * @stability external
1780
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html
1781
- */
1782
- interface EksContainerProperty {
1737
+ readonly dependsOn?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty> | cdk.IResolvable;
1783
1738
  /**
1784
- * An array of arguments to the entrypoint.
1739
+ * The environment variables to pass to a container.
1785
1740
  *
1786
- * If this isn't specified, the `CMD` of the container image is used. This corresponds to the `args` member in the [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) portion of the [Pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/) in Kubernetes. Environment variable references are expanded using the container's environment.
1741
+ * This parameter maps to Env in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
1787
1742
  *
1788
- * If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` , and the resulting string isn't expanded. For example, `$$(VAR_NAME)` is passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) and [Define a command and arguments for a pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) in the *Kubernetes documentation* .
1743
+ * > We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with `AWS_BATCH` . This naming convention is reserved for variables that AWS Batch sets.
1789
1744
  *
1790
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-args
1745
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-environment
1791
1746
  */
1792
- readonly args?: Array<string>;
1747
+ readonly environment?: Array<CfnJobDefinitionPropsMixin.EnvironmentProperty | cdk.IResolvable> | cdk.IResolvable;
1793
1748
  /**
1794
- * The entrypoint for the container.
1749
+ * If the essential parameter of a container is marked as `true` , and that container fails or stops for any reason, all other containers that are part of the task are stopped.
1795
1750
  *
1796
- * This isn't run within a shell. If this isn't specified, the `ENTRYPOINT` of the container image is used. Environment variable references are expanded using the container's environment.
1751
+ * If the `essential` parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.
1797
1752
  *
1798
- * If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` and the resulting string isn't expanded. For example, `$$(VAR_NAME)` will be passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. The entrypoint can't be updated. For more information, see [ENTRYPOINT](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#entrypoint) in the *Dockerfile reference* and [Define a command and arguments for a container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) and [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) in the *Kubernetes documentation* .
1753
+ * All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see [Application Architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) in the *Amazon Elastic Container Service Developer Guide* .
1799
1754
  *
1800
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-command
1755
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-essential
1801
1756
  */
1802
- readonly command?: Array<string>;
1757
+ readonly essential?: boolean | cdk.IResolvable;
1803
1758
  /**
1804
- * The environment variables to pass to a container.
1759
+ * The FireLens configuration for the container.
1805
1760
  *
1806
- * > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets.
1761
+ * This is used to specify and configure a log router for container logs. For more information, see [Custom log](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) routing in the *Amazon Elastic Container Service Developer Guide* .
1807
1762
  *
1808
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-env
1763
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-firelensconfiguration
1809
1764
  */
1810
- readonly env?: Array<CfnJobDefinitionPropsMixin.EksContainerEnvironmentVariableProperty | cdk.IResolvable> | cdk.IResolvable;
1765
+ readonly firelensConfiguration?: CfnJobDefinitionPropsMixin.FirelensConfigurationProperty | cdk.IResolvable;
1811
1766
  /**
1812
- * The Docker image used to start the container.
1767
+ * The image used to start a container.
1813
1768
  *
1814
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-image
1769
+ * This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either `repository-url/image:tag` or `repository-url/image@digest` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `IMAGE` parameter of the [*docker run*](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
1770
+ *
1771
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-image
1815
1772
  */
1816
1773
  readonly image?: string;
1817
1774
  /**
1818
- * The image pull policy for the container.
1775
+ * Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
1819
1776
  *
1820
- * Supported values are `Always` , `IfNotPresent` , and `Never` . This parameter defaults to `IfNotPresent` . However, if the `:latest` tag is specified, it defaults to `Always` . For more information, see [Updating images](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/containers/images/#updating-images) in the *Kubernetes documentation* .
1777
+ * For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) .
1821
1778
  *
1822
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-imagepullpolicy
1779
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-linuxparameters
1823
1780
  */
1824
- readonly imagePullPolicy?: string;
1781
+ readonly linuxParameters?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LinuxParametersProperty;
1825
1782
  /**
1826
- * The name of the container.
1783
+ * The log configuration specification for the container.
1827
1784
  *
1828
- * If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name.
1785
+ * This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
1829
1786
  *
1830
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-name
1831
- */
1832
- readonly name?: string;
1833
- /**
1834
- * The type and amount of resources to assign to a container.
1787
+ * By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information about the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the *Docker documentation* .
1835
1788
  *
1836
- * The supported resources include `memory` , `cpu` , and `nvidia.com/gpu` . For more information, see [Resource management for pods and containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) in the *Kubernetes documentation* .
1789
+ * > Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the `LogConfiguration` data type). Additional log drivers may be available in future releases of the Amazon ECS container agent.
1837
1790
  *
1838
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-resources
1839
- */
1840
- readonly resources?: cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourcesProperty;
1841
- /**
1842
- * The security context for a job.
1791
+ * This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'`
1843
1792
  *
1844
- * For more information, see [Configure a security context for a pod or container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) in the *Kubernetes documentation* .
1793
+ * > The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* .
1845
1794
  *
1846
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-securitycontext
1795
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-logconfiguration
1847
1796
  */
1848
- readonly securityContext?: cdk.IResolvable | CfnJobDefinitionPropsMixin.SecurityContextProperty;
1797
+ readonly logConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LogConfigurationProperty;
1849
1798
  /**
1850
- * The volume mounts for the container.
1799
+ * The mount points for data volumes in your container.
1851
1800
  *
1852
- * AWS Batch supports `emptyDir` , `hostPath` , and `secret` volume types. For more information about volumes and volume mounts in Kubernetes, see [Volumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/) in the *Kubernetes documentation* .
1801
+ * This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the [--volume](https://docs.aws.amazon.com/) option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
1853
1802
  *
1854
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-volumemounts
1803
+ * Windows containers can mount whole directories on the same drive as `$env:ProgramData` . Windows containers can't mount directories on a different drive, and mount point can't be across drives.
1804
+ *
1805
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-mountpoints
1855
1806
  */
1856
- readonly volumeMounts?: Array<CfnJobDefinitionPropsMixin.EksContainerVolumeMountProperty | cdk.IResolvable> | cdk.IResolvable;
1857
- }
1858
- /**
1859
- * The volume mounts for a container for an Amazon EKS job.
1860
- *
1861
- * For more information about volumes and volume mounts in Kubernetes, see [Volumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/) in the *Kubernetes documentation* .
1862
- *
1863
- * @struct
1864
- * @stability external
1865
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html
1866
- */
1867
- interface EksContainerVolumeMountProperty {
1807
+ readonly mountPoints?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.MountPointProperty> | cdk.IResolvable;
1868
1808
  /**
1869
- * The path on the container where the volume is mounted.
1809
+ * The name of a container.
1870
1810
  *
1871
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-mountpath
1811
+ * The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects.
1812
+ *
1813
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-name
1872
1814
  */
1873
- readonly mountPath?: string;
1815
+ readonly name?: string;
1874
1816
  /**
1875
- * The name the volume mount.
1817
+ * When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user).
1876
1818
  *
1877
- * This must match the name of one of the volumes in the pod.
1819
+ * This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
1878
1820
  *
1879
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-name
1821
+ * > This parameter is not supported for Windows containers or tasks run on Fargate.
1822
+ *
1823
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-privileged
1880
1824
  */
1881
- readonly name?: string;
1825
+ readonly privileged?: boolean | cdk.IResolvable;
1882
1826
  /**
1883
- * If this value is `true` , the container has read-only access to the volume.
1827
+ * When this parameter is true, the container is given read-only access to its root file system.
1884
1828
  *
1885
- * Otherwise, the container can write to the volume. The default value is `false` .
1829
+ * This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--read-only` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
1886
1830
  *
1887
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-readonly
1831
+ * > This parameter is not supported for Windows containers.
1832
+ *
1833
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-readonlyrootfilesystem
1888
1834
  */
1889
- readonly readOnly?: boolean | cdk.IResolvable;
1835
+ readonly readonlyRootFilesystem?: boolean | cdk.IResolvable;
1890
1836
  /**
1891
- * A sub-path inside the referenced volume instead of its root.
1837
+ * The private repository authentication credentials to use.
1892
1838
  *
1893
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-subpath
1839
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-repositorycredentials
1894
1840
  */
1895
- readonly subPath?: string;
1896
- }
1897
- /**
1898
- * @struct
1899
- * @stability external
1900
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html
1901
- */
1902
- interface SecurityContextProperty {
1841
+ readonly repositoryCredentials?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RepositoryCredentialsProperty;
1903
1842
  /**
1904
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-allowprivilegeescalation
1843
+ * The type and amount of a resource to assign to a container.
1844
+ *
1845
+ * The only supported resource is a GPU.
1846
+ *
1847
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-resourcerequirements
1905
1848
  */
1906
- readonly allowPrivilegeEscalation?: boolean | cdk.IResolvable;
1849
+ readonly resourceRequirements?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourceRequirementProperty> | cdk.IResolvable;
1907
1850
  /**
1908
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-privileged
1851
+ * The secrets to pass to the container.
1852
+ *
1853
+ * For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the Amazon Elastic Container Service Developer Guide.
1854
+ *
1855
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-secrets
1909
1856
  */
1910
- readonly privileged?: boolean | cdk.IResolvable;
1857
+ readonly secrets?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.SecretProperty> | cdk.IResolvable;
1911
1858
  /**
1912
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-readonlyrootfilesystem
1859
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-starttimeout
1913
1860
  */
1914
- readonly readOnlyRootFilesystem?: boolean | cdk.IResolvable;
1861
+ readonly startTimeout?: number;
1915
1862
  /**
1916
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasgroup
1863
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-stoptimeout
1917
1864
  */
1918
- readonly runAsGroup?: number;
1865
+ readonly stopTimeout?: number;
1919
1866
  /**
1920
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasnonroot
1867
+ * A list of `ulimits` to set in the container.
1868
+ *
1869
+ * If a `ulimit` value is specified in a task definition, it overrides the default values set by Docker. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
1870
+ *
1871
+ * Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which Fargate overrides. The `nofile` resource limit sets a restriction on the number of open files that a container can use. The default `nofile` soft limit is `1024` and the default hard limit is `65535` .
1872
+ *
1873
+ * This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'`
1874
+ *
1875
+ * > This parameter is not supported for Windows containers.
1876
+ *
1877
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-ulimits
1921
1878
  */
1922
- readonly runAsNonRoot?: boolean | cdk.IResolvable;
1879
+ readonly ulimits?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.UlimitProperty> | cdk.IResolvable;
1923
1880
  /**
1924
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasuser
1881
+ * The user to use inside the container.
1882
+ *
1883
+ * This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
1884
+ *
1885
+ * > When running tasks using the `host` network mode, don't run containers using the `root user (UID 0)` . We recommend using a non-root user for better security.
1886
+ *
1887
+ * You can specify the `user` using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
1888
+ *
1889
+ * - `user`
1890
+ * - `user:group`
1891
+ * - `uid`
1892
+ * - `uid:gid`
1893
+ * - `user:gi`
1894
+ * - `uid:group`
1895
+ *
1896
+ * > This parameter is not supported for Windows containers.
1897
+ *
1898
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-user
1925
1899
  */
1926
- readonly runAsUser?: number;
1900
+ readonly user?: string;
1927
1901
  }
1928
1902
  /**
1903
+ * A list of containers that this task depends on.
1904
+ *
1929
1905
  * @struct
1930
1906
  * @stability external
1931
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html
1907
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html
1932
1908
  */
1933
- interface ResourcesProperty {
1909
+ interface TaskContainerDependencyProperty {
1934
1910
  /**
1935
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-limits
1911
+ * The dependency condition of the container. The following are the available conditions and their behavior:.
1912
+ *
1913
+ * - `START` - This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start.
1914
+ * - `COMPLETE` - This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container.
1915
+ * - `SUCCESS` - This condition is the same as `COMPLETE` , but it also requires that the container exits with a zero status. This condition can't be set on an essential container.
1916
+ *
1917
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-condition
1936
1918
  */
1937
- readonly limits?: any | cdk.IResolvable;
1919
+ readonly condition?: string;
1938
1920
  /**
1939
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-requests
1921
+ * A unique identifier for the container.
1922
+ *
1923
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-containername
1940
1924
  */
1941
- readonly requests?: any | cdk.IResolvable;
1925
+ readonly containerName?: string;
1942
1926
  }
1943
1927
  /**
1944
- * An environment variable.
1928
+ * Details for a Docker volume mount point that's used in a job's container properties.
1929
+ *
1930
+ * This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerCreate) section of the *Docker Remote API* and the `--volume` option to docker run.
1945
1931
  *
1946
1932
  * @struct
1947
1933
  * @stability external
1948
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html
1934
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html
1949
1935
  */
1950
- interface EksContainerEnvironmentVariableProperty {
1936
+ interface MountPointProperty {
1951
1937
  /**
1952
- * The name of the environment variable.
1938
+ * The path on the container where the host volume is mounted.
1953
1939
  *
1954
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-name
1940
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-containerpath
1955
1941
  */
1956
- readonly name?: string;
1942
+ readonly containerPath?: string;
1957
1943
  /**
1958
- * The value of the environment variable.
1944
+ * If this value is `true` , the container has read-only access to the volume.
1959
1945
  *
1960
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-value
1946
+ * Otherwise, the container can write to the volume. The default value is `false` .
1947
+ *
1948
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-readonly
1961
1949
  */
1962
- readonly value?: string;
1963
- }
1964
- /**
1965
- * @struct
1966
- * @stability external
1967
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html
1968
- */
1969
- interface MetadataProperty {
1950
+ readonly readOnly?: boolean | cdk.IResolvable;
1970
1951
  /**
1971
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html#cfn-batch-jobdefinition-metadata-labels
1952
+ * The name of the volume to mount.
1953
+ *
1954
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-sourcevolume
1972
1955
  */
1973
- readonly labels?: any | cdk.IResolvable;
1956
+ readonly sourceVolume?: string;
1974
1957
  }
1975
1958
  /**
1976
- * References a Kubernetes secret resource.
1959
+ * The FireLens configuration for the container.
1977
1960
  *
1978
- * This name of the secret must start and end with an alphanumeric character, is required to be lowercase, can include periods (.) and hyphens (-), and can't contain more than 253 characters.
1961
+ * This is used to specify and configure a log router for container logs. For more information, see [Custom log](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) routing in the *Amazon Elastic Container Service Developer Guide* .
1979
1962
  *
1980
1963
  * @struct
1981
1964
  * @stability external
1982
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html
1965
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html
1983
1966
  */
1984
- interface ImagePullSecretProperty {
1967
+ interface FirelensConfigurationProperty {
1985
1968
  /**
1986
- * Provides a unique identifier for the `ImagePullSecret` .
1969
+ * The options to use when configuring the log router.
1987
1970
  *
1988
- * This object is required when `EksPodProperties$imagePullSecrets` is used.
1971
+ * This field is optional and can be used to specify a custom configuration file or to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event. If specified, the syntax to use is `"options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}` . For more information, see [Creating a task definition that uses a FireLens configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef) in the *Amazon Elastic Container Service Developer Guide* .
1989
1972
  *
1990
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html#cfn-batch-jobdefinition-imagepullsecret-name
1973
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-options
1991
1974
  */
1992
- readonly name?: string;
1993
- }
1994
- /**
1995
- * Contains a list of consumable resources required by a job.
1996
- *
1997
- * @struct
1998
- * @stability external
1999
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html
2000
- */
2001
- interface ConsumableResourcePropertiesProperty {
1975
+ readonly options?: cdk.IResolvable | Record<string, string>;
2002
1976
  /**
2003
- * The list of consumable resources required by a job.
1977
+ * The log router to use.
2004
1978
  *
2005
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html#cfn-batch-jobdefinition-consumableresourceproperties-consumableresourcelist
1979
+ * The valid values are `fluentd` or `fluentbit` .
1980
+ *
1981
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-type
2006
1982
  */
2007
- readonly consumableResourceList?: Array<CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty | cdk.IResolvable> | cdk.IResolvable;
1983
+ readonly type?: string;
2008
1984
  }
2009
1985
  /**
2010
- * Information about a consumable resource required to run a job.
1986
+ * An object that represents the node properties of a multi-node parallel job.
1987
+ *
1988
+ * > Node properties can't be specified for Amazon EKS based job definitions.
2011
1989
  *
2012
1990
  * @struct
2013
1991
  * @stability external
2014
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html
1992
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html
2015
1993
  */
2016
- interface ConsumableResourceRequirementProperty {
1994
+ interface NodePropertiesProperty {
2017
1995
  /**
2018
- * The name or ARN of the consumable resource.
1996
+ * Specifies the node index for the main node of a multi-node parallel job.
2019
1997
  *
2020
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-consumableresource
1998
+ * This node index value must be fewer than the number of nodes.
1999
+ *
2000
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-mainnode
2021
2001
  */
2022
- readonly consumableResource?: string;
2023
- /**
2024
- * The quantity of the consumable resource that is needed.
2025
- *
2026
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-quantity
2027
- */
2028
- readonly quantity?: number;
2029
- }
2030
- /**
2031
- * An object that represents the node properties of a multi-node parallel job.
2032
- *
2033
- * > Node properties can't be specified for Amazon EKS based job definitions.
2034
- *
2035
- * @struct
2036
- * @stability external
2037
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html
2038
- */
2039
- interface NodePropertiesProperty {
2040
- /**
2041
- * Specifies the node index for the main node of a multi-node parallel job.
2042
- *
2043
- * This node index value must be fewer than the number of nodes.
2044
- *
2045
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-mainnode
2046
- */
2047
- readonly mainNode?: number;
2002
+ readonly mainNode?: number;
2048
2003
  /**
2049
2004
  * A list of node ranges and their properties that are associated with a multi-node parallel job.
2050
2005
  *
@@ -2204,399 +2159,444 @@ export declare namespace CfnJobDefinitionPropsMixin {
2204
2159
  readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
2205
2160
  }
2206
2161
  /**
2207
- * Container properties are used for Amazon ECS-based job definitions.
2208
- *
2209
- * These properties to describe the container that's launched as part of a job.
2162
+ * An object that contains the properties for the Kubernetes resources of a job.
2210
2163
  *
2211
2164
  * @struct
2212
2165
  * @stability external
2213
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html
2166
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html
2214
2167
  */
2215
- interface TaskContainerPropertiesProperty {
2216
- /**
2217
- * The command that's passed to the container.
2218
- *
2219
- * This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) .
2220
- *
2221
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-command
2222
- */
2223
- readonly command?: Array<string>;
2168
+ interface EksPropertiesProperty {
2224
2169
  /**
2225
- * A list of containers that this container depends on.
2170
+ * The properties for the Kubernetes pod resources of a job.
2226
2171
  *
2227
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-dependson
2172
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html#cfn-batch-jobdefinition-eksproperties-podproperties
2228
2173
  */
2229
- readonly dependsOn?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty> | cdk.IResolvable;
2174
+ readonly podProperties?: cdk.IResolvable | CfnJobDefinitionPropsMixin.PodPropertiesProperty;
2175
+ }
2176
+ /**
2177
+ * @struct
2178
+ * @stability external
2179
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html
2180
+ */
2181
+ interface PodPropertiesProperty {
2230
2182
  /**
2231
- * The environment variables to pass to a container.
2232
- *
2233
- * This parameter maps to Env in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `--env` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) .
2234
- *
2235
- * > We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with `AWS_BATCH` . This naming convention is reserved for variables that AWS Batch sets.
2236
- *
2237
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-environment
2183
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-containers
2238
2184
  */
2239
- readonly environment?: Array<CfnJobDefinitionPropsMixin.EnvironmentProperty | cdk.IResolvable> | cdk.IResolvable;
2185
+ readonly containers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
2240
2186
  /**
2241
- * If the essential parameter of a container is marked as `true` , and that container fails or stops for any reason, all other containers that are part of the task are stopped.
2242
- *
2243
- * If the `essential` parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.
2244
- *
2245
- * All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see [Application Architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) in the *Amazon Elastic Container Service Developer Guide* .
2246
- *
2247
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-essential
2187
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-dnspolicy
2248
2188
  */
2249
- readonly essential?: boolean | cdk.IResolvable;
2189
+ readonly dnsPolicy?: string;
2250
2190
  /**
2251
- * The FireLens configuration for the container.
2252
- *
2253
- * This is used to specify and configure a log router for container logs. For more information, see [Custom log](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) routing in the *Amazon Elastic Container Service Developer Guide* .
2254
- *
2255
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-firelensconfiguration
2191
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-hostnetwork
2256
2192
  */
2257
- readonly firelensConfiguration?: CfnJobDefinitionPropsMixin.FirelensConfigurationProperty | cdk.IResolvable;
2193
+ readonly hostNetwork?: boolean | cdk.IResolvable;
2258
2194
  /**
2259
- * The image used to start a container.
2260
- *
2261
- * This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either `repository-url/image:tag` or `repository-url/image@digest` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `IMAGE` parameter of the [*docker run*](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
2262
- *
2263
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-image
2195
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-imagepullsecrets
2264
2196
  */
2265
- readonly image?: string;
2197
+ readonly imagePullSecrets?: Array<CfnJobDefinitionPropsMixin.ImagePullSecretProperty | cdk.IResolvable> | cdk.IResolvable;
2266
2198
  /**
2267
- * Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
2268
- *
2269
- * For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) .
2270
- *
2271
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-linuxparameters
2199
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-initcontainers
2272
2200
  */
2273
- readonly linuxParameters?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LinuxParametersProperty;
2201
+ readonly initContainers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
2274
2202
  /**
2275
- * The log configuration specification for the container.
2276
- *
2277
- * This parameter maps to `LogConfig` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--log-driver` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
2278
- *
2279
- * By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information about the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the *Docker documentation* .
2280
- *
2281
- * > Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the `LogConfiguration` data type). Additional log drivers may be available in future releases of the Amazon ECS container agent.
2282
- *
2283
- * This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'`
2284
- *
2285
- * > The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the `ECS_AVAILABLE_LOGGING_DRIVERS` environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS container agent configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the *Amazon Elastic Container Service Developer Guide* .
2286
- *
2287
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-logconfiguration
2203
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-metadata
2288
2204
  */
2289
- readonly logConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LogConfigurationProperty;
2205
+ readonly metadata?: cdk.IResolvable | CfnJobDefinitionPropsMixin.MetadataProperty;
2290
2206
  /**
2291
- * The mount points for data volumes in your container.
2292
- *
2293
- * This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the [--volume](https://docs.aws.amazon.com/) option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
2294
- *
2295
- * Windows containers can mount whole directories on the same drive as `$env:ProgramData` . Windows containers can't mount directories on a different drive, and mount point can't be across drives.
2296
- *
2297
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-mountpoints
2207
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-serviceaccountname
2298
2208
  */
2299
- readonly mountPoints?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.MountPointProperty> | cdk.IResolvable;
2209
+ readonly serviceAccountName?: string;
2300
2210
  /**
2301
- * The name of a container.
2302
- *
2303
- * The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects.
2304
- *
2305
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-name
2211
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-shareprocessnamespace
2306
2212
  */
2307
- readonly name?: string;
2213
+ readonly shareProcessNamespace?: boolean | cdk.IResolvable;
2308
2214
  /**
2309
- * When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user).
2310
- *
2311
- * This parameter maps to `Privileged` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--privileged` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
2312
- *
2313
- * > This parameter is not supported for Windows containers or tasks run on Fargate.
2314
- *
2315
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-privileged
2215
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-volumes
2316
2216
  */
2317
- readonly privileged?: boolean | cdk.IResolvable;
2217
+ readonly volumes?: Array<CfnJobDefinitionPropsMixin.EksVolumeProperty | cdk.IResolvable> | cdk.IResolvable;
2218
+ }
2219
+ /**
2220
+ * Specifies an Amazon EKS volume for a job definition.
2221
+ *
2222
+ * @struct
2223
+ * @stability external
2224
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html
2225
+ */
2226
+ interface EksVolumeProperty {
2318
2227
  /**
2319
- * When this parameter is true, the container is given read-only access to its root file system.
2320
- *
2321
- * This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--read-only` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
2322
- *
2323
- * > This parameter is not supported for Windows containers.
2228
+ * Specifies the configuration of a Kubernetes `emptyDir` volume.
2324
2229
  *
2325
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-readonlyrootfilesystem
2326
- */
2327
- readonly readonlyRootFilesystem?: boolean | cdk.IResolvable;
2328
- /**
2329
- * The private repository authentication credentials to use.
2230
+ * For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* .
2330
2231
  *
2331
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-repositorycredentials
2232
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-emptydir
2332
2233
  */
2333
- readonly repositoryCredentials?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RepositoryCredentialsProperty;
2234
+ readonly emptyDir?: CfnJobDefinitionPropsMixin.EmptyDirProperty | cdk.IResolvable;
2334
2235
  /**
2335
- * The type and amount of a resource to assign to a container.
2236
+ * Specifies the configuration of a Kubernetes `hostPath` volume.
2336
2237
  *
2337
- * The only supported resource is a GPU.
2238
+ * For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* .
2338
2239
  *
2339
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-resourcerequirements
2240
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-hostpath
2340
2241
  */
2341
- readonly resourceRequirements?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourceRequirementProperty> | cdk.IResolvable;
2242
+ readonly hostPath?: CfnJobDefinitionPropsMixin.HostPathProperty | cdk.IResolvable;
2342
2243
  /**
2343
- * The secrets to pass to the container.
2244
+ * The name of the volume.
2344
2245
  *
2345
- * For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the Amazon Elastic Container Service Developer Guide.
2246
+ * The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* .
2346
2247
  *
2347
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-secrets
2348
- */
2349
- readonly secrets?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.SecretProperty> | cdk.IResolvable;
2350
- /**
2351
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-starttimeout
2352
- */
2353
- readonly startTimeout?: number;
2354
- /**
2355
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-stoptimeout
2248
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-name
2356
2249
  */
2357
- readonly stopTimeout?: number;
2250
+ readonly name?: string;
2358
2251
  /**
2359
- * A list of `ulimits` to set in the container.
2360
- *
2361
- * If a `ulimit` value is specified in a task definition, it overrides the default values set by Docker. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
2362
- *
2363
- * Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which Fargate overrides. The `nofile` resource limit sets a restriction on the number of open files that a container can use. The default `nofile` soft limit is `1024` and the default hard limit is `65535` .
2364
- *
2365
- * This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'`
2252
+ * Specifies the configuration of a Kubernetes `persistentVolumeClaim` bounded to a `persistentVolume` .
2366
2253
  *
2367
- * > This parameter is not supported for Windows containers.
2254
+ * For more information, see [Persistent Volume Claims](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) in the *Kubernetes documentation* .
2368
2255
  *
2369
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-ulimits
2256
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-persistentvolumeclaim
2370
2257
  */
2371
- readonly ulimits?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.UlimitProperty> | cdk.IResolvable;
2258
+ readonly persistentVolumeClaim?: CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty | cdk.IResolvable;
2372
2259
  /**
2373
- * The user to use inside the container.
2374
- *
2375
- * This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
2376
- *
2377
- * > When running tasks using the `host` network mode, don't run containers using the `root user (UID 0)` . We recommend using a non-root user for better security.
2378
- *
2379
- * You can specify the `user` using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
2380
- *
2381
- * - `user`
2382
- * - `user:group`
2383
- * - `uid`
2384
- * - `uid:gid`
2385
- * - `user:gi`
2386
- * - `uid:group`
2260
+ * Specifies the configuration of a Kubernetes `secret` volume.
2387
2261
  *
2388
- * > This parameter is not supported for Windows containers.
2262
+ * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
2389
2263
  *
2390
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-user
2264
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-secret
2391
2265
  */
2392
- readonly user?: string;
2266
+ readonly secret?: CfnJobDefinitionPropsMixin.EksSecretProperty | cdk.IResolvable;
2393
2267
  }
2394
2268
  /**
2395
- * Details for a Docker volume mount point that's used in a job's container properties.
2269
+ * Specifies the configuration of a Kubernetes `secret` volume.
2396
2270
  *
2397
- * This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerCreate) section of the *Docker Remote API* and the `--volume` option to docker run.
2271
+ * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
2398
2272
  *
2399
2273
  * @struct
2400
2274
  * @stability external
2401
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html
2275
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html
2402
2276
  */
2403
- interface MountPointProperty {
2277
+ interface EksSecretProperty {
2404
2278
  /**
2405
- * The path on the container where the host volume is mounted.
2279
+ * Specifies whether the secret or the secret's keys must be defined.
2406
2280
  *
2407
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-containerpath
2281
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-optional
2408
2282
  */
2409
- readonly containerPath?: string;
2283
+ readonly optional?: boolean | cdk.IResolvable;
2410
2284
  /**
2411
- * If this value is `true` , the container has read-only access to the volume.
2412
- *
2413
- * Otherwise, the container can write to the volume. The default value is `false` .
2285
+ * The name of the secret.
2414
2286
  *
2415
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-readonly
2416
- */
2417
- readonly readOnly?: boolean | cdk.IResolvable;
2418
- /**
2419
- * The name of the volume to mount.
2287
+ * The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* .
2420
2288
  *
2421
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-sourcevolume
2289
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-secretname
2422
2290
  */
2423
- readonly sourceVolume?: string;
2291
+ readonly secretName?: string;
2424
2292
  }
2425
2293
  /**
2426
- * The FireLens configuration for the container.
2427
- *
2428
- * This is used to specify and configure a log router for container logs. For more information, see [Custom log](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) routing in the *Amazon Elastic Container Service Developer Guide* .
2429
- *
2430
2294
  * @struct
2431
2295
  * @stability external
2432
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html
2296
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html
2433
2297
  */
2434
- interface FirelensConfigurationProperty {
2298
+ interface EmptyDirProperty {
2435
2299
  /**
2436
- * The options to use when configuring the log router.
2437
- *
2438
- * This field is optional and can be used to specify a custom configuration file or to add additional metadata, such as the task, task definition, cluster, and container instance details to the log event. If specified, the syntax to use is `"options":{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"}` . For more information, see [Creating a task definition that uses a FireLens configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html#firelens-taskdef) in the *Amazon Elastic Container Service Developer Guide* .
2439
- *
2440
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-options
2300
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-medium
2441
2301
  */
2442
- readonly options?: cdk.IResolvable | Record<string, string>;
2302
+ readonly medium?: string;
2443
2303
  /**
2444
- * The log router to use.
2445
- *
2446
- * The valid values are `fluentd` or `fluentbit` .
2447
- *
2448
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-type
2304
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-sizelimit
2449
2305
  */
2450
- readonly type?: string;
2306
+ readonly sizeLimit?: string;
2451
2307
  }
2452
2308
  /**
2453
- * A list of containers that this task depends on.
2454
- *
2455
2309
  * @struct
2456
2310
  * @stability external
2457
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html
2311
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html
2458
2312
  */
2459
- interface TaskContainerDependencyProperty {
2460
- /**
2461
- * The dependency condition of the container. The following are the available conditions and their behavior:.
2462
- *
2463
- * - `START` - This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start.
2464
- * - `COMPLETE` - This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container.
2465
- * - `SUCCESS` - This condition is the same as `COMPLETE` , but it also requires that the container exits with a zero status. This condition can't be set on an essential container.
2466
- *
2467
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-condition
2468
- */
2469
- readonly condition?: string;
2313
+ interface HostPathProperty {
2470
2314
  /**
2471
- * A unique identifier for the container.
2472
- *
2473
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-containername
2315
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html#cfn-batch-jobdefinition-hostpath-path
2474
2316
  */
2475
- readonly containerName?: string;
2317
+ readonly path?: string;
2476
2318
  }
2477
2319
  /**
2478
- * An object that contains the properties for the Amazon ECS resources of a job.
2320
+ * A `persistentVolumeClaim` volume is used to mount a [PersistentVolume](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/) into a Pod. PersistentVolumeClaims are a way for users to "claim" durable storage without knowing the details of the particular cloud environment. See the information about [PersistentVolumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/) in the *Kubernetes documentation* .
2479
2321
  *
2480
2322
  * @struct
2481
2323
  * @stability external
2482
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html
2324
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html
2483
2325
  */
2484
- interface EcsPropertiesProperty {
2326
+ interface EksPersistentVolumeClaimProperty {
2485
2327
  /**
2486
- * An object that contains the properties for the Amazon ECS task definition of a job.
2328
+ * The name of the `persistentVolumeClaim` bounded to a `persistentVolume` .
2487
2329
  *
2488
- * > This object is currently limited to one task element. However, the task element can run up to 10 containers.
2330
+ * For more information, see [Persistent Volume Claims](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) in the *Kubernetes documentation* .
2489
2331
  *
2490
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html#cfn-batch-jobdefinition-ecsproperties-taskproperties
2332
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-claimname
2491
2333
  */
2492
- readonly taskProperties?: Array<CfnJobDefinitionPropsMixin.EcsTaskPropertiesProperty | cdk.IResolvable> | cdk.IResolvable;
2334
+ readonly claimName?: string;
2335
+ /**
2336
+ * An optional boolean value indicating if the mount is read only.
2337
+ *
2338
+ * Default is false. For more information, see [Read Only Mounts](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#read-only-mounts) in the *Kubernetes documentation* .
2339
+ *
2340
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-readonly
2341
+ */
2342
+ readonly readOnly?: boolean | cdk.IResolvable;
2493
2343
  }
2494
2344
  /**
2495
- * The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
2345
+ * EKS container properties are used in job definitions for Amazon EKS based job definitions to describe the properties for a container node in the pod that's launched as part of a job.
2496
2346
  *
2497
- * You can specify which Docker images to use, the required resources, and other configurations related to launching the task definition through an Amazon ECS service or task.
2347
+ * This can't be specified for Amazon ECS based job definitions.
2498
2348
  *
2499
2349
  * @struct
2500
2350
  * @stability external
2501
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html
2351
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html
2502
2352
  */
2503
- interface EcsTaskPropertiesProperty {
2353
+ interface EksContainerProperty {
2504
2354
  /**
2505
- * This object is a list of containers.
2355
+ * An array of arguments to the entrypoint.
2506
2356
  *
2507
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-containers
2357
+ * If this isn't specified, the `CMD` of the container image is used. This corresponds to the `args` member in the [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) portion of the [Pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/) in Kubernetes. Environment variable references are expanded using the container's environment.
2358
+ *
2359
+ * If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` , and the resulting string isn't expanded. For example, `$$(VAR_NAME)` is passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) and [Define a command and arguments for a pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) in the *Kubernetes documentation* .
2360
+ *
2361
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-args
2508
2362
  */
2509
- readonly containers?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerPropertiesProperty> | cdk.IResolvable;
2363
+ readonly args?: Array<string>;
2510
2364
  /**
2511
- * Determines whether execute command functionality is turned on for this task.
2365
+ * The entrypoint for the container.
2512
2366
  *
2513
- * If `true` , execute command functionality is turned on all the containers in the task.
2367
+ * This isn't run within a shell. If this isn't specified, the `ENTRYPOINT` of the container image is used. Environment variable references are expanded using the container's environment.
2514
2368
  *
2515
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-enableexecutecommand
2369
+ * If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` and the resulting string isn't expanded. For example, `$$(VAR_NAME)` will be passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. The entrypoint can't be updated. For more information, see [ENTRYPOINT](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#entrypoint) in the *Dockerfile reference* and [Define a command and arguments for a container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) and [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) in the *Kubernetes documentation* .
2370
+ *
2371
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-command
2516
2372
  */
2517
- readonly enableExecuteCommand?: boolean | cdk.IResolvable;
2373
+ readonly command?: Array<string>;
2518
2374
  /**
2519
- * The amount of ephemeral storage to allocate for the task.
2375
+ * The environment variables to pass to a container.
2520
2376
  *
2521
- * This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
2377
+ * > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets.
2522
2378
  *
2523
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ephemeralstorage
2379
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-env
2524
2380
  */
2525
- readonly ephemeralStorage?: CfnJobDefinitionPropsMixin.EphemeralStorageProperty | cdk.IResolvable;
2381
+ readonly env?: Array<CfnJobDefinitionPropsMixin.EksContainerEnvironmentVariableProperty | cdk.IResolvable> | cdk.IResolvable;
2526
2382
  /**
2527
- * The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume.
2383
+ * The Docker image used to start the container.
2528
2384
  *
2529
- * For jobs that run on Fargate resources, you must provide an execution role. For more information, see [AWS Batch execution IAM role](https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html) in the *AWS Batch User Guide* .
2385
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-image
2386
+ */
2387
+ readonly image?: string;
2388
+ /**
2389
+ * The image pull policy for the container.
2530
2390
  *
2531
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-executionrolearn
2391
+ * Supported values are `Always` , `IfNotPresent` , and `Never` . This parameter defaults to `IfNotPresent` . However, if the `:latest` tag is specified, it defaults to `Always` . For more information, see [Updating images](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/containers/images/#updating-images) in the *Kubernetes documentation* .
2392
+ *
2393
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-imagepullpolicy
2532
2394
  */
2533
- readonly executionRoleArn?: string;
2395
+ readonly imagePullPolicy?: string;
2534
2396
  /**
2535
- * The IPC resource namespace to use for the containers in the task.
2397
+ * The name of the container.
2536
2398
  *
2537
- * The valid values are `host` , `task` , or `none` .
2399
+ * If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name.
2538
2400
  *
2539
- * If `host` is specified, all containers within the tasks that specified the `host` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance.
2401
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-name
2402
+ */
2403
+ readonly name?: string;
2404
+ /**
2405
+ * The type and amount of resources to assign to a container.
2540
2406
  *
2541
- * If `task` is specified, all containers within the specified `task` share the same IPC resources.
2407
+ * The supported resources include `memory` , `cpu` , and `nvidia.com/gpu` . For more information, see [Resource management for pods and containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) in the *Kubernetes documentation* .
2542
2408
  *
2543
- * If `none` is specified, the IPC resources within the containers of a task are private, and are not shared with other containers in a task or on the container instance.
2409
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-resources
2410
+ */
2411
+ readonly resources?: cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourcesProperty;
2412
+ /**
2413
+ * The security context for a job.
2544
2414
  *
2545
- * If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. For more information, see [IPC settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#ipc-settings---ipc) in the Docker run reference.
2415
+ * For more information, see [Configure a security context for a pod or container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) in the *Kubernetes documentation* .
2546
2416
  *
2547
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ipcmode
2417
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-securitycontext
2548
2418
  */
2549
- readonly ipcMode?: string;
2419
+ readonly securityContext?: cdk.IResolvable | CfnJobDefinitionPropsMixin.SecurityContextProperty;
2550
2420
  /**
2551
- * The network configuration for jobs that are running on Fargate resources.
2421
+ * The volume mounts for the container.
2552
2422
  *
2553
- * Jobs that are running on Amazon EC2 resources must not specify this parameter.
2423
+ * AWS Batch supports `emptyDir` , `hostPath` , and `secret` volume types. For more information about volumes and volume mounts in Kubernetes, see [Volumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/) in the *Kubernetes documentation* .
2554
2424
  *
2555
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-networkconfiguration
2425
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-volumemounts
2556
2426
  */
2557
- readonly networkConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.NetworkConfigurationProperty;
2427
+ readonly volumeMounts?: Array<CfnJobDefinitionPropsMixin.EksContainerVolumeMountProperty | cdk.IResolvable> | cdk.IResolvable;
2428
+ }
2429
+ /**
2430
+ * The volume mounts for a container for an Amazon EKS job.
2431
+ *
2432
+ * For more information about volumes and volume mounts in Kubernetes, see [Volumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/) in the *Kubernetes documentation* .
2433
+ *
2434
+ * @struct
2435
+ * @stability external
2436
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html
2437
+ */
2438
+ interface EksContainerVolumeMountProperty {
2558
2439
  /**
2559
- * The process namespace to use for the containers in the task.
2440
+ * The path on the container where the volume is mounted.
2560
2441
  *
2561
- * The valid values are `host` or `task` . For example, monitoring sidecars might need `pidMode` to access information about other containers running in the same task.
2442
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-mountpath
2443
+ */
2444
+ readonly mountPath?: string;
2445
+ /**
2446
+ * The name the volume mount.
2562
2447
  *
2563
- * If `host` is specified, all containers within the tasks that specified the `host` PID mode on the same container instance share the process namespace with the host Amazon EC2 instance.
2448
+ * This must match the name of one of the volumes in the pod.
2564
2449
  *
2565
- * If `task` is specified, all containers within the specified task share the same process namespace.
2450
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-name
2451
+ */
2452
+ readonly name?: string;
2453
+ /**
2454
+ * If this value is `true` , the container has read-only access to the volume.
2566
2455
  *
2567
- * If no value is specified, the default is a private namespace for each container. For more information, see [PID settings](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#pid-settings---pid) in the Docker run reference.
2456
+ * Otherwise, the container can write to the volume. The default value is `false` .
2568
2457
  *
2569
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-pidmode
2458
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-readonly
2570
2459
  */
2571
- readonly pidMode?: string;
2460
+ readonly readOnly?: boolean | cdk.IResolvable;
2572
2461
  /**
2573
- * The Fargate platform version where the jobs are running.
2462
+ * A sub-path inside the referenced volume instead of its root.
2574
2463
  *
2575
- * A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* .
2464
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-subpath
2465
+ */
2466
+ readonly subPath?: string;
2467
+ }
2468
+ /**
2469
+ * @struct
2470
+ * @stability external
2471
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html
2472
+ */
2473
+ interface SecurityContextProperty {
2474
+ /**
2475
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-allowprivilegeescalation
2476
+ */
2477
+ readonly allowPrivilegeEscalation?: boolean | cdk.IResolvable;
2478
+ /**
2479
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-privileged
2480
+ */
2481
+ readonly privileged?: boolean | cdk.IResolvable;
2482
+ /**
2483
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-readonlyrootfilesystem
2484
+ */
2485
+ readonly readOnlyRootFilesystem?: boolean | cdk.IResolvable;
2486
+ /**
2487
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasgroup
2488
+ */
2489
+ readonly runAsGroup?: number;
2490
+ /**
2491
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasnonroot
2492
+ */
2493
+ readonly runAsNonRoot?: boolean | cdk.IResolvable;
2494
+ /**
2495
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasuser
2496
+ */
2497
+ readonly runAsUser?: number;
2498
+ }
2499
+ /**
2500
+ * @struct
2501
+ * @stability external
2502
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html
2503
+ */
2504
+ interface ResourcesProperty {
2505
+ /**
2506
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-limits
2507
+ */
2508
+ readonly limits?: any | cdk.IResolvable;
2509
+ /**
2510
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-requests
2511
+ */
2512
+ readonly requests?: any | cdk.IResolvable;
2513
+ }
2514
+ /**
2515
+ * An environment variable.
2516
+ *
2517
+ * @struct
2518
+ * @stability external
2519
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html
2520
+ */
2521
+ interface EksContainerEnvironmentVariableProperty {
2522
+ /**
2523
+ * The name of the environment variable.
2576
2524
  *
2577
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-platformversion
2525
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-name
2578
2526
  */
2579
- readonly platformVersion?: string;
2527
+ readonly name?: string;
2580
2528
  /**
2581
- * An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
2529
+ * The value of the environment variable.
2582
2530
  *
2583
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-runtimeplatform
2531
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-value
2584
2532
  */
2585
- readonly runtimePlatform?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RuntimePlatformProperty;
2533
+ readonly value?: string;
2534
+ }
2535
+ /**
2536
+ * @struct
2537
+ * @stability external
2538
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html
2539
+ */
2540
+ interface MetadataProperty {
2586
2541
  /**
2587
- * The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
2542
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html#cfn-batch-jobdefinition-metadata-labels
2543
+ */
2544
+ readonly labels?: any | cdk.IResolvable;
2545
+ }
2546
+ /**
2547
+ * References a Kubernetes secret resource.
2548
+ *
2549
+ * This name of the secret must start and end with an alphanumeric character, is required to be lowercase, can include periods (.) and hyphens (-), and can't contain more than 253 characters.
2550
+ *
2551
+ * @struct
2552
+ * @stability external
2553
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html
2554
+ */
2555
+ interface ImagePullSecretProperty {
2556
+ /**
2557
+ * Provides a unique identifier for the `ImagePullSecret` .
2588
2558
  *
2589
- * > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) .
2559
+ * This object is required when `EksPodProperties$imagePullSecrets` is used.
2590
2560
  *
2591
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-taskrolearn
2561
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html#cfn-batch-jobdefinition-imagepullsecret-name
2592
2562
  */
2593
- readonly taskRoleArn?: string;
2563
+ readonly name?: string;
2564
+ }
2565
+ /**
2566
+ * Contains a list of consumable resources required by a job.
2567
+ *
2568
+ * @struct
2569
+ * @stability external
2570
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html
2571
+ */
2572
+ interface ConsumableResourcePropertiesProperty {
2594
2573
  /**
2595
- * A list of volumes that are associated with the job.
2574
+ * The list of consumable resources required by a job.
2596
2575
  *
2597
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-volumes
2576
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html#cfn-batch-jobdefinition-consumableresourceproperties-consumableresourcelist
2598
2577
  */
2599
- readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
2578
+ readonly consumableResourceList?: Array<CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty | cdk.IResolvable> | cdk.IResolvable;
2579
+ }
2580
+ /**
2581
+ * Information about a consumable resource required to run a job.
2582
+ *
2583
+ * @struct
2584
+ * @stability external
2585
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html
2586
+ */
2587
+ interface ConsumableResourceRequirementProperty {
2588
+ /**
2589
+ * The name or ARN of the consumable resource.
2590
+ *
2591
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-consumableresource
2592
+ */
2593
+ readonly consumableResource?: string;
2594
+ /**
2595
+ * The quantity of the consumable resource that is needed.
2596
+ *
2597
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-quantity
2598
+ */
2599
+ readonly quantity?: number;
2600
2600
  }
2601
2601
  /**
2602
2602
  * Specifies the resource retention policy settings for a job definition.