@aws-cdk/cfn-property-mixins 2.250.0 → 2.252.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 +39 -0
  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.d.ts +6 -0
  16. package/lib/services/aws-appintegrations/cfn-props-mixins.generated.js +4 -4
  17. package/lib/services/aws-applicationautoscaling/cfn-props-mixins.generated.js +2 -2
  18. package/lib/services/aws-applicationinsights/cfn-props-mixins.generated.js +1 -1
  19. package/lib/services/aws-applicationsignals/cfn-props-mixins.generated.js +3 -3
  20. package/lib/services/aws-appmesh/cfn-props-mixins.generated.js +7 -7
  21. package/lib/services/aws-apprunner/cfn-props-mixins.generated.js +5 -5
  22. package/lib/services/aws-appstream/cfn-props-mixins.generated.js +13 -13
  23. package/lib/services/aws-appsync/cfn-props-mixins.generated.js +12 -12
  24. package/lib/services/aws-apptest/cfn-props-mixins.generated.js +1 -1
  25. package/lib/services/aws-aps/cfn-props-mixins.generated.js +5 -5
  26. package/lib/services/aws-arcregionswitch/cfn-props-mixins.generated.d.ts +27 -27
  27. package/lib/services/aws-arcregionswitch/cfn-props-mixins.generated.js +1 -1
  28. package/lib/services/aws-arczonalshift/cfn-props-mixins.generated.js +2 -2
  29. package/lib/services/aws-athena/cfn-props-mixins.generated.js +5 -5
  30. package/lib/services/aws-auditmanager/cfn-props-mixins.generated.js +1 -1
  31. package/lib/services/aws-autoscaling/cfn-props-mixins.generated.js +6 -6
  32. package/lib/services/aws-autoscalingplans/cfn-props-mixins.generated.js +1 -1
  33. package/lib/services/aws-b2bi/cfn-props-mixins.generated.js +4 -4
  34. package/lib/services/aws-backup/cfn-props-mixins.generated.js +9 -9
  35. package/lib/services/aws-backupgateway/cfn-props-mixins.generated.js +1 -1
  36. package/lib/services/aws-batch/cfn-props-mixins.generated.d.ts +597 -544
  37. package/lib/services/aws-batch/cfn-props-mixins.generated.js +10 -8
  38. package/lib/services/aws-bcmdataexports/cfn-props-mixins.generated.d.ts +4 -0
  39. package/lib/services/aws-bcmdataexports/cfn-props-mixins.generated.js +1 -1
  40. package/lib/services/aws-bcmpricingcalculator/cfn-props-mixins.generated.js +1 -1
  41. package/lib/services/aws-bedrock/cfn-props-mixins.generated.js +20 -20
  42. package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.d.ts +19 -0
  43. package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.js +15 -15
  44. package/lib/services/aws-bedrockmantle/cfn-props-mixins.generated.js +1 -1
  45. package/lib/services/aws-billingconductor/cfn-props-mixins.generated.js +4 -4
  46. package/lib/services/aws-braket/cfn-props-mixins.generated.js +1 -1
  47. package/lib/services/aws-budgets/cfn-props-mixins.generated.js +2 -2
  48. package/lib/services/aws-cases/cfn-props-mixins.generated.js +5 -5
  49. package/lib/services/aws-cassandra/cfn-props-mixins.generated.js +3 -3
  50. package/lib/services/aws-ce/cfn-props-mixins.generated.js +3 -3
  51. package/lib/services/aws-certificatemanager/cfn-props-mixins.generated.js +2 -2
  52. package/lib/services/aws-chatbot/cfn-props-mixins.generated.js +3 -3
  53. package/lib/services/aws-cleanrooms/cfn-props-mixins.generated.js +8 -8
  54. package/lib/services/aws-cleanroomsml/cfn-props-mixins.generated.js +3 -3
  55. package/lib/services/aws-cloud9/cfn-props-mixins.generated.js +1 -1
  56. package/lib/services/aws-cloudformation/cfn-props-mixins.generated.d.ts +1 -1
  57. package/lib/services/aws-cloudformation/cfn-props-mixins.generated.js +18 -18
  58. package/lib/services/aws-cloudfront/cfn-props-mixins.generated.d.ts +4 -0
  59. package/lib/services/aws-cloudfront/cfn-props-mixins.generated.js +21 -21
  60. package/lib/services/aws-cloudtrail/cfn-props-mixins.generated.js +5 -5
  61. package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.d.ts +44 -0
  62. package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.js +8 -8
  63. package/lib/services/aws-codeartifact/cfn-props-mixins.generated.js +3 -3
  64. package/lib/services/aws-codebuild/cfn-props-mixins.generated.js +4 -4
  65. package/lib/services/aws-codecommit/cfn-props-mixins.generated.js +1 -1
  66. package/lib/services/aws-codeconnections/cfn-props-mixins.generated.js +1 -1
  67. package/lib/services/aws-codedeploy/cfn-props-mixins.generated.js +3 -3
  68. package/lib/services/aws-codeguruprofiler/cfn-props-mixins.generated.js +1 -1
  69. package/lib/services/aws-codegurureviewer/cfn-props-mixins.generated.js +1 -1
  70. package/lib/services/aws-codepipeline/cfn-props-mixins.generated.js +3 -3
  71. package/lib/services/aws-codestar/cfn-props-mixins.generated.js +1 -1
  72. package/lib/services/aws-codestarconnections/cfn-props-mixins.generated.js +3 -3
  73. package/lib/services/aws-codestarnotifications/cfn-props-mixins.generated.js +1 -1
  74. package/lib/services/aws-cognito/cfn-props-mixins.generated.js +16 -16
  75. package/lib/services/aws-comprehend/cfn-props-mixins.generated.js +2 -2
  76. package/lib/services/aws-computeoptimizer/cfn-props-mixins.generated.js +1 -1
  77. package/lib/services/aws-config/cfn-props-mixins.generated.js +10 -10
  78. package/lib/services/aws-connect/cfn-props-mixins.generated.js +34 -34
  79. package/lib/services/aws-connectcampaigns/cfn-props-mixins.generated.js +1 -1
  80. package/lib/services/aws-connectcampaignsv2/cfn-props-mixins.generated.js +1 -1
  81. package/lib/services/aws-controltower/cfn-props-mixins.generated.js +3 -3
  82. package/lib/services/aws-cur/cfn-props-mixins.generated.js +1 -1
  83. package/lib/services/aws-customerprofiles/cfn-props-mixins.generated.js +8 -8
  84. package/lib/services/aws-databrew/cfn-props-mixins.generated.js +6 -6
  85. package/lib/services/aws-datapipeline/cfn-props-mixins.generated.js +1 -1
  86. package/lib/services/aws-datasync/cfn-props-mixins.generated.js +13 -13
  87. package/lib/services/aws-datazone/cfn-props-mixins.generated.js +17 -17
  88. package/lib/services/aws-dax/cfn-props-mixins.generated.js +3 -3
  89. package/lib/services/aws-deadline/cfn-props-mixins.generated.d.ts +105 -0
  90. package/lib/services/aws-deadline/cfn-props-mixins.generated.js +13 -13
  91. package/lib/services/aws-detective/cfn-props-mixins.generated.js +3 -3
  92. package/lib/services/aws-devicefarm/cfn-props-mixins.generated.js +6 -6
  93. package/lib/services/aws-devopsagent/cfn-props-mixins.generated.d.ts +495 -0
  94. package/lib/services/aws-devopsagent/cfn-props-mixins.generated.js +54 -4
  95. package/lib/services/aws-devopsguru/cfn-props-mixins.generated.js +3 -3
  96. package/lib/services/aws-directconnect/cfn-props-mixins.generated.js +7 -7
  97. package/lib/services/aws-directoryservice/cfn-props-mixins.generated.js +2 -2
  98. package/lib/services/aws-dlm/cfn-props-mixins.generated.js +1 -1
  99. package/lib/services/aws-dms/cfn-props-mixins.generated.js +11 -11
  100. package/lib/services/aws-docdb/cfn-props-mixins.generated.js +6 -6
  101. package/lib/services/aws-docdbelastic/cfn-props-mixins.generated.js +1 -1
  102. package/lib/services/aws-dsql/cfn-props-mixins.generated.js +1 -1
  103. package/lib/services/aws-dynamodb/cfn-props-mixins.generated.js +2 -2
  104. package/lib/services/aws-ec2/cfn-props-mixins.generated.d.ts +143 -0
  105. package/lib/services/aws-ec2/cfn-props-mixins.generated.js +113 -113
  106. package/lib/services/aws-ecr/cfn-props-mixins.generated.js +9 -9
  107. package/lib/services/aws-ecs/cfn-props-mixins.generated.d.ts +545 -3
  108. package/lib/services/aws-ecs/cfn-props-mixins.generated.js +14 -12
  109. package/lib/services/aws-efs/cfn-props-mixins.generated.js +3 -3
  110. package/lib/services/aws-eks/cfn-props-mixins.generated.js +8 -8
  111. package/lib/services/aws-elasticache/cfn-props-mixins.generated.js +10 -10
  112. package/lib/services/aws-elasticbeanstalk/cfn-props-mixins.generated.js +4 -4
  113. package/lib/services/aws-elasticloadbalancing/cfn-props-mixins.generated.d.ts +0 -15
  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.js +1 -1
  121. package/lib/services/aws-entityresolution/cfn-props-mixins.generated.js +5 -5
  122. package/lib/services/aws-eventschemas/cfn-props-mixins.generated.js +4 -4
  123. package/lib/services/aws-evidently/cfn-props-mixins.generated.js +5 -5
  124. package/lib/services/aws-evs/cfn-props-mixins.generated.js +1 -1
  125. package/lib/services/aws-finspace/cfn-props-mixins.generated.js +1 -1
  126. package/lib/services/aws-fis/cfn-props-mixins.generated.js +2 -2
  127. package/lib/services/aws-fms/cfn-props-mixins.generated.js +3 -3
  128. package/lib/services/aws-forecast/cfn-props-mixins.generated.js +2 -2
  129. package/lib/services/aws-frauddetector/cfn-props-mixins.generated.js +7 -7
  130. package/lib/services/aws-fsx/cfn-props-mixins.generated.js +6 -6
  131. package/lib/services/aws-gamelift/cfn-props-mixins.generated.js +11 -11
  132. package/lib/services/aws-gameliftstreams/cfn-props-mixins.generated.js +2 -2
  133. package/lib/services/aws-globalaccelerator/cfn-props-mixins.generated.d.ts +19 -0
  134. package/lib/services/aws-globalaccelerator/cfn-props-mixins.generated.js +5 -5
  135. package/lib/services/aws-glue/cfn-props-mixins.generated.js +25 -25
  136. package/lib/services/aws-grafana/cfn-props-mixins.generated.js +1 -1
  137. package/lib/services/aws-greengrass/cfn-props-mixins.generated.js +16 -16
  138. package/lib/services/aws-greengrassv2/cfn-props-mixins.generated.js +2 -2
  139. package/lib/services/aws-groundstation/cfn-props-mixins.generated.js +4 -4
  140. package/lib/services/aws-guardduty/cfn-props-mixins.generated.js +10 -10
  141. package/lib/services/aws-healthimaging/cfn-props-mixins.generated.js +1 -1
  142. package/lib/services/aws-healthlake/cfn-props-mixins.generated.js +1 -1
  143. package/lib/services/aws-iam/cfn-props-mixins.generated.js +16 -16
  144. package/lib/services/aws-identitystore/cfn-props-mixins.generated.js +2 -2
  145. package/lib/services/aws-imagebuilder/cfn-props-mixins.generated.js +9 -9
  146. package/lib/services/aws-inspector/cfn-props-mixins.generated.js +3 -3
  147. package/lib/services/aws-inspectorv2/cfn-props-mixins.generated.js +4 -4
  148. package/lib/services/aws-interconnect/cfn-props-mixins.generated.d.ts +27 -2
  149. package/lib/services/aws-interconnect/cfn-props-mixins.generated.js +2 -2
  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.js +15 -15
  181. package/lib/services/aws-lookoutequipment/cfn-props-mixins.generated.js +1 -1
  182. package/lib/services/aws-lookoutmetrics/cfn-props-mixins.generated.js +2 -2
  183. package/lib/services/aws-lookoutvision/cfn-props-mixins.generated.js +1 -1
  184. package/lib/services/aws-m2/cfn-props-mixins.generated.js +3 -3
  185. package/lib/services/aws-macie/cfn-props-mixins.generated.js +4 -4
  186. package/lib/services/aws-managedblockchain/cfn-props-mixins.generated.js +3 -3
  187. package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.d.ts +93 -14
  188. package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.js +12 -12
  189. package/lib/services/aws-mediaconvert/cfn-props-mixins.generated.js +3 -3
  190. package/lib/services/aws-medialive/cfn-props-mixins.generated.d.ts +4 -0
  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 +231 -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.d.ts +63 -0
  204. package/lib/services/aws-neptunegraph/cfn-props-mixins.generated.js +54 -4
  205. package/lib/services/aws-networkfirewall/cfn-props-mixins.generated.js +6 -6
  206. package/lib/services/aws-networkmanager/cfn-props-mixins.generated.js +16 -16
  207. package/lib/services/aws-nimblestudio/cfn-props-mixins.generated.js +4 -4
  208. package/lib/services/aws-notifications/cfn-props-mixins.generated.js +7 -7
  209. package/lib/services/aws-notificationscontacts/cfn-props-mixins.generated.js +1 -1
  210. package/lib/services/aws-novaact/cfn-props-mixins.generated.js +1 -1
  211. package/lib/services/aws-oam/cfn-props-mixins.generated.js +2 -2
  212. package/lib/services/aws-observabilityadmin/cfn-props-mixins.generated.js +6 -6
  213. package/lib/services/aws-odb/cfn-props-mixins.generated.js +5 -5
  214. package/lib/services/aws-omics/cfn-props-mixins.generated.js +8 -8
  215. package/lib/services/aws-opensearchserverless/cfn-props-mixins.generated.js +8 -8
  216. package/lib/services/aws-opensearchservice/cfn-props-mixins.generated.js +2 -2
  217. package/lib/services/aws-opsworks/cfn-props-mixins.generated.js +7 -7
  218. package/lib/services/aws-opsworkscm/cfn-props-mixins.generated.js +1 -1
  219. package/lib/services/aws-organizations/cfn-props-mixins.generated.js +5 -5
  220. package/lib/services/aws-osis/cfn-props-mixins.generated.js +1 -1
  221. package/lib/services/aws-panorama/cfn-props-mixins.generated.js +3 -3
  222. package/lib/services/aws-paymentcryptography/cfn-props-mixins.generated.js +2 -2
  223. package/lib/services/aws-pcaconnectorad/cfn-props-mixins.generated.js +5 -5
  224. package/lib/services/aws-pcaconnectorscep/cfn-props-mixins.generated.js +2 -2
  225. package/lib/services/aws-pcs/cfn-props-mixins.generated.js +3 -3
  226. package/lib/services/aws-personalize/cfn-props-mixins.generated.js +4 -4
  227. package/lib/services/aws-pinpoint/cfn-props-mixins.generated.js +19 -19
  228. package/lib/services/aws-pinpointemail/cfn-props-mixins.generated.js +4 -4
  229. package/lib/services/aws-pipes/cfn-props-mixins.generated.js +1 -1
  230. package/lib/services/aws-proton/cfn-props-mixins.generated.js +3 -3
  231. package/lib/services/aws-qbusiness/cfn-props-mixins.generated.js +8 -8
  232. package/lib/services/aws-qldb/cfn-props-mixins.generated.js +2 -2
  233. package/lib/services/aws-quicksight/cfn-props-mixins.generated.js +12 -12
  234. package/lib/services/aws-ram/cfn-props-mixins.generated.js +2 -2
  235. package/lib/services/aws-rbin/cfn-props-mixins.generated.js +1 -1
  236. package/lib/services/aws-rds/cfn-props-mixins.generated.js +16 -16
  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.js +7 -7
  248. package/lib/services/aws-route53profiles/cfn-props-mixins.generated.js +3 -3
  249. package/lib/services/aws-route53recoverycontrol/cfn-props-mixins.generated.js +4 -4
  250. package/lib/services/aws-route53recoveryreadiness/cfn-props-mixins.generated.js +4 -4
  251. package/lib/services/aws-route53resolver/cfn-props-mixins.generated.js +11 -11
  252. package/lib/services/aws-rtbfabric/cfn-props-mixins.generated.js +5 -5
  253. package/lib/services/aws-rum/cfn-props-mixins.generated.js +1 -1
  254. package/lib/services/aws-s3/cfn-props-mixins.generated.js +10 -10
  255. package/lib/services/aws-s3express/cfn-props-mixins.generated.d.ts +92 -0
  256. package/lib/services/aws-s3express/cfn-props-mixins.generated.js +4 -4
  257. package/lib/services/aws-s3files/cfn-props-mixins.generated.js +4 -4
  258. package/lib/services/aws-s3objectlambda/cfn-props-mixins.generated.js +2 -2
  259. package/lib/services/aws-s3outposts/cfn-props-mixins.generated.js +4 -4
  260. package/lib/services/aws-s3tables/cfn-props-mixins.generated.js +5 -5
  261. package/lib/services/aws-s3vectors/cfn-props-mixins.generated.js +3 -3
  262. package/lib/services/aws-sagemaker/cfn-props-mixins.generated.d.ts +8 -0
  263. package/lib/services/aws-sagemaker/cfn-props-mixins.generated.js +34 -34
  264. package/lib/services/aws-sam/cfn-props-mixins.generated.js +7 -7
  265. package/lib/services/aws-scheduler/cfn-props-mixins.generated.js +2 -2
  266. package/lib/services/aws-sdb/cfn-props-mixins.generated.js +1 -1
  267. package/lib/services/aws-secretsmanager/cfn-props-mixins.generated.js +4 -4
  268. package/lib/services/aws-securityagent/cfn-props-mixins.generated.d.ts +98 -0
  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.d.ts +112 -0
  276. package/lib/services/aws-ses/cfn-props-mixins.generated.js +22 -22
  277. package/lib/services/aws-shield/cfn-props-mixins.generated.js +4 -4
  278. package/lib/services/aws-signer/cfn-props-mixins.generated.js +2 -2
  279. package/lib/services/aws-simspaceweaver/cfn-props-mixins.generated.js +1 -1
  280. package/lib/services/aws-smsvoice/cfn-props-mixins.generated.js +7 -7
  281. package/lib/services/aws-sns/cfn-props-mixins.generated.js +4 -4
  282. package/lib/services/aws-sqs/cfn-props-mixins.generated.js +3 -3
  283. package/lib/services/aws-ssm/cfn-props-mixins.generated.js +9 -9
  284. package/lib/services/aws-ssmcontacts/cfn-props-mixins.generated.js +4 -4
  285. package/lib/services/aws-ssmguiconnect/cfn-props-mixins.generated.js +1 -1
  286. package/lib/services/aws-ssmincidents/cfn-props-mixins.generated.js +2 -2
  287. package/lib/services/aws-ssmquicksetup/cfn-props-mixins.generated.js +2 -2
  288. package/lib/services/aws-sso/cfn-props-mixins.generated.js +6 -6
  289. package/lib/services/aws-stepfunctions/cfn-props-mixins.generated.js +4 -4
  290. package/lib/services/aws-supportapp/cfn-props-mixins.generated.js +3 -3
  291. package/lib/services/aws-synthetics/cfn-props-mixins.generated.js +2 -2
  292. package/lib/services/aws-systemsmanagersap/cfn-props-mixins.generated.js +1 -1
  293. package/lib/services/aws-timestream/cfn-props-mixins.generated.js +5 -5
  294. package/lib/services/aws-transfer/cfn-props-mixins.generated.d.ts +6 -0
  295. package/lib/services/aws-transfer/cfn-props-mixins.generated.js +9 -9
  296. package/lib/services/aws-uxc/cfn-props-mixins.generated.js +1 -1
  297. package/lib/services/aws-verifiedpermissions/cfn-props-mixins.generated.js +4 -4
  298. package/lib/services/aws-voiceid/cfn-props-mixins.generated.js +1 -1
  299. package/lib/services/aws-vpclattice/cfn-props-mixins.generated.js +14 -14
  300. package/lib/services/aws-waf/cfn-props-mixins.generated.js +7 -7
  301. package/lib/services/aws-wafregional/cfn-props-mixins.generated.js +11 -11
  302. package/lib/services/aws-wafv2/cfn-props-mixins.generated.js +6 -6
  303. package/lib/services/aws-wisdom/cfn-props-mixins.generated.js +12 -12
  304. package/lib/services/aws-workspaces/cfn-props-mixins.generated.js +3 -3
  305. package/lib/services/aws-workspacesinstances/cfn-props-mixins.generated.js +3 -3
  306. package/lib/services/aws-workspacesthinclient/cfn-props-mixins.generated.js +1 -1
  307. package/lib/services/aws-workspacesweb/cfn-props-mixins.generated.js +10 -10
  308. package/lib/services/aws-xray/cfn-props-mixins.generated.js +4 -4
  309. package/package.json +6 -6
