@aws-cdk/cfn-property-mixins 2.274.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.
- package/.jsii.gz +0 -0
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +452 -2
- package/lib/services/alexa-ask/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-accessanalyzer/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-accountaccess/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-acmpca/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-agentregistry/cfn-props-mixins.generated.d.ts +66 -0
- package/lib/services/aws-agentregistry/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-aiops/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-amazonmq/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-amplify/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-amplifyuibuilder/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-apigateway/cfn-props-mixins.generated.js +22 -22
- package/lib/services/aws-apigatewayv2/cfn-props-mixins.generated.js +15 -15
- package/lib/services/aws-appconfig/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-appfabric/cfn-props-mixins.generated.d.ts +118 -0
- package/lib/services/aws-appfabric/cfn-props-mixins.generated.js +103 -3
- package/lib/services/aws-appflow/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-appintegrations/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-applicationautoscaling/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-applicationinsights/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-applicationsignals/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-appmesh/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-apprunner/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-appstream/cfn-props-mixins.generated.d.ts +8 -0
- package/lib/services/aws-appstream/cfn-props-mixins.generated.js +14 -14
- package/lib/services/aws-appsync/cfn-props-mixins.generated.js +13 -13
- package/lib/services/aws-apptest/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-aps/cfn-props-mixins.generated.d.ts +36 -0
- package/lib/services/aws-aps/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-arcregionswitch/cfn-props-mixins.generated.d.ts +101 -12
- package/lib/services/aws-arcregionswitch/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-arczonalshift/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-athena/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-auditmanager/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-autoscaling/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-autoscalingplans/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-awsexternalanthropic/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-b2bi/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-backup/cfn-props-mixins.generated.d.ts +114 -0
- package/lib/services/aws-backup/cfn-props-mixins.generated.js +63 -11
- package/lib/services/aws-backupgateway/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-batch/cfn-props-mixins.generated.d.ts +586 -586
- package/lib/services/aws-batch/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-bcm/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-bcmdataexports/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-bcmpricingcalculator/cfn-props-mixins.generated.d.ts +78 -0
- package/lib/services/aws-bcmpricingcalculator/cfn-props-mixins.generated.js +53 -3
- package/lib/services/aws-bedrock/cfn-props-mixins.generated.d.ts +108 -0
- package/lib/services/aws-bedrock/cfn-props-mixins.generated.js +73 -23
- package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.d.ts +479 -20
- package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.js +78 -28
- package/lib/services/aws-bedrockmantle/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-billingconductor/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-braket/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-budgets/cfn-props-mixins.generated.d.ts +1 -1
- package/lib/services/aws-budgets/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-cases/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-cassandra/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-ce/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-certificatemanager/cfn-props-mixins.generated.d.ts +1 -1
- package/lib/services/aws-certificatemanager/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-chatbot/cfn-props-mixins.generated.d.ts +23 -23
- package/lib/services/aws-chatbot/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-chime/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-cleanrooms/cfn-props-mixins.generated.d.ts +57 -0
- package/lib/services/aws-cleanrooms/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-cleanroomsml/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-cloud9/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-cloudformation/cfn-props-mixins.generated.js +20 -20
- package/lib/services/aws-cloudfront/cfn-props-mixins.generated.d.ts +167 -0
- package/lib/services/aws-cloudfront/cfn-props-mixins.generated.js +74 -22
- package/lib/services/aws-cloudhsm/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-cloudtrail/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.d.ts +1198 -120
- package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.js +427 -15
- package/lib/services/aws-codeartifact/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-codebuild/cfn-props-mixins.generated.d.ts +14 -0
- package/lib/services/aws-codebuild/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-codecommit/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-codeconnections/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-codedeploy/cfn-props-mixins.generated.d.ts +23 -0
- package/lib/services/aws-codedeploy/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-codeguruprofiler/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-codegurureviewer/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-codepipeline/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-codestar/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-codestarconnections/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-codestarnotifications/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-cognito/cfn-props-mixins.generated.d.ts +15 -15
- package/lib/services/aws-cognito/cfn-props-mixins.generated.js +18 -18
- package/lib/services/aws-comprehend/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-computeoptimizer/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-config/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-connect/cfn-props-mixins.generated.d.ts +129 -0
- package/lib/services/aws-connect/cfn-props-mixins.generated.js +39 -39
- package/lib/services/aws-connectcampaigns/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-connectcampaignsv2/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-controltower/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-cur/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-customerprofiles/cfn-props-mixins.generated.d.ts +268 -0
- package/lib/services/aws-customerprofiles/cfn-props-mixins.generated.js +63 -13
- package/lib/services/aws-databrew/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-dataexchange/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-datapipeline/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-datasync/cfn-props-mixins.generated.js +13 -13
- package/lib/services/aws-datazone/cfn-props-mixins.generated.js +17 -17
- package/lib/services/aws-dax/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-deadline/cfn-props-mixins.generated.d.ts +15 -0
- package/lib/services/aws-deadline/cfn-props-mixins.generated.js +13 -13
- package/lib/services/aws-detective/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-devicefarm/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-devopsagent/cfn-props-mixins.generated.d.ts +137 -137
- package/lib/services/aws-devopsagent/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-devopsguru/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-directconnect/cfn-props-mixins.generated.d.ts +65 -0
- package/lib/services/aws-directconnect/cfn-props-mixins.generated.js +68 -8
- package/lib/services/aws-directoryservice/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-dlm/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-dms/cfn-props-mixins.generated.d.ts +7 -20
- package/lib/services/aws-dms/cfn-props-mixins.generated.js +12 -12
- package/lib/services/aws-docdb/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-docdbelastic/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-drs/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-dsql/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-dynamodb/cfn-props-mixins.generated.d.ts +13 -0
- package/lib/services/aws-dynamodb/cfn-props-mixins.generated.js +4 -3
- package/lib/services/aws-ec2/cfn-props-mixins.generated.d.ts +385 -0
- package/lib/services/aws-ec2/cfn-props-mixins.generated.js +280 -126
- package/lib/services/aws-ecr/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-ecs/cfn-props-mixins.generated.d.ts +535 -0
- package/lib/services/aws-ecs/cfn-props-mixins.generated.js +112 -12
- package/lib/services/aws-efs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-eks/cfn-props-mixins.generated.d.ts +38 -0
- package/lib/services/aws-eks/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-elasticache/cfn-props-mixins.generated.js +12 -12
- package/lib/services/aws-elasticbeanstalk/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-elasticloadbalancing/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-elasticloadbalancingv2/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-elasticsearch/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-elementalinference/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-emr/cfn-props-mixins.generated.d.ts +116 -22
- package/lib/services/aws-emr/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-emrcontainers/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-emrserverless/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-entityresolution/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-eventschemas/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-eventsv2/cfn-props-mixins.generated.d.ts +454 -0
- package/lib/services/aws-eventsv2/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-evidently/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-evs/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-finspace/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-fis/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-fms/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-forecast/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-frauddetector/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-fsx/cfn-props-mixins.generated.js +8 -8
- package/lib/services/aws-gamelift/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-gameliftstreams/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-globalaccelerator/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-glue/cfn-props-mixins.generated.js +29 -29
- package/lib/services/aws-grafana/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-greengrass/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-greengrassv2/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-groundstation/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-guardduty/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-healthagent/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-healthimaging/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-healthlake/cfn-props-mixins.generated.d.ts +67 -0
- package/lib/services/aws-healthlake/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-iam/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-identitystore/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-imagebuilder/cfn-props-mixins.generated.d.ts +138 -0
- package/lib/services/aws-imagebuilder/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-inspector/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-inspectorv2/cfn-props-mixins.generated.d.ts +4 -0
- package/lib/services/aws-inspectorv2/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-interconnect/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-internetmonitor/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-invoicing/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-iot/cfn-props-mixins.generated.d.ts +496 -2
- package/lib/services/aws-iot/cfn-props-mixins.generated.js +84 -34
- package/lib/services/aws-iotanalytics/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-iotcoredeviceadvisor/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-iotevents/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-iotfleethub/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-iotfleetwise/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-iotsecuretunneling/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-iotsitewise/cfn-props-mixins.generated.js +13 -13
- package/lib/services/aws-iotthingsgraph/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-iottwinmaker/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-iotwireless/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-ivs/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-ivschat/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-kafkaconnect/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-kendra/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-kendraranking/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-kinesis/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-kinesisanalytics/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-kinesisanalyticsv2/cfn-props-mixins.generated.d.ts +16 -0
- package/lib/services/aws-kinesisanalyticsv2/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-kinesisfirehose/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-kinesisvideo/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-kms/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-lakeformation/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-lambda/cfn-props-mixins.generated.d.ts +13 -1
- package/lib/services/aws-lambda/cfn-props-mixins.generated.js +18 -18
- package/lib/services/aws-launchwizard/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-lex/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-licensemanager/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-licensemanagerlinuxsubscriptions/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-licensemanagerusersubscriptions/.jsiirc.json +13 -0
- package/lib/services/aws-licensemanagerusersubscriptions/cfn-props-mixins.generated.d.ts +198 -0
- package/lib/services/aws-licensemanagerusersubscriptions/cfn-props-mixins.generated.js +93 -0
- package/lib/services/aws-licensemanagerusersubscriptions/index.d.ts +1 -0
- package/lib/services/aws-licensemanagerusersubscriptions/index.js +17 -0
- package/lib/services/aws-lightsail/cfn-props-mixins.generated.js +17 -17
- package/lib/services/aws-location/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-logs/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-lookoutequipment/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-lookoutmetrics/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-lookoutvision/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-m2/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-macie/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-managedblockchain/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.d.ts +2048 -984
- package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.js +115 -15
- package/lib/services/aws-mediaconvert/cfn-props-mixins.generated.d.ts +43 -0
- package/lib/services/aws-mediaconvert/cfn-props-mixins.generated.js +54 -4
- package/lib/services/aws-medialive/cfn-props-mixins.generated.d.ts +440 -26
- package/lib/services/aws-medialive/cfn-props-mixins.generated.js +15 -15
- package/lib/services/aws-mediapackage/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-mediapackagev2/cfn-props-mixins.generated.d.ts +197 -21
- package/lib/services/aws-mediapackagev2/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-mediastore/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-mediatailor/cfn-props-mixins.generated.d.ts +105 -46
- package/lib/services/aws-mediatailor/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-memorydb/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-mgn/cfn-props-mixins.generated.d.ts +274 -0
- package/lib/services/aws-mgn/cfn-props-mixins.generated.js +156 -4
- package/lib/services/aws-mpa/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-msk/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-mwaa/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-mwaaserverless/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-neptune/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-neptunegraph/cfn-props-mixins.generated.d.ts +15 -15
- package/lib/services/aws-neptunegraph/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-networkfirewall/cfn-props-mixins.generated.d.ts +140 -0
- package/lib/services/aws-networkfirewall/cfn-props-mixins.generated.js +20 -8
- package/lib/services/aws-networkflowmonitor/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-networkmanager/cfn-props-mixins.generated.js +17 -17
- package/lib/services/aws-networkmonitor/cfn-props-mixins.generated.d.ts +83 -0
- package/lib/services/aws-networkmonitor/cfn-props-mixins.generated.js +52 -2
- package/lib/services/aws-networksecuritymanager/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-nimblestudio/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-notifications/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-notificationscontacts/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-novaact/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-oam/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-observabilityadmin/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-odb/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-omics/cfn-props-mixins.generated.d.ts +6 -0
- package/lib/services/aws-omics/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-opensearchserverless/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-opensearchservice/cfn-props-mixins.generated.d.ts +16 -0
- package/lib/services/aws-opensearchservice/cfn-props-mixins.generated.js +4 -3
- package/lib/services/aws-opsworks/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-opsworkscm/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-organizations/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-osis/cfn-props-mixins.generated.d.ts +72 -0
- package/lib/services/aws-osis/cfn-props-mixins.generated.js +52 -2
- package/lib/services/aws-outposts/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-panorama/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-paymentcryptography/cfn-props-mixins.generated.d.ts +12 -0
- package/lib/services/aws-paymentcryptography/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-pcaconnectorad/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-pcaconnectorscep/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-pcs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-personalize/cfn-props-mixins.generated.d.ts +119 -0
- package/lib/services/aws-personalize/cfn-props-mixins.generated.js +59 -9
- package/lib/services/aws-pinpoint/cfn-props-mixins.generated.js +19 -19
- package/lib/services/aws-pinpointemail/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-pipes/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-polly/.jsiirc.json +13 -0
- package/lib/services/aws-polly/cfn-props-mixins.generated.d.ts +57 -0
- package/lib/services/aws-polly/cfn-props-mixins.generated.js +93 -0
- package/lib/services/aws-polly/index.d.ts +1 -0
- package/lib/services/aws-polly/index.js +17 -0
- package/lib/services/aws-pricingplanmanager/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-proton/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-qbusiness/cfn-props-mixins.generated.js +8 -8
- package/lib/services/aws-qldb/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-quicksight/cfn-props-mixins.generated.d.ts +1269 -10
- package/lib/services/aws-quicksight/cfn-props-mixins.generated.js +173 -23
- package/lib/services/aws-ram/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-rbin/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-rds/cfn-props-mixins.generated.d.ts +161 -0
- package/lib/services/aws-rds/cfn-props-mixins.generated.js +73 -21
- package/lib/services/aws-redshift/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-redshiftserverless/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-refactorspaces/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-rekognition/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-resiliencehub/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-resiliencehubv2/cfn-props-mixins.generated.d.ts +25 -0
- package/lib/services/aws-resiliencehubv2/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-resourceexplorer2/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-resourcegroups/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-robomaker/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-rolesanywhere/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-route53/cfn-props-mixins.generated.d.ts +4 -0
- package/lib/services/aws-route53/cfn-props-mixins.generated.js +12 -12
- package/lib/services/aws-route53globalresolver/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-route53profiles/cfn-props-mixins.generated.d.ts +8 -0
- package/lib/services/aws-route53profiles/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-route53recoverycontrol/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-route53recoveryreadiness/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-route53resolver/cfn-props-mixins.generated.d.ts +53 -0
- package/lib/services/aws-route53resolver/cfn-props-mixins.generated.js +64 -12
- package/lib/services/aws-rtbfabric/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-rum/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-s3/cfn-props-mixins.generated.d.ts +18 -0
- package/lib/services/aws-s3/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-s3express/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-s3files/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-s3objectlambda/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-s3outposts/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-s3tables/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-s3vectors/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-sagemaker/cfn-props-mixins.generated.d.ts +246 -0
- package/lib/services/aws-sagemaker/cfn-props-mixins.generated.js +100 -48
- package/lib/services/aws-sam/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-scheduler/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-scn/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-sdb/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-secretsmanager/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-securityagent/cfn-props-mixins.generated.d.ts +349 -0
- package/lib/services/aws-securityagent/cfn-props-mixins.generated.js +61 -9
- package/lib/services/aws-securityhub/cfn-props-mixins.generated.d.ts +59 -0
- package/lib/services/aws-securityhub/cfn-props-mixins.generated.js +67 -17
- package/lib/services/aws-securitylake/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-serverlessrepo/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-servicecatalog/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-servicecatalogappregistry/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-servicediscovery/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-ses/cfn-props-mixins.generated.d.ts +63 -0
- package/lib/services/aws-ses/cfn-props-mixins.generated.js +23 -23
- package/lib/services/aws-shield/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-signer/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-simspaceweaver/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-smsvoice/cfn-props-mixins.generated.js +12 -12
- package/lib/services/aws-sns/cfn-props-mixins.generated.d.ts +5 -0
- package/lib/services/aws-sns/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-sqs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-ssm/cfn-props-mixins.generated.js +12 -12
- package/lib/services/aws-ssmcontacts/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-ssmguiconnect/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-ssmincidents/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-ssmquicksetup/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-sso/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-stepfunctions/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-storagegateway/cfn-props-mixins.generated.d.ts +467 -0
- package/lib/services/aws-storagegateway/cfn-props-mixins.generated.js +108 -4
- package/lib/services/aws-supportapp/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-supportauthz/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-synthetics/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-systemsmanagersap/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-textract/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-timestream/cfn-props-mixins.generated.d.ts +186 -0
- package/lib/services/aws-timestream/cfn-props-mixins.generated.js +60 -8
- package/lib/services/aws-transcribe/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-transfer/cfn-props-mixins.generated.d.ts +49 -0
- package/lib/services/aws-transfer/cfn-props-mixins.generated.js +12 -12
- package/lib/services/aws-translate/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-uxc/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-verifiedpermissions/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-voiceid/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-vpclattice/cfn-props-mixins.generated.js +14 -14
- package/lib/services/aws-waf/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-wafregional/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-wafv2/cfn-props-mixins.generated.d.ts +88 -82
- package/lib/services/aws-wafv2/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-wellarchitected/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-wickr/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-wisdom/cfn-props-mixins.generated.d.ts +95 -0
- package/lib/services/aws-wisdom/cfn-props-mixins.generated.js +14 -14
- package/lib/services/aws-workspaces/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-workspacesinstances/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-workspacesthinclient/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-workspacesweb/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-xray/cfn-props-mixins.generated.d.ts +29 -0
- package/lib/services/aws-xray/cfn-props-mixins.generated.js +5 -5
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.js +6 -4
- package/package.json +8 -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
|
|
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-
|
|
1801
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html
|
|
1802
1802
|
*/
|
|
1803
|
-
interface
|
|
1803
|
+
interface EksPropertiesProperty {
|
|
1804
1804
|
/**
|
|
1805
|
-
*
|
|
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-
|
|
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
|
|
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-
|
|
1814
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html
|
|
1821
1815
|
*/
|
|
1822
|
-
interface
|
|
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
|
-
*
|
|
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
|
|
1820
|
+
readonly containers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
1853
1821
|
/**
|
|
1854
|
-
*
|
|
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
|
|
1824
|
+
readonly dnsPolicy?: string;
|
|
1869
1825
|
/**
|
|
1870
|
-
*
|
|
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
|
|
1828
|
+
readonly hostNetwork?: boolean | cdk.IResolvable;
|
|
1877
1829
|
/**
|
|
1878
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
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
|
|
1832
|
+
readonly imagePullSecrets?: Array<CfnJobDefinitionPropsMixin.ImagePullSecretProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
1881
1833
|
/**
|
|
1882
|
-
*
|
|
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
|
|
1836
|
+
readonly initContainers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
1895
1837
|
/**
|
|
1896
|
-
*
|
|
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
|
|
1840
|
+
readonly metadata?: cdk.IResolvable | CfnJobDefinitionPropsMixin.MetadataProperty;
|
|
1903
1841
|
/**
|
|
1904
|
-
*
|
|
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
|
|
1844
|
+
readonly serviceAccountName?: string;
|
|
1909
1845
|
/**
|
|
1910
|
-
*
|
|
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
|
|
1848
|
+
readonly shareProcessNamespace?: boolean | cdk.IResolvable;
|
|
1917
1849
|
/**
|
|
1918
|
-
*
|
|
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<
|
|
1852
|
+
readonly volumes?: Array<CfnJobDefinitionPropsMixin.EksVolumeProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
1923
1853
|
}
|
|
1924
1854
|
/**
|
|
1925
|
-
*
|
|
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-
|
|
1859
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html
|
|
1932
1860
|
*/
|
|
1933
|
-
interface
|
|
1861
|
+
interface EksVolumeProperty {
|
|
1934
1862
|
/**
|
|
1935
|
-
*
|
|
1863
|
+
* Specifies the configuration of a Kubernetes `emptyDir` volume.
|
|
1936
1864
|
*
|
|
1937
|
-
*
|
|
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-
|
|
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
|
|
1869
|
+
readonly emptyDir?: CfnJobDefinitionPropsMixin.EmptyDirProperty | cdk.IResolvable;
|
|
1942
1870
|
/**
|
|
1943
|
-
*
|
|
1871
|
+
* Specifies the configuration of a Kubernetes `hostPath` volume.
|
|
1944
1872
|
*
|
|
1945
|
-
*
|
|
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
|
|
1877
|
+
readonly hostPath?: CfnJobDefinitionPropsMixin.HostPathProperty | cdk.IResolvable;
|
|
1948
1878
|
/**
|
|
1949
|
-
* The
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
1885
|
+
readonly name?: string;
|
|
1958
1886
|
/**
|
|
1959
|
-
*
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
1893
|
+
readonly persistentVolumeClaim?: CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty | cdk.IResolvable;
|
|
1968
1894
|
/**
|
|
1969
|
-
*
|
|
1895
|
+
* Specifies the configuration of a Kubernetes `secret` volume.
|
|
1970
1896
|
*
|
|
1971
|
-
*
|
|
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-
|
|
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
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
1918
|
+
readonly optional?: boolean | cdk.IResolvable;
|
|
1984
1919
|
/**
|
|
1985
|
-
*
|
|
1920
|
+
* The name of the secret.
|
|
1986
1921
|
*
|
|
1987
|
-
* For more information, see [
|
|
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-
|
|
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
|
|
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
|
-
*
|
|
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
|
|
1937
|
+
readonly medium?: string;
|
|
2008
1938
|
/**
|
|
2009
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
1969
|
+
readonly claimName?: string;
|
|
2026
1970
|
/**
|
|
2027
|
-
*
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
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
|
-
*
|
|
1990
|
+
* An array of arguments to the entrypoint.
|
|
2038
1991
|
*
|
|
2039
|
-
* This
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
1998
|
+
readonly args?: Array<string>;
|
|
2046
1999
|
/**
|
|
2047
|
-
* The
|
|
2000
|
+
* The entrypoint for the container.
|
|
2048
2001
|
*
|
|
2049
|
-
*
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
2008
|
+
readonly command?: Array<string>;
|
|
2060
2009
|
/**
|
|
2061
|
-
* The
|
|
2010
|
+
* The environment variables to pass to a container.
|
|
2062
2011
|
*
|
|
2063
|
-
*
|
|
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-
|
|
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
|
|
2016
|
+
readonly env?: Array<CfnJobDefinitionPropsMixin.EksContainerEnvironmentVariableProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2072
2017
|
/**
|
|
2073
|
-
*
|
|
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
|
|
2022
|
+
readonly image?: string;
|
|
2076
2023
|
/**
|
|
2077
|
-
*
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
2030
|
+
readonly imagePullPolicy?: string;
|
|
2090
2031
|
/**
|
|
2091
|
-
* The
|
|
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
|
-
*
|
|
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
|
-
* -
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
*
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
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
|
|
2048
|
+
* The security context for a job.
|
|
2122
2049
|
*
|
|
2123
|
-
*
|
|
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-
|
|
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
|
|
2054
|
+
readonly securityContext?: cdk.IResolvable | CfnJobDefinitionPropsMixin.SecurityContextProperty;
|
|
2130
2055
|
/**
|
|
2131
|
-
*
|
|
2056
|
+
* The volume mounts for the container.
|
|
2132
2057
|
*
|
|
2133
|
-
*
|
|
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
|
|
2062
|
+
readonly volumeMounts?: Array<CfnJobDefinitionPropsMixin.EksContainerVolumeMountProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2136
2063
|
}
|
|
2137
2064
|
/**
|
|
2138
|
-
*
|
|
2065
|
+
* The volume mounts for a container for an Amazon EKS job.
|
|
2139
2066
|
*
|
|
2140
|
-
*
|
|
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-
|
|
2071
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html
|
|
2145
2072
|
*/
|
|
2146
|
-
interface
|
|
2073
|
+
interface EksContainerVolumeMountProperty {
|
|
2147
2074
|
/**
|
|
2148
|
-
* The path on the container where the
|
|
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-
|
|
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
|
|
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-
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
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-
|
|
2106
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html
|
|
2176
2107
|
*/
|
|
2177
|
-
interface
|
|
2108
|
+
interface SecurityContextProperty {
|
|
2178
2109
|
/**
|
|
2179
|
-
*
|
|
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
|
|
2112
|
+
readonly allowPrivilegeEscalation?: boolean | cdk.IResolvable;
|
|
2186
2113
|
/**
|
|
2187
|
-
*
|
|
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
|
|
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-
|
|
2137
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html
|
|
2203
2138
|
*/
|
|
2204
|
-
interface
|
|
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
|
-
*
|
|
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-
|
|
2419
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html
|
|
2377
2420
|
*/
|
|
2378
|
-
interface
|
|
2421
|
+
interface TaskContainerPropertiesProperty {
|
|
2379
2422
|
/**
|
|
2380
|
-
* The
|
|
2423
|
+
* The command that's passed to the container.
|
|
2381
2424
|
*
|
|
2382
|
-
*
|
|
2383
|
-
|
|
2384
|
-
|
|
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
|
|
2429
|
+
readonly command?: Array<string>;
|
|
2404
2430
|
/**
|
|
2405
|
-
*
|
|
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
|
|
2435
|
+
readonly dependsOn?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty> | cdk.IResolvable;
|
|
2408
2436
|
/**
|
|
2409
|
-
*
|
|
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
|
|
2445
|
+
readonly environment?: Array<CfnJobDefinitionPropsMixin.EnvironmentProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2412
2446
|
/**
|
|
2413
|
-
*
|
|
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
|
|
2455
|
+
readonly essential?: boolean | cdk.IResolvable;
|
|
2416
2456
|
/**
|
|
2417
|
-
*
|
|
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
|
|
2463
|
+
readonly firelensConfiguration?: CfnJobDefinitionPropsMixin.FirelensConfigurationProperty | cdk.IResolvable;
|
|
2420
2464
|
/**
|
|
2421
|
-
*
|
|
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
|
|
2471
|
+
readonly image?: string;
|
|
2424
2472
|
/**
|
|
2425
|
-
*
|
|
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
|
|
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
|
-
*
|
|
2481
|
+
* The log configuration specification for the container.
|
|
2439
2482
|
*
|
|
2440
|
-
*
|
|
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
|
-
*
|
|
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
|
|
2495
|
+
readonly logConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LogConfigurationProperty;
|
|
2445
2496
|
/**
|
|
2446
|
-
*
|
|
2497
|
+
* The mount points for data volumes in your container.
|
|
2447
2498
|
*
|
|
2448
|
-
*
|
|
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
|
-
*
|
|
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
|
|
2505
|
+
readonly mountPoints?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.MountPointProperty> | cdk.IResolvable;
|
|
2453
2506
|
/**
|
|
2454
|
-
* The name of
|
|
2507
|
+
* The name of a container.
|
|
2455
2508
|
*
|
|
2456
|
-
* The name
|
|
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-
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
2523
|
+
readonly privileged?: boolean | cdk.IResolvable;
|
|
2469
2524
|
/**
|
|
2470
|
-
*
|
|
2525
|
+
* When this parameter is true, the container is given read-only access to its root file system.
|
|
2471
2526
|
*
|
|
2472
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
-
*
|
|
2535
|
+
* The private repository authentication credentials to use.
|
|
2490
2536
|
*
|
|
2491
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
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
|
|
2539
|
+
readonly repositoryCredentials?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RepositoryCredentialsProperty;
|
|
2494
2540
|
/**
|
|
2495
|
-
* The
|
|
2541
|
+
* The type and amount of a resource to assign to a container.
|
|
2496
2542
|
*
|
|
2497
|
-
* The
|
|
2543
|
+
* The only supported resource is a GPU.
|
|
2498
2544
|
*
|
|
2499
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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-
|
|
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
|
|
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-
|
|
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
|
|
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
|
-
*
|
|
2565
|
+
* A list of `ulimits` to set in the container.
|
|
2539
2566
|
*
|
|
2540
|
-
*
|
|
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
|
-
*
|
|
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
|
|
2577
|
+
readonly ulimits?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.UlimitProperty> | cdk.IResolvable;
|
|
2545
2578
|
/**
|
|
2546
|
-
*
|
|
2579
|
+
* The user to use inside the container.
|
|
2547
2580
|
*
|
|
2548
|
-
*
|
|
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
|
-
*
|
|
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
|
|
2598
|
+
readonly user?: string;
|
|
2553
2599
|
}
|
|
2554
2600
|
/**
|
|
2555
|
-
*
|
|
2601
|
+
* Details for a Docker volume mount point that's used in a job's container properties.
|
|
2556
2602
|
*
|
|
2557
|
-
* This
|
|
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-
|
|
2607
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html
|
|
2562
2608
|
*/
|
|
2563
|
-
interface
|
|
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
|
|
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-
|
|
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
|
|
2615
|
+
readonly containerPath?: string;
|
|
2584
2616
|
/**
|
|
2585
|
-
*
|
|
2617
|
+
* If this value is `true` , the container has read-only access to the volume.
|
|
2586
2618
|
*
|
|
2587
|
-
*
|
|
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-
|
|
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
|
|
2623
|
+
readonly readOnly?: boolean | cdk.IResolvable;
|
|
2592
2624
|
/**
|
|
2593
|
-
* The
|
|
2625
|
+
* The name of the volume to mount.
|
|
2594
2626
|
*
|
|
2595
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
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
|
|
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
|
|
2642
|
+
* The options to use when configuring the log router.
|
|
2600
2643
|
*
|
|
2601
|
-
*
|
|
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-
|
|
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
|
|
2648
|
+
readonly options?: cdk.IResolvable | Record<string, string>;
|
|
2606
2649
|
/**
|
|
2607
|
-
* The
|
|
2650
|
+
* The log router to use.
|
|
2608
2651
|
*
|
|
2609
|
-
*
|
|
2652
|
+
* The valid values are `fluentd` or `fluentbit` .
|
|
2610
2653
|
*
|
|
2611
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
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
|
|
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
|
|
2667
|
+
* The dependency condition of the container. The following are the available conditions and their behavior:.
|
|
2616
2668
|
*
|
|
2617
|
-
*
|
|
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-
|
|
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
|
|
2675
|
+
readonly condition?: string;
|
|
2622
2676
|
/**
|
|
2623
|
-
*
|
|
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-
|
|
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
|
|
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
|
-
*
|
|
2692
|
+
* An object that contains the properties for the Amazon ECS task definition of a job.
|
|
2632
2693
|
*
|
|
2633
|
-
*
|
|
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-
|
|
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
|
|
2698
|
+
readonly taskProperties?: Array<CfnJobDefinitionPropsMixin.EcsTaskPropertiesProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2638
2699
|
}
|
|
2639
2700
|
/**
|
|
2640
|
-
* The
|
|
2701
|
+
* The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
|
|
2641
2702
|
*
|
|
2642
|
-
*
|
|
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-
|
|
2707
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html
|
|
2647
2708
|
*/
|
|
2648
|
-
interface
|
|
2709
|
+
interface EcsTaskPropertiesProperty {
|
|
2649
2710
|
/**
|
|
2650
|
-
*
|
|
2711
|
+
* This object is a list of containers.
|
|
2651
2712
|
*
|
|
2652
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
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
|
|
2715
|
+
readonly containers?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerPropertiesProperty> | cdk.IResolvable;
|
|
2655
2716
|
/**
|
|
2656
|
-
*
|
|
2717
|
+
* Determines whether execute command functionality is turned on for this task.
|
|
2657
2718
|
*
|
|
2658
|
-
*
|
|
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-
|
|
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
|
|
2723
|
+
readonly enableExecuteCommand?: boolean | cdk.IResolvable;
|
|
2663
2724
|
/**
|
|
2664
|
-
*
|
|
2725
|
+
* The amount of ephemeral storage to allocate for the task.
|
|
2665
2726
|
*
|
|
2666
|
-
*
|
|
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-
|
|
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
|
|
2731
|
+
readonly ephemeralStorage?: CfnJobDefinitionPropsMixin.EphemeralStorageProperty | cdk.IResolvable;
|
|
2671
2732
|
/**
|
|
2672
|
-
*
|
|
2733
|
+
* The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume.
|
|
2673
2734
|
*
|
|
2674
|
-
*
|
|
2675
|
-
|
|
2676
|
-
|
|
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
|
|
2739
|
+
readonly executionRoleArn?: string;
|
|
2704
2740
|
/**
|
|
2705
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
|
2763
|
+
readonly networkConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.NetworkConfigurationProperty;
|
|
2719
2764
|
/**
|
|
2720
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
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
|
|
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
|
|
2769
|
+
* The process namespace to use for the containers in the task.
|
|
2734
2770
|
*
|
|
2735
|
-
*
|
|
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
|
-
*
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
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
|
|
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
|
-
*
|
|
2783
|
+
* The Fargate platform version where the jobs are running.
|
|
2768
2784
|
*
|
|
2769
|
-
*
|
|
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-
|
|
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
|
|
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
|
-
*
|
|
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-
|
|
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
|
|
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
|
|
2797
|
+
* The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
|
|
2800
2798
|
*
|
|
2801
|
-
*
|
|
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
|
|
2803
|
+
readonly taskRoleArn?: string;
|
|
2804
2804
|
/**
|
|
2805
|
-
*
|
|
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-
|
|
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
|
|
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.
|