@aws-cdk/cfn-property-mixins 2.277.0 → 2.278.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 (349) hide show
  1. package/.jsii.gz +0 -0
  2. package/.jsii.tabl.json.gz +0 -0
  3. package/.warnings.jsii.js +8207 -1141
  4. package/lib/services/alexa-ask/cfn-props-mixins.generated.js +1 -1
  5. package/lib/services/aws-accessanalyzer/cfn-props-mixins.generated.js +2 -2
  6. package/lib/services/aws-accountaccess/cfn-props-mixins.generated.js +2 -2
  7. package/lib/services/aws-acmpca/cfn-props-mixins.generated.js +4 -4
  8. package/lib/services/aws-agentregistry/cfn-props-mixins.generated.js +2 -2
  9. package/lib/services/aws-aiops/cfn-props-mixins.generated.js +1 -1
  10. package/lib/services/aws-amazonmq/cfn-props-mixins.generated.js +3 -3
  11. package/lib/services/aws-amplify/cfn-props-mixins.generated.js +4 -4
  12. package/lib/services/aws-amplifyuibuilder/cfn-props-mixins.generated.js +3 -3
  13. package/lib/services/aws-apigateway/cfn-props-mixins.generated.js +22 -22
  14. package/lib/services/aws-apigatewayv2/cfn-props-mixins.generated.js +15 -15
  15. package/lib/services/aws-appconfig/cfn-props-mixins.generated.js +10 -10
  16. package/lib/services/aws-appfabric/cfn-props-mixins.generated.js +4 -4
  17. package/lib/services/aws-appflow/cfn-props-mixins.generated.js +3 -3
  18. package/lib/services/aws-appintegrations/cfn-props-mixins.generated.d.ts +23 -0
  19. package/lib/services/aws-appintegrations/cfn-props-mixins.generated.js +4 -4
  20. package/lib/services/aws-applicationautoscaling/cfn-props-mixins.generated.js +2 -2
  21. package/lib/services/aws-applicationinsights/cfn-props-mixins.generated.js +1 -1
  22. package/lib/services/aws-applicationsignals/cfn-props-mixins.generated.js +4 -4
  23. package/lib/services/aws-appmesh/cfn-props-mixins.generated.js +7 -7
  24. package/lib/services/aws-apprunner/cfn-props-mixins.generated.js +5 -5
  25. package/lib/services/aws-appstream/cfn-props-mixins.generated.js +13 -13
  26. package/lib/services/aws-appsync/cfn-props-mixins.generated.js +13 -13
  27. package/lib/services/aws-apptest/cfn-props-mixins.generated.js +1 -1
  28. package/lib/services/aws-aps/cfn-props-mixins.generated.js +5 -5
  29. package/lib/services/aws-arcregionswitch/cfn-props-mixins.generated.js +1 -1
  30. package/lib/services/aws-arczonalshift/cfn-props-mixins.generated.js +2 -2
  31. package/lib/services/aws-athena/cfn-props-mixins.generated.d.ts +59 -0
  32. package/lib/services/aws-athena/cfn-props-mixins.generated.js +58 -6
  33. package/lib/services/aws-auditmanager/cfn-props-mixins.generated.js +2 -2
  34. package/lib/services/aws-autoscaling/cfn-props-mixins.generated.js +6 -6
  35. package/lib/services/aws-autoscalingplans/cfn-props-mixins.generated.js +1 -1
  36. package/lib/services/aws-awsexternalanthropic/cfn-props-mixins.generated.js +1 -1
  37. package/lib/services/aws-b2bi/cfn-props-mixins.generated.js +4 -4
  38. package/lib/services/aws-backup/cfn-props-mixins.generated.js +11 -11
  39. package/lib/services/aws-backupgateway/cfn-props-mixins.generated.js +1 -1
  40. package/lib/services/aws-batch/cfn-props-mixins.generated.d.ts +614 -614
  41. package/lib/services/aws-batch/cfn-props-mixins.generated.js +7 -7
  42. package/lib/services/aws-bcm/cfn-props-mixins.generated.js +2 -2
  43. package/lib/services/aws-bcmdataexports/cfn-props-mixins.generated.js +1 -1
  44. package/lib/services/aws-bcmpricingcalculator/cfn-props-mixins.generated.js +3 -3
  45. package/lib/services/aws-bedrock/cfn-props-mixins.generated.d.ts +64 -64
  46. package/lib/services/aws-bedrock/cfn-props-mixins.generated.js +23 -23
  47. package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.d.ts +165 -25
  48. package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.js +28 -28
  49. package/lib/services/aws-bedrockmantle/cfn-props-mixins.generated.js +1 -1
  50. package/lib/services/aws-billingconductor/cfn-props-mixins.generated.js +4 -4
  51. package/lib/services/aws-braket/cfn-props-mixins.generated.js +1 -1
  52. package/lib/services/aws-budgets/cfn-props-mixins.generated.js +2 -2
  53. package/lib/services/aws-cases/cfn-props-mixins.generated.js +7 -7
  54. package/lib/services/aws-cassandra/cfn-props-mixins.generated.js +3 -3
  55. package/lib/services/aws-ce/cfn-props-mixins.generated.js +3 -3
  56. package/lib/services/aws-certificatemanager/cfn-props-mixins.generated.js +5 -5
  57. package/lib/services/aws-chatbot/cfn-props-mixins.generated.js +3 -3
  58. package/lib/services/aws-chime/cfn-props-mixins.generated.js +9 -9
  59. package/lib/services/aws-cleanrooms/cfn-props-mixins.generated.js +9 -9
  60. package/lib/services/aws-cleanroomsml/cfn-props-mixins.generated.js +3 -3
  61. package/lib/services/aws-cloud9/cfn-props-mixins.generated.js +1 -1
  62. package/lib/services/aws-cloudformation/cfn-props-mixins.generated.js +20 -20
  63. package/lib/services/aws-cloudfront/cfn-props-mixins.generated.js +22 -22
  64. package/lib/services/aws-cloudhsm/cfn-props-mixins.generated.js +1 -1
  65. package/lib/services/aws-cloudtrail/cfn-props-mixins.generated.js +5 -5
  66. package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.d.ts +67 -0
  67. package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.js +73 -21
  68. package/lib/services/aws-codeartifact/cfn-props-mixins.generated.js +3 -3
  69. package/lib/services/aws-codebuild/cfn-props-mixins.generated.js +4 -4
  70. package/lib/services/aws-codecommit/cfn-props-mixins.generated.js +1 -1
  71. package/lib/services/aws-codeconnections/cfn-props-mixins.generated.js +2 -2
  72. package/lib/services/aws-codedeploy/cfn-props-mixins.generated.js +3 -3
  73. package/lib/services/aws-codeguruprofiler/cfn-props-mixins.generated.js +1 -1
  74. package/lib/services/aws-codegurureviewer/cfn-props-mixins.generated.js +1 -1
  75. package/lib/services/aws-codepipeline/cfn-props-mixins.generated.js +3 -3
  76. package/lib/services/aws-codestar/cfn-props-mixins.generated.js +1 -1
  77. package/lib/services/aws-codestarconnections/cfn-props-mixins.generated.js +3 -3
  78. package/lib/services/aws-codestarnotifications/cfn-props-mixins.generated.js +1 -1
  79. package/lib/services/aws-cognito/cfn-props-mixins.generated.d.ts +154 -0
  80. package/lib/services/aws-cognito/cfn-props-mixins.generated.js +123 -19
  81. package/lib/services/aws-comprehend/cfn-props-mixins.generated.js +5 -5
  82. package/lib/services/aws-computeoptimizer/cfn-props-mixins.generated.js +1 -1
  83. package/lib/services/aws-config/cfn-props-mixins.generated.d.ts +97 -2
  84. package/lib/services/aws-config/cfn-props-mixins.generated.js +12 -12
  85. package/lib/services/aws-connect/cfn-props-mixins.generated.js +39 -39
  86. package/lib/services/aws-connectcampaigns/cfn-props-mixins.generated.js +1 -1
  87. package/lib/services/aws-connectcampaignsv2/cfn-props-mixins.generated.js +1 -1
  88. package/lib/services/aws-controltower/cfn-props-mixins.generated.js +3 -3
  89. package/lib/services/aws-cur/cfn-props-mixins.generated.js +1 -1
  90. package/lib/services/aws-customerprofiles/cfn-props-mixins.generated.js +11 -11
  91. package/lib/services/aws-databrew/cfn-props-mixins.generated.js +6 -6
  92. package/lib/services/aws-dataexchange/cfn-props-mixins.generated.js +2 -2
  93. package/lib/services/aws-datapipeline/cfn-props-mixins.generated.js +1 -1
  94. package/lib/services/aws-datasync/cfn-props-mixins.generated.js +13 -13
  95. package/lib/services/aws-datazone/cfn-props-mixins.generated.js +17 -17
  96. package/lib/services/aws-dax/cfn-props-mixins.generated.js +3 -3
  97. package/lib/services/aws-deadline/cfn-props-mixins.generated.js +13 -13
  98. package/lib/services/aws-detective/cfn-props-mixins.generated.js +3 -3
  99. package/lib/services/aws-devicefarm/cfn-props-mixins.generated.js +7 -7
  100. package/lib/services/aws-devopsagent/cfn-props-mixins.generated.d.ts +12 -0
  101. package/lib/services/aws-devopsagent/cfn-props-mixins.generated.js +6 -6
  102. package/lib/services/aws-devopsguru/cfn-props-mixins.generated.js +3 -3
  103. package/lib/services/aws-directconnect/cfn-props-mixins.generated.js +8 -8
  104. package/lib/services/aws-directoryservice/cfn-props-mixins.generated.js +2 -2
  105. package/lib/services/aws-dlm/cfn-props-mixins.generated.js +1 -1
  106. package/lib/services/aws-dms/cfn-props-mixins.generated.d.ts +12 -0
  107. package/lib/services/aws-dms/cfn-props-mixins.generated.js +11 -11
  108. package/lib/services/aws-docdb/cfn-props-mixins.generated.js +6 -6
  109. package/lib/services/aws-docdbelastic/cfn-props-mixins.generated.js +2 -2
  110. package/lib/services/aws-drs/cfn-props-mixins.generated.js +4 -4
  111. package/lib/services/aws-dsql/cfn-props-mixins.generated.d.ts +25 -0
  112. package/lib/services/aws-dsql/cfn-props-mixins.generated.js +2 -2
  113. package/lib/services/aws-dynamodb/cfn-props-mixins.generated.js +2 -2
  114. package/lib/services/aws-ec2/cfn-props-mixins.generated.d.ts +365 -0
  115. package/lib/services/aws-ec2/cfn-props-mixins.generated.js +280 -130
  116. package/lib/services/aws-ecr/cfn-props-mixins.generated.d.ts +17 -0
  117. package/lib/services/aws-ecr/cfn-props-mixins.generated.js +10 -9
  118. package/lib/services/aws-ecs/cfn-props-mixins.generated.d.ts +42 -0
  119. package/lib/services/aws-ecs/cfn-props-mixins.generated.js +13 -13
  120. package/lib/services/aws-efs/cfn-props-mixins.generated.js +3 -3
  121. package/lib/services/aws-eks/cfn-props-mixins.generated.d.ts +41 -0
  122. package/lib/services/aws-eks/cfn-props-mixins.generated.js +10 -10
  123. package/lib/services/aws-elasticache/cfn-props-mixins.generated.js +12 -12
  124. package/lib/services/aws-elasticbeanstalk/cfn-props-mixins.generated.js +4 -4
  125. package/lib/services/aws-elasticloadbalancing/cfn-props-mixins.generated.js +1 -1
  126. package/lib/services/aws-elasticloadbalancingv2/cfn-props-mixins.generated.js +7 -7
  127. package/lib/services/aws-elasticsearch/cfn-props-mixins.generated.js +1 -1
  128. package/lib/services/aws-elementalinference/cfn-props-mixins.generated.js +2 -2
  129. package/lib/services/aws-emr/cfn-props-mixins.generated.js +8 -8
  130. package/lib/services/aws-emrcontainers/cfn-props-mixins.generated.js +4 -4
  131. package/lib/services/aws-emrserverless/cfn-props-mixins.generated.d.ts +7 -0
  132. package/lib/services/aws-emrserverless/cfn-props-mixins.generated.js +1 -1
  133. package/lib/services/aws-entityresolution/cfn-props-mixins.generated.js +5 -5
  134. package/lib/services/aws-eventschemas/cfn-props-mixins.generated.js +4 -4
  135. package/lib/services/aws-eventsv2/cfn-props-mixins.generated.js +4 -4
  136. package/lib/services/aws-evidently/cfn-props-mixins.generated.js +5 -5
  137. package/lib/services/aws-evs/cfn-props-mixins.generated.js +1 -1
  138. package/lib/services/aws-finspace/cfn-props-mixins.generated.js +1 -1
  139. package/lib/services/aws-fis/cfn-props-mixins.generated.js +2 -2
  140. package/lib/services/aws-fms/cfn-props-mixins.generated.js +5 -5
  141. package/lib/services/aws-forecast/cfn-props-mixins.generated.js +2 -2
  142. package/lib/services/aws-frauddetector/cfn-props-mixins.generated.js +7 -7
  143. package/lib/services/aws-fsx/cfn-props-mixins.generated.js +8 -8
  144. package/lib/services/aws-gamelift/cfn-props-mixins.generated.js +11 -11
  145. package/lib/services/aws-gameliftstreams/cfn-props-mixins.generated.js +2 -2
  146. package/lib/services/aws-globalaccelerator/cfn-props-mixins.generated.js +4 -4
  147. package/lib/services/aws-glue/cfn-props-mixins.generated.d.ts +165 -0
  148. package/lib/services/aws-glue/cfn-props-mixins.generated.js +29 -29
  149. package/lib/services/aws-grafana/cfn-props-mixins.generated.js +1 -1
  150. package/lib/services/aws-greengrass/cfn-props-mixins.generated.js +16 -16
  151. package/lib/services/aws-greengrassv2/cfn-props-mixins.generated.js +2 -2
  152. package/lib/services/aws-groundstation/cfn-props-mixins.generated.js +4 -4
  153. package/lib/services/aws-guardduty/cfn-props-mixins.generated.js +11 -11
  154. package/lib/services/aws-healthagent/cfn-props-mixins.generated.js +1 -1
  155. package/lib/services/aws-healthimaging/cfn-props-mixins.generated.js +1 -1
  156. package/lib/services/aws-healthlake/cfn-props-mixins.generated.js +2 -2
  157. package/lib/services/aws-iam/cfn-props-mixins.generated.js +16 -16
  158. package/lib/services/aws-identitystore/cfn-props-mixins.generated.js +3 -3
  159. package/lib/services/aws-imagebuilder/cfn-props-mixins.generated.js +9 -9
  160. package/lib/services/aws-inspector/cfn-props-mixins.generated.js +3 -3
  161. package/lib/services/aws-inspectorv2/cfn-props-mixins.generated.js +5 -5
  162. package/lib/services/aws-interconnect/cfn-props-mixins.generated.js +1 -1
  163. package/lib/services/aws-internetmonitor/cfn-props-mixins.generated.js +1 -1
  164. package/lib/services/aws-invoicing/cfn-props-mixins.generated.js +2 -2
  165. package/lib/services/aws-iot/cfn-props-mixins.generated.js +33 -33
  166. package/lib/services/aws-iotanalytics/cfn-props-mixins.generated.js +4 -4
  167. package/lib/services/aws-iotcoredeviceadvisor/cfn-props-mixins.generated.js +1 -1
  168. package/lib/services/aws-iotevents/cfn-props-mixins.generated.js +3 -3
  169. package/lib/services/aws-iotfleethub/cfn-props-mixins.generated.js +1 -1
  170. package/lib/services/aws-iotfleetwise/cfn-props-mixins.generated.js +7 -7
  171. package/lib/services/aws-iotsecuretunneling/cfn-props-mixins.generated.js +1 -1
  172. package/lib/services/aws-iotsitewise/cfn-props-mixins.generated.js +13 -13
  173. package/lib/services/aws-iotthingsgraph/cfn-props-mixins.generated.js +1 -1
  174. package/lib/services/aws-iottwinmaker/cfn-props-mixins.generated.js +5 -5
  175. package/lib/services/aws-iotwireless/cfn-props-mixins.generated.js +11 -11
  176. package/lib/services/aws-ivs/cfn-props-mixins.generated.js +11 -11
  177. package/lib/services/aws-ivschat/cfn-props-mixins.generated.js +2 -2
  178. package/lib/services/aws-kafkaconnect/cfn-props-mixins.generated.js +3 -3
  179. package/lib/services/aws-kendra/cfn-props-mixins.generated.js +6 -6
  180. package/lib/services/aws-kendraranking/cfn-props-mixins.generated.js +1 -1
  181. package/lib/services/aws-kinesis/cfn-props-mixins.generated.js +4 -4
  182. package/lib/services/aws-kinesisanalytics/cfn-props-mixins.generated.js +3 -3
  183. package/lib/services/aws-kinesisanalyticsv2/cfn-props-mixins.generated.d.ts +220 -0
  184. package/lib/services/aws-kinesisanalyticsv2/cfn-props-mixins.generated.js +57 -5
  185. package/lib/services/aws-kinesisfirehose/cfn-props-mixins.generated.js +1 -1
  186. package/lib/services/aws-kinesisvideo/cfn-props-mixins.generated.js +2 -2
  187. package/lib/services/aws-kms/cfn-props-mixins.generated.js +3 -3
  188. package/lib/services/aws-lakeformation/cfn-props-mixins.generated.js +7 -7
  189. package/lib/services/aws-lambda/cfn-props-mixins.generated.d.ts +517 -78
  190. package/lib/services/aws-lambda/cfn-props-mixins.generated.js +175 -19
  191. package/lib/services/aws-launchwizard/cfn-props-mixins.generated.js +1 -1
  192. package/lib/services/aws-lex/cfn-props-mixins.generated.js +4 -4
  193. package/lib/services/aws-licensemanager/cfn-props-mixins.generated.js +6 -6
  194. package/lib/services/aws-licensemanagerlinuxsubscriptions/cfn-props-mixins.generated.js +1 -1
  195. package/lib/services/aws-licensemanagerusersubscriptions/cfn-props-mixins.generated.js +1 -1
  196. package/lib/services/aws-lightsail/cfn-props-mixins.generated.js +17 -17
  197. package/lib/services/aws-location/cfn-props-mixins.generated.js +7 -7
  198. package/lib/services/aws-logs/cfn-props-mixins.generated.js +16 -16
  199. package/lib/services/aws-lookoutequipment/cfn-props-mixins.generated.js +1 -1
  200. package/lib/services/aws-lookoutmetrics/cfn-props-mixins.generated.js +2 -2
  201. package/lib/services/aws-lookoutvision/cfn-props-mixins.generated.js +1 -1
  202. package/lib/services/aws-m2/cfn-props-mixins.generated.js +3 -3
  203. package/lib/services/aws-macie/cfn-props-mixins.generated.js +5 -5
  204. package/lib/services/aws-managedblockchain/cfn-props-mixins.generated.js +3 -3
  205. package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.d.ts +521 -0
  206. package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.js +17 -17
  207. package/lib/services/aws-mediaconvert/cfn-props-mixins.generated.js +4 -4
  208. package/lib/services/aws-medialive/cfn-props-mixins.generated.js +15 -15
  209. package/lib/services/aws-mediapackage/cfn-props-mixins.generated.js +5 -5
  210. package/lib/services/aws-mediapackagev2/cfn-props-mixins.generated.js +5 -5
  211. package/lib/services/aws-mediastore/cfn-props-mixins.generated.js +1 -1
  212. package/lib/services/aws-mediatailor/cfn-props-mixins.generated.js +9 -9
  213. package/lib/services/aws-memorydb/cfn-props-mixins.generated.js +7 -7
  214. package/lib/services/aws-mgn/cfn-props-mixins.generated.js +6 -6
  215. package/lib/services/aws-mpa/cfn-props-mixins.generated.js +2 -2
  216. package/lib/services/aws-msk/cfn-props-mixins.generated.d.ts +4 -0
  217. package/lib/services/aws-msk/cfn-props-mixins.generated.js +12 -11
  218. package/lib/services/aws-mwaa/cfn-props-mixins.generated.js +1 -1
  219. package/lib/services/aws-mwaaserverless/cfn-props-mixins.generated.d.ts +23 -0
  220. package/lib/services/aws-mwaaserverless/cfn-props-mixins.generated.js +2 -2
  221. package/lib/services/aws-neptune/cfn-props-mixins.generated.js +7 -7
  222. package/lib/services/aws-neptunegraph/cfn-props-mixins.generated.js +3 -3
  223. package/lib/services/aws-networkfirewall/cfn-props-mixins.generated.js +7 -7
  224. package/lib/services/aws-networkflowmonitor/cfn-props-mixins.generated.d.ts +84 -0
  225. package/lib/services/aws-networkflowmonitor/cfn-props-mixins.generated.js +53 -3
  226. package/lib/services/aws-networkmanager/cfn-props-mixins.generated.d.ts +102 -0
  227. package/lib/services/aws-networkmanager/cfn-props-mixins.generated.js +118 -18
  228. package/lib/services/aws-networkmonitor/cfn-props-mixins.generated.js +2 -2
  229. package/lib/services/aws-networksecuritymanager/cfn-props-mixins.generated.js +5 -5
  230. package/lib/services/aws-nimblestudio/cfn-props-mixins.generated.js +4 -4
  231. package/lib/services/aws-notifications/cfn-props-mixins.generated.js +7 -7
  232. package/lib/services/aws-notificationscontacts/cfn-props-mixins.generated.js +1 -1
  233. package/lib/services/aws-novaact/cfn-props-mixins.generated.js +1 -1
  234. package/lib/services/aws-oam/cfn-props-mixins.generated.js +2 -2
  235. package/lib/services/aws-observabilityadmin/cfn-props-mixins.generated.js +7 -7
  236. package/lib/services/aws-odb/cfn-props-mixins.generated.js +5 -5
  237. package/lib/services/aws-omics/cfn-props-mixins.generated.js +9 -9
  238. package/lib/services/aws-opensearchserverless/cfn-props-mixins.generated.js +9 -9
  239. package/lib/services/aws-opensearchservice/cfn-props-mixins.generated.js +2 -2
  240. package/lib/services/aws-opsworks/cfn-props-mixins.generated.js +7 -7
  241. package/lib/services/aws-opsworkscm/cfn-props-mixins.generated.js +1 -1
  242. package/lib/services/aws-organizations/cfn-props-mixins.generated.js +5 -5
  243. package/lib/services/aws-osis/cfn-props-mixins.generated.js +2 -2
  244. package/lib/services/aws-outposts/cfn-props-mixins.generated.js +2 -2
  245. package/lib/services/aws-panorama/cfn-props-mixins.generated.js +3 -3
  246. package/lib/services/aws-paymentcryptography/cfn-props-mixins.generated.js +2 -2
  247. package/lib/services/aws-pcaconnectorad/cfn-props-mixins.generated.js +5 -5
  248. package/lib/services/aws-pcaconnectorscep/cfn-props-mixins.generated.js +2 -2
  249. package/lib/services/aws-pcs/cfn-props-mixins.generated.js +3 -3
  250. package/lib/services/aws-personalize/cfn-props-mixins.generated.js +9 -9
  251. package/lib/services/aws-pinpoint/cfn-props-mixins.generated.js +19 -19
  252. package/lib/services/aws-pinpointemail/cfn-props-mixins.generated.js +4 -4
  253. package/lib/services/aws-pipes/cfn-props-mixins.generated.js +1 -1
  254. package/lib/services/aws-polly/cfn-props-mixins.generated.js +1 -1
  255. package/lib/services/aws-pricingplanmanager/cfn-props-mixins.generated.js +1 -1
  256. package/lib/services/aws-proton/cfn-props-mixins.generated.js +3 -3
  257. package/lib/services/aws-qbusiness/cfn-props-mixins.generated.js +8 -8
  258. package/lib/services/aws-qldb/cfn-props-mixins.generated.js +2 -2
  259. package/lib/services/aws-quicksight/cfn-props-mixins.generated.js +25 -25
  260. package/lib/services/aws-ram/cfn-props-mixins.generated.js +6 -6
  261. package/lib/services/aws-rbin/cfn-props-mixins.generated.js +1 -1
  262. package/lib/services/aws-rds/cfn-props-mixins.generated.js +20 -20
  263. package/lib/services/aws-redshift/cfn-props-mixins.generated.js +16 -16
  264. package/lib/services/aws-redshiftserverless/cfn-props-mixins.generated.js +3 -3
  265. package/lib/services/aws-refactorspaces/cfn-props-mixins.generated.js +4 -4
  266. package/lib/services/aws-rekognition/cfn-props-mixins.generated.js +4 -4
  267. package/lib/services/aws-resiliencehub/cfn-props-mixins.generated.js +2 -2
  268. package/lib/services/aws-resiliencehubv2/cfn-props-mixins.generated.js +5 -5
  269. package/lib/services/aws-resourceexplorer2/cfn-props-mixins.generated.js +3 -3
  270. package/lib/services/aws-resourcegroups/cfn-props-mixins.generated.js +2 -2
  271. package/lib/services/aws-robomaker/cfn-props-mixins.generated.js +6 -6
  272. package/lib/services/aws-rolesanywhere/cfn-props-mixins.generated.d.ts +4 -0
  273. package/lib/services/aws-rolesanywhere/cfn-props-mixins.generated.js +4 -4
  274. package/lib/services/aws-route53/cfn-props-mixins.generated.d.ts +172 -0
  275. package/lib/services/aws-route53/cfn-props-mixins.generated.js +118 -12
  276. package/lib/services/aws-route53globalresolver/cfn-props-mixins.generated.d.ts +12 -0
  277. package/lib/services/aws-route53globalresolver/cfn-props-mixins.generated.js +9 -9
  278. package/lib/services/aws-route53profiles/cfn-props-mixins.generated.js +3 -3
  279. package/lib/services/aws-route53recoverycontrol/cfn-props-mixins.generated.js +4 -4
  280. package/lib/services/aws-route53recoveryreadiness/cfn-props-mixins.generated.js +4 -4
  281. package/lib/services/aws-route53resolver/cfn-props-mixins.generated.js +12 -12
  282. package/lib/services/aws-rtbfabric/cfn-props-mixins.generated.js +6 -6
  283. package/lib/services/aws-rum/cfn-props-mixins.generated.js +1 -1
  284. package/lib/services/aws-s3/cfn-props-mixins.generated.js +10 -10
  285. package/lib/services/aws-s3express/cfn-props-mixins.generated.js +3 -3
  286. package/lib/services/aws-s3files/cfn-props-mixins.generated.js +4 -4
  287. package/lib/services/aws-s3objectlambda/cfn-props-mixins.generated.js +2 -2
  288. package/lib/services/aws-s3outposts/cfn-props-mixins.generated.js +4 -4
  289. package/lib/services/aws-s3tables/cfn-props-mixins.generated.js +5 -5
  290. package/lib/services/aws-s3vectors/cfn-props-mixins.generated.js +3 -3
  291. package/lib/services/aws-sagemaker/cfn-props-mixins.generated.d.ts +98 -0
  292. package/lib/services/aws-sagemaker/cfn-props-mixins.generated.js +101 -49
  293. package/lib/services/aws-sam/cfn-props-mixins.generated.js +7 -7
  294. package/lib/services/aws-scheduler/cfn-props-mixins.generated.js +2 -2
  295. package/lib/services/aws-scn/cfn-props-mixins.generated.js +4 -4
  296. package/lib/services/aws-sdb/cfn-props-mixins.generated.js +1 -1
  297. package/lib/services/aws-secretsmanager/cfn-props-mixins.generated.js +4 -4
  298. package/lib/services/aws-securityagent/cfn-props-mixins.generated.js +8 -8
  299. package/lib/services/aws-securityhub/cfn-props-mixins.generated.js +17 -17
  300. package/lib/services/aws-securitylake/cfn-props-mixins.generated.js +4 -4
  301. package/lib/services/aws-serverlessrepo/cfn-props-mixins.generated.js +1 -1
  302. package/lib/services/aws-servicecatalog/cfn-props-mixins.generated.js +16 -16
  303. package/lib/services/aws-servicecatalogappregistry/cfn-props-mixins.generated.js +4 -4
  304. package/lib/services/aws-servicediscovery/cfn-props-mixins.generated.js +5 -5
  305. package/lib/services/aws-ses/cfn-props-mixins.generated.js +22 -22
  306. package/lib/services/aws-shield/cfn-props-mixins.generated.js +4 -4
  307. package/lib/services/aws-signer/cfn-props-mixins.generated.js +2 -2
  308. package/lib/services/aws-simspaceweaver/cfn-props-mixins.generated.js +1 -1
  309. package/lib/services/aws-smsvoice/cfn-props-mixins.generated.js +12 -12
  310. package/lib/services/aws-sns/cfn-props-mixins.generated.js +4 -4
  311. package/lib/services/aws-sqs/cfn-props-mixins.generated.js +3 -3
  312. package/lib/services/aws-ssm/cfn-props-mixins.generated.d.ts +140 -2
  313. package/lib/services/aws-ssm/cfn-props-mixins.generated.js +65 -13
  314. package/lib/services/aws-ssmcontacts/cfn-props-mixins.generated.js +4 -4
  315. package/lib/services/aws-ssmguiconnect/cfn-props-mixins.generated.js +1 -1
  316. package/lib/services/aws-ssmincidents/cfn-props-mixins.generated.js +2 -2
  317. package/lib/services/aws-ssmquicksetup/cfn-props-mixins.generated.js +2 -2
  318. package/lib/services/aws-sso/cfn-props-mixins.generated.d.ts +117 -0
  319. package/lib/services/aws-sso/cfn-props-mixins.generated.js +57 -7
  320. package/lib/services/aws-stepfunctions/cfn-props-mixins.generated.js +4 -4
  321. package/lib/services/aws-storagegateway/cfn-props-mixins.generated.js +5 -5
  322. package/lib/services/aws-supportapp/cfn-props-mixins.generated.js +3 -3
  323. package/lib/services/aws-supportauthz/cfn-props-mixins.generated.js +1 -1
  324. package/lib/services/aws-synthetics/cfn-props-mixins.generated.js +2 -2
  325. package/lib/services/aws-systemsmanagersap/cfn-props-mixins.generated.js +1 -1
  326. package/lib/services/aws-textract/cfn-props-mixins.generated.js +1 -1
  327. package/lib/services/aws-timestream/cfn-props-mixins.generated.js +6 -6
  328. package/lib/services/aws-transcribe/cfn-props-mixins.generated.js +4 -4
  329. package/lib/services/aws-transfer/cfn-props-mixins.generated.js +9 -9
  330. package/lib/services/aws-translate/cfn-props-mixins.generated.js +2 -2
  331. package/lib/services/aws-uxc/cfn-props-mixins.generated.js +1 -1
  332. package/lib/services/aws-verifiedpermissions/cfn-props-mixins.generated.js +5 -5
  333. package/lib/services/aws-voiceid/cfn-props-mixins.generated.js +1 -1
  334. package/lib/services/aws-vpclattice/cfn-props-mixins.generated.d.ts +10 -0
  335. package/lib/services/aws-vpclattice/cfn-props-mixins.generated.js +14 -14
  336. package/lib/services/aws-waf/cfn-props-mixins.generated.js +7 -7
  337. package/lib/services/aws-wafregional/cfn-props-mixins.generated.js +11 -11
  338. package/lib/services/aws-wafv2/cfn-props-mixins.generated.d.ts +60 -60
  339. package/lib/services/aws-wafv2/cfn-props-mixins.generated.js +6 -6
  340. package/lib/services/aws-wellarchitected/cfn-props-mixins.generated.js +9 -9
  341. package/lib/services/aws-wickr/cfn-props-mixins.generated.js +1 -1
  342. package/lib/services/aws-wisdom/cfn-props-mixins.generated.d.ts +27 -0
  343. package/lib/services/aws-wisdom/cfn-props-mixins.generated.js +15 -15
  344. package/lib/services/aws-workspaces/cfn-props-mixins.generated.js +5 -5
  345. package/lib/services/aws-workspacesinstances/cfn-props-mixins.generated.js +3 -3
  346. package/lib/services/aws-workspacesthinclient/cfn-props-mixins.generated.js +1 -1
  347. package/lib/services/aws-workspacesweb/cfn-props-mixins.generated.js +10 -10
  348. package/lib/services/aws-xray/cfn-props-mixins.generated.js +4 -4
  349. package/package.json +6 -6
