@aws-cdk/cfn-property-mixins 2.276.0 → 2.278.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii.gz +0 -0
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +8231 -1139
- 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 +1 -1
- package/lib/services/aws-agentregistry/cfn-props-mixins.generated.js +2 -2
- 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.js +4 -4
- package/lib/services/aws-appflow/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-appintegrations/cfn-props-mixins.generated.d.ts +23 -0
- package/lib/services/aws-appintegrations/cfn-props-mixins.generated.js +4 -4
- 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.js +13 -13
- 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.js +5 -5
- package/lib/services/aws-arcregionswitch/cfn-props-mixins.generated.d.ts +12 -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.d.ts +59 -0
- package/lib/services/aws-athena/cfn-props-mixins.generated.js +58 -6
- 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.js +11 -11
- package/lib/services/aws-backupgateway/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-batch/cfn-props-mixins.generated.d.ts +613 -544
- 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.js +3 -3
- package/lib/services/aws-bedrock/cfn-props-mixins.generated.js +23 -23
- package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.d.ts +285 -25
- package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.js +29 -29
- 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.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.js +5 -5
- package/lib/services/aws-chatbot/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-chime/cfn-props-mixins.generated.js +9 -9
- 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.js +22 -22
- package/lib/services/aws-cloudhsm/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-cloudtrail/cfn-props-mixins.generated.d.ts +8 -0
- package/lib/services/aws-cloudtrail/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.d.ts +423 -8
- package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.js +127 -21
- package/lib/services/aws-codeartifact/cfn-props-mixins.generated.js +3 -3
- 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.js +3 -3
- 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 +154 -0
- package/lib/services/aws-cognito/cfn-props-mixins.generated.js +123 -19
- 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.d.ts +97 -2
- package/lib/services/aws-config/cfn-props-mixins.generated.js +12 -12
- package/lib/services/aws-connect/cfn-props-mixins.generated.d.ts +23 -0
- package/lib/services/aws-connect/cfn-props-mixins.generated.js +40 -40
- 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.js +11 -11
- 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.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 +198 -0
- package/lib/services/aws-devopsagent/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-devopsguru/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-directconnect/cfn-props-mixins.generated.js +8 -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 +12 -0
- package/lib/services/aws-dms/cfn-props-mixins.generated.js +11 -11
- 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.d.ts +25 -0
- package/lib/services/aws-dsql/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-dynamodb/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-ec2/cfn-props-mixins.generated.d.ts +365 -0
- package/lib/services/aws-ec2/cfn-props-mixins.generated.js +280 -130
- package/lib/services/aws-ecr/cfn-props-mixins.generated.d.ts +17 -0
- package/lib/services/aws-ecr/cfn-props-mixins.generated.js +10 -9
- package/lib/services/aws-ecs/cfn-props-mixins.generated.d.ts +42 -0
- package/lib/services/aws-ecs/cfn-props-mixins.generated.js +13 -13
- package/lib/services/aws-efs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-eks/cfn-props-mixins.generated.d.ts +41 -0
- package/lib/services/aws-eks/cfn-props-mixins.generated.js +10 -10
- 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.js +8 -8
- package/lib/services/aws-emrcontainers/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-emrserverless/cfn-props-mixins.generated.d.ts +7 -0
- 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.js +4 -4
- 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.d.ts +48 -0
- package/lib/services/aws-gamelift/cfn-props-mixins.generated.js +12 -12
- 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.d.ts +165 -0
- 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.js +2 -2
- 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.js +9 -9
- package/lib/services/aws-inspector/cfn-props-mixins.generated.js +3 -3
- 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.js +33 -33
- 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 +220 -0
- package/lib/services/aws-kinesisanalyticsv2/cfn-props-mixins.generated.js +57 -5
- 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 +514 -79
- package/lib/services/aws-lambda/cfn-props-mixins.generated.js +175 -19
- 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/cfn-props-mixins.generated.js +1 -1
- 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 +521 -0
- package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.js +17 -17
- package/lib/services/aws-mediaconvert/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-medialive/cfn-props-mixins.generated.d.ts +62 -0
- 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.js +5 -5
- package/lib/services/aws-mediastore/cfn-props-mixins.generated.js +1 -1
- 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.js +6 -6
- package/lib/services/aws-mpa/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-msk/cfn-props-mixins.generated.d.ts +4 -0
- package/lib/services/aws-msk/cfn-props-mixins.generated.js +12 -11
- package/lib/services/aws-mwaa/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-mwaaserverless/cfn-props-mixins.generated.d.ts +23 -0
- package/lib/services/aws-mwaaserverless/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-neptune/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-neptunegraph/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-networkfirewall/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-networkflowmonitor/cfn-props-mixins.generated.d.ts +84 -0
- package/lib/services/aws-networkflowmonitor/cfn-props-mixins.generated.js +53 -3
- package/lib/services/aws-networkmanager/cfn-props-mixins.generated.d.ts +298 -0
- package/lib/services/aws-networkmanager/cfn-props-mixins.generated.js +122 -22
- package/lib/services/aws-networkmonitor/cfn-props-mixins.generated.js +2 -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.js +9 -9
- package/lib/services/aws-opensearchserverless/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-opensearchservice/cfn-props-mixins.generated.js +2 -2
- 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.js +2 -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 +4 -4
- 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.d.ts +24 -0
- package/lib/services/aws-pcs/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-personalize/cfn-props-mixins.generated.js +9 -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/cfn-props-mixins.generated.js +1 -1
- 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 +269 -14
- package/lib/services/aws-quicksight/cfn-props-mixins.generated.js +26 -26
- 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.js +20 -20
- 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.js +5 -5
- 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.d.ts +4 -0
- package/lib/services/aws-rolesanywhere/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-route53/cfn-props-mixins.generated.d.ts +172 -0
- package/lib/services/aws-route53/cfn-props-mixins.generated.js +118 -12
- package/lib/services/aws-route53globalresolver/cfn-props-mixins.generated.d.ts +12 -0
- package/lib/services/aws-route53globalresolver/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-route53profiles/cfn-props-mixins.generated.js +3 -3
- 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.js +12 -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.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.d.ts +71 -0
- package/lib/services/aws-s3tables/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-s3vectors/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-sagemaker/cfn-props-mixins.generated.d.ts +98 -0
- package/lib/services/aws-sagemaker/cfn-props-mixins.generated.js +101 -49
- 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.js +8 -8
- package/lib/services/aws-securityhub/cfn-props-mixins.generated.d.ts +2 -2
- package/lib/services/aws-securityhub/cfn-props-mixins.generated.js +17 -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 +1 -1
- package/lib/services/aws-ses/cfn-props-mixins.generated.js +22 -22
- 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.js +4 -4
- package/lib/services/aws-sqs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-ssm/cfn-props-mixins.generated.d.ts +140 -2
- package/lib/services/aws-ssm/cfn-props-mixins.generated.js +65 -13
- 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.d.ts +117 -0
- package/lib/services/aws-sso/cfn-props-mixins.generated.js +57 -7
- package/lib/services/aws-stepfunctions/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-storagegateway/cfn-props-mixins.generated.js +5 -5
- 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.js +6 -6
- package/lib/services/aws-transcribe/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-transfer/cfn-props-mixins.generated.js +9 -9
- 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.d.ts +10 -0
- 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 +162 -0
- package/lib/services/aws-wafv2/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-wellarchitected/cfn-props-mixins.generated.d.ts +140 -0
- package/lib/services/aws-wellarchitected/cfn-props-mixins.generated.js +112 -8
- package/lib/services/aws-wickr/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-wisdom/cfn-props-mixins.generated.d.ts +27 -0
- package/lib/services/aws-wisdom/cfn-props-mixins.generated.js +15 -15
- 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.js +4 -4
- package/package.json +6 -6
|
@@ -1794,444 +1794,403 @@ 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 Amazon ECS resources of a job.
|
|
1798
1798
|
*
|
|
1799
1799
|
* @struct
|
|
1800
1800
|
* @stability external
|
|
1801
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1801
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html
|
|
1802
1802
|
*/
|
|
1803
|
-
interface
|
|
1803
|
+
interface EcsPropertiesProperty {
|
|
1804
1804
|
/**
|
|
1805
|
-
*
|
|
1805
|
+
* An object that contains the properties for the Amazon ECS task definition of a job.
|
|
1806
1806
|
*
|
|
1807
|
-
*
|
|
1807
|
+
* > This object is currently limited to one task element. However, the task element can run up to 10 containers.
|
|
1808
|
+
*
|
|
1809
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html#cfn-batch-jobdefinition-ecsproperties-taskproperties
|
|
1808
1810
|
*/
|
|
1809
|
-
readonly
|
|
1811
|
+
readonly taskProperties?: Array<CfnJobDefinitionPropsMixin.EcsTaskPropertiesProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
1810
1812
|
}
|
|
1811
1813
|
/**
|
|
1814
|
+
* The properties for a task definition that describes the container and volume definitions of an Amazon ECS task.
|
|
1815
|
+
*
|
|
1816
|
+
* You can specify which Docker images to use, the required resources, and other configurations related to launching the task definition through an Amazon ECS service or task.
|
|
1817
|
+
*
|
|
1812
1818
|
* @struct
|
|
1813
1819
|
* @stability external
|
|
1814
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1820
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html
|
|
1815
1821
|
*/
|
|
1816
|
-
interface
|
|
1817
|
-
/**
|
|
1818
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-containers
|
|
1819
|
-
*/
|
|
1820
|
-
readonly containers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
1821
|
-
/**
|
|
1822
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-dnspolicy
|
|
1823
|
-
*/
|
|
1824
|
-
readonly dnsPolicy?: string;
|
|
1825
|
-
/**
|
|
1826
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-hostnetwork
|
|
1827
|
-
*/
|
|
1828
|
-
readonly hostNetwork?: boolean | cdk.IResolvable;
|
|
1829
|
-
/**
|
|
1830
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-imagepullsecrets
|
|
1831
|
-
*/
|
|
1832
|
-
readonly imagePullSecrets?: Array<CfnJobDefinitionPropsMixin.ImagePullSecretProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
1833
|
-
/**
|
|
1834
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-initcontainers
|
|
1835
|
-
*/
|
|
1836
|
-
readonly initContainers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
1837
|
-
/**
|
|
1838
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-metadata
|
|
1839
|
-
*/
|
|
1840
|
-
readonly metadata?: cdk.IResolvable | CfnJobDefinitionPropsMixin.MetadataProperty;
|
|
1841
|
-
/**
|
|
1842
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-serviceaccountname
|
|
1843
|
-
*/
|
|
1844
|
-
readonly serviceAccountName?: string;
|
|
1845
|
-
/**
|
|
1846
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-shareprocessnamespace
|
|
1847
|
-
*/
|
|
1848
|
-
readonly shareProcessNamespace?: boolean | cdk.IResolvable;
|
|
1822
|
+
interface EcsTaskPropertiesProperty {
|
|
1849
1823
|
/**
|
|
1850
|
-
*
|
|
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
|
|
1851
1827
|
*/
|
|
1852
|
-
readonly
|
|
1853
|
-
}
|
|
1854
|
-
/**
|
|
1855
|
-
* Specifies an Amazon EKS volume for a job definition.
|
|
1856
|
-
*
|
|
1857
|
-
* @struct
|
|
1858
|
-
* @stability external
|
|
1859
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html
|
|
1860
|
-
*/
|
|
1861
|
-
interface EksVolumeProperty {
|
|
1828
|
+
readonly containers?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerPropertiesProperty> | cdk.IResolvable;
|
|
1862
1829
|
/**
|
|
1863
|
-
*
|
|
1830
|
+
* Determines whether execute command functionality is turned on for this task.
|
|
1864
1831
|
*
|
|
1865
|
-
*
|
|
1832
|
+
* If `true` , execute command functionality is turned on all the containers in the task.
|
|
1866
1833
|
*
|
|
1867
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1834
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-enableexecutecommand
|
|
1868
1835
|
*/
|
|
1869
|
-
readonly
|
|
1836
|
+
readonly enableExecuteCommand?: boolean | cdk.IResolvable;
|
|
1870
1837
|
/**
|
|
1871
|
-
*
|
|
1838
|
+
* The amount of ephemeral storage to allocate for the task.
|
|
1872
1839
|
*
|
|
1873
|
-
*
|
|
1840
|
+
* This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
|
|
1874
1841
|
*
|
|
1875
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1842
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ephemeralstorage
|
|
1876
1843
|
*/
|
|
1877
|
-
readonly
|
|
1844
|
+
readonly ephemeralStorage?: CfnJobDefinitionPropsMixin.EphemeralStorageProperty | cdk.IResolvable;
|
|
1878
1845
|
/**
|
|
1879
|
-
* The
|
|
1846
|
+
* The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume.
|
|
1880
1847
|
*
|
|
1881
|
-
*
|
|
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* .
|
|
1882
1849
|
*
|
|
1883
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1850
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-executionrolearn
|
|
1884
1851
|
*/
|
|
1885
|
-
readonly
|
|
1852
|
+
readonly executionRoleArn?: string;
|
|
1886
1853
|
/**
|
|
1887
|
-
*
|
|
1854
|
+
* The IPC resource namespace to use for the containers in the task.
|
|
1888
1855
|
*
|
|
1889
|
-
*
|
|
1856
|
+
* The valid values are `host` , `task` , or `none` .
|
|
1890
1857
|
*
|
|
1891
|
-
*
|
|
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
|
|
1892
1867
|
*/
|
|
1893
|
-
readonly
|
|
1868
|
+
readonly ipcMode?: string;
|
|
1894
1869
|
/**
|
|
1895
|
-
*
|
|
1870
|
+
* The network configuration for jobs that are running on Fargate resources.
|
|
1896
1871
|
*
|
|
1897
|
-
*
|
|
1872
|
+
* Jobs that are running on Amazon EC2 resources must not specify this parameter.
|
|
1898
1873
|
*
|
|
1899
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1874
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-networkconfiguration
|
|
1900
1875
|
*/
|
|
1901
|
-
readonly
|
|
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 {
|
|
1876
|
+
readonly networkConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.NetworkConfigurationProperty;
|
|
1913
1877
|
/**
|
|
1914
|
-
*
|
|
1878
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-networkmode
|
|
1879
|
+
*/
|
|
1880
|
+
readonly networkMode?: string;
|
|
1881
|
+
/**
|
|
1882
|
+
* The process namespace to use for the containers in the task.
|
|
1915
1883
|
*
|
|
1916
|
-
*
|
|
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
|
|
1917
1893
|
*/
|
|
1918
|
-
readonly
|
|
1894
|
+
readonly pidMode?: string;
|
|
1919
1895
|
/**
|
|
1920
|
-
* The
|
|
1896
|
+
* The Fargate platform version where the jobs are running.
|
|
1921
1897
|
*
|
|
1922
|
-
*
|
|
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* .
|
|
1923
1899
|
*
|
|
1924
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1900
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-platformversion
|
|
1925
1901
|
*/
|
|
1926
|
-
readonly
|
|
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 {
|
|
1902
|
+
readonly platformVersion?: string;
|
|
1934
1903
|
/**
|
|
1935
|
-
*
|
|
1904
|
+
* An object that represents the compute environment architecture for AWS Batch jobs on Fargate.
|
|
1905
|
+
*
|
|
1906
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-runtimeplatform
|
|
1936
1907
|
*/
|
|
1937
|
-
readonly
|
|
1908
|
+
readonly runtimePlatform?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RuntimePlatformProperty;
|
|
1938
1909
|
/**
|
|
1939
|
-
*
|
|
1910
|
+
* The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
|
|
1911
|
+
*
|
|
1912
|
+
* > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) .
|
|
1913
|
+
*
|
|
1914
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-taskrolearn
|
|
1940
1915
|
*/
|
|
1941
|
-
readonly
|
|
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 {
|
|
1916
|
+
readonly taskRoleArn?: string;
|
|
1949
1917
|
/**
|
|
1950
|
-
*
|
|
1918
|
+
* A list of volumes that are associated with the job.
|
|
1919
|
+
*
|
|
1920
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-volumes
|
|
1951
1921
|
*/
|
|
1952
|
-
readonly
|
|
1922
|
+
readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
|
|
1953
1923
|
}
|
|
1954
1924
|
/**
|
|
1955
|
-
*
|
|
1925
|
+
* Container properties are used for Amazon ECS-based job definitions.
|
|
1926
|
+
*
|
|
1927
|
+
* These properties to describe the container that's launched as part of a job.
|
|
1956
1928
|
*
|
|
1957
1929
|
* @struct
|
|
1958
1930
|
* @stability external
|
|
1959
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1931
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html
|
|
1960
1932
|
*/
|
|
1961
|
-
interface
|
|
1933
|
+
interface TaskContainerPropertiesProperty {
|
|
1962
1934
|
/**
|
|
1963
|
-
* The
|
|
1935
|
+
* The command that's passed to the container.
|
|
1964
1936
|
*
|
|
1965
|
-
*
|
|
1937
|
+
* This parameter maps to `Cmd` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/#create-a-container) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.23/) and the `COMMAND` parameter to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/) . For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) .
|
|
1966
1938
|
*
|
|
1967
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1939
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-command
|
|
1968
1940
|
*/
|
|
1969
|
-
readonly
|
|
1941
|
+
readonly command?: Array<string>;
|
|
1970
1942
|
/**
|
|
1971
|
-
*
|
|
1972
|
-
*
|
|
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* .
|
|
1943
|
+
* A list of containers that this container depends on.
|
|
1974
1944
|
*
|
|
1975
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1945
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-dependson
|
|
1976
1946
|
*/
|
|
1977
|
-
readonly
|
|
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 {
|
|
1947
|
+
readonly dependsOn?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.TaskContainerDependencyProperty> | cdk.IResolvable;
|
|
1989
1948
|
/**
|
|
1990
|
-
*
|
|
1949
|
+
* The environment variables to pass to a container.
|
|
1991
1950
|
*
|
|
1992
|
-
*
|
|
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/) .
|
|
1993
1952
|
*
|
|
1994
|
-
*
|
|
1953
|
+
* > We don't recommend using plaintext environment variables for sensitive information, such as credential data. > Environment variables cannot start with `AWS_BATCH` . This naming convention is reserved for variables that AWS Batch sets.
|
|
1995
1954
|
*
|
|
1996
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1955
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-environment
|
|
1997
1956
|
*/
|
|
1998
|
-
readonly
|
|
1957
|
+
readonly environment?: Array<CfnJobDefinitionPropsMixin.EnvironmentProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
1999
1958
|
/**
|
|
2000
|
-
*
|
|
1959
|
+
* If the essential parameter of a container is marked as `true` , and that container fails or stops for any reason, all other containers that are part of the task are stopped.
|
|
2001
1960
|
*
|
|
2002
|
-
*
|
|
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.
|
|
2003
1962
|
*
|
|
2004
|
-
*
|
|
1963
|
+
* All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see [Application Architecture](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html) in the *Amazon Elastic Container Service Developer Guide* .
|
|
2005
1964
|
*
|
|
2006
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1965
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-essential
|
|
2007
1966
|
*/
|
|
2008
|
-
readonly
|
|
1967
|
+
readonly essential?: boolean | cdk.IResolvable;
|
|
2009
1968
|
/**
|
|
2010
|
-
* The
|
|
1969
|
+
* The FireLens configuration for the container.
|
|
2011
1970
|
*
|
|
2012
|
-
*
|
|
1971
|
+
* This is used to specify and configure a log router for container logs. For more information, see [Custom log](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) routing in the *Amazon Elastic Container Service Developer Guide* .
|
|
2013
1972
|
*
|
|
2014
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1973
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-firelensconfiguration
|
|
2015
1974
|
*/
|
|
2016
|
-
readonly
|
|
1975
|
+
readonly firelensConfiguration?: CfnJobDefinitionPropsMixin.FirelensConfigurationProperty | cdk.IResolvable;
|
|
2017
1976
|
/**
|
|
2018
|
-
* The
|
|
1977
|
+
* The image used to start a container.
|
|
2019
1978
|
*
|
|
2020
|
-
* @
|
|
1979
|
+
* This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either `repository-url/image:tag` or `repository-url/image@digest` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to `Image` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `IMAGE` parameter of the [*docker run*](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
|
|
1980
|
+
*
|
|
1981
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-image
|
|
2021
1982
|
*/
|
|
2022
1983
|
readonly image?: string;
|
|
2023
1984
|
/**
|
|
2024
|
-
*
|
|
1985
|
+
* Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
|
|
2025
1986
|
*
|
|
2026
|
-
*
|
|
1987
|
+
* For more information, see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html) .
|
|
2027
1988
|
*
|
|
2028
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
1989
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-linuxparameters
|
|
2029
1990
|
*/
|
|
2030
|
-
readonly
|
|
1991
|
+
readonly linuxParameters?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LinuxParametersProperty;
|
|
2031
1992
|
/**
|
|
2032
|
-
* The
|
|
1993
|
+
* The log configuration specification for the container.
|
|
2033
1994
|
*
|
|
2034
|
-
*
|
|
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) .
|
|
2035
1996
|
*
|
|
2036
|
-
*
|
|
2037
|
-
*/
|
|
2038
|
-
readonly name?: string;
|
|
2039
|
-
/**
|
|
2040
|
-
* The type and amount of resources to assign to a container.
|
|
1997
|
+
* By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information about the options for different supported log drivers, see [Configure logging drivers](https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/) in the *Docker documentation* .
|
|
2041
1998
|
*
|
|
2042
|
-
*
|
|
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.
|
|
2043
2000
|
*
|
|
2044
|
-
*
|
|
2045
|
-
*/
|
|
2046
|
-
readonly resources?: cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourcesProperty;
|
|
2047
|
-
/**
|
|
2048
|
-
* The security context for a job.
|
|
2001
|
+
* This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'`
|
|
2049
2002
|
*
|
|
2050
|
-
* For more information, see [
|
|
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* .
|
|
2051
2004
|
*
|
|
2052
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2005
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-logconfiguration
|
|
2053
2006
|
*/
|
|
2054
|
-
readonly
|
|
2007
|
+
readonly logConfiguration?: cdk.IResolvable | CfnJobDefinitionPropsMixin.LogConfigurationProperty;
|
|
2055
2008
|
/**
|
|
2056
|
-
* The
|
|
2009
|
+
* The mount points for data volumes in your container.
|
|
2057
2010
|
*
|
|
2058
|
-
*
|
|
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) .
|
|
2059
2012
|
*
|
|
2060
|
-
*
|
|
2061
|
-
*/
|
|
2062
|
-
readonly volumeMounts?: Array<CfnJobDefinitionPropsMixin.EksContainerVolumeMountProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2063
|
-
}
|
|
2064
|
-
/**
|
|
2065
|
-
* The volume mounts for a container for an Amazon EKS job.
|
|
2066
|
-
*
|
|
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* .
|
|
2068
|
-
*
|
|
2069
|
-
* @struct
|
|
2070
|
-
* @stability external
|
|
2071
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html
|
|
2072
|
-
*/
|
|
2073
|
-
interface EksContainerVolumeMountProperty {
|
|
2074
|
-
/**
|
|
2075
|
-
* The path on the container where the volume is mounted.
|
|
2013
|
+
* Windows containers can mount whole directories on the same drive as `$env:ProgramData` . Windows containers can't mount directories on a different drive, and mount point can't be across drives.
|
|
2076
2014
|
*
|
|
2077
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2015
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-mountpoints
|
|
2078
2016
|
*/
|
|
2079
|
-
readonly
|
|
2017
|
+
readonly mountPoints?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.MountPointProperty> | cdk.IResolvable;
|
|
2080
2018
|
/**
|
|
2081
|
-
* The name
|
|
2019
|
+
* The name of a container.
|
|
2082
2020
|
*
|
|
2083
|
-
*
|
|
2021
|
+
* The name can be used as a unique identifier to target your `dependsOn` and `Overrides` objects.
|
|
2084
2022
|
*
|
|
2085
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2023
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-name
|
|
2086
2024
|
*/
|
|
2087
2025
|
readonly name?: string;
|
|
2088
2026
|
/**
|
|
2089
|
-
*
|
|
2027
|
+
* When this parameter is `true` , the container is given elevated privileges on the host container instance (similar to the `root` user).
|
|
2090
2028
|
*
|
|
2091
|
-
*
|
|
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) .
|
|
2092
2030
|
*
|
|
2093
|
-
*
|
|
2094
|
-
*/
|
|
2095
|
-
readonly readOnly?: boolean | cdk.IResolvable;
|
|
2096
|
-
/**
|
|
2097
|
-
* A sub-path inside the referenced volume instead of its root.
|
|
2031
|
+
* > This parameter is not supported for Windows containers or tasks run on Fargate.
|
|
2098
2032
|
*
|
|
2099
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2033
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-privileged
|
|
2100
2034
|
*/
|
|
2101
|
-
readonly
|
|
2102
|
-
}
|
|
2103
|
-
/**
|
|
2104
|
-
* @struct
|
|
2105
|
-
* @stability external
|
|
2106
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html
|
|
2107
|
-
*/
|
|
2108
|
-
interface SecurityContextProperty {
|
|
2035
|
+
readonly privileged?: boolean | cdk.IResolvable;
|
|
2109
2036
|
/**
|
|
2110
|
-
*
|
|
2037
|
+
* When this parameter is true, the container is given read-only access to its root file system.
|
|
2038
|
+
*
|
|
2039
|
+
* This parameter maps to `ReadonlyRootfs` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--read-only` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
|
|
2040
|
+
*
|
|
2041
|
+
* > This parameter is not supported for Windows containers.
|
|
2042
|
+
*
|
|
2043
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-readonlyrootfilesystem
|
|
2111
2044
|
*/
|
|
2112
|
-
readonly
|
|
2045
|
+
readonly readonlyRootFilesystem?: boolean | cdk.IResolvable;
|
|
2113
2046
|
/**
|
|
2114
|
-
*
|
|
2047
|
+
* The private repository authentication credentials to use.
|
|
2048
|
+
*
|
|
2049
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-repositorycredentials
|
|
2115
2050
|
*/
|
|
2116
|
-
readonly
|
|
2051
|
+
readonly repositoryCredentials?: cdk.IResolvable | CfnJobDefinitionPropsMixin.RepositoryCredentialsProperty;
|
|
2117
2052
|
/**
|
|
2118
|
-
*
|
|
2053
|
+
* The type and amount of a resource to assign to a container.
|
|
2054
|
+
*
|
|
2055
|
+
* The only supported resource is a GPU.
|
|
2056
|
+
*
|
|
2057
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-resourcerequirements
|
|
2119
2058
|
*/
|
|
2120
|
-
readonly
|
|
2059
|
+
readonly resourceRequirements?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourceRequirementProperty> | cdk.IResolvable;
|
|
2121
2060
|
/**
|
|
2122
|
-
*
|
|
2061
|
+
* The secrets to pass to the container.
|
|
2062
|
+
*
|
|
2063
|
+
* For more information, see [Specifying Sensitive Data](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the Amazon Elastic Container Service Developer Guide.
|
|
2064
|
+
*
|
|
2065
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-secrets
|
|
2123
2066
|
*/
|
|
2124
|
-
readonly
|
|
2067
|
+
readonly secrets?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.SecretProperty> | cdk.IResolvable;
|
|
2125
2068
|
/**
|
|
2126
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2069
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-starttimeout
|
|
2127
2070
|
*/
|
|
2128
|
-
readonly
|
|
2071
|
+
readonly startTimeout?: number;
|
|
2129
2072
|
/**
|
|
2130
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2073
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-stoptimeout
|
|
2131
2074
|
*/
|
|
2132
|
-
readonly
|
|
2133
|
-
}
|
|
2134
|
-
/**
|
|
2135
|
-
* @struct
|
|
2136
|
-
* @stability external
|
|
2137
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html
|
|
2138
|
-
*/
|
|
2139
|
-
interface ResourcesProperty {
|
|
2075
|
+
readonly stopTimeout?: number;
|
|
2140
2076
|
/**
|
|
2141
|
-
*
|
|
2077
|
+
* A list of `ulimits` to set in the container.
|
|
2078
|
+
*
|
|
2079
|
+
* If a `ulimit` value is specified in a task definition, it overrides the default values set by Docker. This parameter maps to `Ulimits` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the [Docker Remote API](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/) and the `--ulimit` option to [docker run](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration) .
|
|
2080
|
+
*
|
|
2081
|
+
* Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which Fargate overrides. The `nofile` resource limit sets a restriction on the number of open files that a container can use. The default `nofile` soft limit is `1024` and the default hard limit is `65535` .
|
|
2082
|
+
*
|
|
2083
|
+
* This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version `--format '{{.Server.APIVersion}}'`
|
|
2084
|
+
*
|
|
2085
|
+
* > This parameter is not supported for Windows containers.
|
|
2086
|
+
*
|
|
2087
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-ulimits
|
|
2142
2088
|
*/
|
|
2143
|
-
readonly
|
|
2089
|
+
readonly ulimits?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.UlimitProperty> | cdk.IResolvable;
|
|
2144
2090
|
/**
|
|
2145
|
-
*
|
|
2091
|
+
* The user to use inside the container.
|
|
2092
|
+
*
|
|
2093
|
+
* This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
|
|
2094
|
+
*
|
|
2095
|
+
* > When running tasks using the `host` network mode, don't run containers using the `root user (UID 0)` . We recommend using a non-root user for better security.
|
|
2096
|
+
*
|
|
2097
|
+
* You can specify the `user` using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
|
|
2098
|
+
*
|
|
2099
|
+
* - `user`
|
|
2100
|
+
* - `user:group`
|
|
2101
|
+
* - `uid`
|
|
2102
|
+
* - `uid:gid`
|
|
2103
|
+
* - `user:gi`
|
|
2104
|
+
* - `uid:group`
|
|
2105
|
+
*
|
|
2106
|
+
* > This parameter is not supported for Windows containers.
|
|
2107
|
+
*
|
|
2108
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-user
|
|
2146
2109
|
*/
|
|
2147
|
-
readonly
|
|
2110
|
+
readonly user?: string;
|
|
2148
2111
|
}
|
|
2149
2112
|
/**
|
|
2150
|
-
*
|
|
2113
|
+
* A list of containers that this task depends on.
|
|
2151
2114
|
*
|
|
2152
2115
|
* @struct
|
|
2153
2116
|
* @stability external
|
|
2154
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2117
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html
|
|
2155
2118
|
*/
|
|
2156
|
-
interface
|
|
2119
|
+
interface TaskContainerDependencyProperty {
|
|
2157
2120
|
/**
|
|
2158
|
-
* The
|
|
2121
|
+
* The dependency condition of the container. The following are the available conditions and their behavior:.
|
|
2159
2122
|
*
|
|
2160
|
-
*
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
/**
|
|
2164
|
-
* The value of the environment variable.
|
|
2123
|
+
* - `START` - This condition emulates the behavior of links and volumes today. It validates that a dependent container is started before permitting other containers to start.
|
|
2124
|
+
* - `COMPLETE` - This condition validates that a dependent container runs to completion (exits) before permitting other containers to start. This can be useful for nonessential containers that run a script and then exit. This condition can't be set on an essential container.
|
|
2125
|
+
* - `SUCCESS` - This condition is the same as `COMPLETE` , but it also requires that the container exits with a zero status. This condition can't be set on an essential container.
|
|
2165
2126
|
*
|
|
2166
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2127
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-condition
|
|
2167
2128
|
*/
|
|
2168
|
-
readonly
|
|
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 {
|
|
2129
|
+
readonly condition?: string;
|
|
2176
2130
|
/**
|
|
2177
|
-
*
|
|
2131
|
+
* A unique identifier for the container.
|
|
2132
|
+
*
|
|
2133
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-containername
|
|
2178
2134
|
*/
|
|
2179
|
-
readonly
|
|
2135
|
+
readonly containerName?: string;
|
|
2180
2136
|
}
|
|
2181
2137
|
/**
|
|
2182
|
-
*
|
|
2138
|
+
* Details for a Docker volume mount point that's used in a job's container properties.
|
|
2183
2139
|
*
|
|
2184
|
-
* This
|
|
2140
|
+
* This parameter maps to `Volumes` in the [Create a container](https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerCreate) section of the *Docker Remote API* and the `--volume` option to docker run.
|
|
2185
2141
|
*
|
|
2186
2142
|
* @struct
|
|
2187
2143
|
* @stability external
|
|
2188
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2144
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html
|
|
2189
2145
|
*/
|
|
2190
|
-
interface
|
|
2146
|
+
interface MountPointProperty {
|
|
2191
2147
|
/**
|
|
2192
|
-
*
|
|
2148
|
+
* The path on the container where the host volume is mounted.
|
|
2193
2149
|
*
|
|
2194
|
-
*
|
|
2150
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-containerpath
|
|
2151
|
+
*/
|
|
2152
|
+
readonly containerPath?: string;
|
|
2153
|
+
/**
|
|
2154
|
+
* If this value is `true` , the container has read-only access to the volume.
|
|
2195
2155
|
*
|
|
2196
|
-
*
|
|
2156
|
+
* Otherwise, the container can write to the volume. The default value is `false` .
|
|
2157
|
+
*
|
|
2158
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-readonly
|
|
2197
2159
|
*/
|
|
2198
|
-
readonly
|
|
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 {
|
|
2160
|
+
readonly readOnly?: boolean | cdk.IResolvable;
|
|
2208
2161
|
/**
|
|
2209
|
-
* The
|
|
2162
|
+
* The name of the volume to mount.
|
|
2210
2163
|
*
|
|
2211
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2164
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html#cfn-batch-jobdefinition-mountpoint-sourcevolume
|
|
2212
2165
|
*/
|
|
2213
|
-
readonly
|
|
2166
|
+
readonly sourceVolume?: string;
|
|
2214
2167
|
}
|
|
2215
2168
|
/**
|
|
2216
|
-
*
|
|
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* .
|
|
2217
2172
|
*
|
|
2218
2173
|
* @struct
|
|
2219
2174
|
* @stability external
|
|
2220
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2175
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html
|
|
2221
2176
|
*/
|
|
2222
|
-
interface
|
|
2177
|
+
interface FirelensConfigurationProperty {
|
|
2223
2178
|
/**
|
|
2224
|
-
* The
|
|
2179
|
+
* The options to use when configuring the log router.
|
|
2225
2180
|
*
|
|
2226
|
-
*
|
|
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
|
|
2227
2184
|
*/
|
|
2228
|
-
readonly
|
|
2185
|
+
readonly options?: cdk.IResolvable | Record<string, string>;
|
|
2229
2186
|
/**
|
|
2230
|
-
* The
|
|
2187
|
+
* The log router to use.
|
|
2231
2188
|
*
|
|
2232
|
-
*
|
|
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
|
|
2233
2192
|
*/
|
|
2234
|
-
readonly
|
|
2193
|
+
readonly type?: string;
|
|
2235
2194
|
}
|
|
2236
2195
|
/**
|
|
2237
2196
|
* An object that represents the node properties of a multi-node parallel job.
|
|
@@ -2385,428 +2344,538 @@ export declare namespace CfnJobDefinitionPropsMixin {
|
|
|
2385
2344
|
*
|
|
2386
2345
|
* 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.
|
|
2387
2346
|
*
|
|
2388
|
-
* 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.
|
|
2347
|
+
* 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.
|
|
2348
|
+
*
|
|
2349
|
+
* If `task` is specified, all containers within the specified task share the same process namespace.
|
|
2350
|
+
*
|
|
2351
|
+
* 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.
|
|
2352
|
+
*
|
|
2353
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-multinodeecstaskproperties.html#cfn-batch-jobdefinition-multinodeecstaskproperties-pidmode
|
|
2354
|
+
*/
|
|
2355
|
+
readonly pidMode?: string;
|
|
2356
|
+
/**
|
|
2357
|
+
* The Amazon Resource Name (ARN) that's associated with the Amazon ECS task.
|
|
2358
|
+
*
|
|
2359
|
+
* > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) .
|
|
2360
|
+
*
|
|
2361
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-multinodeecstaskproperties.html#cfn-batch-jobdefinition-multinodeecstaskproperties-taskrolearn
|
|
2362
|
+
*/
|
|
2363
|
+
readonly taskRoleArn?: string;
|
|
2364
|
+
/**
|
|
2365
|
+
* A list of volumes that are associated with the job.
|
|
2366
|
+
*
|
|
2367
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-multinodeecstaskproperties.html#cfn-batch-jobdefinition-multinodeecstaskproperties-volumes
|
|
2368
|
+
*/
|
|
2369
|
+
readonly volumes?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.VolumesProperty> | cdk.IResolvable;
|
|
2370
|
+
}
|
|
2371
|
+
/**
|
|
2372
|
+
* An object that contains the properties for the Kubernetes resources of a job.
|
|
2373
|
+
*
|
|
2374
|
+
* @struct
|
|
2375
|
+
* @stability external
|
|
2376
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html
|
|
2377
|
+
*/
|
|
2378
|
+
interface EksPropertiesProperty {
|
|
2379
|
+
/**
|
|
2380
|
+
* The properties for the Kubernetes pod resources of a job.
|
|
2381
|
+
*
|
|
2382
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html#cfn-batch-jobdefinition-eksproperties-podproperties
|
|
2383
|
+
*/
|
|
2384
|
+
readonly podProperties?: cdk.IResolvable | CfnJobDefinitionPropsMixin.PodPropertiesProperty;
|
|
2385
|
+
}
|
|
2386
|
+
/**
|
|
2387
|
+
* @struct
|
|
2388
|
+
* @stability external
|
|
2389
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html
|
|
2390
|
+
*/
|
|
2391
|
+
interface PodPropertiesProperty {
|
|
2392
|
+
/**
|
|
2393
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-containers
|
|
2394
|
+
*/
|
|
2395
|
+
readonly containers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2396
|
+
/**
|
|
2397
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-dnspolicy
|
|
2398
|
+
*/
|
|
2399
|
+
readonly dnsPolicy?: string;
|
|
2400
|
+
/**
|
|
2401
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-hostnetwork
|
|
2402
|
+
*/
|
|
2403
|
+
readonly hostNetwork?: boolean | cdk.IResolvable;
|
|
2404
|
+
/**
|
|
2405
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-imagepullsecrets
|
|
2406
|
+
*/
|
|
2407
|
+
readonly imagePullSecrets?: Array<CfnJobDefinitionPropsMixin.ImagePullSecretProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2408
|
+
/**
|
|
2409
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-initcontainers
|
|
2410
|
+
*/
|
|
2411
|
+
readonly initContainers?: Array<CfnJobDefinitionPropsMixin.EksContainerProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2412
|
+
/**
|
|
2413
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-metadata
|
|
2414
|
+
*/
|
|
2415
|
+
readonly metadata?: cdk.IResolvable | CfnJobDefinitionPropsMixin.MetadataProperty;
|
|
2416
|
+
/**
|
|
2417
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-securitycontext
|
|
2418
|
+
*/
|
|
2419
|
+
readonly securityContext?: CfnJobDefinitionPropsMixin.EksPodSecurityContextProperty | cdk.IResolvable;
|
|
2420
|
+
/**
|
|
2421
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-serviceaccountname
|
|
2422
|
+
*/
|
|
2423
|
+
readonly serviceAccountName?: string;
|
|
2424
|
+
/**
|
|
2425
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-shareprocessnamespace
|
|
2426
|
+
*/
|
|
2427
|
+
readonly shareProcessNamespace?: boolean | cdk.IResolvable;
|
|
2428
|
+
/**
|
|
2429
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-volumes
|
|
2430
|
+
*/
|
|
2431
|
+
readonly volumes?: Array<CfnJobDefinitionPropsMixin.EksVolumeProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2432
|
+
}
|
|
2433
|
+
/**
|
|
2434
|
+
* Specifies an Amazon EKS volume for a job definition.
|
|
2435
|
+
*
|
|
2436
|
+
* @struct
|
|
2437
|
+
* @stability external
|
|
2438
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html
|
|
2439
|
+
*/
|
|
2440
|
+
interface EksVolumeProperty {
|
|
2441
|
+
/**
|
|
2442
|
+
* Specifies the configuration of a Kubernetes `emptyDir` volume.
|
|
2443
|
+
*
|
|
2444
|
+
* For more information, see [emptyDir](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) in the *Kubernetes documentation* .
|
|
2445
|
+
*
|
|
2446
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-emptydir
|
|
2447
|
+
*/
|
|
2448
|
+
readonly emptyDir?: CfnJobDefinitionPropsMixin.EmptyDirProperty | cdk.IResolvable;
|
|
2449
|
+
/**
|
|
2450
|
+
* Specifies the configuration of a Kubernetes `hostPath` volume.
|
|
2451
|
+
*
|
|
2452
|
+
* For more information, see [hostPath](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) in the *Kubernetes documentation* .
|
|
2389
2453
|
*
|
|
2390
|
-
*
|
|
2454
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-hostpath
|
|
2455
|
+
*/
|
|
2456
|
+
readonly hostPath?: CfnJobDefinitionPropsMixin.HostPathProperty | cdk.IResolvable;
|
|
2457
|
+
/**
|
|
2458
|
+
* The name of the volume.
|
|
2391
2459
|
*
|
|
2392
|
-
*
|
|
2460
|
+
* The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* .
|
|
2393
2461
|
*
|
|
2394
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2462
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-name
|
|
2395
2463
|
*/
|
|
2396
|
-
readonly
|
|
2464
|
+
readonly name?: string;
|
|
2397
2465
|
/**
|
|
2398
|
-
*
|
|
2466
|
+
* Specifies the configuration of a Kubernetes `persistentVolumeClaim` bounded to a `persistentVolume` .
|
|
2399
2467
|
*
|
|
2400
|
-
*
|
|
2468
|
+
* For more information, see [Persistent Volume Claims](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) in the *Kubernetes documentation* .
|
|
2401
2469
|
*
|
|
2402
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2470
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-persistentvolumeclaim
|
|
2403
2471
|
*/
|
|
2404
|
-
readonly
|
|
2472
|
+
readonly persistentVolumeClaim?: CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty | cdk.IResolvable;
|
|
2405
2473
|
/**
|
|
2406
|
-
*
|
|
2474
|
+
* Specifies the configuration of a Kubernetes `secret` volume.
|
|
2407
2475
|
*
|
|
2408
|
-
*
|
|
2476
|
+
* For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
|
|
2477
|
+
*
|
|
2478
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-secret
|
|
2409
2479
|
*/
|
|
2410
|
-
readonly
|
|
2480
|
+
readonly secret?: CfnJobDefinitionPropsMixin.EksSecretProperty | cdk.IResolvable;
|
|
2411
2481
|
}
|
|
2412
2482
|
/**
|
|
2413
|
-
*
|
|
2483
|
+
* Specifies the configuration of a Kubernetes `secret` volume.
|
|
2414
2484
|
*
|
|
2415
|
-
*
|
|
2485
|
+
* For more information, see [secret](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#secret) in the *Kubernetes documentation* .
|
|
2416
2486
|
*
|
|
2417
2487
|
* @struct
|
|
2418
2488
|
* @stability external
|
|
2419
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2489
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html
|
|
2420
2490
|
*/
|
|
2421
|
-
interface
|
|
2491
|
+
interface EksSecretProperty {
|
|
2422
2492
|
/**
|
|
2423
|
-
*
|
|
2424
|
-
*
|
|
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) .
|
|
2493
|
+
* Specifies whether the secret or the secret's keys must be defined.
|
|
2426
2494
|
*
|
|
2427
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2495
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-optional
|
|
2428
2496
|
*/
|
|
2429
|
-
readonly
|
|
2497
|
+
readonly optional?: boolean | cdk.IResolvable;
|
|
2430
2498
|
/**
|
|
2431
|
-
*
|
|
2499
|
+
* The name of the secret.
|
|
2432
2500
|
*
|
|
2433
|
-
*
|
|
2501
|
+
* The name must be allowed as a DNS subdomain name. For more information, see [DNS subdomain names](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-subdomain-names) in the *Kubernetes documentation* .
|
|
2502
|
+
*
|
|
2503
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html#cfn-batch-jobdefinition-ekssecret-secretname
|
|
2434
2504
|
*/
|
|
2435
|
-
readonly
|
|
2505
|
+
readonly secretName?: string;
|
|
2506
|
+
}
|
|
2507
|
+
/**
|
|
2508
|
+
* @struct
|
|
2509
|
+
* @stability external
|
|
2510
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html
|
|
2511
|
+
*/
|
|
2512
|
+
interface EmptyDirProperty {
|
|
2436
2513
|
/**
|
|
2437
|
-
*
|
|
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
|
|
2514
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-medium
|
|
2444
2515
|
*/
|
|
2445
|
-
readonly
|
|
2516
|
+
readonly medium?: string;
|
|
2446
2517
|
/**
|
|
2447
|
-
*
|
|
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
|
|
2518
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-emptydir.html#cfn-batch-jobdefinition-emptydir-sizelimit
|
|
2454
2519
|
*/
|
|
2455
|
-
readonly
|
|
2520
|
+
readonly sizeLimit?: string;
|
|
2521
|
+
}
|
|
2522
|
+
/**
|
|
2523
|
+
* @struct
|
|
2524
|
+
* @stability external
|
|
2525
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html
|
|
2526
|
+
*/
|
|
2527
|
+
interface HostPathProperty {
|
|
2456
2528
|
/**
|
|
2457
|
-
*
|
|
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
|
|
2529
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-hostpath.html#cfn-batch-jobdefinition-hostpath-path
|
|
2462
2530
|
*/
|
|
2463
|
-
readonly
|
|
2531
|
+
readonly path?: string;
|
|
2532
|
+
}
|
|
2533
|
+
/**
|
|
2534
|
+
* A `persistentVolumeClaim` volume is used to mount a [PersistentVolume](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/) into a Pod. PersistentVolumeClaims are a way for users to "claim" durable storage without knowing the details of the particular cloud environment. See the information about [PersistentVolumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/) in the *Kubernetes documentation* .
|
|
2535
|
+
*
|
|
2536
|
+
* @struct
|
|
2537
|
+
* @stability external
|
|
2538
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html
|
|
2539
|
+
*/
|
|
2540
|
+
interface EksPersistentVolumeClaimProperty {
|
|
2464
2541
|
/**
|
|
2465
|
-
* The
|
|
2542
|
+
* The name of the `persistentVolumeClaim` bounded to a `persistentVolume` .
|
|
2466
2543
|
*
|
|
2467
|
-
*
|
|
2544
|
+
* For more information, see [Persistent Volume Claims](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims) in the *Kubernetes documentation* .
|
|
2468
2545
|
*
|
|
2469
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2546
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-claimname
|
|
2470
2547
|
*/
|
|
2471
|
-
readonly
|
|
2548
|
+
readonly claimName?: string;
|
|
2472
2549
|
/**
|
|
2473
|
-
*
|
|
2550
|
+
* An optional boolean value indicating if the mount is read only.
|
|
2474
2551
|
*
|
|
2475
|
-
* For more information, see [
|
|
2552
|
+
* Default is false. For more information, see [Read Only Mounts](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/#read-only-mounts) in the *Kubernetes documentation* .
|
|
2476
2553
|
*
|
|
2477
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2554
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html#cfn-batch-jobdefinition-ekspersistentvolumeclaim-readonly
|
|
2478
2555
|
*/
|
|
2479
|
-
readonly
|
|
2556
|
+
readonly readOnly?: boolean | cdk.IResolvable;
|
|
2557
|
+
}
|
|
2558
|
+
/**
|
|
2559
|
+
* EKS container properties are used in job definitions for Amazon EKS based job definitions to describe the properties for a container node in the pod that's launched as part of a job.
|
|
2560
|
+
*
|
|
2561
|
+
* This can't be specified for Amazon ECS based job definitions.
|
|
2562
|
+
*
|
|
2563
|
+
* @struct
|
|
2564
|
+
* @stability external
|
|
2565
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html
|
|
2566
|
+
*/
|
|
2567
|
+
interface EksContainerProperty {
|
|
2480
2568
|
/**
|
|
2481
|
-
*
|
|
2482
|
-
*
|
|
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) .
|
|
2484
|
-
*
|
|
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.
|
|
2569
|
+
* An array of arguments to the entrypoint.
|
|
2488
2570
|
*
|
|
2489
|
-
*
|
|
2571
|
+
* If this isn't specified, the `CMD` of the container image is used. This corresponds to the `args` member in the [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) portion of the [Pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/) in Kubernetes. Environment variable references are expanded using the container's environment.
|
|
2490
2572
|
*
|
|
2491
|
-
*
|
|
2573
|
+
* If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` , and the resulting string isn't expanded. For example, `$$(VAR_NAME)` is passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. For more information, see [Dockerfile reference: CMD](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#cmd) and [Define a command and arguments for a pod](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) in the *Kubernetes documentation* .
|
|
2492
2574
|
*
|
|
2493
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2575
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-args
|
|
2494
2576
|
*/
|
|
2495
|
-
readonly
|
|
2577
|
+
readonly args?: Array<string>;
|
|
2496
2578
|
/**
|
|
2497
|
-
* The
|
|
2579
|
+
* The entrypoint for the container.
|
|
2498
2580
|
*
|
|
2499
|
-
* This
|
|
2581
|
+
* This isn't run within a shell. If this isn't specified, the `ENTRYPOINT` of the container image is used. Environment variable references are expanded using the container's environment.
|
|
2500
2582
|
*
|
|
2501
|
-
*
|
|
2583
|
+
* If the referenced environment variable doesn't exist, the reference in the command isn't changed. For example, if the reference is to " `$(NAME1)` " and the `NAME1` environment variable doesn't exist, the command string will remain " `$(NAME1)` ." `$$` is replaced with `$` and the resulting string isn't expanded. For example, `$$(VAR_NAME)` will be passed as `$(VAR_NAME)` whether or not the `VAR_NAME` environment variable exists. The entrypoint can't be updated. For more information, see [ENTRYPOINT](https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/builder/#entrypoint) in the *Dockerfile reference* and [Define a command and arguments for a container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/) and [Entrypoint](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#entrypoint) in the *Kubernetes documentation* .
|
|
2502
2584
|
*
|
|
2503
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2585
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-command
|
|
2504
2586
|
*/
|
|
2505
|
-
readonly
|
|
2587
|
+
readonly command?: Array<string>;
|
|
2506
2588
|
/**
|
|
2507
|
-
* The
|
|
2589
|
+
* The environment variables to pass to a container.
|
|
2508
2590
|
*
|
|
2509
|
-
*
|
|
2591
|
+
* > Environment variables cannot start with " `AWS_BATCH` ". This naming convention is reserved for variables that AWS Batch sets.
|
|
2510
2592
|
*
|
|
2511
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2593
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-env
|
|
2512
2594
|
*/
|
|
2513
|
-
readonly
|
|
2595
|
+
readonly env?: Array<CfnJobDefinitionPropsMixin.EksContainerEnvironmentVariableProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2514
2596
|
/**
|
|
2515
|
-
*
|
|
2516
|
-
*
|
|
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) .
|
|
2518
|
-
*
|
|
2519
|
-
* > This parameter is not supported for Windows containers or tasks run on Fargate.
|
|
2597
|
+
* The Docker image used to start the container.
|
|
2520
2598
|
*
|
|
2521
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2599
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-image
|
|
2522
2600
|
*/
|
|
2523
|
-
readonly
|
|
2601
|
+
readonly image?: string;
|
|
2524
2602
|
/**
|
|
2525
|
-
*
|
|
2526
|
-
*
|
|
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) .
|
|
2528
|
-
*
|
|
2529
|
-
* > This parameter is not supported for Windows containers.
|
|
2603
|
+
* The image pull policy for the container.
|
|
2530
2604
|
*
|
|
2531
|
-
*
|
|
2532
|
-
*/
|
|
2533
|
-
readonly readonlyRootFilesystem?: boolean | cdk.IResolvable;
|
|
2534
|
-
/**
|
|
2535
|
-
* The private repository authentication credentials to use.
|
|
2605
|
+
* Supported values are `Always` , `IfNotPresent` , and `Never` . This parameter defaults to `IfNotPresent` . However, if the `:latest` tag is specified, it defaults to `Always` . For more information, see [Updating images](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/containers/images/#updating-images) in the *Kubernetes documentation* .
|
|
2536
2606
|
*
|
|
2537
|
-
* @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-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-imagepullpolicy
|
|
2538
2608
|
*/
|
|
2539
|
-
readonly
|
|
2609
|
+
readonly imagePullPolicy?: string;
|
|
2540
2610
|
/**
|
|
2541
|
-
* The
|
|
2611
|
+
* The name of the container.
|
|
2542
2612
|
*
|
|
2543
|
-
*
|
|
2613
|
+
* If the name isn't specified, the default name " `Default` " is used. Each container in a pod must have a unique name.
|
|
2544
2614
|
*
|
|
2545
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2615
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-name
|
|
2546
2616
|
*/
|
|
2547
|
-
readonly
|
|
2617
|
+
readonly name?: string;
|
|
2548
2618
|
/**
|
|
2549
|
-
* The
|
|
2619
|
+
* The type and amount of resources to assign to a container.
|
|
2550
2620
|
*
|
|
2551
|
-
* For more information, see [
|
|
2621
|
+
* The supported resources include `memory` , `cpu` , and `nvidia.com/gpu` . For more information, see [Resource management for pods and containers](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) in the *Kubernetes documentation* .
|
|
2552
2622
|
*
|
|
2553
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2554
|
-
*/
|
|
2555
|
-
readonly secrets?: Array<cdk.IResolvable | CfnJobDefinitionPropsMixin.SecretProperty> | cdk.IResolvable;
|
|
2556
|
-
/**
|
|
2557
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-starttimeout
|
|
2558
|
-
*/
|
|
2559
|
-
readonly startTimeout?: number;
|
|
2560
|
-
/**
|
|
2561
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerproperties.html#cfn-batch-jobdefinition-taskcontainerproperties-stoptimeout
|
|
2623
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-resources
|
|
2562
2624
|
*/
|
|
2563
|
-
readonly
|
|
2625
|
+
readonly resources?: cdk.IResolvable | CfnJobDefinitionPropsMixin.ResourcesProperty;
|
|
2564
2626
|
/**
|
|
2565
|
-
*
|
|
2566
|
-
*
|
|
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) .
|
|
2568
|
-
*
|
|
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}}'`
|
|
2627
|
+
* The security context for a job.
|
|
2572
2628
|
*
|
|
2573
|
-
*
|
|
2629
|
+
* For more information, see [Configure a security context for a pod or container](https://docs.aws.amazon.com/https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) in the *Kubernetes documentation* .
|
|
2574
2630
|
*
|
|
2575
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2631
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-securitycontext
|
|
2576
2632
|
*/
|
|
2577
|
-
readonly
|
|
2633
|
+
readonly securityContext?: cdk.IResolvable | CfnJobDefinitionPropsMixin.SecurityContextProperty;
|
|
2578
2634
|
/**
|
|
2579
|
-
* The
|
|
2580
|
-
*
|
|
2581
|
-
* This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
|
|
2582
|
-
*
|
|
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`
|
|
2635
|
+
* The volume mounts for the container.
|
|
2593
2636
|
*
|
|
2594
|
-
*
|
|
2637
|
+
* AWS Batch supports `emptyDir` , `hostPath` , and `secret` volume types. For more information about volumes and volume mounts in Kubernetes, see [Volumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/) in the *Kubernetes documentation* .
|
|
2595
2638
|
*
|
|
2596
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2639
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainer.html#cfn-batch-jobdefinition-ekscontainer-volumemounts
|
|
2597
2640
|
*/
|
|
2598
|
-
readonly
|
|
2641
|
+
readonly volumeMounts?: Array<CfnJobDefinitionPropsMixin.EksContainerVolumeMountProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2599
2642
|
}
|
|
2600
2643
|
/**
|
|
2601
|
-
*
|
|
2644
|
+
* The volume mounts for a container for an Amazon EKS job.
|
|
2602
2645
|
*
|
|
2603
|
-
*
|
|
2646
|
+
* For more information about volumes and volume mounts in Kubernetes, see [Volumes](https://docs.aws.amazon.com/https://kubernetes.io/docs/concepts/storage/volumes/) in the *Kubernetes documentation* .
|
|
2604
2647
|
*
|
|
2605
2648
|
* @struct
|
|
2606
2649
|
* @stability external
|
|
2607
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2650
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html
|
|
2608
2651
|
*/
|
|
2609
|
-
interface
|
|
2652
|
+
interface EksContainerVolumeMountProperty {
|
|
2610
2653
|
/**
|
|
2611
|
-
* The path on the container where the
|
|
2654
|
+
* The path on the container where the volume is mounted.
|
|
2612
2655
|
*
|
|
2613
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2656
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-mountpath
|
|
2614
2657
|
*/
|
|
2615
|
-
readonly
|
|
2658
|
+
readonly mountPath?: string;
|
|
2659
|
+
/**
|
|
2660
|
+
* The name the volume mount.
|
|
2661
|
+
*
|
|
2662
|
+
* This must match the name of one of the volumes in the pod.
|
|
2663
|
+
*
|
|
2664
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-name
|
|
2665
|
+
*/
|
|
2666
|
+
readonly name?: string;
|
|
2616
2667
|
/**
|
|
2617
2668
|
* If this value is `true` , the container has read-only access to the volume.
|
|
2618
2669
|
*
|
|
2619
2670
|
* Otherwise, the container can write to the volume. The default value is `false` .
|
|
2620
2671
|
*
|
|
2621
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2672
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-readonly
|
|
2622
2673
|
*/
|
|
2623
2674
|
readonly readOnly?: boolean | cdk.IResolvable;
|
|
2624
2675
|
/**
|
|
2625
|
-
*
|
|
2676
|
+
* A sub-path inside the referenced volume instead of its root.
|
|
2626
2677
|
*
|
|
2627
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2678
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainervolumemount.html#cfn-batch-jobdefinition-ekscontainervolumemount-subpath
|
|
2628
2679
|
*/
|
|
2629
|
-
readonly
|
|
2680
|
+
readonly subPath?: string;
|
|
2630
2681
|
}
|
|
2631
2682
|
/**
|
|
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
2683
|
* @struct
|
|
2637
2684
|
* @stability external
|
|
2638
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2685
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html
|
|
2639
2686
|
*/
|
|
2640
|
-
interface
|
|
2687
|
+
interface SecurityContextProperty {
|
|
2641
2688
|
/**
|
|
2642
|
-
*
|
|
2643
|
-
*
|
|
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* .
|
|
2645
|
-
*
|
|
2646
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-options
|
|
2689
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-allowprivilegeescalation
|
|
2647
2690
|
*/
|
|
2648
|
-
readonly
|
|
2691
|
+
readonly allowPrivilegeEscalation?: boolean | cdk.IResolvable;
|
|
2649
2692
|
/**
|
|
2650
|
-
*
|
|
2651
|
-
*
|
|
2652
|
-
* The valid values are `fluentd` or `fluentbit` .
|
|
2653
|
-
*
|
|
2654
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-firelensconfiguration.html#cfn-batch-jobdefinition-firelensconfiguration-type
|
|
2693
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-capabilities
|
|
2655
2694
|
*/
|
|
2656
|
-
readonly
|
|
2695
|
+
readonly capabilities?: CfnJobDefinitionPropsMixin.EksContainerLinuxCapabilitiesProperty | cdk.IResolvable;
|
|
2696
|
+
/**
|
|
2697
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-privileged
|
|
2698
|
+
*/
|
|
2699
|
+
readonly privileged?: boolean | cdk.IResolvable;
|
|
2700
|
+
/**
|
|
2701
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-readonlyrootfilesystem
|
|
2702
|
+
*/
|
|
2703
|
+
readonly readOnlyRootFilesystem?: boolean | cdk.IResolvable;
|
|
2704
|
+
/**
|
|
2705
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasgroup
|
|
2706
|
+
*/
|
|
2707
|
+
readonly runAsGroup?: number;
|
|
2708
|
+
/**
|
|
2709
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasnonroot
|
|
2710
|
+
*/
|
|
2711
|
+
readonly runAsNonRoot?: boolean | cdk.IResolvable;
|
|
2712
|
+
/**
|
|
2713
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-runasuser
|
|
2714
|
+
*/
|
|
2715
|
+
readonly runAsUser?: number;
|
|
2716
|
+
/**
|
|
2717
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-securitycontext.html#cfn-batch-jobdefinition-securitycontext-seccompprofile
|
|
2718
|
+
*/
|
|
2719
|
+
readonly seccompProfile?: CfnJobDefinitionPropsMixin.EksSeccompProfileProperty | cdk.IResolvable;
|
|
2657
2720
|
}
|
|
2658
2721
|
/**
|
|
2659
|
-
* A list of containers that this task depends on.
|
|
2660
|
-
*
|
|
2661
2722
|
* @struct
|
|
2662
2723
|
* @stability external
|
|
2663
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2724
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerlinuxcapabilities.html
|
|
2664
2725
|
*/
|
|
2665
|
-
interface
|
|
2726
|
+
interface EksContainerLinuxCapabilitiesProperty {
|
|
2666
2727
|
/**
|
|
2667
|
-
*
|
|
2668
|
-
*
|
|
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.
|
|
2672
|
-
*
|
|
2673
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-condition
|
|
2728
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerlinuxcapabilities.html#cfn-batch-jobdefinition-ekscontainerlinuxcapabilities-add
|
|
2674
2729
|
*/
|
|
2675
|
-
readonly
|
|
2730
|
+
readonly add?: Array<string>;
|
|
2676
2731
|
/**
|
|
2677
|
-
*
|
|
2678
|
-
*
|
|
2679
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html#cfn-batch-jobdefinition-taskcontainerdependency-containername
|
|
2732
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerlinuxcapabilities.html#cfn-batch-jobdefinition-ekscontainerlinuxcapabilities-drop
|
|
2680
2733
|
*/
|
|
2681
|
-
readonly
|
|
2734
|
+
readonly drop?: Array<string>;
|
|
2682
2735
|
}
|
|
2683
2736
|
/**
|
|
2684
|
-
* An object that contains the properties for the Amazon ECS resources of a job.
|
|
2685
|
-
*
|
|
2686
2737
|
* @struct
|
|
2687
2738
|
* @stability external
|
|
2688
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2739
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksseccompprofile.html
|
|
2689
2740
|
*/
|
|
2690
|
-
interface
|
|
2741
|
+
interface EksSeccompProfileProperty {
|
|
2691
2742
|
/**
|
|
2692
|
-
*
|
|
2693
|
-
*
|
|
2694
|
-
* > This object is currently limited to one task element. However, the task element can run up to 10 containers.
|
|
2695
|
-
*
|
|
2696
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecsproperties.html#cfn-batch-jobdefinition-ecsproperties-taskproperties
|
|
2743
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksseccompprofile.html#cfn-batch-jobdefinition-eksseccompprofile-localhostprofile
|
|
2697
2744
|
*/
|
|
2698
|
-
readonly
|
|
2745
|
+
readonly localhostProfile?: string;
|
|
2746
|
+
/**
|
|
2747
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksseccompprofile.html#cfn-batch-jobdefinition-eksseccompprofile-type
|
|
2748
|
+
*/
|
|
2749
|
+
readonly type?: string;
|
|
2699
2750
|
}
|
|
2700
2751
|
/**
|
|
2701
|
-
*
|
|
2702
|
-
*
|
|
2703
|
-
*
|
|
2752
|
+
* @struct
|
|
2753
|
+
* @stability external
|
|
2754
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html
|
|
2755
|
+
*/
|
|
2756
|
+
interface ResourcesProperty {
|
|
2757
|
+
/**
|
|
2758
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-limits
|
|
2759
|
+
*/
|
|
2760
|
+
readonly limits?: any | cdk.IResolvable;
|
|
2761
|
+
/**
|
|
2762
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-resources.html#cfn-batch-jobdefinition-resources-requests
|
|
2763
|
+
*/
|
|
2764
|
+
readonly requests?: any | cdk.IResolvable;
|
|
2765
|
+
}
|
|
2766
|
+
/**
|
|
2767
|
+
* An environment variable.
|
|
2704
2768
|
*
|
|
2705
2769
|
* @struct
|
|
2706
2770
|
* @stability external
|
|
2707
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2771
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html
|
|
2708
2772
|
*/
|
|
2709
|
-
interface
|
|
2773
|
+
interface EksContainerEnvironmentVariableProperty {
|
|
2710
2774
|
/**
|
|
2711
|
-
*
|
|
2775
|
+
* The name of the environment variable.
|
|
2712
2776
|
*
|
|
2713
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2777
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-name
|
|
2714
2778
|
*/
|
|
2715
|
-
readonly
|
|
2779
|
+
readonly name?: string;
|
|
2716
2780
|
/**
|
|
2717
|
-
*
|
|
2718
|
-
*
|
|
2719
|
-
* If `true` , execute command functionality is turned on all the containers in the task.
|
|
2781
|
+
* The value of the environment variable.
|
|
2720
2782
|
*
|
|
2721
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2783
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerenvironmentvariable.html#cfn-batch-jobdefinition-ekscontainerenvironmentvariable-value
|
|
2722
2784
|
*/
|
|
2723
|
-
readonly
|
|
2785
|
+
readonly value?: string;
|
|
2786
|
+
}
|
|
2787
|
+
/**
|
|
2788
|
+
* @struct
|
|
2789
|
+
* @stability external
|
|
2790
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html
|
|
2791
|
+
*/
|
|
2792
|
+
interface MetadataProperty {
|
|
2724
2793
|
/**
|
|
2725
|
-
*
|
|
2726
|
-
*
|
|
2727
|
-
* This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on AWS Fargate .
|
|
2728
|
-
*
|
|
2729
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-ephemeralstorage
|
|
2794
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-metadata.html#cfn-batch-jobdefinition-metadata-labels
|
|
2730
2795
|
*/
|
|
2731
|
-
readonly
|
|
2796
|
+
readonly labels?: any | cdk.IResolvable;
|
|
2797
|
+
}
|
|
2798
|
+
/**
|
|
2799
|
+
* References a Kubernetes secret resource.
|
|
2800
|
+
*
|
|
2801
|
+
* This name of the secret must start and end with an alphanumeric character, is required to be lowercase, can include periods (.) and hyphens (-), and can't contain more than 253 characters.
|
|
2802
|
+
*
|
|
2803
|
+
* @struct
|
|
2804
|
+
* @stability external
|
|
2805
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html
|
|
2806
|
+
*/
|
|
2807
|
+
interface ImagePullSecretProperty {
|
|
2732
2808
|
/**
|
|
2733
|
-
*
|
|
2809
|
+
* Provides a unique identifier for the `ImagePullSecret` .
|
|
2734
2810
|
*
|
|
2735
|
-
*
|
|
2811
|
+
* This object is required when `EksPodProperties$imagePullSecrets` is used.
|
|
2736
2812
|
*
|
|
2737
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2813
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html#cfn-batch-jobdefinition-imagepullsecret-name
|
|
2738
2814
|
*/
|
|
2739
|
-
readonly
|
|
2815
|
+
readonly name?: string;
|
|
2816
|
+
}
|
|
2817
|
+
/**
|
|
2818
|
+
* @struct
|
|
2819
|
+
* @stability external
|
|
2820
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html
|
|
2821
|
+
*/
|
|
2822
|
+
interface EksPodSecurityContextProperty {
|
|
2740
2823
|
/**
|
|
2741
|
-
*
|
|
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
|
|
2824
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-fsgroup
|
|
2754
2825
|
*/
|
|
2755
|
-
readonly
|
|
2826
|
+
readonly fsGroup?: number;
|
|
2756
2827
|
/**
|
|
2757
|
-
*
|
|
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
|
|
2828
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-runasgroup
|
|
2762
2829
|
*/
|
|
2763
|
-
readonly
|
|
2830
|
+
readonly runAsGroup?: number;
|
|
2764
2831
|
/**
|
|
2765
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2832
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-runasnonroot
|
|
2766
2833
|
*/
|
|
2767
|
-
readonly
|
|
2834
|
+
readonly runAsNonRoot?: boolean | cdk.IResolvable;
|
|
2768
2835
|
/**
|
|
2769
|
-
*
|
|
2770
|
-
*
|
|
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.
|
|
2772
|
-
*
|
|
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
|
|
2836
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-runasuser
|
|
2780
2837
|
*/
|
|
2781
|
-
readonly
|
|
2838
|
+
readonly runAsUser?: number;
|
|
2782
2839
|
/**
|
|
2783
|
-
*
|
|
2784
|
-
*
|
|
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* .
|
|
2786
|
-
*
|
|
2787
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ecstaskproperties.html#cfn-batch-jobdefinition-ecstaskproperties-platformversion
|
|
2840
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodsecuritycontext.html#cfn-batch-jobdefinition-ekspodsecuritycontext-seccompprofile
|
|
2788
2841
|
*/
|
|
2789
|
-
readonly
|
|
2842
|
+
readonly seccompProfile?: CfnJobDefinitionPropsMixin.EksSeccompProfileProperty | cdk.IResolvable;
|
|
2843
|
+
}
|
|
2844
|
+
/**
|
|
2845
|
+
* Contains a list of consumable resources required by a job.
|
|
2846
|
+
*
|
|
2847
|
+
* @struct
|
|
2848
|
+
* @stability external
|
|
2849
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html
|
|
2850
|
+
*/
|
|
2851
|
+
interface ConsumableResourcePropertiesProperty {
|
|
2790
2852
|
/**
|
|
2791
|
-
*
|
|
2853
|
+
* The list of consumable resources required by a job.
|
|
2792
2854
|
*
|
|
2793
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2855
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourceproperties.html#cfn-batch-jobdefinition-consumableresourceproperties-consumableresourcelist
|
|
2794
2856
|
*/
|
|
2795
|
-
readonly
|
|
2857
|
+
readonly consumableResourceList?: Array<CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
2858
|
+
}
|
|
2859
|
+
/**
|
|
2860
|
+
* Information about a consumable resource required to run a job.
|
|
2861
|
+
*
|
|
2862
|
+
* @struct
|
|
2863
|
+
* @stability external
|
|
2864
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html
|
|
2865
|
+
*/
|
|
2866
|
+
interface ConsumableResourceRequirementProperty {
|
|
2796
2867
|
/**
|
|
2797
|
-
* The
|
|
2798
|
-
*
|
|
2799
|
-
* > This is object is comparable to [ContainerProperties:jobRoleArn](https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html) .
|
|
2868
|
+
* The name or ARN of the consumable resource.
|
|
2800
2869
|
*
|
|
2801
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2870
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-consumableresource
|
|
2802
2871
|
*/
|
|
2803
|
-
readonly
|
|
2872
|
+
readonly consumableResource?: string;
|
|
2804
2873
|
/**
|
|
2805
|
-
*
|
|
2874
|
+
* The quantity of the consumable resource that is needed.
|
|
2806
2875
|
*
|
|
2807
|
-
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
2876
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-consumableresourcerequirement.html#cfn-batch-jobdefinition-consumableresourcerequirement-quantity
|
|
2808
2877
|
*/
|
|
2809
|
-
readonly
|
|
2878
|
+
readonly quantity?: number;
|
|
2810
2879
|
}
|
|
2811
2880
|
/**
|
|
2812
2881
|
* Specifies the resource retention policy settings for a job definition.
|