@@ -372,6 +372,10 @@ export declare namespace CfnComputeEnvironmentPropsMixin {
372
372
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-ec2configurationobject.html
373
373
  */
374
374
  interface Ec2ConfigurationObjectProperty {
375
+ /**
376
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-ec2configurationobject.html#cfn-batch-computeenvironment-ec2configurationobject-batchimagestatus
377
+ */
378
+ readonly batchImageStatus?: string;
375
379
  /**
376
380
  * The AMI ID used for instances launched in the compute environment that match the image type.
377
381
  *
@@ -1325,6 +1329,10 @@ export declare namespace CfnJobDefinitionPropsMixin {
1325
1329
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html#cfn-batch-jobdefinition-volumes-name
1326
1330
  */
1327
1331
  readonly name?: string;
1332
+ /**
1333
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumes.html#cfn-batch-jobdefinition-volumes-s3filesvolumeconfiguration
1334
+ */
1335
+ readonly s3FilesVolumeConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.S3FilesVolumeConfigurationProperty;
1328
1336
  }
1329
1337
  /**
1330
1338
  * @struct
@@ -1379,6 +1387,29 @@ export declare namespace CfnJobDefinitionPropsMixin {
1379
1387
  */
1380
1388
  readonly iam?: string;
1381
1389
  }
