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