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