1390
+ /**
1391
+ * @struct
1392
+ * @stability external
1393
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-s3filesvolumeconfiguration.html
1394
+ */
1395
+ interface S3FilesVolumeConfigurationProperty {
1396
+ /**
1397
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-s3filesvolumeconfiguration.html#cfn-batch-jobdefinition-s3filesvolumeconfiguration-accesspointarn
1398
+ */
1399
+ readonly accessPointArn?: string;
1400
+ /**
1401
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-s3filesvolumeconfiguration.html#cfn-batch-jobdefinition-s3filesvolumeconfiguration-filesystemarn
1402
+ */
1403
+ readonly fileSystemArn?: string;
1404
+ /**
1405
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-s3filesvolumeconfiguration.html#cfn-batch-jobdefinition-s3filesvolumeconfiguration-rootdirectory
1406
+ */
1407
+ readonly rootDirectory?: string;
1408
+ /**
1409
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-s3filesvolumeconfiguration.html#cfn-batch-jobdefinition-s3filesvolumeconfiguration-transitencryptionport
1410
+ */
1411
+ readonly transitEncryptionPort?: number;
1412
+ }
1382
1413
  /**
1383
1414
  * The Environment property type specifies environment variables to use in a job definition.
1384
1415
  *
@@ -1557,402 +1588,455 @@ export declare namespace CfnJobDefinitionPropsMixin {
1557
1588
  readonly onStatusReason?: string;
1558
1589
  }
1559
1590
  /**
1560
- * An object that contains the properties for the Amazon ECS resources of a job.
1591
+ * An object that contains the properties for the Kubernetes resources of a job.
1561
1592
  *
1562
1593
  * @struct
1563
1594
  * @stability external
1564
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html
1595
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html
1565
1596
  */