@@ -1794,534 +1794,424 @@ export declare namespace CfnJobDefinitionPropsMixin {
1794
1794
  readonly onStatusReason?: string;
1795
1795
  }
1796
1796
  /**
1797
- * An object that contains the properties for the Kubernetes resources of a job.
1797
+ * An object that contains the properties for the Amazon ECS resources of a job.
1798
1798
  *
1799
1799
  * @struct
1800
1800
  * @stability external
1801
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html
1801
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html
1802
1802
  */
1803
- interface EksPropertiesProperty {
1803
+ interface EcsPropertiesProperty {
1804
1804
  /**
1805
- * The properties for the Kubernetes pod resources of a job.
1805
+ * An object that contains the properties for the Amazon ECS task definition of a job.
1806
1806
  *
1807
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html#cfn-batch-jobdefinition-eksproperties-podproperties
1807
+ * > This object is currently limited to one task element. However, the task element can run up to 10 containers.
1808
+ *
1809
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html#cfn-batch-jobdefinition-ecsproperties-taskproperties
1808
1810
  */
1809
- readonly podProperties?: cdk.IResolvable | CfnJobDefinitionPropsMixin.PodPropertiesProperty;
1811
+ readonly taskProperties?: Array<CfnJobDefinitionPropsMixin.EcsTaskPropertiesProperty | cdk.IResolvable> | cdk.IResolvable;
1810
1812
  }
1811
1813
  /**
1814
+ * The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
1815
+ *
1816
+ * 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.
1817
+ *
1812
1818
  * @struct
1813
1819
  * @stability external
1814
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html
1820
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html
1815
1821
  */
1816
- interface PodPropertiesProperty {
1817
- /**
1818
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-containers
1819
- */
1820
- readonly containers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
1821
- /**
1822
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-dnspolicy
1823
- */
1824
- readonly dnsPolicy?: string;
1825
- /**
1826
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-hostnetwork
1827
- */
1828
- readonly hostNetwork?: boolean | cdk.IResolvable;
1829
- /**
1830
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-imagepullsecrets
1831
- */
1832
- readonly imagePullSecrets?: Array<CfnJobDefinitionPropsMixin.ImagePullSecretProperty | cdk.IResolvable> | cdk.IResolvable;
1833
- /**
1834
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-initcontainers
1835
- */
1836
- readonly initContainers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
1837
- /**
1838
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-metadata
1839
- */
1840
- readonly metadata?: cdk.IResolvable | CfnJobDefinitionPropsMixin.MetadataProperty;
1841
- /**
1842
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-securitycontext
1843
- */
1844
- readonly securityContext?: CfnJobDefinitionPropsMixin.EksPodSecurityContextProperty | cdk.IResolvable;
1845
- /**
1846
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-serviceaccountname
1847
- */
1848
- readonly serviceAccountName?: string;
1849
- /**
1850
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-shareprocessnamespace
1851
- */
1852
- readonly shareProcessNamespace?: boolean | cdk.IResolvable;
1822
+ interface EcsTaskPropertiesProperty {
1853
1823
  /**
1854
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-volumes
1824
+ * This object is a list of containers.
1825
+ *
1826
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-containers
1855
1827
  */
1856
- readonly volumes?: Array<CfnJobDefinitionPropsMixin.EksVolumeProperty | cdk.IResolvable> | cdk.IResolvable;
1857
- }
1858
- /**
1859
- * Specifies an Amazon EKS volume for a job definition.
1860
- *
1861
- * @struct
1862
- * @stability external
1863
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html
1864
- */
1865
- interface EksVolumeProperty {
1828
+ readonly containers?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerPropertiesProperty> | cdk.IResolvable;
1866
1829
  /**
1867
- * Specifies the configuration of a Kubernetes `emptyDir` volume.
1830
+ * Determines whether execute command functionality is turned on for this task.
1868
1831
  *
1869
- * For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* .
1832
+ * If `true` , execute command functionality is turned on all the containers in the task.
1870
1833
  *
1871
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-emptydir
1834
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-enableexecutecommand
1872
1835
  */
1873
- readonly emptyDir?: CfnJobDefinitionPropsMixin.EmptyDirProperty | cdk.IResolvable;
1836
+ readonly enableExecuteCommand?: boolean | cdk.IResolvable;
1874
1837
  /**
1875
- * Specifies the configuration of a Kubernetes `hostPath` volume.
1838
+ * The amount of ephemeral storage to allocate for the task.
1876
1839
  *
1877
- * For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* .
1840
+ * This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
1878
1841
  *
1879
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-hostpath
1842
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ephemeralstorage
1880
1843
  */
1881
- readonly hostPath?: CfnJobDefinitionPropsMixin.HostPathProperty | cdk.IResolvable;
1844
+ readonly ephemeralStorage?: CfnJobDefinitionPropsMixin.EphemeralStorageProperty | cdk.IResolvable;
1882
1845
  /**
1883
- * The name of the volume.
1846
+ * The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume.
1884
1847
  *
1885
- * 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* .
1848
+ * 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* .
1886
1849
  *
1887
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-name
1850
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-executionrolearn
1888
1851
  */
1889
- readonly name?: string;
1852
+ readonly executionRoleArn?: string;
1890
1853
  /**
1891
- * Specifies the configuration of a Kubernetes `persistentVolumeClaim` bounded to a `persistentVolume` .
1854
+ * The IPC resource namespace to use for the containers in the task.
1892
1855
  *
1893
- * 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* .
1856
+ * The valid values are `host` , `task` , or `none` .
1894
1857
  *
1895
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-persistentvolumeclaim
1858
+ * 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.
1859
+ *
1860
+ * If `task` is specified, all containers within the specified `task` share the same IPC resources.
1861
+ *
1862
+ * 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.
1863
+ *
1864
+ * 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.
1865
+ *
1866
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ipcmode
1896
1867
  */
1897
- readonly persistentVolumeClaim?: CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty | cdk.IResolvable;
1868
+ readonly ipcMode?: string;
1898
1869
  /**
1899
- * Specifies the configuration of a Kubernetes `secret` volume.
1870
+ * The network configuration for jobs that are running on Fargate resources.
1900
1871
  *
1901
- * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
1872
+ * Jobs that are running on Amazon EC2 resources must not specify this parameter.
1902
1873
  *
1903
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-secret
1874
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-networkconfiguration
1904
1875
  */
1905
- readonly secret?: CfnJobDefinitionPropsMixin.EksSecretProperty | cdk.IResolvable;
1906
- }
1907
- /**
1908
- * Specifies the configuration of a Kubernetes `secret` volume.
1909
- *
1910
- * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
1911
- *
1912
- * @struct
1913
- * @stability external
1914
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html
1915
- */
1916
- interface EksSecretProperty {
1876
+ readonly networkConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.NetworkConfigurationProperty;
1917
1877
  /**
1918
- * Specifies whether the secret or the secret's keys must be defined.
1878
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-networkmode
1879
+ */
1880
+ readonly networkMode?: string;
1881
+ /**
1882
+ * The process namespace to use for the containers in the task.
1919
1883
  *
1920
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-optional
1884
+ * 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.
1885
+ *
1886
+ * 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.
1887
+ *
1888
+ * If `task` is specified, all containers within the specified task share the same process namespace.
1889
+ *
1890
+ * 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.
1891
+ *
1892
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-pidmode
1921
1893
  */
1922
- readonly optional?: boolean | cdk.IResolvable;
1894
+ readonly pidMode?: string;
1923
1895
  /**
1924
- * The name of the secret.
1896
+ * The Fargate platform version where the jobs are running.
1925
1897
  *
1926
- * 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* .
1898
+ * 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* .
1927
1899
  *
1928
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-secretname
1900
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-platformversion
1929
1901
  */
1930
- readonly secretName?: string;
1931
- }
1932
- /**
1933
- * @struct
1934
- * @stability external
1935
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html
1936
- */
1937
- interface EmptyDirProperty {
1902
+ readonly platformVersion?: string;
1938
1903
  /**
1939
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-medium
1904
+ * An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
1905
+ *
1906
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-runtimeplatform
1940
1907
  */
1941
- readonly medium?: string;
1908
+ readonly runtimePlatform?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RuntimePlatformProperty;
1942
1909
  /**
1943
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-sizelimit
1910
+ * The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
1911
+ *
1912
+ * > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) .
1913
+ *
1914
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-taskrolearn
1944
1915
  */
1945
- readonly sizeLimit?: string;
1946
- }
1947
- /**
1948
- * @struct
1949
- * @stability external
1950
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html
1951
- */
1952
- interface HostPathProperty {
1916
+ readonly taskRoleArn?: string;
1953
1917
  /**
1954
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html#cfn-batch-jobdefinition-hostpath-path
1918
+ * A list of volumes that are associated with the job.
1919
+ *
1920
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-volumes
1955
1921
  */
1956
- readonly path?: string;
1922
+ readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
1957
1923
  }
1958
1924
  /**
1959
- * 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* .
1925
+ * Container properties are used for Amazon ECS-based job definitions.
1926
+ *
1927
+ * These properties to describe the container that's launched as part of a job.
1960
1928
  *
1961
1929
  * @struct
1962
1930
  * @stability external
1963
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html
1931
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html
1964
1932
  */
1965
- interface EksPersistentVolumeClaimProperty {
1933
+ interface TaskContainerPropertiesProperty {
1966
1934
  /**
1967
- * The name of the `persistentVolumeClaim` bounded to a `persistentVolume` .
1935
+ * The command that's passed to the container.
1968
1936
  *
1969
- * 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* .
1937
+ * 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) .
1970
1938
  *
1971
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-claimname
1939
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-command
1972
1940
  */
1973
- readonly claimName?: string;
1941
+ readonly command?: Array<string>;
1974
1942
  /**
1975
- * An optional boolean value indicating if the mount is read only.
1976
- *
1977
- * 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* .
1943
+ * A list of containers that this container depends on.
1978
1944
  *
1979
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-readonly
1945
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-dependson
1980
1946
  */
1981
- readonly readOnly?: boolean | cdk.IResolvable;
1982
- }
1983
- /**
1984
- * 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.
1985
- *
1986
- * This can't be specified for Amazon ECS based job definitions.
1987
- *
1988
- * @struct
1989
- * @stability external
1990
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html
1991
- */
1992
- interface EksContainerProperty {
1947
+ readonly dependsOn?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty> | cdk.IResolvable;
1993
1948
  /**
1994
- * An array of arguments to the entrypoint.
1949
+ * The environment variables to pass to a container.
1995
1950
  *
1996
- * 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.
1951
+ * 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/) .
1997
1952
  *
1998
- * 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* .
1953
+ * > 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.
1999
1954
  *
2000
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-args
1955
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-environment
2001
1956
  */
2002
- readonly args?: Array<string>;
1957
+ readonly environment?: Array<CfnJobDefinitionPropsMixin.EnvironmentProperty | cdk.IResolvable> | cdk.IResolvable;
2003
1958
  /**
2004
- * The entrypoint for the container.
1959
+ * 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.
2005
1960
  *
2006
- * 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.
1961
+ * 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.
2007
1962
  *
2008
- * 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* .
1963
+ * 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* .
2009
1964
  *
2010
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-command
1965
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-essential
2011
1966
  */
2012
- readonly command?: Array<string>;
1967
+ readonly essential?: boolean | cdk.IResolvable;
2013
1968
  /**
2014
- * The environment variables to pass to a container.
1969
+ * The FireLens configuration for the container.
2015
1970
  *
2016
- * > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets.
1971
+ * 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* .
2017
1972
  *
2018
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-env
1973
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-firelensconfiguration
2019
1974
  */
2020
- readonly env?: Array<CfnJobDefinitionPropsMixin.EksContainerEnvironmentVariableProperty | cdk.IResolvable> | cdk.IResolvable;
1975
+ readonly firelensConfiguration?: CfnJobDefinitionPropsMixin.FirelensConfigurationProperty | cdk.IResolvable;
2021
1976
  /**
2022
- * The Docker image used to start the container.
1977
+ * The image used to start a container.
2023
1978
  *
2024
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-image
1979
+ * 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) .
1980
+ *
1981
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-image
2025
1982
  */
2026
1983
  readonly image?: string;
2027
1984
  /**
2028
- * The image pull policy for the container.
1985
+ * Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
2029
1986
  *
2030
- * 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* .
1987
+ * For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) .
2031
1988
  *
2032
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-imagepullpolicy
1989
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-linuxparameters
2033
1990
  */
2034
- readonly imagePullPolicy?: string;
1991
+ readonly linuxParameters?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LinuxParametersProperty;
2035
1992
  /**
2036
- * The name of the container.
1993
+ * The log configuration specification for the container.
2037
1994
  *
2038
- * If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name.
1995
+ * 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) .
2039
1996
  *
2040
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-name
2041
- */
2042
- readonly name?: string;
2043
- /**
2044
- * The type and amount of resources to assign to a container.
1997
+ * 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* .
2045
1998
  *
2046
- * 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* .
1999
+ * > 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.
2047
2000
  *
2048
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-resources
2049
- */
2050
- readonly resources?: cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourcesProperty;
2051
- /**
2052
- * The security context for a job.
2001
+ * 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}}'`
2053
2002
  *
2054
- * 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* .
2003
+ * > 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* .
2055
2004
  *
2056
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-securitycontext
2005
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-logconfiguration
2057
2006
  */
2058
- readonly securityContext?: cdk.IResolvable | CfnJobDefinitionPropsMixin.SecurityContextProperty;
2007
+ readonly logConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LogConfigurationProperty;
2059
2008
  /**
2060
- * The volume mounts for the container.
2009
+ * The mount points for data volumes in your container.
2061
2010
  *
2062
- * 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* .
2011
+ * 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) .
2063
2012
  *
2064
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-volumemounts
2065
- */
2066
- readonly volumeMounts?: Array<CfnJobDefinitionPropsMixin.EksContainerVolumeMountProperty | cdk.IResolvable> | cdk.IResolvable;
2067
- }
2068
- /**
2069
- * The volume mounts for a container for an Amazon EKS job.
2070
- *
2071
- * 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* .
2072
- *
2073
- * @struct
2074
- * @stability external
2075
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html
2076
- */
2077
- interface EksContainerVolumeMountProperty {
2078
- /**
2079
- * The path on the container where the volume is mounted.
2013
+ * 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.
2080
2014
  *
2081
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-mountpath
2015
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-mountpoints
2082
2016
  */
2083
- readonly mountPath?: string;
2017
+ readonly mountPoints?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.MountPointProperty> | cdk.IResolvable;
2084
2018
  /**
2085
- * The name the volume mount.
2019
+ * The name of a container.
2086
2020
  *
2087
- * This must match the name of one of the volumes in the pod.
2021
+ * The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects.
2088
2022
  *
2089
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-name
2023
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-name
2090
2024
  */
2091
2025
  readonly name?: string;
2092
2026
  /**
2093
- * If this value is `true` , the container has read-only access to the volume.
2027
+ * When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user).
2094
2028
  *
2095
- * Otherwise, the container can write to the volume. The default value is `false` .
2029
+ * 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) .
2096
2030
  *
2097
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-readonly
2098
- */
2099
- readonly readOnly?: boolean | cdk.IResolvable;
2100
- /**
2101
- * A sub-path inside the referenced volume instead of its root.
2031
+ * > This parameter is not supported for Windows containers or tasks run on Fargate.
2102
2032
  *
2103
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-subpath
2033
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-privileged
2104
2034
  */
2105
- readonly subPath?: string;
2106
- }
2107
- /**
2108
- * @struct
2109
- * @stability external
2110
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html
2111
- */
2112
- interface SecurityContextProperty {
2035
+ readonly privileged?: boolean | cdk.IResolvable;
2113
2036
  /**
2114
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-allowprivilegeescalation
2037
+ * When this parameter is true, the container is given read-only access to its root file system.
2038
+ *
2039
+ * 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) .
2040
+ *
2041
+ * > This parameter is not supported for Windows containers.
2042
+ *
2043
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-readonlyrootfilesystem
2115
2044
  */
2116
- readonly allowPrivilegeEscalation?: boolean | cdk.IResolvable;
2045
+ readonly readonlyRootFilesystem?: boolean | cdk.IResolvable;
2117
2046
  /**
2118
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-capabilities
2047
+ * The private repository authentication credentials to use.
2048
+ *
2049
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-repositorycredentials
2119
2050
  */
2120
- readonly capabilities?: CfnJobDefinitionPropsMixin.EksContainerLinuxCapabilitiesProperty | cdk.IResolvable;
2051
+ readonly repositoryCredentials?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RepositoryCredentialsProperty;
2121
2052
  /**
2122
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-privileged
2053
+ * The type and amount of a resource to assign to a container.
2054
+ *
2055
+ * The only supported resource is a GPU.
2056
+ *
2057
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-resourcerequirements
2123
2058
  */
2124
- readonly privileged?: boolean | cdk.IResolvable;
2059
+ readonly resourceRequirements?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourceRequirementProperty> | cdk.IResolvable;
2125
2060
  /**
2126
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-readonlyrootfilesystem
2061
+ * The secrets to pass to the container.
2062
+ *
2063
+ * 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.
2064
+ *
2065
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-secrets
2127
2066
  */
2128
- readonly readOnlyRootFilesystem?: boolean | cdk.IResolvable;
2067
+ readonly secrets?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.SecretProperty> | cdk.IResolvable;
2129
2068
  /**
2130
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasgroup
2069
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-starttimeout
2131
2070
  */
2132
- readonly runAsGroup?: number;
2071
+ readonly startTimeout?: number;
2133
2072
  /**
2134
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasnonroot
2073
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-stoptimeout
2135
2074
  */
2136
- readonly runAsNonRoot?: boolean | cdk.IResolvable;
2075
+ readonly stopTimeout?: number;
2137
2076
  /**
2138
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasuser
2077
+ * A list of `ulimits` to set in the container.
2078
+ *
2079
+ * 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) .
2080
+ *
2081
+ * 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` .
2082
+ *
2083
+ * 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}}'`
2084
+ *
2085
+ * > This parameter is not supported for Windows containers.
2086
+ *
2087
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-ulimits
2139
2088
  */
2140
- readonly runAsUser?: number;
2089
+ readonly ulimits?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.UlimitProperty> | cdk.IResolvable;
2141
2090
  /**
2142
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-seccompprofile
2091
+ * The user to use inside the container.
2092
+ *
2093
+ * This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
2094
+ *
2095
+ * > 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.
2096
+ *
2097
+ * You can specify the `user` using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
2098
+ *
2099
+ * - `user`
2100
+ * - `user:group`
2101
+ * - `uid`
2102
+ * - `uid:gid`
2103
+ * - `user:gi`
2104
+ * - `uid:group`
2105
+ *
2106
+ * > This parameter is not supported for Windows containers.
2107
+ *
2108
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-user
2143
2109
  */
2144
- readonly seccompProfile?: CfnJobDefinitionPropsMixin.EksSeccompProfileProperty | cdk.IResolvable;
2110
+ readonly user?: string;
2145
2111
  }
2146
2112
  /**
2113
+ * A list of containers that this task depends on.
2114
+ *
2147
2115
  * @struct
2148
2116
  * @stability external
2149
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerlinuxcapabilities.html
2117
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html
2150
2118
  */
2151
- interface EksContainerLinuxCapabilitiesProperty {
2119
+ interface TaskContainerDependencyProperty {
2152
2120
  /**
2153
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerlinuxcapabilities.html#cfn-batch-jobdefinition-ekscontainerlinuxcapabilities-add
2121
+ * The dependency condition of the container. The following are the available conditions and their behavior:.
2122
+ *
2123
+ * - `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.
2124
+ * - `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.
2125
+ * - `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.
2126
+ *
2127
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-condition
2154
2128
  */
2155
- readonly add?: Array<string>;
2129
+ readonly condition?: string;
2156
2130
  /**
2157
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerlinuxcapabilities.html#cfn-batch-jobdefinition-ekscontainerlinuxcapabilities-drop
2131
+ * A unique identifier for the container.
2132
+ *
2133
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-containername
2158
2134
  */
2159
- readonly drop?: Array<string>;
2135
+ readonly containerName?: string;
2160
2136
  }
2161
2137
  /**
2138
+ * Details for a Docker volume mount point that's used in a job's container properties.
2139
+ *
2140
+ * 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.
2141
+ *
2162
2142
  * @struct
2163
2143
  * @stability external
2164
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksseccompprofile.html
2144
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html
2165
2145
  */
2166
- interface EksSeccompProfileProperty {
2146
+ interface MountPointProperty {
2167
2147
  /**
2168
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksseccompprofile.html#cfn-batch-jobdefinition-eksseccompprofile-localhostprofile
2148
+ * The path on the container where the host volume is mounted.
2149
+ *
2150
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-containerpath
2169
2151
  */
2170
- readonly localhostProfile?: string;
2152
+ readonly containerPath?: string;
2171
2153
  /**
2172
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksseccompprofile.html#cfn-batch-jobdefinition-eksseccompprofile-type
2154
+ * If this value is `true` , the container has read-only access to the volume.
2155
+ *
2156
+ * Otherwise, the container can write to the volume. The default value is `false` .
2157
+ *
2158
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-readonly
2173
2159
  */
2174
- readonly type?: string;
2160
+ readonly readOnly?: boolean | cdk.IResolvable;
2161
+ /**
2162
+ * The name of the volume to mount.
2163
+ *
2164
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-sourcevolume
2165
+ */
2166
+ readonly sourceVolume?: string;
2175
2167
  }
2176
2168
  /**
2169
+ * The FireLens configuration for the container.
2170
+ *
2171
+ * 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* .
2172
+ *
2177
2173
  * @struct
2178
2174
  * @stability external
2179
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html
2175
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html
2180
2176
  */
2181
- interface ResourcesProperty {
2177
+ interface FirelensConfigurationProperty {
2182
2178
  /**
2183
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-limits
2179
+ * The options to use when configuring the log router.
2180
+ *
2181
+ * 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* .
2182
+ *
2183
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-options
2184
2184
  */
2185
- readonly limits?: any | cdk.IResolvable;
2185
+ readonly options?: cdk.IResolvable | Record<string, string>;
2186
2186
  /**
2187
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-requests
2187
+ * The log router to use.
2188
+ *
2189
+ * The valid values are `fluentd` or `fluentbit` .
2190
+ *
2191
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-type
2188
2192
  */
2189
- readonly requests?: any | cdk.IResolvable;
2193
+ readonly type?: string;
2190
2194
  }
2191
2195
  /**
2192
- * An environment variable.
2196
+ * An object that represents the node properties of a multi-node parallel job.
2197
+ *
2198
+ * > Node properties can't be specified for Amazon EKS based job definitions.
2193
2199
  *
2194
2200
  * @struct
2195
2201
  * @stability external
2196
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html
2202
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html
2197
2203
  */
2198
- interface EksContainerEnvironmentVariableProperty {
2204
+ interface NodePropertiesProperty {
2199
2205
  /**
2200
- * The name of the environment variable.
2206
+ * Specifies the node index for the main node of a multi-node parallel job.
2201
2207
  *
2202
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-name
2208
+ * This node index value must be fewer than the number of nodes.
2209
+ *
2210
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-mainnode
2203
2211
  */
2204
- readonly name?: string;
2212
+ readonly mainNode?: number;
2205
2213
  /**
2206
- * The value of the environment variable.
2207
- *
2208
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-value
2209
- */
2210
- readonly value?: string;
2211
- }
2212
- /**
2213
- * @struct
2214
- * @stability external
2215
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html
2216
- */
2217
- interface MetadataProperty {
2218
- /**
2219
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html#cfn-batch-jobdefinition-metadata-labels
2220
- */
2221
- readonly labels?: any | cdk.IResolvable;
2222
- }
2223
- /**
2224
- * References a Kubernetes secret resource.
2225
- *
2226
- * 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.
2227
- *
2228
- * @struct
2229
- * @stability external
2230
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html
2231
- */
2232
- interface ImagePullSecretProperty {
2233
- /**
2234
- * Provides a unique identifier for the `ImagePullSecret` .
2235
- *
2236
- * This object is required when `EksPodProperties$imagePullSecrets` is used.
2237
- *
2238
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html#cfn-batch-jobdefinition-imagepullsecret-name
2239
- */
2240
- readonly name?: string;
2241
- }
2242
- /**
2243
- * @struct
2244
- * @stability external
2245
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html
2246
- */
2247
- interface EksPodSecurityContextProperty {
2248
- /**
2249
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-fsgroup
2250
- */
2251
- readonly fsGroup?: number;
2252
- /**
2253
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-runasgroup
2254
- */
2255
- readonly runAsGroup?: number;
2256
- /**
2257
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-runasnonroot
2258
- */
2259
- readonly runAsNonRoot?: boolean | cdk.IResolvable;
2260
- /**
2261
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-runasuser
2262
- */
2263
- readonly runAsUser?: number;
2264
- /**
2265
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-seccompprofile
2266
- */
2267
- readonly seccompProfile?: CfnJobDefinitionPropsMixin.EksSeccompProfileProperty | cdk.IResolvable;
2268
- }
2269
- /**
2270
- * Contains a list of consumable resources required by a job.
2271
- *
2272
- * @struct
2273
- * @stability external
2274
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html
2275
- */
2276
- interface ConsumableResourcePropertiesProperty {
2277
- /**
2278
- * The list of consumable resources required by a job.
2279
- *
2280
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html#cfn-batch-jobdefinition-consumableresourceproperties-consumableresourcelist
2281
- */
2282
- readonly consumableResourceList?: Array<CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty | cdk.IResolvable> | cdk.IResolvable;
2283
- }
2284
- /**
2285
- * Information about a consumable resource required to run a job.
2286
- *
2287
- * @struct
2288
- * @stability external
2289
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html
2290
- */
2291
- interface ConsumableResourceRequirementProperty {
2292
- /**
2293
- * The name or ARN of the consumable resource.
2294
- *
2295
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-consumableresource
2296
- */
2297
- readonly consumableResource?: string;
2298
- /**
2299
- * The quantity of the consumable resource that is needed.
2300
- *
2301
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-quantity
2302
- */
2303
- readonly quantity?: number;
2304
- }
2305
- /**
2306
- * An object that represents the node properties of a multi-node parallel job.
2307
- *
2308
- * > Node properties can't be specified for Amazon EKS based job definitions.
2309
- *
2310
- * @struct
2311
- * @stability external
2312
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html
2313
- */
2314
- interface NodePropertiesProperty {
2315
- /**
2316
- * Specifies the node index for the main node of a multi-node parallel job.
2317
- *
2318
- * This node index value must be fewer than the number of nodes.
2319
- *
2320
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-mainnode
2321
- */
2322
- readonly mainNode?: number;
2323
- /**
2324
- * A list of node ranges and their properties that are associated with a multi-node parallel job.
2214
+ * A list of node ranges and their properties that are associated with a multi-node parallel job.
2325
2215
  *
2326
2216
  * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-nodeproperties.html#cfn-batch-jobdefinition-nodeproperties-noderangeproperties
2327
2217
  */
@@ -2479,403 +2369,513 @@ export declare namespace CfnJobDefinitionPropsMixin {
2479
2369
  readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
2480
2370
  }
2481
2371
  /**
2482
- * Container properties are used for Amazon ECS-based job definitions.
2483
- *
2484
- * These properties to describe the container that's launched as part of a job.
2372
+ * An object that contains the properties for the Kubernetes resources of a job.
2485
2373
  *
2486
2374
  * @struct
2487
2375
  * @stability external
2488
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html
2376
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html
2489
2377
  */
2490
- interface TaskContainerPropertiesProperty {
2378
+ interface EksPropertiesProperty {
2491
2379
  /**
2492
- * The command that's passed to the container.
2493
- *
2494
- * 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) .
2380
+ * The properties for the Kubernetes pod resources of a job.
2495
2381
  *
2496
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-command
2382
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html#cfn-batch-jobdefinition-eksproperties-podproperties
2497
2383
  */
2498
- readonly command?: Array<string>;
2384
+ readonly podProperties?: cdk.IResolvable | CfnJobDefinitionPropsMixin.PodPropertiesProperty;
2385
+ }
2386
+ /**
2387
+ * @struct
2388
+ * @stability external
2389
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html
2390
+ */
2391
+ interface PodPropertiesProperty {
2499
2392
  /**
2500
- * A list of containers that this container depends on.
2501
- *
2502
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-dependson
2393
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-containers
2503
2394
  */
2504
- readonly dependsOn?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty> | cdk.IResolvable;
2395
+ readonly containers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
2505
2396
  /**
2506
- * The environment variables to pass to a container.
2507
- *
2508
- * 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/) .
2509
- *
2510
- * > 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.
2511
- *
2512
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-environment
2397
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-dnspolicy
2513
2398
  */
2514
- readonly environment?: Array<CfnJobDefinitionPropsMixin.EnvironmentProperty | cdk.IResolvable> | cdk.IResolvable;
2399
+ readonly dnsPolicy?: string;
2515
2400
  /**
2516
- * 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.
2517
- *
2518
- * 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.
2519
- *
2520
- * 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* .
2521
- *
2522
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-essential
2401
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-hostnetwork
2523
2402
  */
2524
- readonly essential?: boolean | cdk.IResolvable;
2403
+ readonly hostNetwork?: boolean | cdk.IResolvable;
2525
2404
  /**
2526
- * The FireLens configuration for the container.
2527
- *
2528
- * 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* .
2529
- *
2530
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-firelensconfiguration
2405
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-imagepullsecrets
2531
2406
  */
2532
- readonly firelensConfiguration?: CfnJobDefinitionPropsMixin.FirelensConfigurationProperty | cdk.IResolvable;
2407
+ readonly imagePullSecrets?: Array<CfnJobDefinitionPropsMixin.ImagePullSecretProperty | cdk.IResolvable> | cdk.IResolvable;
2533
2408
  /**
2534
- * The image used to start a container.
2535
- *
2536
- * 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) .
2537
- *
2538
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-image
2409
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-initcontainers
2539
2410
  */
2540
- readonly image?: string;
2411
+ readonly initContainers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
2541
2412
  /**
2542
- * Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
2543
- *
2544
- * For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) .
2545
- *
2546
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-linuxparameters
2413
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-metadata
2547
2414
  */
2548
- readonly linuxParameters?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LinuxParametersProperty;
2415
+ readonly metadata?: cdk.IResolvable | CfnJobDefinitionPropsMixin.MetadataProperty;
2549
2416
  /**
2550
- * The log configuration specification for the container.
2551
- *
2552
- * 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) .
2553
- *
2554
- * 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* .
2555
- *
2556
- * > 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.
2557
- *
2558
- * 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}}'`
2417
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-securitycontext
2418
+ */
2419
+ readonly securityContext?: CfnJobDefinitionPropsMixin.EksPodSecurityContextProperty | cdk.IResolvable;
2420
+ /**
2421
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-serviceaccountname
2422
+ */
2423
+ readonly serviceAccountName?: string;
2424
+ /**
2425
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-shareprocessnamespace
2426
+ */
2427
+ readonly shareProcessNamespace?: boolean | cdk.IResolvable;
2428
+ /**
2429
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-volumes
2430
+ */
2431
+ readonly volumes?: Array<CfnJobDefinitionPropsMixin.EksVolumeProperty | cdk.IResolvable> | cdk.IResolvable;
2432
+ }
2433
+ /**
2434
+ * Specifies an Amazon EKS volume for a job definition.
2435
+ *
2436
+ * @struct
2437
+ * @stability external
2438
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html
2439
+ */
2440
+ interface EksVolumeProperty {
2441
+ /**
2442
+ * Specifies the configuration of a Kubernetes `emptyDir` volume.
2559
2443
  *
2560
- * > 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* .
2444
+ * For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* .
2561
2445
  *
2562
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-logconfiguration
2446
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-emptydir
2563
2447
  */
2564
- readonly logConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LogConfigurationProperty;
2448
+ readonly emptyDir?: CfnJobDefinitionPropsMixin.EmptyDirProperty | cdk.IResolvable;
2565
2449
  /**
2566
- * The mount points for data volumes in your container.
2567
- *
2568
- * 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) .
2450
+ * Specifies the configuration of a Kubernetes `hostPath` volume.
2569
2451
  *
2570
- * 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.
2452
+ * For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* .
2571
2453
  *
2572
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-mountpoints
2454
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-hostpath
2573
2455
  */
2574
- readonly mountPoints?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.MountPointProperty> | cdk.IResolvable;
2456
+ readonly hostPath?: CfnJobDefinitionPropsMixin.HostPathProperty | cdk.IResolvable;
2575
2457
  /**
2576
- * The name of a container.
2458
+ * The name of the volume.
2577
2459
  *
2578
- * The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects.
2460
+ * 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* .
2579
2461
  *
2580
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-name
2462
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-name
2581
2463
  */
2582
2464
  readonly name?: string;
2583
2465
  /**
2584
- * When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user).
2585
- *
2586
- * 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) .
2466
+ * Specifies the configuration of a Kubernetes `persistentVolumeClaim` bounded to a `persistentVolume` .
2587
2467
  *
2588
- * > This parameter is not supported for Windows containers or tasks run on Fargate.
2468
+ * 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* .
2589
2469
  *
2590
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-privileged
2470
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-persistentvolumeclaim
2591
2471
  */
2592
- readonly privileged?: boolean | cdk.IResolvable;
2472
+ readonly persistentVolumeClaim?: CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty | cdk.IResolvable;
2593
2473
  /**
2594
- * When this parameter is true, the container is given read-only access to its root file system.
2474
+ * Specifies the configuration of a Kubernetes `secret` volume.
2595
2475
  *
2596
- * 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) .
2476
+ * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
2597
2477
  *
2598
- * > This parameter is not supported for Windows containers.
2478
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-secret
2479
+ */
2480
+ readonly secret?: CfnJobDefinitionPropsMixin.EksSecretProperty | cdk.IResolvable;
2481
+ }
2482
+ /**
2483
+ * Specifies the configuration of a Kubernetes `secret` volume.
2484
+ *
2485
+ * For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
2486
+ *
2487
+ * @struct
2488
+ * @stability external
2489
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html
2490
+ */
2491
+ interface EksSecretProperty {
2492
+ /**
2493
+ * Specifies whether the secret or the secret's keys must be defined.
2599
2494
  *
2600
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-readonlyrootfilesystem
2495
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-optional
2601
2496
  */
2602
- readonly readonlyRootFilesystem?: boolean | cdk.IResolvable;
2497
+ readonly optional?: boolean | cdk.IResolvable;
2603
2498
  /**
2604
- * The private repository authentication credentials to use.
2499
+ * The name of the secret.
2605
2500
  *
2606
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-repositorycredentials
2501
+ * 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* .
2502
+ *
2503
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-secretname
2607
2504
  */
2608
- readonly repositoryCredentials?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RepositoryCredentialsProperty;
2505
+ readonly secretName?: string;
2506
+ }
2507
+ /**
2508
+ * @struct
2509
+ * @stability external
2510
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html
2511
+ */
2512
+ interface EmptyDirProperty {
2609
2513
  /**
2610
- * The type and amount of a resource to assign to a container.
2514
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-medium
2515
+ */
2516
+ readonly medium?: string;
2517
+ /**
2518
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-sizelimit
2519
+ */
2520
+ readonly sizeLimit?: string;
2521
+ }
2522
+ /**
2523
+ * @struct
2524
+ * @stability external
2525
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html
2526
+ */
2527
+ interface HostPathProperty {
2528
+ /**
2529
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html#cfn-batch-jobdefinition-hostpath-path
2530
+ */
2531
+ readonly path?: string;
2532
+ }
2533
+ /**
2534
+ * 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* .
2535
+ *
2536
+ * @struct
2537
+ * @stability external
2538
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html
2539
+ */
2540
+ interface EksPersistentVolumeClaimProperty {
2541
+ /**
2542
+ * The name of the `persistentVolumeClaim` bounded to a `persistentVolume` .
2611
2543
  *
2612
- * The only supported resource is a GPU.
2544
+ * 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* .
2613
2545
  *
2614
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-resourcerequirements
2546
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-claimname
2615
2547
  */
2616
- readonly resourceRequirements?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourceRequirementProperty> | cdk.IResolvable;
2548
+ readonly claimName?: string;
2617
2549
  /**
2618
- * The secrets to pass to the container.
2550
+ * An optional boolean value indicating if the mount is read only.
2619
2551
  *
2620
- * 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.
2552
+ * 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* .
2621
2553
  *
2622
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-secrets
2554
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-readonly
2623
2555
  */
2624
- readonly secrets?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.SecretProperty> | cdk.IResolvable;
2556
+ readonly readOnly?: boolean | cdk.IResolvable;
2557
+ }
2558
+ /**
2559
+ * 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.
2560
+ *
2561
+ * This can't be specified for Amazon ECS based job definitions.
2562
+ *
2563
+ * @struct
2564
+ * @stability external
2565
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html
2566
+ */
2567
+ interface EksContainerProperty {
2625
2568
  /**
2626
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-starttimeout
2569
+ * An array of arguments to the entrypoint.
2570
+ *
2571
+ * 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.
2572
+ *
2573
+ * 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* .
2574
+ *
2575
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-args
2627
2576
  */
2628
- readonly startTimeout?: number;
2577
+ readonly args?: Array<string>;
2629
2578
  /**
2630
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-stoptimeout
2579
+ * The entrypoint for the container.
2580
+ *
2581
+ * 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.
2582
+ *
2583
+ * 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* .
2584
+ *
2585
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-command
2631
2586
  */
2632
- readonly stopTimeout?: number;
2587
+ readonly command?: Array<string>;
2633
2588
  /**
2634
- * A list of `ulimits` to set in the container.
2589
+ * The environment variables to pass to a container.
2635
2590
  *
2636
- * 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) .
2591
+ * > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets.
2637
2592
  *
2638
- * 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` .
2593
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-env
2594
+ */
2595
+ readonly env?: Array<CfnJobDefinitionPropsMixin.EksContainerEnvironmentVariableProperty | cdk.IResolvable> | cdk.IResolvable;
2596
+ /**
2597
+ * The Docker image used to start the container.
2639
2598
  *
2640
- * 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}}'`
2599
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-image
2600
+ */
2601
+ readonly image?: string;
2602
+ /**
2603
+ * The image pull policy for the container.
2641
2604
  *
2642
- * > This parameter is not supported for Windows containers.
2605
+ * 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* .
2643
2606
  *
2644
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-ulimits
2607
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-imagepullpolicy
2645
2608
  */
2646
- readonly ulimits?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.UlimitProperty> | cdk.IResolvable;
2609
+ readonly imagePullPolicy?: string;
2647
2610
  /**
2648
- * The user to use inside the container.
2611
+ * The name of the container.
2649
2612
  *
2650
- * This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
2613
+ * If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name.
2651
2614
  *
2652
- * > 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.
2615
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-name
2616
+ */
2617
+ readonly name?: string;
2618
+ /**
2619
+ * The type and amount of resources to assign to a container.
2653
2620
  *
2654
- * You can specify the `user` using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
2621
+ * 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* .
2655
2622
  *
2656
- * - `user`
2657
- * - `user:group`
2658
- * - `uid`
2659
- * - `uid:gid`
2660
- * - `user:gi`
2661
- * - `uid:group`
2623
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-resources
2624
+ */
2625
+ readonly resources?: cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourcesProperty;
2626
+ /**
2627
+ * The security context for a job.
2662
2628
  *
2663
- * > This parameter is not supported for Windows containers.
2629
+ * 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* .
2664
2630
  *
2665
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-user
2631
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-securitycontext
2666
2632
  */
2667
- readonly user?: string;
2633
+ readonly securityContext?: cdk.IResolvable | CfnJobDefinitionPropsMixin.SecurityContextProperty;
2634
+ /**
2635
+ * The volume mounts for the container.
2636
+ *
2637
+ * 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* .
2638
+ *
2639
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-volumemounts
2640
+ */
2641
+ readonly volumeMounts?: Array<CfnJobDefinitionPropsMixin.EksContainerVolumeMountProperty | cdk.IResolvable> | cdk.IResolvable;
2668
2642
  }
2669
2643
  /**
2670
- * Details for a Docker volume mount point that's used in a job's container properties.
2644
+ * The volume mounts for a container for an Amazon EKS job.
2671
2645
  *
2672
- * 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.
2646
+ * 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* .
2673
2647
  *
2674
2648
  * @struct
2675
2649
  * @stability external
2676
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html
2650
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html
2677
2651
  */
2678
- interface MountPointProperty {
2652
+ interface EksContainerVolumeMountProperty {
2679
2653
  /**
2680
- * The path on the container where the host volume is mounted.
2654
+ * The path on the container where the volume is mounted.
2681
2655
  *
2682
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-containerpath
2656
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-mountpath
2683
2657
  */
2684
- readonly containerPath?: string;
2658
+ readonly mountPath?: string;
2659
+ /**
2660
+ * The name the volume mount.
2661
+ *
2662
+ * This must match the name of one of the volumes in the pod.
2663
+ *
2664
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-name
2665
+ */
2666
+ readonly name?: string;
2685
2667
  /**
2686
2668
  * If this value is `true` , the container has read-only access to the volume.
2687
2669
  *
2688
2670
  * Otherwise, the container can write to the volume. The default value is `false` .
2689
2671
  *
2690
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-readonly
2672
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-readonly
2691
2673
  */
2692
2674
  readonly readOnly?: boolean | cdk.IResolvable;
2693
2675
  /**
2694
- * The name of the volume to mount.
2676
+ * A sub-path inside the referenced volume instead of its root.
2695
2677
  *
2696
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-sourcevolume
2678
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-subpath
2697
2679
  */
2698
- readonly sourceVolume?: string;
2680
+ readonly subPath?: string;
2699
2681
  }
2700
2682
  /**
2701
- * The FireLens configuration for the container.
2702
- *
2703
- * 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* .
2704
- *
2705
2683
  * @struct
2706
2684
  * @stability external
2707
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html
2685
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html
2708
2686
  */
2709
- interface FirelensConfigurationProperty {
2687
+ interface SecurityContextProperty {
2710
2688
  /**
2711
- * The options to use when configuring the log router.
2712
- *
2713
- * 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* .
2714
- *
2715
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-options
2689
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-allowprivilegeescalation
2716
2690
  */
2717
- readonly options?: cdk.IResolvable | Record<string, string>;
2691
+ readonly allowPrivilegeEscalation?: boolean | cdk.IResolvable;
2718
2692
  /**
2719
- * The log router to use.
2720
- *
2721
- * The valid values are `fluentd` or `fluentbit` .
2722
- *
2723
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-type
2693
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-capabilities
2724
2694
  */
2725
- readonly type?: string;
2695
+ readonly capabilities?: CfnJobDefinitionPropsMixin.EksContainerLinuxCapabilitiesProperty | cdk.IResolvable;
2696
+ /**
2697
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-privileged
2698
+ */
2699
+ readonly privileged?: boolean | cdk.IResolvable;
2700
+ /**
2701
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-readonlyrootfilesystem
2702
+ */
2703
+ readonly readOnlyRootFilesystem?: boolean | cdk.IResolvable;
2704
+ /**
2705
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasgroup
2706
+ */
2707
+ readonly runAsGroup?: number;
2708
+ /**
2709
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasnonroot
2710
+ */
2711
+ readonly runAsNonRoot?: boolean | cdk.IResolvable;
2712
+ /**
2713
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasuser
2714
+ */
2715
+ readonly runAsUser?: number;
2716
+ /**
2717
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-seccompprofile
2718
+ */
2719
+ readonly seccompProfile?: CfnJobDefinitionPropsMixin.EksSeccompProfileProperty | cdk.IResolvable;
2726
2720
  }
2727
2721
  /**
2728
- * A list of containers that this task depends on.
2729
- *
2730
2722
  * @struct
2731
2723
  * @stability external
2732
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html
2724
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerlinuxcapabilities.html
2733
2725
  */
2734
- interface TaskContainerDependencyProperty {
2726
+ interface EksContainerLinuxCapabilitiesProperty {
2735
2727
  /**
2736
- * The dependency condition of the container. The following are the available conditions and their behavior:.
2737
- *
2738
- * - `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.
2739
- * - `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.
2740
- * - `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.
2741
- *
2742
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-condition
2728
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerlinuxcapabilities.html#cfn-batch-jobdefinition-ekscontainerlinuxcapabilities-add
2743
2729
  */
2744
- readonly condition?: string;
2730
+ readonly add?: Array<string>;
2745
2731
  /**
2746
- * A unique identifier for the container.
2747
- *
2748
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-containername
2732
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerlinuxcapabilities.html#cfn-batch-jobdefinition-ekscontainerlinuxcapabilities-drop
2749
2733
  */
2750
- readonly containerName?: string;
2734
+ readonly drop?: Array<string>;
2751
2735
  }
2752
2736
  /**
2753
- * An object that contains the properties for the Amazon ECS resources of a job.
2754
- *
2755
2737
  * @struct
2756
2738
  * @stability external
2757
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html
2739
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksseccompprofile.html
2758
2740
  */
2759
- interface EcsPropertiesProperty {
2741
+ interface EksSeccompProfileProperty {
2760
2742
  /**
2761
- * An object that contains the properties for the Amazon ECS task definition of a job.
2762
- *
2763
- * > This object is currently limited to one task element. However, the task element can run up to 10 containers.
2764
- *
2765
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html#cfn-batch-jobdefinition-ecsproperties-taskproperties
2743
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksseccompprofile.html#cfn-batch-jobdefinition-eksseccompprofile-localhostprofile
2766
2744
  */
2767
- readonly taskProperties?: Array<CfnJobDefinitionPropsMixin.EcsTaskPropertiesProperty | cdk.IResolvable> | cdk.IResolvable;
2745
+ readonly localhostProfile?: string;
2746
+ /**
2747
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksseccompprofile.html#cfn-batch-jobdefinition-eksseccompprofile-type
2748
+ */
2749
+ readonly type?: string;
2768
2750
  }
2769
2751
  /**
2770
- * The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
2771
- *
2772
- * 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.
2752
+ * @struct
2753
+ * @stability external
2754
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html
2755
+ */
2756
+ interface ResourcesProperty {
2757
+ /**
2758
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-limits
2759
+ */
2760
+ readonly limits?: any | cdk.IResolvable;
2761
+ /**
2762
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-requests
2763
+ */
2764
+ readonly requests?: any | cdk.IResolvable;
2765
+ }
2766
+ /**
2767
+ * An environment variable.
2773
2768
  *
2774
2769
  * @struct
2775
2770
  * @stability external
2776
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html
2771
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html
2777
2772
  */
2778
- interface EcsTaskPropertiesProperty {
2773
+ interface EksContainerEnvironmentVariableProperty {
2779
2774
  /**
2780
- * This object is a list of containers.
2775
+ * The name of the environment variable.
2781
2776
  *
2782
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-containers
2777
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-name
2783
2778
  */
2784
- readonly containers?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerPropertiesProperty> | cdk.IResolvable;
2779
+ readonly name?: string;
2785
2780
  /**
2786
- * Determines whether execute command functionality is turned on for this task.
2787
- *
2788
- * If `true` , execute command functionality is turned on all the containers in the task.
2781
+ * The value of the environment variable.
2789
2782
  *
2790
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-enableexecutecommand
2783
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-value
2791
2784
  */
2792
- readonly enableExecuteCommand?: boolean | cdk.IResolvable;
2785
+ readonly value?: string;
2786
+ }
2787
+ /**
2788
+ * @struct
2789
+ * @stability external
2790
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html
2791
+ */
2792
+ interface MetadataProperty {
2793
2793
  /**
2794
- * The amount of ephemeral storage to allocate for the task.
2795
- *
2796
- * This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
2797
- *
2798
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ephemeralstorage
2794
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html#cfn-batch-jobdefinition-metadata-labels
2799
2795
  */
2800
- readonly ephemeralStorage?: CfnJobDefinitionPropsMixin.EphemeralStorageProperty | cdk.IResolvable;
2796
+ readonly labels?: any | cdk.IResolvable;
2797
+ }
2798
+ /**
2799
+ * References a Kubernetes secret resource.
2800
+ *
2801
+ * 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.
2802
+ *
2803
+ * @struct
2804
+ * @stability external
2805
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html
2806
+ */
2807
+ interface ImagePullSecretProperty {
2801
2808
  /**
2802
- * The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume.
2809
+ * Provides a unique identifier for the `ImagePullSecret` .
2803
2810
  *
2804
- * 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* .
2811
+ * This object is required when `EksPodProperties$imagePullSecrets` is used.
2805
2812
  *
2806
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-executionrolearn
2813
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html#cfn-batch-jobdefinition-imagepullsecret-name
2807
2814
  */
2808
- readonly executionRoleArn?: string;
2815
+ readonly name?: string;
2816
+ }
2817
+ /**
2818
+ * @struct
2819
+ * @stability external
2820
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html
2821
+ */
2822
+ interface EksPodSecurityContextProperty {
2809
2823
  /**
2810
- * The IPC resource namespace to use for the containers in the task.
2811
- *
2812
- * The valid values are `host` , `task` , or `none` .
2813
- *
2814
- * 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.
2815
- *
2816
- * If `task` is specified, all containers within the specified `task` share the same IPC resources.
2817
- *
2818
- * 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.
2819
- *
2820
- * 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.
2821
- *
2822
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ipcmode
2824
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-fsgroup
2823
2825
  */
2824
- readonly ipcMode?: string;
2826
+ readonly fsGroup?: number;
2825
2827
  /**
2826
- * The network configuration for jobs that are running on Fargate resources.
2827
- *
2828
- * Jobs that are running on Amazon EC2 resources must not specify this parameter.
2829
- *
2830
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-networkconfiguration
2828
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-runasgroup
2831
2829
  */
2832
- readonly networkConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.NetworkConfigurationProperty;
2830
+ readonly runAsGroup?: number;
2833
2831
  /**
2834
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-networkmode
2832
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-runasnonroot
2835
2833
  */
2836
- readonly networkMode?: string;
2834
+ readonly runAsNonRoot?: boolean | cdk.IResolvable;
2837
2835
  /**
2838
- * The process namespace to use for the containers in the task.
2839
- *
2840
- * 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.
2841
- *
2842
- * 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.
2843
- *
2844
- * If `task` is specified, all containers within the specified task share the same process namespace.
2845
- *
2846
- * 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.
2847
- *
2848
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-pidmode
2836
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-runasuser
2849
2837
  */
2850
- readonly pidMode?: string;
2838
+ readonly runAsUser?: number;
2851
2839
  /**
2852
- * The Fargate platform version where the jobs are running.
2853
- *
2854
- * 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* .
2855
- *
2856
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-platformversion
2840
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-seccompprofile
2857
2841
  */
2858
- readonly platformVersion?: string;
2842
+ readonly seccompProfile?: CfnJobDefinitionPropsMixin.EksSeccompProfileProperty | cdk.IResolvable;
2843
+ }
2844
+ /**
2845
+ * Contains a list of consumable resources required by a job.
2846
+ *
2847
+ * @struct
2848
+ * @stability external
2849
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html
2850
+ */
2851
+ interface ConsumableResourcePropertiesProperty {
2859
2852
  /**
2860
- * An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
2853
+ * The list of consumable resources required by a job.
2861
2854
  *
2862
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-runtimeplatform
2855
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html#cfn-batch-jobdefinition-consumableresourceproperties-consumableresourcelist
2863
2856
  */
2864
- readonly runtimePlatform?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RuntimePlatformProperty;
2857
+ readonly consumableResourceList?: Array<CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty | cdk.IResolvable> | cdk.IResolvable;
2858
+ }
2859
+ /**
2860
+ * Information about a consumable resource required to run a job.
2861
+ *
2862
+ * @struct
2863
+ * @stability external
2864
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html
2865
+ */
2866
+ interface ConsumableResourceRequirementProperty {
2865
2867
  /**
2866
- * The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
2867
- *
2868
- * > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) .
2868
+ * The name or ARN of the consumable resource.
2869
2869
  *
2870
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-taskrolearn
2870
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-consumableresource
2871
2871
  */
2872
- readonly taskRoleArn?: string;
2872
+ readonly consumableResource?: string;
2873
2873
  /**
2874
- * A list of volumes that are associated with the job.
2874
+ * The quantity of the consumable resource that is needed.
2875
2875
  *
2876
- * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-volumes
2876
+ * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-quantity
2877
2877
  */
2878
- readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
2878
+ readonly quantity?: number;
2879
2879
  }
2880
2880
  /**
2881
2881
  * Specifies the resource retention policy settings for a job definition.