1566
- interface EcsPropertiesProperty {
1597
+ interface EksPropertiesProperty {
1567
1598
  /**
1568
- * An object that contains the properties for the Amazon ECS task definition of a job.
1569
- *
1570
- * > This object is currently limited to one task element. However, the task element can run up to 10 containers.
1599
+ * The properties for the Kubernetes pod resources of a job.
1571
1600
  *
1572
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html#cfn-batch-jobdefinition-ecsproperties-taskproperties
1601
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html#cfn-batch-jobdefinition-eksproperties-podproperties
1573
1602
  */
1574
- readonly taskProperties?: Array<CfnJobDefinitionPropsMixin.EcsTaskPropertiesProperty | cdk.IResolvable> | cdk.IResolvable;
1603
+ readonly podProperties?: cdk.IResolvable | CfnJobDefinitionPropsMixin.PodPropertiesProperty;
1575
1604
  }
1576
1605
  /**
1577
- * The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
1578
- *
1579
- * 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.
1580
- *
1581
1606
  * @struct
1582
1607
  * @stability external
1583
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html
1608
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html
1584
1609
  */
1585
- interface EcsTaskPropertiesProperty {
1610
+ interface PodPropertiesProperty {
1586
1611
  /**
1587
- * This object is a list of containers.
1588
- *
1589
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-containers
1612
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-containers
1590
1613
  */
1591
- readonly containers?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerPropertiesProperty> | cdk.IResolvable;
1614
+ readonly containers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
1592
1615
  /**
1593
- * Determines whether execute command functionality is turned on for this task.
1594
- *
1595
- * If `true` , execute command functionality is turned on all the containers in the task.
1596
- *
1597
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-enableexecutecommand
1616
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-dnspolicy
1598
1617
  */
1599
- readonly enableExecuteCommand?: boolean | cdk.IResolvable;
1618
+ readonly dnsPolicy?: string;
1600
1619
  /**
1601
- * The amount of ephemeral storage to allocate for the task.
1602
- *
1603
- * This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
1604
- *
1605
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ephemeralstorage
1620
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-hostnetwork
1606
1621
  */
1607
- readonly ephemeralStorage?: CfnJobDefinitionPropsMixin.EphemeralStorageProperty | cdk.IResolvable;
1622
+ readonly hostNetwork?: boolean | cdk.IResolvable;
1608
1623
  /**
1609
- * The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume.
1610
- *
1611
- * 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* .
1612
- *
1613
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-executionrolearn
1624
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-imagepullsecrets
1614
1625
  */
1615
- readonly executionRoleArn?: string;
1626
+ readonly imagePullSecrets?: Array<CfnJobDefinitionPropsMixin.ImagePullSecretProperty | cdk.IResolvable> | cdk.IResolvable;
1616
1627
  /**
1617
- * The IPC resource namespace to use for the containers in the task.
1618
- *
1619
- * The valid values are `host` , `task` , or `none` .
1620
- *
1621
- * 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.
1622
- *
1623
- * If `task` is specified, all containers within the specified `task` share the same IPC resources.
1624
- *
1625
- * 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.
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;
1643
+ /**
1644
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-volumes
1645
+ */
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 {
1656
+ /**
1657
+ * Specifies the configuration of a Kubernetes `emptyDir` volume.
1626
1658
  *
1627
- * 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
+ * For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* .
1628
1660
  *
1629
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ipcmode
1661
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-emptydir
1630
1662
  */
1631
- readonly ipcMode?: string;
1663
+ readonly emptyDir?: CfnJobDefinitionPropsMixin.EmptyDirProperty | cdk.IResolvable;
1632
1664
  /**
1633
- * The network configuration for jobs that are running on Fargate resources.
1665
+ * Specifies the configuration of a Kubernetes `hostPath` volume.
1634
1666
  *
1635
- * Jobs that are running on Amazon EC2 resources must not specify this parameter.
1667
+ * For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* .
1636
1668
  *
1637
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-networkconfiguration
1669
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-hostpath
1638
1670
  */
1639
- readonly networkConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.NetworkConfigurationProperty;
1671
+ readonly hostPath?: CfnJobDefinitionPropsMixin.HostPathProperty | cdk.IResolvable;
1640
1672
  /**
1641
- * The process namespace to use for the containers in the task.
1642
- *
1643
- * 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.
1673
+ * The name of the volume.
1644
1674
  *
1645
- * 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.
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* .
1646
1676
  *
1647
- * If `task` is specified, all containers within the specified task share the same process namespace.
1677
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-name
1678
+ */
1679
+ readonly name?: string;
1680
+ /**
1681
+ * Specifies the configuration of a Kubernetes `persistentVolumeClaim` bounded to a `persistentVolume` .
1648
1682
  *
1649
- * 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.
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
1684
  *
1651
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-pidmode
1685
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-persistentvolumeclaim
1652
1686
  */
1653
- readonly pidMode?: string;
1687
+ readonly persistentVolumeClaim?: CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty | cdk.IResolvable;
1654
1688
  /**
1655
- * The Fargate platform version where the jobs are running.
1689
+ * Specifies the configuration of a Kubernetes `secret` volume.
1656
1690
  *
1657
- * 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* .
1691
+ * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
1658
1692
  *
1659
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-platformversion
1693
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-secret
1660
1694
  */
1661
- readonly platformVersion?: string;
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 {
1662
1707
  /**
1663
- * An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
1708
+ * Specifies whether the secret or the secret's keys must be defined.
1664
1709
  *
1665
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-runtimeplatform
1710
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-optional
1666
1711
  */
1667
- readonly runtimePlatform?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RuntimePlatformProperty;
1712
+ readonly optional?: boolean | cdk.IResolvable;
1668
1713
  /**
1669
- * The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
1714
+ * The name of the secret.
1670
1715
  *
1671
- * > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) .
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* .
1672
1717
  *
1673
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-taskrolearn
1718
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-secretname
1674
1719
  */
1675
- readonly taskRoleArn?: string;
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 {
1676
1728
  /**
1677
- * A list of volumes that are associated with the job.
1678
- *
1679
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-volumes
1729
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-medium
1680
1730
  */
1681
- readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
1731
+ readonly medium?: string;
1732
+ /**
1733
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-sizelimit
1734
+ */
1735
+ readonly sizeLimit?: string;
1682
1736
  }
1683
1737
  /**
1684
- * Container properties are used for Amazon ECS-based job definitions.
1685
- *
1686
- * These properties to describe the container that's launched as part of a job.
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 {
1743
+ /**
1744
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html#cfn-batch-jobdefinition-hostpath-path
1745
+ */
1746
+ readonly path?: string;
1747
+ }
1748
+ /**
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* .
1687
1750
  *
1688
1751
  * @struct
1689
1752
  * @stability external
1690
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html
1753
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html
1691
1754
  */
1692
- interface TaskContainerPropertiesProperty {
1755
+ interface EksPersistentVolumeClaimProperty {
1693
1756
  /**
1694
- * The command that's passed to the container.
1757
+ * The name of the `persistentVolumeClaim` bounded to a `persistentVolume` .
1695
1758
  *
1696
- * 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) .
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* .
1697
1760
  *
1698
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-command
1761
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-claimname
1699
1762
  */
1700
- readonly command?: Array<string>;
1763
+ readonly claimName?: string;
1701
1764
  /**
1702
- * A list of containers that this container depends on.
1765
+ * An optional boolean value indicating if the mount is read only.
1703
1766
  *
1704
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-dependson
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* .
1768
+ *
1769
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-readonly
1705
1770
  */
1706
- readonly dependsOn?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty> | cdk.IResolvable;
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 {
1707
1783
  /**
1708
- * The environment variables to pass to a container.
1784
+ * An array of arguments to the entrypoint.
1709
1785
  *
1710
- * 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/) .
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.
1711
1787
  *
1712
- * > 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.
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* .
1713
1789
  *
1714
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-environment
1790
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-args
1715
1791
  */
1716
- readonly environment?: Array<CfnJobDefinitionPropsMixin.EnvironmentProperty | cdk.IResolvable> | cdk.IResolvable;
1792
+ readonly args?: Array<string>;
1717
1793
  /**
1718
- * 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.
1794
+ * The entrypoint for the container.
1719
1795
  *
1720
- * 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.
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.
1721
1797
  *
1722
- * 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* .
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* .
1723
1799
  *
1724
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-essential
1800
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-command
1725
1801
  */
1726
- readonly essential?: boolean | cdk.IResolvable;
1802
+ readonly command?: Array<string>;
1727
1803
  /**
1728
- * The FireLens configuration for the container.
1804
+ * The environment variables to pass to a container.
1729
1805
  *
1730
- * 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* .
1806
+ * > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets.
1731
1807
  *
1732
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-firelensconfiguration
1808
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-env
1733
1809
  */
1734
- readonly firelensConfiguration?: CfnJobDefinitionPropsMixin.FirelensConfigurationProperty | cdk.IResolvable;
1810
+ readonly env?: Array<CfnJobDefinitionPropsMixin.EksContainerEnvironmentVariableProperty | cdk.IResolvable> | cdk.IResolvable;
1735
1811
  /**
1736
- * The image used to start a container.
1737
- *
1738
- * 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) .
1812
+ * The Docker image used to start the container.
1739
1813
  *
1740
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-image
1814
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-image
1741
1815
  */
1742
1816
  readonly image?: string;
1743
1817
  /**
1744
- * Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
1818
+ * The image pull policy for the container.
1745
1819
  *
1746
- * For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) .
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* .
1747
1821
  *
1748
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-linuxparameters
1822
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-imagepullpolicy
1749
1823
  */
1750
- readonly linuxParameters?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LinuxParametersProperty;
1824
+ readonly imagePullPolicy?: string;
1751
1825
  /**
1752
- * The log configuration specification for the container.
1826
+ * The name of the container.
1753
1827
  *
1754
- * 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) .
1828
+ * If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name.
1755
1829
  *
1756
- * 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* .
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.
1757
1835
  *
1758
- * > 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.
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* .
1759
1837
  *
1760
- * 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}}'`
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.
1761
1843
  *
1762
- * > 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* .
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* .
1763
1845
  *
1764
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-logconfiguration
1846
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-securitycontext
1765
1847
  */
1766
- readonly logConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LogConfigurationProperty;
1848
+ readonly securityContext?: cdk.IResolvable | CfnJobDefinitionPropsMixin.SecurityContextProperty;
1767
1849
  /**
1768
- * The mount points for data volumes in your container.
1850
+ * The volume mounts for the container.
1769
1851
  *
1770
- * 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) .
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* .
1771
1853
  *
1772
- * 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.
1854
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-volumemounts
1855
+ */
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 {
1868
+ /**
1869
+ * The path on the container where the volume is mounted.
1773
1870
  *
1774
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-mountpoints
1871
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-mountpath
1775
1872
  */
1776
- readonly mountPoints?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.MountPointProperty> | cdk.IResolvable;
1873
+ readonly mountPath?: string;
1777
1874
  /**
1778
- * The name of a container.
1875
+ * The name the volume mount.
1779
1876
  *
1780
- * The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects.
1877
+ * This must match the name of one of the volumes in the pod.
1781
1878
  *
1782
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-name
1879
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-name
1783
1880
  */
1784
1881
  readonly name?: string;
1785
1882
  /**
1786
- * When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user).
1787
- *
1788
- * 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) .
1883
+ * If this value is `true` , the container has read-only access to the volume.
1789
1884
  *
1790
- * > This parameter is not supported for Windows containers or tasks run on Fargate.
1885
+ * Otherwise, the container can write to the volume. The default value is `false` .
1791
1886
  *
1792
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-privileged
1887
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-readonly
1793
1888
  */
1794
- readonly privileged?: boolean | cdk.IResolvable;
1889
+ readonly readOnly?: boolean | cdk.IResolvable;
1795
1890
  /**
1796
- * When this parameter is true, the container is given read-only access to its root file system.
1797
- *
1798
- * 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) .
1799
- *
1800
- * > This parameter is not supported for Windows containers.
1891
+ * A sub-path inside the referenced volume instead of its root.
1801
1892
  *
1802
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-readonlyrootfilesystem
1893
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-subpath
1803
1894
  */
1804
- readonly readonlyRootFilesystem?: boolean | cdk.IResolvable;
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 {
1805
1903
  /**
1806
- * The private repository authentication credentials to use.
1807
- *
1808
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-repositorycredentials
1904
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-allowprivilegeescalation
1809
1905
  */
1810
- readonly repositoryCredentials?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RepositoryCredentialsProperty;
1906
+ readonly allowPrivilegeEscalation?: boolean | cdk.IResolvable;
1811
1907
  /**
1812
- * The type and amount of a resource to assign to a container.
1813
- *
1814
- * The only supported resource is a GPU.
1815
- *
1816
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-resourcerequirements
1908
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-privileged
1817
1909
  */
1818
- readonly resourceRequirements?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourceRequirementProperty> | cdk.IResolvable;
1910
+ readonly privileged?: boolean | cdk.IResolvable;
1819
1911
  /**
1820
- * The secrets to pass to the container.
1821
- *
1822
- * 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.
1823
- *
1824
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-secrets
1912
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-readonlyrootfilesystem
1825
1913
  */
1826
- readonly secrets?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.SecretProperty> | cdk.IResolvable;
1914
+ readonly readOnlyRootFilesystem?: boolean | cdk.IResolvable;
1827
1915
  /**
1828
- * A list of `ulimits` to set in the container.
1829
- *
1830
- * 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) .
1831
- *
1832
- * 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` .
1833
- *
1834
- * 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}}'`
1835
- *
1836
- * > This parameter is not supported for Windows containers.
1837
- *
1838
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-ulimits
1916
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasgroup
1839
1917
  */
1840
- readonly ulimits?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.UlimitProperty> | cdk.IResolvable;
1918
+ readonly runAsGroup?: number;
1841
1919
  /**
1842
- * The user to use inside the container.
1843
- *
1844
- * This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
1845
- *
1846
- * > 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.
1847
- *
1848
- * You can specify the `user` using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
1849
- *
1850
- * - `user`
1851
- * - `user:group`
1852
- * - `uid`
1853
- * - `uid:gid`
1854
- * - `user:gi`
1855
- * - `uid:group`
1856
- *
1857
- * > This parameter is not supported for Windows containers.
1858
- *
1859
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-user
1920
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasnonroot
1860
1921
  */
1861
- readonly user?: string;
1922
+ readonly runAsNonRoot?: boolean | cdk.IResolvable;
1923
+ /**
1924
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasuser
1925
+ */
1926
+ readonly runAsUser?: number;
1862
1927
  }
1863
1928
  /**
1864
- * A list of containers that this task depends on.
1865
- *
1866
1929
  * @struct
1867
1930
  * @stability external
1868
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html
1931
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html
1869
1932
  */
1870
- interface TaskContainerDependencyProperty {
1933
+ interface ResourcesProperty {
1871
1934
  /**
1872
- * The dependency condition of the container. The following are the available conditions and their behavior:.
1873
- *
1874
- * - `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.
1875
- * - `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.
1876
- * - `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.
1877
- *
1878
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-condition
1935
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-limits
1879
1936
  */
1880
- readonly condition?: string;
1937
+ readonly limits?: any | cdk.IResolvable;
1881
1938
  /**
1882
- * A unique identifier for the container.
1883
- *
1884
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-containername
1939
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-requests
1885
1940
  */
1886
- readonly containerName?: string;
1941
+ readonly requests?: any | cdk.IResolvable;
1887
1942
  }
1888
1943
  /**
1889
- * Details for a Docker volume mount point that's used in a job's container properties.
1890
- *
1891
- * 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.
1944
+ * An environment variable.
1892
1945
  *
1893
1946
  * @struct
1894
1947
  * @stability external
1895
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html
1948
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html
1896
1949
  */
1897
- interface MountPointProperty {
1950
+ interface EksContainerEnvironmentVariableProperty {
1898
1951
  /**
1899
- * The path on the container where the host volume is mounted.
1952
+ * The name of the environment variable.
1900
1953
  *
1901
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-containerpath
1954
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-name
1902
1955
  */
1903
- readonly containerPath?: string;
1956
+ readonly name?: string;
1904
1957
  /**
1905
- * If this value is `true` , the container has read-only access to the volume.
1906
- *
1907
- * Otherwise, the container can write to the volume. The default value is `false` .
1958
+ * The value of the environment variable.
1908
1959
  *
1909
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-readonly
1960
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-value
1910
1961
  */
1911
- readonly readOnly?: boolean | cdk.IResolvable;
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 {
1912
1970
  /**
1913
- * The name of the volume to mount.
1914
- *
1915
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-sourcevolume
1971
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html#cfn-batch-jobdefinition-metadata-labels
1916
1972
  */
1917
- readonly sourceVolume?: string;
1973
+ readonly labels?: any | cdk.IResolvable;
1918
1974
  }
1919
1975
  /**
1920
- * The FireLens configuration for the container.
1976
+ * References a Kubernetes secret resource.
1921
1977
  *
1922
- * 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* .
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.
1923
1979
  *
1924
1980
  * @struct
1925
1981
  * @stability external
1926
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html
1982
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html
1927
1983
  */
1928
- interface FirelensConfigurationProperty {
1929
- /**
1930
- * The options to use when configuring the log router.
1931
- *
1932
- * 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* .
1933
- *
1934
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-options
1935
- */
1936
- readonly options?: cdk.IResolvable | Record<string, string>;
1984
+ interface ImagePullSecretProperty {
1937
1985
  /**
1938
- * The log router to use.
1986
+ * Provides a unique identifier for the `ImagePullSecret` .
1939
1987
  *
1940
- * The valid values are `fluentd` or `fluentbit` .
1988
+ * This object is required when `EksPodProperties$imagePullSecrets` is used.
1941
1989
  *
1942
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-type
1990
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html#cfn-batch-jobdefinition-imagepullsecret-name
1943
1991
  */
1944
- readonly type?: string;
1992
+ readonly name?: string;
1945
1993
  }
1946
1994
  /**
1947
- * An object that represents the node properties of a multi-node parallel job.
1948
- *
1949
- * > Node properties can't be specified for Amazon EKS based job definitions.
1995
+ * Contains a list of consumable resources required by a job.
1950
1996
  *
1951
1997
  * @struct
1952
1998
  * @stability external
1953
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html
1999
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html
1954
2000
  */
1955
- interface NodePropertiesProperty {
2001
+ interface ConsumableResourcePropertiesProperty {
2002
+ /**
2003
+ * The list of consumable resources required by a job.
2004
+ *
2005
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html#cfn-batch-jobdefinition-consumableresourceproperties-consumableresourcelist
2006
+ */
2007
+ readonly consumableResourceList?: Array<CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty | cdk.IResolvable> | cdk.IResolvable;
2008
+ }
2009
+ /**
2010
+ * Information about a consumable resource required to run a job.
2011
+ *
2012
+ * @struct
2013
+ * @stability external
2014
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html
2015
+ */
2016
+ interface ConsumableResourceRequirementProperty {
2017
+ /**
2018
+ * The name or ARN of the consumable resource.
2019
+ *
2020
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-consumableresource
2021
+ */
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 {
1956
2040
  /**
1957
2041
  * Specifies the node index for the main node of a multi-node parallel job.
1958
2042
  *
@@ -2120,444 +2204,399 @@ export declare namespace CfnJobDefinitionPropsMixin {
2120
2204
  readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
2121
2205
  }
2122
2206
  /**
2123
- * An object that contains the properties for the Kubernetes resources of a job.
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.
2124
2210
  *
2125
2211
  * @struct
2126
2212
  * @stability external
2127
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html
2213
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html
2128
2214
  */
2129
- interface EksPropertiesProperty {
2215
+ interface TaskContainerPropertiesProperty {
2130
2216
  /**
2131
- * The properties for the Kubernetes pod resources of a job.
2217
+ * The command that's passed to the container.
2132
2218
  *
2133
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html#cfn-batch-jobdefinition-eksproperties-podproperties
2134
- */
2135
- readonly podProperties?: cdk.IResolvable | CfnJobDefinitionPropsMixin.PodPropertiesProperty;
2136
- }
2137
- /**
2138
- * @struct
2139
- * @stability external
2140
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html
2141
- */
2142
- interface PodPropertiesProperty {
2143
- /**
2144
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-containers
2145
- */
2146
- readonly containers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
2147
- /**
2148
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-dnspolicy
2149
- */
2150
- readonly dnsPolicy?: string;
2151
- /**
2152
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-hostnetwork
2153
- */
2154
- readonly hostNetwork?: boolean | cdk.IResolvable;
2155
- /**
2156
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-imagepullsecrets
2157
- */
2158
- readonly imagePullSecrets?: Array<CfnJobDefinitionPropsMixin.ImagePullSecretProperty | cdk.IResolvable> | cdk.IResolvable;
2159
- /**
2160
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-initcontainers
2161
- */
2162
- readonly initContainers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
2163
- /**
2164
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-metadata
2165
- */
2166
- readonly metadata?: cdk.IResolvable | CfnJobDefinitionPropsMixin.MetadataProperty;
2167
- /**
2168
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-serviceaccountname
2169
- */
2170
- readonly serviceAccountName?: string;
2171
- /**
2172
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-shareprocessnamespace
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
2173
2222
  */
2174
- readonly shareProcessNamespace?: boolean | cdk.IResolvable;
2223
+ readonly command?: Array<string>;
2175
2224
  /**
2176
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-volumes
2225
+ * A list of containers that this container depends on.
2226
+ *
2227
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-dependson
2177
2228
  */
2178
- readonly volumes?: Array<CfnJobDefinitionPropsMixin.EksVolumeProperty | cdk.IResolvable> | cdk.IResolvable;
2179
- }
2180
- /**
2181
- * Specifies an Amazon EKS volume for a job definition.
2182
- *
2183
- * @struct
2184
- * @stability external
2185
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html
2186
- */
2187
- interface EksVolumeProperty {
2229
+ readonly dependsOn?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty> | cdk.IResolvable;
2188
2230
  /**
2189
- * Specifies the configuration of a Kubernetes `emptyDir` volume.
2231
+ * The environment variables to pass to a container.
2190
2232
  *
2191
- * For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* .
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/) .
2192
2234
  *
2193
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-emptydir
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
2194
2238
  */
2195
- readonly emptyDir?: CfnJobDefinitionPropsMixin.EmptyDirProperty | cdk.IResolvable;
2239
+ readonly environment?: Array<CfnJobDefinitionPropsMixin.EnvironmentProperty | cdk.IResolvable> | cdk.IResolvable;
2196
2240
  /**
2197
- * Specifies the configuration of a Kubernetes `hostPath` volume.
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.
2198
2242
  *
2199
- * For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* .
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.
2200
2244
  *
2201
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-hostpath
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
2202
2248
  */
2203
- readonly hostPath?: CfnJobDefinitionPropsMixin.HostPathProperty | cdk.IResolvable;
2249
+ readonly essential?: boolean | cdk.IResolvable;
2204
2250
  /**
2205
- * The name of the volume.
2251
+ * The FireLens configuration for the container.
2206
2252
  *
2207
- * 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* .
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* .
2208
2254
  *
2209
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-name
2255
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-firelensconfiguration
2210
2256
  */
2211
- readonly name?: string;
2257
+ readonly firelensConfiguration?: CfnJobDefinitionPropsMixin.FirelensConfigurationProperty | cdk.IResolvable;
2212
2258
  /**
2213
- * Specifies the configuration of a Kubernetes `persistentVolumeClaim` bounded to a `persistentVolume` .
2259
+ * The image used to start a container.
2214
2260
  *
2215
- * 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* .
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) .
2216
2262
  *
2217
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-persistentvolumeclaim
2263
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-image
2218
2264
  */
2219
- readonly persistentVolumeClaim?: CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty | cdk.IResolvable;
2265
+ readonly image?: string;
2220
2266
  /**
2221
- * Specifies the configuration of a Kubernetes `secret` volume.
2267
+ * Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
2222
2268
  *
2223
- * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
2269
+ * For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) .
2224
2270
  *
2225
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-secret
2271
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-linuxparameters
2226
2272
  */
2227
- readonly secret?: CfnJobDefinitionPropsMixin.EksSecretProperty | cdk.IResolvable;
2228
- }
2229
- /**
2230
- * Specifies the configuration of a Kubernetes `secret` volume.
2231
- *
2232
- * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
2233
- *
2234
- * @struct
2235
- * @stability external
2236
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html
2237
- */
2238
- interface EksSecretProperty {
2273
+ readonly linuxParameters?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LinuxParametersProperty;
2239
2274
  /**
2240
- * Specifies whether the secret or the secret's keys must be defined.
2275
+ * The log configuration specification for the container.
2241
2276
  *
2242
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-optional
2243
- */
2244
- readonly optional?: boolean | cdk.IResolvable;
2245
- /**
2246
- * The name of the secret.
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) .
2247
2278
  *
2248
- * 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* .
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* .
2249
2280
  *
2250
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-secretname
2251
- */
2252
- readonly secretName?: string;
2253
- }
2254
- /**
2255
- * @struct
2256
- * @stability external
2257
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html
2258
- */
2259
- interface EmptyDirProperty {
2260
- /**
2261
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-medium
2262
- */
2263
- readonly medium?: string;
2264
- /**
2265
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-sizelimit
2266
- */
2267
- readonly sizeLimit?: string;
2268
- }
2269
- /**
2270
- * @struct
2271
- * @stability external
2272
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html
2273
- */
2274
- interface HostPathProperty {
2275
- /**
2276
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html#cfn-batch-jobdefinition-hostpath-path
2277
- */
2278
- readonly path?: string;
2279
- }
2280
- /**
2281
- * 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* .
2282
- *
2283
- * @struct
2284
- * @stability external
2285
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html
2286
- */
2287
- interface EksPersistentVolumeClaimProperty {
2288
- /**
2289
- * The name of the `persistentVolumeClaim` bounded to a `persistentVolume` .
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.
2290
2282
  *
2291
- * 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* .
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}}'`
2292
2284
  *
2293
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-claimname
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
2294
2288
  */
2295
- readonly claimName?: string;
2289
+ readonly logConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LogConfigurationProperty;
2296
2290
  /**
2297
- * An optional boolean value indicating if the mount is read only.
2291
+ * The mount points for data volumes in your container.
2298
2292
  *
2299
- * 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* .
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) .
2300
2294
  *
2301
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-readonly
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
2302
2298
  */
2303
- readonly readOnly?: boolean | cdk.IResolvable;
2304
- }
2305
- /**
2306
- * 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.
2307
- *
2308
- * This can't be specified for Amazon ECS based job definitions.
2309
- *
2310
- * @struct
2311
- * @stability external
2312
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html
2313
- */
2314
- interface EksContainerProperty {
2299
+ readonly mountPoints?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.MountPointProperty> | cdk.IResolvable;
2315
2300
  /**
2316
- * An array of arguments to the entrypoint.
2317
- *
2318
- * 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.
2301
+ * The name of a container.
2319
2302
  *
2320
- * 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* .
2303
+ * The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects.
2321
2304
  *
2322
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-args
2305
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-name
2323
2306
  */
2324
- readonly args?: Array<string>;
2307
+ readonly name?: string;
2325
2308
  /**
2326
- * The entrypoint for the container.
2309
+ * When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user).
2327
2310
  *
2328
- * 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.
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) .
2329
2312
  *
2330
- * 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* .
2313
+ * > This parameter is not supported for Windows containers or tasks run on Fargate.
2331
2314
  *
2332
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-command
2315
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-privileged
2333
2316
  */
2334
- readonly command?: Array<string>;
2317
+ readonly privileged?: boolean | cdk.IResolvable;
2335
2318
  /**
2336
- * The environment variables to pass to a container.
2319
+ * When this parameter is true, the container is given read-only access to its root file system.
2337
2320
  *
2338
- * > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets.
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) .
2339
2322
  *
2340
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-env
2323
+ * > This parameter is not supported for Windows containers.
2324
+ *
2325
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-readonlyrootfilesystem
2341
2326
  */
2342
- readonly env?: Array<CfnJobDefinitionPropsMixin.EksContainerEnvironmentVariableProperty | cdk.IResolvable> | cdk.IResolvable;
2327
+ readonly readonlyRootFilesystem?: boolean | cdk.IResolvable;
2343
2328
  /**
2344
- * The Docker image used to start the container.
2329
+ * The private repository authentication credentials to use.
2345
2330
  *
2346
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-image
2331
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-repositorycredentials
2347
2332
  */
2348
- readonly image?: string;
2333
+ readonly repositoryCredentials?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RepositoryCredentialsProperty;
2349
2334
  /**
2350
- * The image pull policy for the container.
2335
+ * The type and amount of a resource to assign to a container.
2351
2336
  *
2352
- * 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* .
2337
+ * The only supported resource is a GPU.
2353
2338
  *
2354
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-imagepullpolicy
2339
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-resourcerequirements
2355
2340
  */
2356
- readonly imagePullPolicy?: string;
2341
+ readonly resourceRequirements?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourceRequirementProperty> | cdk.IResolvable;
2357
2342
  /**
2358
- * The name of the container.
2343
+ * The secrets to pass to the container.
2359
2344
  *
2360
- * If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name.
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.
2361
2346
  *
2362
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-name
2347
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-secrets
2363
2348
  */
2364
- readonly name?: string;
2349
+ readonly secrets?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.SecretProperty> | cdk.IResolvable;
2365
2350
  /**
2366
- * The type and amount of resources to assign to a container.
2367
- *
2368
- * 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* .
2369
- *
2370
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-resources
2351
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-starttimeout
2371
2352
  */
2372
- readonly resources?: cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourcesProperty;
2353
+ readonly startTimeout?: number;
2373
2354
  /**
2374
- * The security context for a job.
2355
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-stoptimeout
2356
+ */
2357
+ readonly stopTimeout?: number;
2358
+ /**
2359
+ * A list of `ulimits` to set in the container.
2375
2360
  *
2376
- * 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* .
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) .
2377
2362
  *
2378
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-securitycontext
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}}'`
2366
+ *
2367
+ * > This parameter is not supported for Windows containers.
2368
+ *
2369
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-ulimits
2379
2370
  */
2380
- readonly securityContext?: cdk.IResolvable | CfnJobDefinitionPropsMixin.SecurityContextProperty;
2371
+ readonly ulimits?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.UlimitProperty> | cdk.IResolvable;
2381
2372
  /**
2382
- * The volume mounts for the container.
2373
+ * The user to use inside the container.
2383
2374
  *
2384
- * 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* .
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`
2387
+ *
2388
+ * > This parameter is not supported for Windows containers.
2385
2389
  *
2386
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-volumemounts
2390
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-user
2387
2391
  */
2388
- readonly volumeMounts?: Array<CfnJobDefinitionPropsMixin.EksContainerVolumeMountProperty | cdk.IResolvable> | cdk.IResolvable;
2392
+ readonly user?: string;
2389
2393
  }
2390
2394
  /**
2391
- * The volume mounts for a container for an Amazon EKS job.
2395
+ * Details for a Docker volume mount point that's used in a job's container properties.
2392
2396
  *
2393
- * 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* .
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.
2394
2398
  *
2395
2399
  * @struct
2396
2400
  * @stability external
2397
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html
2401
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html
2398
2402
  */
2399
- interface EksContainerVolumeMountProperty {
2400
- /**
2401
- * The path on the container where the volume is mounted.
2402
- *
2403
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-mountpath
2404
- */
2405
- readonly mountPath?: string;
2403
+ interface MountPointProperty {
2406
2404
  /**
2407
- * The name the volume mount.
2408
- *
2409
- * This must match the name of one of the volumes in the pod.
2405
+ * The path on the container where the host volume is mounted.
2410
2406
  *
2411
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-name
2407
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-containerpath
2412
2408
  */
2413
- readonly name?: string;
2409
+ readonly containerPath?: string;
2414
2410
  /**
2415
2411
  * If this value is `true` , the container has read-only access to the volume.
2416
2412
  *
2417
2413
  * Otherwise, the container can write to the volume. The default value is `false` .
2418
2414
  *
2419
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-readonly
2415
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-readonly
2420
2416
  */
2421
2417
  readonly readOnly?: boolean | cdk.IResolvable;
2422
2418
  /**
2423
- * A sub-path inside the referenced volume instead of its root.
2419
+ * The name of the volume to mount.
2424
2420
  *
2425
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-subpath
2426
- */
2427
- readonly subPath?: string;
2428
- }
2429
- /**
2430
- * @struct
2431
- * @stability external
2432
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html
2433
- */
2434
- interface SecurityContextProperty {
2435
- /**
2436
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-allowprivilegeescalation
2437
- */
2438
- readonly allowPrivilegeEscalation?: boolean | cdk.IResolvable;
2439
- /**
2440
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-privileged
2441
- */
2442
- readonly privileged?: boolean | cdk.IResolvable;
2443
- /**
2444
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-readonlyrootfilesystem
2445
- */
2446
- readonly readOnlyRootFilesystem?: boolean | cdk.IResolvable;
2447
- /**
2448
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasgroup
2449
- */
2450
- readonly runAsGroup?: number;
2451
- /**
2452
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasnonroot
2453
- */
2454
- readonly runAsNonRoot?: boolean | cdk.IResolvable;
2455
- /**
2456
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasuser
2421
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-sourcevolume
2457
2422
  */
2458
- readonly runAsUser?: number;
2423
+ readonly sourceVolume?: string;
2459
2424
  }
2460
2425
  /**
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
+ *
2461
2430
  * @struct
2462
2431
  * @stability external
2463
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html
2432
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html
2464
2433
  */
2465
- interface ResourcesProperty {
2434
+ interface FirelensConfigurationProperty {
2466
2435
  /**
2467
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-limits
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
2468
2441
  */
2469
- readonly limits?: any | cdk.IResolvable;
2442
+ readonly options?: cdk.IResolvable | Record<string, string>;
2470
2443
  /**
2471
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-requests
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
2472
2449
  */
2473
- readonly requests?: any | cdk.IResolvable;
2450
+ readonly type?: string;
2474
2451
  }
2475
2452
  /**
2476
- * An environment variable.
2453
+ * A list of containers that this task depends on.
2477
2454
  *
2478
2455
  * @struct
2479
2456
  * @stability external
2480
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html
2457
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html
2481
2458
  */
2482
- interface EksContainerEnvironmentVariableProperty {
2459
+ interface TaskContainerDependencyProperty {
2483
2460
  /**
2484
- * The name of the environment variable.
2461
+ * The dependency condition of the container. The following are the available conditions and their behavior:.
2485
2462
  *
2486
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-name
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
2487
2468
  */
2488
- readonly name?: string;
2469
+ readonly condition?: string;
2489
2470
  /**
2490
- * The value of the environment variable.
2471
+ * A unique identifier for the container.
2491
2472
  *
2492
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-value
2473
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-containername
2493
2474
  */
2494
- readonly value?: string;
2475
+ readonly containerName?: string;
2495
2476
  }
2496
2477
  /**
2478
+ * An object that contains the properties for the Amazon ECS resources of a job.
2479
+ *
2497
2480
  * @struct
2498
2481
  * @stability external
2499
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html
2482
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html
2500
2483
  */
2501
- interface MetadataProperty {
2484
+ interface EcsPropertiesProperty {
2502
2485
  /**
2503
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html#cfn-batch-jobdefinition-metadata-labels
2486
+ * An object that contains the properties for the Amazon ECS task definition of a job.
2487
+ *
2488
+ * > This object is currently limited to one task element. However, the task element can run up to 10 containers.
2489
+ *
2490
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html#cfn-batch-jobdefinition-ecsproperties-taskproperties
2504
2491
  */
2505
- readonly labels?: any | cdk.IResolvable;
2492
+ readonly taskProperties?: Array<CfnJobDefinitionPropsMixin.EcsTaskPropertiesProperty | cdk.IResolvable> | cdk.IResolvable;
2506
2493
  }
2507
2494
  /**
2508
- * References a Kubernetes secret resource.
2495
+ * The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
2509
2496
  *
2510
- * 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.
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.
2511
2498
  *
2512
2499
  * @struct
2513
2500
  * @stability external
2514
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html
2501
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html
2515
2502
  */
2516
- interface ImagePullSecretProperty {
2503
+ interface EcsTaskPropertiesProperty {
2517
2504
  /**
2518
- * Provides a unique identifier for the `ImagePullSecret` .
2505
+ * This object is a list of containers.
2519
2506
  *
2520
- * This object is required when `EksPodProperties$imagePullSecrets` is used.
2507
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-containers
2508
+ */
2509
+ readonly containers?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerPropertiesProperty> | cdk.IResolvable;
2510
+ /**
2511
+ * Determines whether execute command functionality is turned on for this task.
2521
2512
  *
2522
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html#cfn-batch-jobdefinition-imagepullsecret-name
2513
+ * If `true` , execute command functionality is turned on all the containers in the task.
2514
+ *
2515
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-enableexecutecommand
2523
2516
  */
2524
- readonly name?: string;
2525
- }
2526
- /**
2527
- * Contains a list of consumable resources required by a job.
2528
- *
2529
- * @struct
2530
- * @stability external
2531
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html
2532
- */
2533
- interface ConsumableResourcePropertiesProperty {
2517
+ readonly enableExecuteCommand?: boolean | cdk.IResolvable;
2534
2518
  /**
2535
- * The list of consumable resources required by a job.
2519
+ * The amount of ephemeral storage to allocate for the task.
2536
2520
  *
2537
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html#cfn-batch-jobdefinition-consumableresourceproperties-consumableresourcelist
2521
+ * This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
2522
+ *
2523
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ephemeralstorage
2538
2524
  */
2539
- readonly consumableResourceList?: Array<CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty | cdk.IResolvable> | cdk.IResolvable;
2540
- }
2541
- /**
2542
- * Information about a consumable resource required to run a job.
2543
- *
2544
- * @struct
2545
- * @stability external
2546
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html
2547
- */
2548
- interface ConsumableResourceRequirementProperty {
2525
+ readonly ephemeralStorage?: CfnJobDefinitionPropsMixin.EphemeralStorageProperty | cdk.IResolvable;
2549
2526
  /**
2550
- * The name or ARN of the consumable resource.
2527
+ * The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume.
2551
2528
  *
2552
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-consumableresource
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* .
2530
+ *
2531
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-executionrolearn
2553
2532
  */
2554
- readonly consumableResource?: string;
2533
+ readonly executionRoleArn?: string;
2555
2534
  /**
2556
- * The quantity of the consumable resource that is needed.
2535
+ * The IPC resource namespace to use for the containers in the task.
2557
2536
  *
2558
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-quantity
2537
+ * The valid values are `host` , `task` , or `none` .
2538
+ *
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.
2540
+ *
2541
+ * If `task` is specified, all containers within the specified `task` share the same IPC resources.
2542
+ *
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.
2544
+ *
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.
2546
+ *
2547
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ipcmode
2559
2548
  */
2560
- readonly quantity?: number;
2549
+ readonly ipcMode?: string;
2550
+ /**
2551
+ * The network configuration for jobs that are running on Fargate resources.
2552
+ *
2553
+ * Jobs that are running on Amazon EC2 resources must not specify this parameter.
2554
+ *
2555
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-networkconfiguration
2556
+ */
2557
+ readonly networkConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.NetworkConfigurationProperty;
2558
+ /**
2559
+ * The process namespace to use for the containers in the task.
2560
+ *
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.
2562
+ *
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.
2564
+ *
2565
+ * If `task` is specified, all containers within the specified task share the same process namespace.
2566
+ *
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.
2568
+ *
2569
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-pidmode
2570
+ */
2571
+ readonly pidMode?: string;
2572
+ /**
2573
+ * The Fargate platform version where the jobs are running.
2574
+ *
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* .
2576
+ *
2577
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-platformversion
2578
+ */
2579
+ readonly platformVersion?: string;
2580
+ /**
2581
+ * An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
2582
+ *
2583
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-runtimeplatform
2584
+ */
2585
+ readonly runtimePlatform?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RuntimePlatformProperty;
2586
+ /**
2587
+ * The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
2588
+ *
2589
+ * > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) .
2590
+ *
2591
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-taskrolearn
2592
+ */
2593
+ readonly taskRoleArn?: string;
2594
+ /**
2595
+ * A list of volumes that are associated with the job.
2596
+ *
2597
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-volumes
2598
+ */
2599
+ readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
2561
2600
  }
2562
2601
  /**
2563
2602
  * Specifies the resource retention policy settings for a job definition.
@@ -3133,7 +3172,9 @@ export interface CfnConsumableResourceMixinProps {
3133
3172
  readonly totalQuantity?: number;
3134
3173
  }
3135
3174
  /**
3136
- * Resource Type definition for AWS::Batch::QuotaShare.
3175
+ * Creates an AWS Batch quota share.
3176
+ *
3177
+ * Each quota share operates as a virtual queue with a configured compute capacity, resource sharing strategy, and borrow limits.
3137
3178
  *
3138
3179
  * @cloudformationResource AWS::Batch::QuotaShare
3139
3180
  * @mixin true
@@ -3170,13 +3211,15 @@ export declare namespace CfnQuotaSharePropsMixin {
3170
3211
  /**
3171
3212
  * The unit of compute capacity for the capacityLimit.
3172
3213
  *
3214
+ * For example, `ml.m5.large`.
3215
+ *
3173
3216
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-quotashare-quotasharecapacitylimit.html#cfn-batch-quotashare-quotasharecapacitylimit-capacityunit
3174
3217
  */
3175
3218
  readonly capacityUnit?: string;
3176
3219
  /**
3177
3220
  * The maximum capacity available for the quota share.
3178
3221
  *
3179
- * This value represents the maximum amount of resources that can be allocated to jobs in the quota share without borrowing
3222
+ * This value represents the maximum quantity of a resource that can be allocated to jobs in the quota share without borrowing.
3180
3223
  *
3181
3224
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-quotashare-quotasharecapacitylimit.html#cfn-batch-quotashare-quotasharecapacitylimit-maxcapacity
3182
3225
  */
@@ -3189,15 +3232,17 @@ export declare namespace CfnQuotaSharePropsMixin {
3189
3232
  */
3190
3233
  interface QuotaShareResourceSharingConfigurationProperty {
3191
3234
  /**
3192
- * The maximum amount of compute capacity that can be borrowed.
3235
+ * The maximum percentage of additional capacity that the quota share can borrow from other shares.
3193
3236
  *
3194
- * Use -1 for unlimited borrowing.
3237
+ * `BorrowLimit` can only be applied to quota shares with a strategy of `LEND_AND_BORROW`. This value is expressed as a percentage of the quota share's configured CapacityLimits. The `BorrowLimit` is applied uniformly across all capacity units. For example, if the `BorrowLimit` is 200, the quota share can borrow up to 200% of its configured `maxCapacity` for each capacity unit. The default `BorrowLimit` is -1, which indicates unlimited borrowing.
3195
3238
  *
3196
3239
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-quotashare-quotashareresourcesharingconfiguration.html#cfn-batch-quotashare-quotashareresourcesharingconfiguration-borrowlimit
3197
3240
  */
3198
3241
  readonly borrowLimit?: number;
3199
3242
  /**
3200
- * The resource sharing strategy.
3243
+ * The resource sharing strategy for the quota share.
3244
+ *
3245
+ * The `RESERVE` strategy allows a quota share to reserve idle capacity for itself. `LEND` configures the share to lend its idle capacity to another share in need of capacity. The `LEND_AND_BORROW` strategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share.
3201
3246
  *
3202
3247
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-quotashare-quotashareresourcesharingconfiguration.html#cfn-batch-quotashare-quotashareresourcesharingconfiguration-strategy
3203
3248
  */
@@ -3210,7 +3255,7 @@ export declare namespace CfnQuotaSharePropsMixin {
3210
3255
  */
3211
3256
  interface QuotaSharePreemptionConfigurationProperty {
3212
3257
  /**
3213
- * Whether preemption is enabled within the quota share.
3258
+ * Specifies whether jobs within a quota share can be preempted by another, higher priority job in the same quota share.
3214
3259
  *
3215
3260
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-quotashare-quotasharepreemptionconfiguration.html#cfn-batch-quotashare-quotasharepreemptionconfiguration-insharepreemption
3216
3261
  */
@@ -3226,13 +3271,15 @@ export declare namespace CfnQuotaSharePropsMixin {
3226
3271
  */
3227
3272
  export interface CfnQuotaShareMixinProps {
3228
3273
  /**
3229
- * The capacity limits for the quota share.
3274
+ * A list that specifies the quantity and type of compute capacity allocated to the quota share.
3230
3275
  *
3231
3276
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html#cfn-batch-quotashare-capacitylimits
3232
3277
  */
3233
3278
  readonly capacityLimits?: Array<cdk.IResolvable | CfnQuotaSharePropsMixin.QuotaShareCapacityLimitProperty> | cdk.IResolvable;
3234
3279
  /**
3235
- * The Amazon Resource Name (ARN) or name of the job queue.
3280
+ * The AWS Batch job queue associated with the quota share.
3281
+ *
3282
+ * This can be the job queue name or ARN. A job queue must be in the `VALID` state before you can associate it with a quota share.
3236
3283
  *
3237
3284
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html#cfn-batch-quotashare-jobqueue
3238
3285
  */
@@ -3244,6 +3291,8 @@ export interface CfnQuotaShareMixinProps {
3244
3291
  /**
3245
3292
  * The name of the quota share.
3246
3293
  *
3294
+ * It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
3295
+ *
3247
3296
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html#cfn-batch-quotashare-quotasharename
3248
3297
  */
3249
3298
  readonly quotaShareName?: string;
@@ -3254,11 +3303,15 @@ export interface CfnQuotaShareMixinProps {
3254
3303
  /**
3255
3304
  * The state of the quota share.
3256
3305
  *
3306
+ * If the quota share is `ENABLED`, it is able to accept jobs. If the quota share is `DISABLED`, new jobs won't be accepted but jobs already submitted can finish. The default state is `ENABLED`.
3307
+ *
3257
3308
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html#cfn-batch-quotashare-state
3258
3309
  */
3259
3310
  readonly state?: string;
3260
3311
  /**
3261
- * A key-value pair to associate with a resource.
3312
+ * The tags that you apply to the quota share to help you categorize and organize your resources.
3313
+ *
3314
+ * Each tag consists of a key and an optional value.
3262
3315
  *
3263
3316
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html#cfn-batch-quotashare-tags
3264
3317
  */