@aws-cdk/cfn-property-mixins 2.250.0 → 2.252.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 +39 -0
- package/lib/services/alexa-ask/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-accessanalyzer/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-acmpca/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-aiops/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-amazonmq/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-amplify/cfn-props-mixins.generated.js +3 -3
- 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 +14 -14
- package/lib/services/aws-appconfig/cfn-props-mixins.generated.js +8 -8
- package/lib/services/aws-appflow/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-appintegrations/cfn-props-mixins.generated.d.ts +6 -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 +3 -3
- 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 +12 -12
- 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 +27 -27
- package/lib/services/aws-arcregionswitch/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-arczonalshift/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-athena/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-auditmanager/cfn-props-mixins.generated.js +1 -1
- 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-b2bi/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-backup/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-backupgateway/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-batch/cfn-props-mixins.generated.d.ts +597 -544
- package/lib/services/aws-batch/cfn-props-mixins.generated.js +10 -8
- package/lib/services/aws-bcmdataexports/cfn-props-mixins.generated.d.ts +4 -0
- package/lib/services/aws-bcmdataexports/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-bcmpricingcalculator/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-bedrock/cfn-props-mixins.generated.js +20 -20
- package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.d.ts +19 -0
- package/lib/services/aws-bedrockagentcore/cfn-props-mixins.generated.js +15 -15
- 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 +5 -5
- 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 +2 -2
- package/lib/services/aws-chatbot/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-cleanrooms/cfn-props-mixins.generated.js +8 -8
- 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.d.ts +1 -1
- package/lib/services/aws-cloudformation/cfn-props-mixins.generated.js +18 -18
- package/lib/services/aws-cloudfront/cfn-props-mixins.generated.d.ts +4 -0
- package/lib/services/aws-cloudfront/cfn-props-mixins.generated.js +21 -21
- package/lib/services/aws-cloudtrail/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.d.ts +44 -0
- package/lib/services/aws-cloudwatch/cfn-props-mixins.generated.js +8 -8
- 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 +1 -1
- 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.js +16 -16
- package/lib/services/aws-comprehend/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-computeoptimizer/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-config/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-connect/cfn-props-mixins.generated.js +34 -34
- 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 +8 -8
- package/lib/services/aws-databrew/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-datapipeline/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-datasync/cfn-props-mixins.generated.js +13 -13
- package/lib/services/aws-datazone/cfn-props-mixins.generated.js +17 -17
- package/lib/services/aws-dax/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-deadline/cfn-props-mixins.generated.d.ts +105 -0
- package/lib/services/aws-deadline/cfn-props-mixins.generated.js +13 -13
- package/lib/services/aws-detective/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-devicefarm/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-devopsagent/cfn-props-mixins.generated.d.ts +495 -0
- package/lib/services/aws-devopsagent/cfn-props-mixins.generated.js +54 -4
- package/lib/services/aws-devopsguru/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-directconnect/cfn-props-mixins.generated.js +7 -7
- 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.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 +1 -1
- package/lib/services/aws-dsql/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-dynamodb/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-ec2/cfn-props-mixins.generated.d.ts +143 -0
- package/lib/services/aws-ec2/cfn-props-mixins.generated.js +113 -113
- package/lib/services/aws-ecr/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-ecs/cfn-props-mixins.generated.d.ts +545 -3
- package/lib/services/aws-ecs/cfn-props-mixins.generated.js +14 -12
- package/lib/services/aws-efs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-eks/cfn-props-mixins.generated.js +8 -8
- package/lib/services/aws-elasticache/cfn-props-mixins.generated.js +10 -10
- package/lib/services/aws-elasticbeanstalk/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-elasticloadbalancing/cfn-props-mixins.generated.d.ts +0 -15
- 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 +1 -1
- package/lib/services/aws-emr/cfn-props-mixins.generated.js +8 -8
- package/lib/services/aws-emrcontainers/cfn-props-mixins.generated.js +3 -3
- 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-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 +3 -3
- 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 +6 -6
- package/lib/services/aws-gamelift/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-gameliftstreams/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-globalaccelerator/cfn-props-mixins.generated.d.ts +19 -0
- package/lib/services/aws-globalaccelerator/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-glue/cfn-props-mixins.generated.js +25 -25
- 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 +10 -10
- package/lib/services/aws-healthimaging/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-healthlake/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-iam/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-identitystore/cfn-props-mixins.generated.js +2 -2
- 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 +4 -4
- package/lib/services/aws-interconnect/cfn-props-mixins.generated.d.ts +27 -2
- package/lib/services/aws-interconnect/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-internetmonitor/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-invoicing/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-iot/cfn-props-mixins.generated.js +30 -30
- 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-iotsitewise/cfn-props-mixins.generated.js +9 -9
- 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 +10 -10
- 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 +3 -3
- package/lib/services/aws-kendraranking/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-kinesis/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-kinesisanalytics/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-kinesisanalyticsv2/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-kinesisfirehose/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-kinesisvideo/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-kms/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-lakeformation/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-lambda/cfn-props-mixins.generated.js +11 -11
- 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 +2 -2
- package/lib/services/aws-lightsail/cfn-props-mixins.generated.js +15 -15
- package/lib/services/aws-location/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-logs/cfn-props-mixins.generated.js +15 -15
- 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 +4 -4
- package/lib/services/aws-managedblockchain/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.d.ts +93 -14
- package/lib/services/aws-mediaconnect/cfn-props-mixins.generated.js +12 -12
- package/lib/services/aws-mediaconvert/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-medialive/cfn-props-mixins.generated.d.ts +4 -0
- package/lib/services/aws-medialive/cfn-props-mixins.generated.js +14 -14
- 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 +6 -6
- package/lib/services/aws-memorydb/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 +231 -0
- package/lib/services/aws-msk/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-mwaa/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-mwaaserverless/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-neptune/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-neptunegraph/cfn-props-mixins.generated.d.ts +63 -0
- package/lib/services/aws-neptunegraph/cfn-props-mixins.generated.js +54 -4
- package/lib/services/aws-networkfirewall/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-networkmanager/cfn-props-mixins.generated.js +16 -16
- 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 +6 -6
- package/lib/services/aws-odb/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-omics/cfn-props-mixins.generated.js +8 -8
- package/lib/services/aws-opensearchserverless/cfn-props-mixins.generated.js +8 -8
- 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 +1 -1
- package/lib/services/aws-panorama/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-paymentcryptography/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-pcaconnectorad/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-pcaconnectorscep/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-pcs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-personalize/cfn-props-mixins.generated.js +4 -4
- 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-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.js +12 -12
- package/lib/services/aws-ram/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-rbin/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-rds/cfn-props-mixins.generated.js +16 -16
- package/lib/services/aws-redshift/cfn-props-mixins.generated.js +10 -10
- 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 +3 -3
- package/lib/services/aws-resiliencehub/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-resourceexplorer2/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-resourcegroups/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-robomaker/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-rolesanywhere/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-route53/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-route53globalresolver/cfn-props-mixins.generated.js +7 -7
- 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 +11 -11
- package/lib/services/aws-rtbfabric/cfn-props-mixins.generated.js +5 -5
- 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.d.ts +92 -0
- package/lib/services/aws-s3express/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-s3files/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-s3objectlambda/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-s3outposts/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-s3tables/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-s3vectors/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-sagemaker/cfn-props-mixins.generated.d.ts +8 -0
- package/lib/services/aws-sagemaker/cfn-props-mixins.generated.js +34 -34
- 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-sdb/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-secretsmanager/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-securityagent/cfn-props-mixins.generated.d.ts +98 -0
- package/lib/services/aws-securityagent/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-securityhub/cfn-props-mixins.generated.js +15 -15
- package/lib/services/aws-securitylake/cfn-props-mixins.generated.js +4 -4
- 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 +112 -0
- 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 +7 -7
- package/lib/services/aws-sns/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-sqs/cfn-props-mixins.generated.js +3 -3
- package/lib/services/aws-ssm/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-ssmcontacts/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-ssmguiconnect/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-ssmincidents/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-ssmquicksetup/cfn-props-mixins.generated.js +2 -2
- package/lib/services/aws-sso/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-stepfunctions/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-supportapp/cfn-props-mixins.generated.js +3 -3
- 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-timestream/cfn-props-mixins.generated.js +5 -5
- package/lib/services/aws-transfer/cfn-props-mixins.generated.d.ts +6 -0
- package/lib/services/aws-transfer/cfn-props-mixins.generated.js +9 -9
- package/lib/services/aws-uxc/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-verifiedpermissions/cfn-props-mixins.generated.js +4 -4
- package/lib/services/aws-voiceid/cfn-props-mixins.generated.js +1 -1
- package/lib/services/aws-vpclattice/cfn-props-mixins.generated.js +14 -14
- package/lib/services/aws-waf/cfn-props-mixins.generated.js +7 -7
- package/lib/services/aws-wafregional/cfn-props-mixins.generated.js +11 -11
- package/lib/services/aws-wafv2/cfn-props-mixins.generated.js +6 -6
- package/lib/services/aws-wisdom/cfn-props-mixins.generated.js +12 -12
- package/lib/services/aws-workspaces/cfn-props-mixins.generated.js +3 -3
- 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
|
@@ -140,6 +140,10 @@ export declare namespace CfnCapacityProviderPropsMixin {
|
|
|
140
140
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesprovider.html
|
|
141
141
|
*/
|
|
142
142
|
interface ManagedInstancesProviderProperty {
|
|
143
|
+
/**
|
|
144
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedinstancesprovider.html#cfn-ecs-capacityprovider-managedinstancesprovider-autorepairconfiguration
|
|
145
|
+
*/
|
|
146
|
+
readonly autoRepairConfiguration?: CfnCapacityProviderPropsMixin.AutoRepairConfigurationProperty | cdk.IResolvable;
|
|
143
147
|
/**
|
|
144
148
|
* Defines how Amazon ECS Managed Instances optimizes the infrastastructure in your capacity provider.
|
|
145
149
|
*
|
|
@@ -177,6 +181,17 @@ export declare namespace CfnCapacityProviderPropsMixin {
|
|
|
177
181
|
*/
|
|
178
182
|
readonly propagateTags?: string;
|
|
179
183
|
}
|
|
184
|
+
/**
|
|
185
|
+
* @struct
|
|
186
|
+
* @stability external
|
|
187
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-autorepairconfiguration.html
|
|
188
|
+
*/
|
|
189
|
+
interface AutoRepairConfigurationProperty {
|
|
190
|
+
/**
|
|
191
|
+
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-autorepairconfiguration.html#cfn-ecs-capacityprovider-autorepairconfiguration-actionsstatus
|
|
192
|
+
*/
|
|
193
|
+
readonly actionsStatus?: string;
|
|
194
|
+
}
|
|
180
195
|
/**
|
|
181
196
|
* The configuration that controls how Amazon ECS optimizes your infrastructure.
|
|
182
197
|
*
|
|
@@ -5625,7 +5640,7 @@ export interface CfnTaskSetMixinProps {
|
|
|
5625
5640
|
readonly taskDefinition?: string;
|
|
5626
5641
|
}
|
|
5627
5642
|
/**
|
|
5628
|
-
*
|
|
5643
|
+
* Information about a daemon resource.
|
|
5629
5644
|
*
|
|
5630
5645
|
* @cloudformationResource AWS::ECS::Daemon
|
|
5631
5646
|
* @mixin true
|
|
@@ -5654,35 +5669,59 @@ export declare class CfnDaemonPropsMixin extends cdk.Mixin implements constructs
|
|
|
5654
5669
|
}
|
|
5655
5670
|
export declare namespace CfnDaemonPropsMixin {
|
|
5656
5671
|
/**
|
|
5672
|
+
* Optional deployment parameters that control how a daemon rolls out updates across container instances.
|
|
5673
|
+
*
|
|
5657
5674
|
* @struct
|
|
5658
5675
|
* @stability external
|
|
5659
5676
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemon-daemondeploymentconfiguration.html
|
|
5660
5677
|
*/
|
|
5661
5678
|
interface DaemonDeploymentConfigurationProperty {
|
|
5662
5679
|
/**
|
|
5680
|
+
* The CloudWatch alarm configuration for a daemon.
|
|
5681
|
+
*
|
|
5682
|
+
* When enabled, CloudWatch alarms determine whether a daemon deployment has failed.
|
|
5683
|
+
*
|
|
5663
5684
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemon-daemondeploymentconfiguration.html#cfn-ecs-daemon-daemondeploymentconfiguration-alarms
|
|
5664
5685
|
*/
|
|
5665
5686
|
readonly alarms?: CfnDaemonPropsMixin.DaemonAlarmConfigurationProperty | cdk.IResolvable;
|
|
5666
5687
|
/**
|
|
5688
|
+
* The amount of time (in minutes) to wait after a successful deployment step before proceeding.
|
|
5689
|
+
*
|
|
5690
|
+
* This allows time to monitor for issues before continuing. The default value is 0.
|
|
5691
|
+
*
|
|
5667
5692
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemon-daemondeploymentconfiguration.html#cfn-ecs-daemon-daemondeploymentconfiguration-baketimeinminutes
|
|
5668
5693
|
*/
|
|
5669
5694
|
readonly bakeTimeInMinutes?: number;
|
|
5670
5695
|
/**
|
|
5696
|
+
* The percentage of container instances to drain simultaneously during a daemon deployment.
|
|
5697
|
+
*
|
|
5698
|
+
* Valid values are between 0.0 and 100.0.
|
|
5699
|
+
*
|
|
5671
5700
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemon-daemondeploymentconfiguration.html#cfn-ecs-daemon-daemondeploymentconfiguration-drainpercent
|
|
5672
5701
|
*/
|
|
5673
5702
|
readonly drainPercent?: number;
|
|
5674
5703
|
}
|
|
5675
5704
|
/**
|
|
5705
|
+
* The CloudWatch alarm configuration for a daemon.
|
|
5706
|
+
*
|
|
5707
|
+
* When enabled, CloudWatch alarms determine whether a daemon deployment has failed.
|
|
5708
|
+
*
|
|
5676
5709
|
* @struct
|
|
5677
5710
|
* @stability external
|
|
5678
5711
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemon-daemonalarmconfiguration.html
|
|
5679
5712
|
*/
|
|
5680
5713
|
interface DaemonAlarmConfigurationProperty {
|
|
5681
5714
|
/**
|
|
5715
|
+
* The CloudWatch alarm names to monitor during a daemon deployment.
|
|
5716
|
+
*
|
|
5682
5717
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemon-daemonalarmconfiguration.html#cfn-ecs-daemon-daemonalarmconfiguration-alarmnames
|
|
5683
5718
|
*/
|
|
5684
5719
|
readonly alarmNames?: Array<string>;
|
|
5685
5720
|
/**
|
|
5721
|
+
* Determines whether to use the CloudWatch alarm option in the daemon deployment process.
|
|
5722
|
+
*
|
|
5723
|
+
* The default value is ``false``.
|
|
5724
|
+
*
|
|
5686
5725
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemon-daemonalarmconfiguration.html#cfn-ecs-daemon-daemonalarmconfiguration-enable
|
|
5687
5726
|
*/
|
|
5688
5727
|
readonly enable?: boolean | cdk.IResolvable;
|
|
@@ -5697,10 +5736,14 @@ export declare namespace CfnDaemonPropsMixin {
|
|
|
5697
5736
|
*/
|
|
5698
5737
|
export interface CfnDaemonMixinProps {
|
|
5699
5738
|
/**
|
|
5739
|
+
* The Amazon Resource Names (ARNs) of the capacity providers associated with the daemon.
|
|
5740
|
+
*
|
|
5700
5741
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-capacityproviderarns
|
|
5701
5742
|
*/
|
|
5702
5743
|
readonly capacityProviderArns?: Array<string>;
|
|
5703
5744
|
/**
|
|
5745
|
+
* The Amazon Resource Name (ARN) of the cluster that the daemon is running in.
|
|
5746
|
+
*
|
|
5704
5747
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-clusterarn
|
|
5705
5748
|
*/
|
|
5706
5749
|
readonly clusterArn?: string;
|
|
@@ -5709,22 +5752,32 @@ export interface CfnDaemonMixinProps {
|
|
|
5709
5752
|
*/
|
|
5710
5753
|
readonly daemonName?: string;
|
|
5711
5754
|
/**
|
|
5755
|
+
* The Amazon Resource Name (ARN) of the daemon task definition used by this revision.
|
|
5756
|
+
*
|
|
5712
5757
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-daemontaskdefinitionarn
|
|
5713
5758
|
*/
|
|
5714
5759
|
readonly daemonTaskDefinitionArn?: string;
|
|
5715
5760
|
/**
|
|
5761
|
+
* Optional deployment parameters that control how a daemon rolls out updates across container instances.
|
|
5762
|
+
*
|
|
5716
5763
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-deploymentconfiguration
|
|
5717
5764
|
*/
|
|
5718
5765
|
readonly deploymentConfiguration?: CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty | cdk.IResolvable;
|
|
5719
5766
|
/**
|
|
5767
|
+
* Specifies whether Amazon ECS managed tags are turned on for the daemon tasks.
|
|
5768
|
+
*
|
|
5720
5769
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-enableecsmanagedtags
|
|
5721
5770
|
*/
|
|
5722
5771
|
readonly enableEcsManagedTags?: boolean | cdk.IResolvable;
|
|
5723
5772
|
/**
|
|
5773
|
+
* Specifies whether the execute command functionality is turned on for the daemon tasks.
|
|
5774
|
+
*
|
|
5724
5775
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-enableexecutecommand
|
|
5725
5776
|
*/
|
|
5726
5777
|
readonly enableExecuteCommand?: boolean | cdk.IResolvable;
|
|
5727
5778
|
/**
|
|
5779
|
+
* Specifies whether tags are propagated from the daemon to the daemon tasks.
|
|
5780
|
+
*
|
|
5728
5781
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemon.html#cfn-ecs-daemon-propagatetags
|
|
5729
5782
|
*/
|
|
5730
5783
|
readonly propagateTags?: string;
|
|
@@ -5734,7 +5787,9 @@ export interface CfnDaemonMixinProps {
|
|
|
5734
5787
|
readonly tags?: Array<cdk.CfnTag>;
|
|
5735
5788
|
}
|
|
5736
5789
|
/**
|
|
5737
|
-
*
|
|
5790
|
+
* The details of a daemon task definition.
|
|
5791
|
+
*
|
|
5792
|
+
* A daemon task definition is a template that describes the containers that form a daemon. Daemons deploy cross-cutting software agents independently across your Amazon ECS infrastructure.
|
|
5738
5793
|
*
|
|
5739
5794
|
* @cloudformationResource AWS::ECS::DaemonTaskDefinition
|
|
5740
5795
|
* @mixin true
|
|
@@ -5763,33 +5818,55 @@ export declare class CfnDaemonTaskDefinitionPropsMixin extends cdk.Mixin impleme
|
|
|
5763
5818
|
}
|
|
5764
5819
|
export declare namespace CfnDaemonTaskDefinitionPropsMixin {
|
|
5765
5820
|
/**
|
|
5821
|
+
* The data volume configuration for tasks launched using this task definition.
|
|
5822
|
+
*
|
|
5823
|
+
* Specifying a volume configuration in a task definition is optional. The volume configuration may contain multiple volumes but only one volume configured at launch is supported. Each volume defined in the volume configuration may only specify a ``name`` and one of either ``configuredAtLaunch``, ``dockerVolumeConfiguration``, ``efsVolumeConfiguration``, ``fsxWindowsFileServerVolumeConfiguration``, or ``host``. If an empty volume configuration is specified, by default Amazon ECS uses a host volume. For more information, see [Using data volumes in tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html).
|
|
5824
|
+
*
|
|
5766
5825
|
* @struct
|
|
5767
5826
|
* @stability external
|
|
5768
5827
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-volume.html
|
|
5769
5828
|
*/
|
|
5770
5829
|
interface VolumeProperty {
|
|
5771
5830
|
/**
|
|
5831
|
+
* Details on a container instance bind mount host volume.
|
|
5832
|
+
*
|
|
5772
5833
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-volume.html#cfn-ecs-daemontaskdefinition-volume-host
|
|
5773
5834
|
*/
|
|
5774
5835
|
readonly host?: CfnDaemonTaskDefinitionPropsMixin.HostVolumePropertiesProperty | cdk.IResolvable;
|
|
5775
5836
|
/**
|
|
5837
|
+
* The name of the volume.
|
|
5838
|
+
*
|
|
5839
|
+
* Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.
|
|
5840
|
+
* When using a volume configured at launch, the ``name`` is required and must also be specified as the volume name in the ``ServiceVolumeConfiguration`` or ``TaskVolumeConfiguration`` parameter when creating your service or standalone task.
|
|
5841
|
+
* For all other types of volumes, this name is referenced in the ``sourceVolume`` parameter of the ``mountPoints`` object in the container definition.
|
|
5842
|
+
* When a volume is using the ``efsVolumeConfiguration``, the name is required.
|
|
5843
|
+
*
|
|
5776
5844
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-volume.html#cfn-ecs-daemontaskdefinition-volume-name
|
|
5777
5845
|
*/
|
|
5778
5846
|
readonly name?: string;
|
|
5779
5847
|
}
|
|
5780
5848
|
/**
|
|
5849
|
+
* Details on a container instance bind mount host volume.
|
|
5850
|
+
*
|
|
5781
5851
|
* @struct
|
|
5782
5852
|
* @stability external
|
|
5783
5853
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-hostvolumeproperties.html
|
|
5784
5854
|
*/
|
|
5785
5855
|
interface HostVolumePropertiesProperty {
|
|
5786
5856
|
/**
|
|
5857
|
+
* When the ``host`` parameter is used, specify a ``sourcePath`` to declare the path on the host container instance that's presented to the container.
|
|
5858
|
+
*
|
|
5859
|
+
* If this parameter is empty, then the Docker daemon has assigned a host path for you. If the ``host`` parameter contains a ``sourcePath`` file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the ``sourcePath`` value doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
|
|
5860
|
+
* If you're using the Fargate launch type, the ``sourcePath`` parameter is not supported.
|
|
5861
|
+
*
|
|
5787
5862
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-hostvolumeproperties.html#cfn-ecs-daemontaskdefinition-hostvolumeproperties-sourcepath
|
|
5788
5863
|
*/
|
|
5789
5864
|
readonly sourcePath?: string;
|
|
5790
5865
|
}
|
|
5791
5866
|
/**
|
|
5792
|
-
*
|
|
5867
|
+
* A container definition for a daemon task.
|
|
5868
|
+
*
|
|
5869
|
+
* Daemon container definitions describe the containers that run as part of a daemon task on container instances managed by capacity providers.
|
|
5793
5870
|
*
|
|
5794
5871
|
* @struct
|
|
5795
5872
|
* @stability external
|
|
@@ -5797,86 +5874,202 @@ export declare namespace CfnDaemonTaskDefinitionPropsMixin {
|
|
|
5797
5874
|
*/
|
|
5798
5875
|
interface DaemonContainerDefinitionProperty {
|
|
5799
5876
|
/**
|
|
5877
|
+
* The command that's passed to the container.
|
|
5878
|
+
*
|
|
5800
5879
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-command
|
|
5801
5880
|
*/
|
|
5802
5881
|
readonly command?: Array<string>;
|
|
5803
5882
|
/**
|
|
5883
|
+
* The number of ``cpu`` units reserved for the container.
|
|
5884
|
+
*
|
|
5804
5885
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-cpu
|
|
5805
5886
|
*/
|
|
5806
5887
|
readonly cpu?: number;
|
|
5807
5888
|
/**
|
|
5889
|
+
* The dependencies defined for container startup and shutdown.
|
|
5890
|
+
*
|
|
5891
|
+
* A container can contain multiple dependencies on other containers in a task definition.
|
|
5892
|
+
*
|
|
5808
5893
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-dependson
|
|
5809
5894
|
*/
|
|
5810
5895
|
readonly dependsOn?: Array<CfnDaemonTaskDefinitionPropsMixin.ContainerDependencyProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
5811
5896
|
/**
|
|
5897
|
+
* The entry point that's passed to the container.
|
|
5898
|
+
*
|
|
5812
5899
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-entrypoint
|
|
5813
5900
|
*/
|
|
5814
5901
|
readonly entryPoint?: Array<string>;
|
|
5815
5902
|
/**
|
|
5903
|
+
* The environment variables to pass to a container.
|
|
5904
|
+
*
|
|
5816
5905
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-environment
|
|
5817
5906
|
*/
|
|
5818
5907
|
readonly environment?: Array<cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.KeyValuePairProperty> | cdk.IResolvable;
|
|
5819
5908
|
/**
|
|
5909
|
+
* A list of files containing the environment variables to pass to a container.
|
|
5910
|
+
*
|
|
5820
5911
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-environmentfiles
|
|
5821
5912
|
*/
|
|
5822
5913
|
readonly environmentFiles?: Array<CfnDaemonTaskDefinitionPropsMixin.EnvironmentFileProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
5823
5914
|
/**
|
|
5915
|
+
* 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.
|
|
5916
|
+
*
|
|
5824
5917
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-essential
|
|
5825
5918
|
*/
|
|
5826
5919
|
readonly essential?: boolean | cdk.IResolvable;
|
|
5827
5920
|
/**
|
|
5921
|
+
* The FireLens configuration for the container.
|
|
5922
|
+
*
|
|
5923
|
+
* This is used to specify and configure a log router for container logs. For more information, see [Custom log routing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
5924
|
+
*
|
|
5828
5925
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-firelensconfiguration
|
|
5829
5926
|
*/
|
|
5830
5927
|
readonly firelensConfiguration?: CfnDaemonTaskDefinitionPropsMixin.FirelensConfigurationProperty | cdk.IResolvable;
|
|
5831
5928
|
/**
|
|
5929
|
+
* An object representing a container health check.
|
|
5930
|
+
*
|
|
5931
|
+
* Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the ``HEALTHCHECK`` parameter of docker run.
|
|
5932
|
+
* The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.
|
|
5933
|
+
* You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console.
|
|
5934
|
+
* The health check is designed to make sure that your containers survive agent restarts, upgrades, or temporary unavailability.
|
|
5935
|
+
* Amazon ECS performs health checks on containers with the default that launched the container instance or the task.
|
|
5936
|
+
* The following describes the possible ``healthStatus`` values for a container:
|
|
5937
|
+
* + ``HEALTHY``-The container health check has passed successfully.
|
|
5938
|
+
* + ``UNHEALTHY``-The container health check has failed.
|
|
5939
|
+
* + ``UNKNOWN``-The container health check is being evaluated, there's no container health check defined, or Amazon ECS doesn't have the health status of the container.
|
|
5940
|
+
*
|
|
5941
|
+
* The following describes the possible ``healthStatus`` values based on the container health checker status of essential containers in the task with the following priority order (high to low):
|
|
5942
|
+
* + ``UNHEALTHY``-One or more essential containers have failed their health check.
|
|
5943
|
+
* + ``UNKNOWN``-Any essential container running within the task is in an ``UNKNOWN`` state and no other essential containers have an ``UNHEALTHY`` state.
|
|
5944
|
+
* + ``HEALTHY``-All essential containers within the task have passed their health checks.
|
|
5945
|
+
*
|
|
5946
|
+
* Consider the following task health example with 2 containers.
|
|
5947
|
+
* + If Container1 is ``UNHEALTHY`` and Container2 is ``UNKNOWN``, the task health is ``UNHEALTHY``.
|
|
5948
|
+
* + If Container1 is ``UNHEALTHY`` and Container2 is ``HEALTHY``, the task health is ``UNHEALTHY``.
|
|
5949
|
+
* + If Container1 is ``HEALTHY`` and Container2 is ``UNKNOWN``, the task health is ``UNKNOWN``.
|
|
5950
|
+
* + If Container1 is ``HEALTHY`` and Container2 is ``HEALTHY``, the task health is ``HEALTHY``.
|
|
5951
|
+
*
|
|
5952
|
+
* Consider the following task health example with 3 containers.
|
|
5953
|
+
* + If Container1 is ``UNHEALTHY`` and Container2 is ``UNKNOWN``, and Container3 is ``UNKNOWN``, the task health is ``UNHEALTHY``.
|
|
5954
|
+
* + If Container1 is ``UNHEALTHY`` and Container2 is ``UNKNOWN``, and Container3 is ``HEALTHY``, the task health is ``UNHEALTHY``.
|
|
5955
|
+
* + If Container1 is ``UNHEALTHY`` and Container2 is ``HEALTHY``, and Container3 is ``HEALTHY``, the task health is ``UNHEALTHY``.
|
|
5956
|
+
* + If Container1 is ``HEALTHY`` and Container2 is ``UNKNOWN``, and Container3 is ``HEALTHY``, the task health is ``UNKNOWN``.
|
|
5957
|
+
* + If Container1 is ``HEALTHY`` and Container2 is ``UNKNOWN``, and Container3 is ``UNKNOWN``, the task health is ``UNKNOWN``.
|
|
5958
|
+
* + If Container1 is ``HEALTHY`` and Container2 is ``HEALTHY``, and Container3 is ``HEALTHY``, the task health is ``HEALTHY``.
|
|
5959
|
+
*
|
|
5960
|
+
* If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it.
|
|
5961
|
+
* When a container health check fails for a task that is part of a service, the following process occurs:
|
|
5962
|
+
* 1. The task is marked as ``UNHEALTHY``.
|
|
5963
|
+
* 1. The unhealthy task will be stopped, and during the stopping process, it will go through the following states:
|
|
5964
|
+
* + ``DEACTIVATING`` - In this state, Amazon ECS performs additional steps before stopping the task. For example, for tasks that are part of services configured to use Elastic Load Balancing target groups, target groups will be deregistered in this state.
|
|
5965
|
+
* + ``STOPPING`` - The task is in the process of being stopped.
|
|
5966
|
+
* + ``DEPROVISIONING`` - Resources associated with the task are being cleaned up.
|
|
5967
|
+
* + ``STOPPED`` - The task has been completely stopped.
|
|
5968
|
+
*
|
|
5969
|
+
* 1. After the old task stops, a new task will be launched to ensure service operation, and the new task will go through the following lifecycle:
|
|
5970
|
+
* + ``PROVISIONING`` - Resources required for the task are being provisioned.
|
|
5971
|
+
* + ``PENDING`` - The task is waiting to be placed on a container instance.
|
|
5972
|
+
* + ``ACTIVATING`` - In this state, Amazon ECS pulls container images, creates containers, configures task networking, registers load balancer target groups, and configures service discovery status.
|
|
5973
|
+
* + ``RUNNING`` - The task is running and performing its work.
|
|
5974
|
+
*
|
|
5975
|
+
*
|
|
5976
|
+
* For more detailed information about task lifecycle states, see [Task lifecycle](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle-explanation.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
5977
|
+
* The following are notes about container health check support:
|
|
5978
|
+
* + If the Amazon ECS container agent becomes disconnected from the Amazon ECS service, this won't cause a container to transition to an ``UNHEALTHY`` status. This is by design, to ensure that containers remain running during agent restarts or temporary unavailability. The health check status is the "last heard from" response from the Amazon ECS agent, so if the container was considered ``HEALTHY`` prior to the disconnect, that status will remain until the agent reconnects and another health check occurs. There are no assumptions made about the status of the container health checks.
|
|
5979
|
+
* + Container health checks require version ``1.17.0`` or greater of the Amazon ECS container agent. For more information, see [Updating the Amazon ECS container agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html).
|
|
5980
|
+
* + Container health checks are supported for Fargate tasks if you're using platform version ``1.1.0`` or greater. For more information, see [platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
|
|
5981
|
+
* + Container health checks aren't supported for tasks that are part of a service that's configured to use a Classic Load Balancer.
|
|
5982
|
+
*
|
|
5983
|
+
* For an example of how to specify a task definition with multiple containers where container dependency is specified, see [Container dependency](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency) in the *Amazon Elastic Container Service Developer Guide*.
|
|
5984
|
+
*
|
|
5832
5985
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-healthcheck
|
|
5833
5986
|
*/
|
|
5834
5987
|
readonly healthCheck?: CfnDaemonTaskDefinitionPropsMixin.HealthCheckProperty | cdk.IResolvable;
|
|
5835
5988
|
/**
|
|
5989
|
+
* The image used to start the container.
|
|
5990
|
+
*
|
|
5991
|
+
* This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either ``repository-url/image:tag`` or ``repository-url/image@digest``.
|
|
5992
|
+
*
|
|
5836
5993
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-image
|
|
5837
5994
|
*/
|
|
5838
5995
|
readonly image?: string;
|
|
5839
5996
|
/**
|
|
5997
|
+
* When this parameter is ``true``, you can deploy containerized applications that require ``stdin`` or a ``tty`` to be allocated.
|
|
5998
|
+
*
|
|
5840
5999
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-interactive
|
|
5841
6000
|
*/
|
|
5842
6001
|
readonly interactive?: boolean | cdk.IResolvable;
|
|
5843
6002
|
/**
|
|
6003
|
+
* The Linux-specific options that are applied to the container, such as Linux [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html).
|
|
6004
|
+
*
|
|
5844
6005
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-linuxparameters
|
|
5845
6006
|
*/
|
|
5846
6007
|
readonly linuxParameters?: cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.LinuxParametersProperty;
|
|
5847
6008
|
/**
|
|
6009
|
+
* The log configuration for the container.
|
|
6010
|
+
*
|
|
6011
|
+
* This parameter maps to ``LogConfig`` in the docker container create command and the ``--log-driver`` option to docker run.
|
|
6012
|
+
* By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition.
|
|
6013
|
+
* Understand the following when specifying a log configuration for your containers.
|
|
6014
|
+
* + Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon. Additional log drivers may be available in future releases of the Amazon ECS container agent.
|
|
6015
|
+
* For tasks on FARGATElong, the supported log drivers are ``awslogs``, ``splunk``, and ``awsfirelens``.
|
|
6016
|
+
* For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``,``syslog``, ``splunk``, and ``awsfirelens``.
|
|
6017
|
+
* + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance.
|
|
6018
|
+
* + For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must register the available logging drivers 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*.
|
|
6019
|
+
* + For tasks that are on FARGATElong, because you don't have access to the underlying infrastructure your tasks are hosted on, any additional software needed must be installed outside of the task. For example, the Fluentd output aggregators or a remote host running Logstash to send Gelf logs to.
|
|
6020
|
+
*
|
|
5848
6021
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-logconfiguration
|
|
5849
6022
|
*/
|
|
5850
6023
|
readonly logConfiguration?: cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.LogConfigurationProperty;
|
|
5851
6024
|
/**
|
|
6025
|
+
* The amount (in MiB) of memory to present to the container.
|
|
6026
|
+
*
|
|
6027
|
+
* If the container attempts to exceed the memory specified here, the container is killed.
|
|
6028
|
+
*
|
|
5852
6029
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-memory
|
|
5853
6030
|
*/
|
|
5854
6031
|
readonly memory?: number;
|
|
5855
6032
|
/**
|
|
6033
|
+
* The soft limit (in MiB) of memory to reserve for the container.
|
|
6034
|
+
*
|
|
5856
6035
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-memoryreservation
|
|
5857
6036
|
*/
|
|
5858
6037
|
readonly memoryReservation?: number;
|
|
5859
6038
|
/**
|
|
6039
|
+
* The mount points for data volumes in your container.
|
|
6040
|
+
*
|
|
5860
6041
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-mountpoints
|
|
5861
6042
|
*/
|
|
5862
6043
|
readonly mountPoints?: Array<cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.MountPointProperty> | cdk.IResolvable;
|
|
5863
6044
|
/**
|
|
6045
|
+
* The name of the container.
|
|
6046
|
+
*
|
|
6047
|
+
* Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.
|
|
6048
|
+
*
|
|
5864
6049
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-name
|
|
5865
6050
|
*/
|
|
5866
6051
|
readonly name?: string;
|
|
5867
6052
|
/**
|
|
6053
|
+
* When this parameter is true, the container is given elevated privileges on the host container instance (similar to the ``root`` user).
|
|
6054
|
+
*
|
|
5868
6055
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-privileged
|
|
5869
6056
|
*/
|
|
5870
6057
|
readonly privileged?: boolean | cdk.IResolvable;
|
|
5871
6058
|
/**
|
|
6059
|
+
* When this parameter is ``true``, a TTY is allocated.
|
|
6060
|
+
*
|
|
5872
6061
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-pseudoterminal
|
|
5873
6062
|
*/
|
|
5874
6063
|
readonly pseudoTerminal?: boolean | cdk.IResolvable;
|
|
5875
6064
|
/**
|
|
6065
|
+
* When this parameter is true, the container is given read-only access to its root file system.
|
|
6066
|
+
*
|
|
5876
6067
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-readonlyrootfilesystem
|
|
5877
6068
|
*/
|
|
5878
6069
|
readonly readonlyRootFilesystem?: boolean | cdk.IResolvable;
|
|
5879
6070
|
/**
|
|
6071
|
+
* The repository credentials for private registry authentication.
|
|
6072
|
+
*
|
|
5880
6073
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-repositorycredentials
|
|
5881
6074
|
*/
|
|
5882
6075
|
readonly repositoryCredentials?: cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.RepositoryCredentialsProperty;
|
|
@@ -5885,242 +6078,535 @@ export declare namespace CfnDaemonTaskDefinitionPropsMixin {
|
|
|
5885
6078
|
*/
|
|
5886
6079
|
readonly restartPolicy?: cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.RestartPolicyProperty;
|
|
5887
6080
|
/**
|
|
6081
|
+
* The secrets to pass to the container.
|
|
6082
|
+
*
|
|
5888
6083
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-secrets
|
|
5889
6084
|
*/
|
|
5890
6085
|
readonly secrets?: Array<cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.SecretProperty> | cdk.IResolvable;
|
|
5891
6086
|
/**
|
|
6087
|
+
* Time duration (in seconds) to wait before giving up on resolving dependencies for a container.
|
|
6088
|
+
*
|
|
5892
6089
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-starttimeout
|
|
5893
6090
|
*/
|
|
5894
6091
|
readonly startTimeout?: number;
|
|
5895
6092
|
/**
|
|
6093
|
+
* Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
|
|
6094
|
+
*
|
|
5896
6095
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-stoptimeout
|
|
5897
6096
|
*/
|
|
5898
6097
|
readonly stopTimeout?: number;
|
|
5899
6098
|
/**
|
|
6099
|
+
* A list of namespaced kernel parameters to set in the container.
|
|
6100
|
+
*
|
|
5900
6101
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-systemcontrols
|
|
5901
6102
|
*/
|
|
5902
6103
|
readonly systemControls?: Array<cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.SystemControlProperty> | cdk.IResolvable;
|
|
5903
6104
|
/**
|
|
6105
|
+
* A list of ``ulimits`` to set in the container.
|
|
6106
|
+
*
|
|
5904
6107
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-ulimits
|
|
5905
6108
|
*/
|
|
5906
6109
|
readonly ulimits?: Array<cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.UlimitProperty> | cdk.IResolvable;
|
|
5907
6110
|
/**
|
|
6111
|
+
* The user to use inside the container.
|
|
6112
|
+
*
|
|
5908
6113
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-user
|
|
5909
6114
|
*/
|
|
5910
6115
|
readonly user?: string;
|
|
5911
6116
|
/**
|
|
6117
|
+
* The working directory to run commands inside the container in.
|
|
6118
|
+
*
|
|
5912
6119
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-daemoncontainerdefinition.html#cfn-ecs-daemontaskdefinition-daemoncontainerdefinition-workingdirectory
|
|
5913
6120
|
*/
|
|
5914
6121
|
readonly workingDirectory?: string;
|
|
5915
6122
|
}
|
|
5916
6123
|
/**
|
|
6124
|
+
* An object representing the secret to expose to your container.
|
|
6125
|
+
*
|
|
6126
|
+
* Secrets can be exposed to a container in the following ways:
|
|
6127
|
+
* + To inject sensitive data into your containers as environment variables, use the ``secrets`` container definition parameter.
|
|
6128
|
+
* + To reference sensitive information in the log configuration of a container, use the ``secretOptions`` container definition parameter.
|
|
6129
|
+
*
|
|
6130
|
+
* 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*.
|
|
6131
|
+
*
|
|
5917
6132
|
* @struct
|
|
5918
6133
|
* @stability external
|
|
5919
6134
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-secret.html
|
|
5920
6135
|
*/
|
|
5921
6136
|
interface SecretProperty {
|
|
5922
6137
|
/**
|
|
6138
|
+
* The name of the secret.
|
|
6139
|
+
*
|
|
5923
6140
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-secret.html#cfn-ecs-daemontaskdefinition-secret-name
|
|
5924
6141
|
*/
|
|
5925
6142
|
readonly name?: string;
|
|
5926
6143
|
/**
|
|
6144
|
+
* The secret to expose to the container.
|
|
6145
|
+
*
|
|
6146
|
+
* The supported values are either the full ARN of the ASMlong secret or the full ARN of the parameter in the SSM Parameter Store.
|
|
6147
|
+
* For information about the require IAMlong permissions, see [Required IAM permissions for Amazon ECS secrets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-secrets.html#secrets-iam) (for Secrets Manager) or [Required IAM permissions for Amazon ECS secrets](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data-parameters.html) (for Systems Manager Parameter store) in the *Amazon Elastic Container Service Developer Guide*.
|
|
6148
|
+
* If the SSM Parameter Store parameter exists in the same Region as the task you're launching, then you can use either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must be specified.
|
|
6149
|
+
*
|
|
5927
6150
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-secret.html#cfn-ecs-daemontaskdefinition-secret-valuefrom
|
|
5928
6151
|
*/
|
|
5929
6152
|
readonly valueFrom?: string;
|
|
5930
6153
|
}
|
|
5931
6154
|
/**
|
|
6155
|
+
* An object representing a container health check.
|
|
6156
|
+
*
|
|
6157
|
+
* Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the ``HEALTHCHECK`` parameter of docker run.
|
|
6158
|
+
* The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.
|
|
6159
|
+
* You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console.
|
|
6160
|
+
* The health check is designed to make sure that your containers survive agent restarts, upgrades, or temporary unavailability.
|
|
6161
|
+
* Amazon ECS performs health checks on containers with the default that launched the container instance or the task.
|
|
6162
|
+
* The following describes the possible ``healthStatus`` values for a container:
|
|
6163
|
+
* + ``HEALTHY``-The container health check has passed successfully.
|
|
6164
|
+
* + ``UNHEALTHY``-The container health check has failed.
|
|
6165
|
+
* + ``UNKNOWN``-The container health check is being evaluated, there's no container health check defined, or Amazon ECS doesn't have the health status of the container.
|
|
6166
|
+
*
|
|
6167
|
+
* The following describes the possible ``healthStatus`` values based on the container health checker status of essential containers in the task with the following priority order (high to low):
|
|
6168
|
+
* + ``UNHEALTHY``-One or more essential containers have failed their health check.
|
|
6169
|
+
* + ``UNKNOWN``-Any essential container running within the task is in an ``UNKNOWN`` state and no other essential containers have an ``UNHEALTHY`` state.
|
|
6170
|
+
* + ``HEALTHY``-All essential containers within the task have passed their health checks.
|
|
6171
|
+
*
|
|
6172
|
+
* Consider the following task health example with 2 containers.
|
|
6173
|
+
* + If Container1 is ``UNHEALTHY`` and Container2 is ``UNKNOWN``, the task health is ``UNHEALTHY``.
|
|
6174
|
+
* + If Container1 is ``UNHEALTHY`` and Container2 is ``HEALTHY``, the task health is ``UNHEALTHY``.
|
|
6175
|
+
* + If Container1 is ``HEALTHY`` and Container2 is ``UNKNOWN``, the task health is ``UNKNOWN``.
|
|
6176
|
+
* + If Container1 is ``HEALTHY`` and Container2 is ``HEALTHY``, the task health is ``HEALTHY``.
|
|
6177
|
+
*
|
|
6178
|
+
* Consider the following task health example with 3 containers.
|
|
6179
|
+
* + If Container1 is ``UNHEALTHY`` and Container2 is ``UNKNOWN``, and Container3 is ``UNKNOWN``, the task health is ``UNHEALTHY``.
|
|
6180
|
+
* + If Container1 is ``UNHEALTHY`` and Container2 is ``UNKNOWN``, and Container3 is ``HEALTHY``, the task health is ``UNHEALTHY``.
|
|
6181
|
+
* + If Container1 is ``UNHEALTHY`` and Container2 is ``HEALTHY``, and Container3 is ``HEALTHY``, the task health is ``UNHEALTHY``.
|
|
6182
|
+
* + If Container1 is ``HEALTHY`` and Container2 is ``UNKNOWN``, and Container3 is ``HEALTHY``, the task health is ``UNKNOWN``.
|
|
6183
|
+
* + If Container1 is ``HEALTHY`` and Container2 is ``UNKNOWN``, and Container3 is ``UNKNOWN``, the task health is ``UNKNOWN``.
|
|
6184
|
+
* + If Container1 is ``HEALTHY`` and Container2 is ``HEALTHY``, and Container3 is ``HEALTHY``, the task health is ``HEALTHY``.
|
|
6185
|
+
*
|
|
6186
|
+
* If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it.
|
|
6187
|
+
* When a container health check fails for a task that is part of a service, the following process occurs:
|
|
6188
|
+
* 1. The task is marked as ``UNHEALTHY``.
|
|
6189
|
+
* 1. The unhealthy task will be stopped, and during the stopping process, it will go through the following states:
|
|
6190
|
+
* + ``DEACTIVATING`` - In this state, Amazon ECS performs additional steps before stopping the task. For example, for tasks that are part of services configured to use Elastic Load Balancing target groups, target groups will be deregistered in this state.
|
|
6191
|
+
* + ``STOPPING`` - The task is in the process of being stopped.
|
|
6192
|
+
* + ``DEPROVISIONING`` - Resources associated with the task are being cleaned up.
|
|
6193
|
+
* + ``STOPPED`` - The task has been completely stopped.
|
|
6194
|
+
*
|
|
6195
|
+
* 1. After the old task stops, a new task will be launched to ensure service operation, and the new task will go through the following lifecycle:
|
|
6196
|
+
* + ``PROVISIONING`` - Resources required for the task are being provisioned.
|
|
6197
|
+
* + ``PENDING`` - The task is waiting to be placed on a container instance.
|
|
6198
|
+
* + ``ACTIVATING`` - In this state, Amazon ECS pulls container images, creates containers, configures task networking, registers load balancer target groups, and configures service discovery status.
|
|
6199
|
+
* + ``RUNNING`` - The task is running and performing its work.
|
|
6200
|
+
*
|
|
6201
|
+
*
|
|
6202
|
+
* For more detailed information about task lifecycle states, see [Task lifecycle](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle-explanation.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
6203
|
+
* The following are notes about container health check support:
|
|
6204
|
+
* + If the Amazon ECS container agent becomes disconnected from the Amazon ECS service, this won't cause a container to transition to an ``UNHEALTHY`` status. This is by design, to ensure that containers remain running during agent restarts or temporary unavailability. The health check status is the "last heard from" response from the Amazon ECS agent, so if the container was considered ``HEALTHY`` prior to the disconnect, that status will remain until the agent reconnects and another health check occurs. There are no assumptions made about the status of the container health checks.
|
|
6205
|
+
* + Container health checks require version ``1.17.0`` or greater of the Amazon ECS container agent. For more information, see [Updating the Amazon ECS container agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html).
|
|
6206
|
+
* + Container health checks are supported for Fargate tasks if you're using platform version ``1.1.0`` or greater. For more information, see [platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
|
|
6207
|
+
* + Container health checks aren't supported for tasks that are part of a service that's configured to use a Classic Load Balancer.
|
|
6208
|
+
*
|
|
6209
|
+
* For an example of how to specify a task definition with multiple containers where container dependency is specified, see [Container dependency](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency) in the *Amazon Elastic Container Service Developer Guide*.
|
|
6210
|
+
*
|
|
5932
6211
|
* @struct
|
|
5933
6212
|
* @stability external
|
|
5934
6213
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-healthcheck.html
|
|
5935
6214
|
*/
|
|
5936
6215
|
interface HealthCheckProperty {
|
|
5937
6216
|
/**
|
|
6217
|
+
* A string array representing the command that the container runs to determine if it is healthy.
|
|
6218
|
+
*
|
|
6219
|
+
* The string array must start with ``CMD`` to run the command arguments directly, or ``CMD-SHELL`` to run the command with the container's default shell.
|
|
6220
|
+
* When you use the AWS Management Console JSON panel, the CLIlong, or the APIs, enclose the list of commands in double quotes and brackets.
|
|
6221
|
+
* ``[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]``
|
|
6222
|
+
* You don't include the double quotes and brackets when you use the AWS Management Console.
|
|
6223
|
+
* ``CMD-SHELL, curl -f http://localhost/ || exit 1``
|
|
6224
|
+
* An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in the docker container create command.
|
|
6225
|
+
*
|
|
5938
6226
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-healthcheck.html#cfn-ecs-daemontaskdefinition-healthcheck-command
|
|
5939
6227
|
*/
|
|
5940
6228
|
readonly command?: Array<string>;
|
|
5941
6229
|
/**
|
|
6230
|
+
* The time period in seconds between each health check execution.
|
|
6231
|
+
*
|
|
6232
|
+
* You may specify between 5 and 300 seconds. The default value is 30 seconds. This value applies only when you specify a ``command``.
|
|
6233
|
+
*
|
|
5942
6234
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-healthcheck.html#cfn-ecs-daemontaskdefinition-healthcheck-interval
|
|
5943
6235
|
*/
|
|
5944
6236
|
readonly interval?: number;
|
|
5945
6237
|
/**
|
|
6238
|
+
* The number of times to retry a failed health check before the container is considered unhealthy.
|
|
6239
|
+
*
|
|
6240
|
+
* You may specify between 1 and 10 retries. The default value is 3. This value applies only when you specify a ``command``.
|
|
6241
|
+
*
|
|
5946
6242
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-healthcheck.html#cfn-ecs-daemontaskdefinition-healthcheck-retries
|
|
5947
6243
|
*/
|
|
5948
6244
|
readonly retries?: number;
|
|
5949
6245
|
/**
|
|
6246
|
+
* The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries.
|
|
6247
|
+
*
|
|
6248
|
+
* You can specify between 0 and 300 seconds. By default, the ``startPeriod`` is off. This value applies only when you specify a ``command``.
|
|
6249
|
+
* If a health check succeeds within the ``startPeriod``, then the container is considered healthy and any subsequent failures count toward the maximum number of retries.
|
|
6250
|
+
*
|
|
5950
6251
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-healthcheck.html#cfn-ecs-daemontaskdefinition-healthcheck-startperiod
|
|
5951
6252
|
*/
|
|
5952
6253
|
readonly startPeriod?: number;
|
|
5953
6254
|
/**
|
|
6255
|
+
* The time period in seconds to wait for a health check to succeed before it is considered a failure.
|
|
6256
|
+
*
|
|
6257
|
+
* You may specify between 2 and 60 seconds. The default value is 5. This value applies only when you specify a ``command``.
|
|
6258
|
+
*
|
|
5954
6259
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-healthcheck.html#cfn-ecs-daemontaskdefinition-healthcheck-timeout
|
|
5955
6260
|
*/
|
|
5956
6261
|
readonly timeout?: number;
|
|
5957
6262
|
}
|
|
5958
6263
|
/**
|
|
6264
|
+
* The log configuration for the container.
|
|
6265
|
+
*
|
|
6266
|
+
* This parameter maps to ``LogConfig`` in the docker container create command and the ``--log-driver`` option to docker run.
|
|
6267
|
+
* By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition.
|
|
6268
|
+
* Understand the following when specifying a log configuration for your containers.
|
|
6269
|
+
* + Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon. Additional log drivers may be available in future releases of the Amazon ECS container agent.
|
|
6270
|
+
* For tasks on FARGATElong, the supported log drivers are ``awslogs``, ``splunk``, and ``awsfirelens``.
|
|
6271
|
+
* For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``,``syslog``, ``splunk``, and ``awsfirelens``.
|
|
6272
|
+
* + This parameter requires version 1.18 of the Docker Remote API or greater on your container instance.
|
|
6273
|
+
* + For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must register the available logging drivers 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*.
|
|
6274
|
+
* + For tasks that are on FARGATElong, because you don't have access to the underlying infrastructure your tasks are hosted on, any additional software needed must be installed outside of the task. For example, the Fluentd output aggregators or a remote host running Logstash to send Gelf logs to.
|
|
6275
|
+
*
|
|
5959
6276
|
* @struct
|
|
5960
6277
|
* @stability external
|
|
5961
6278
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-logconfiguration.html
|
|
5962
6279
|
*/
|
|
5963
6280
|
interface LogConfigurationProperty {
|
|
5964
6281
|
/**
|
|
6282
|
+
* The log driver to use for the container.
|
|
6283
|
+
*
|
|
6284
|
+
* For tasks on FARGATElong, the supported log drivers are ``awslogs``, ``splunk``, and ``awsfirelens``.
|
|
6285
|
+
* For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs``, ``fluentd``, ``gelf``, ``json-file``, ``journald``, ``syslog``, ``splunk``, and ``awsfirelens``.
|
|
6286
|
+
* For more information about using the ``awslogs`` log driver, see [Send Amazon ECS logs to CloudWatch](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
6287
|
+
* For more information about using the ``awsfirelens`` log driver, see [Send Amazon ECS logs to an service or Partner](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html).
|
|
6288
|
+
* If you have a custom driver that isn't listed, you can fork the Amazon ECS container agent project that's [available on GitHub](https://docs.aws.amazon.com/https://github.com/aws/amazon-ecs-agent) and customize it to work with that driver. We encourage you to submit pull requests for changes that you would like to have included. However, we don't currently provide support for running modified copies of this software.
|
|
6289
|
+
*
|
|
5965
6290
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-logconfiguration.html#cfn-ecs-daemontaskdefinition-logconfiguration-logdriver
|
|
5966
6291
|
*/
|
|
5967
6292
|
readonly logDriver?: string;
|
|
5968
6293
|
/**
|
|
6294
|
+
* The configuration options to send to the log driver.
|
|
6295
|
+
*
|
|
6296
|
+
* The options you can specify depend on the log driver. Some of the options you can specify when you use the ``awslogs`` log driver to route logs to Amazon CloudWatch include the following:
|
|
6297
|
+
* + awslogs-create-group Required: No Specify whether you want the log group to be created automatically. If this option isn't specified, it defaults to false. Your IAM policy must include the logs:CreateLogGroup permission before you attempt to use awslogs-create-group. + awslogs-region Required: Yes Specify the Region that the awslogs log driver is to send your Docker logs to. You can choose to send all of your logs from clusters in different Regions to a single region in CloudWatch Logs. This is so that they're all visible in one location. Otherwise, you can separate them by Region for more granularity. Make sure that the specified log group exists in the Region that you specify with this option. + awslogs-group Required: Yes Make sure to specify a log group that the awslogs log driver sends its log streams to. + awslogs-stream-prefix Required: Yes, when using Fargate.Optional when using EC2. Use the awslogs-stream-prefix option to associate a log stream with the specified prefix, the container name, and the ID of the Amazon ECS task that the container belongs to. If you specify a prefix with this option, then the log stream takes the format prefix-name/container-name/ecs-task-id. If you don't specify a prefix with this option, then the log stream is named after the container ID that's assigned by the Docker daemon on the container instance. Because it's difficult to trace logs back to the container that sent them with just the Docker container ID (which is only available on the container instance), we recommend that you specify a prefix with this option. For Amazon ECS services, you can use the service name as the prefix. Doing so, you can trace log streams to the service that the container belongs to, the name of the container that sent them, and the ID of the task that the container belongs to. You must specify a stream-prefix for your logs to have your logs appear in the Log pane when using the Amazon ECS console. + awslogs-datetime-format Required: No This option defines a multiline start pattern in Python strftime format. A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. The matched line is the delimiter between log messages. One example of a use case for using this format is for parsing output such as a stack dump, which might otherwise be logged in multiple entries. The correct pattern allows it to be captured in a single entry. For more information, see awslogs-datetime-format. You cannot configure both the awslogs-datetime-format and awslogs-multiline-pattern options. Multiline logging performs regular expression parsing and matching of all log messages. This might have a negative impact on logging performance. + awslogs-multiline-pattern Required: No This option defines a multiline start pattern that uses a regular expression. A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. The matched line is the delimiter between log messages. For more information, see awslogs-multiline-pattern. This option is ignored if awslogs-datetime-format is also configured. You cannot configure both the awslogs-datetime-format and awslogs-multiline-pattern options. Multiline logging performs regular expression parsing and matching of all log messages. This might have a negative impact on logging performance.
|
|
6298
|
+
* The following options apply to all supported log drivers.
|
|
6299
|
+
* + mode Required: No Valid values: non-blocking | blocking This option defines the delivery mode of log messages from the container to the log driver specified using logDriver. The delivery mode you choose affects application availability when the flow of logs from container is interrupted. If you use the blocking mode and the flow of logs is interrupted, calls from container code to write to the stdout and stderr streams will block. The logging thread of the application will block as a result. This may cause the application to become unresponsive and lead to container healthcheck failure. If you use the non-blocking mode, the container's logs are instead stored in an in-memory intermediate buffer configured with the max-buffer-size option. This prevents the application from becoming unresponsive when logs cannot be sent. We recommend using this mode if you want to ensure service availability and are okay with some log loss. For more information, see Preventing log loss with non-blocking mode in the awslogs container log driver. You can set a default mode for all containers in a specific Region by using the defaultLogDriverMode account setting. If you don't specify the mode option or configure the account setting, Amazon ECS will default to the non-blocking mode. For more information about the account setting, see Default log driver mode in the Amazon Elastic Container Service Developer Guide. On June 25, 2025, Amazon ECS changed the default log driver mode from blocking to non-blocking to prioritize task availability over logging. To continue using the blocking mode after this change, do one of the following: Set the mode option in your container definition's logConfiguration as blocking. Set the defaultLogDriverMode account setting to blocking. + max-buffer-size Required: No Default value: 10m When non-blocking mode is used, the max-buffer-size log option controls the size of the buffer that's used for intermediate message storage. Make sure to specify an adequate buffer size based on your application. When the buffer fills up, further logs cannot be stored. Logs that cannot be stored are lost.
|
|
6300
|
+
* To route logs using the ``splunk`` log router, you need to specify a ``splunk-token`` and a ``splunk-url``.
|
|
6301
|
+
* When you use the ``awsfirelens`` log router to route logs to an AWS Service or AWS Partner Network destination for log storage and analytics, you can set the ``log-driver-buffer-limit`` option to limit the number of events that are buffered in memory, before being sent to the log router container. It can help to resolve potential log loss issue because high throughput might result in memory running out for the buffer inside of Docker.
|
|
6302
|
+
* Other options you can specify when using ``awsfirelens`` to route logs depend on the destination. When you export logs to Amazon Data Firehose, you can specify the AWS Region with ``region`` and a name for the log stream with ``delivery_stream``.
|
|
6303
|
+
* When you export logs to Amazon Kinesis Data Streams, you can specify an AWS Region with ``region`` and a data stream name with ``stream``.
|
|
6304
|
+
* When you export logs to Amazon OpenSearch Service, you can specify options like ``Name``, ``Host`` (OpenSearch Service endpoint without protocol), ``Port``, ``Index``, ``Type``, ``Aws_auth``, ``Aws_region``, ``Suppress_Type_Name``, and ``tls``. For more information, see [Under the hood: FireLens for Amazon ECS Tasks](https://docs.aws.amazon.com/containers/under-the-hood-firelens-for-amazon-ecs-tasks/).
|
|
6305
|
+
* When you export logs to Amazon S3, you can specify the bucket using the ``bucket`` option. You can also specify ``region``, ``total_file_size``, ``upload_timeout``, and ``use_put_object`` as options.
|
|
6306
|
+
* This parameter requires version 1.19 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}}'``
|
|
6307
|
+
*
|
|
5969
6308
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-logconfiguration.html#cfn-ecs-daemontaskdefinition-logconfiguration-options
|
|
5970
6309
|
*/
|
|
5971
6310
|
readonly options?: cdk.IResolvable | Record<string, string>;
|
|
5972
6311
|
/**
|
|
6312
|
+
* The secrets to pass to the log configuration.
|
|
6313
|
+
*
|
|
6314
|
+
* 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*.
|
|
6315
|
+
*
|
|
5973
6316
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-logconfiguration.html#cfn-ecs-daemontaskdefinition-logconfiguration-secretoptions
|
|
5974
6317
|
*/
|
|
5975
6318
|
readonly secretOptions?: Array<cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.SecretProperty> | cdk.IResolvable;
|
|
5976
6319
|
}
|
|
5977
6320
|
/**
|
|
6321
|
+
* A list of files containing the environment variables to pass to a container.
|
|
6322
|
+
*
|
|
6323
|
+
* You can specify up to ten environment files. The file must have a ``.env`` file extension. Each line in an environment file should contain an environment variable in ``VARIABLE=VALUE`` format. Lines beginning with ``#`` are treated as comments and are ignored.
|
|
6324
|
+
* If there are environment variables specified using the ``environment`` parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they're processed from the top down. We recommend that you use unique variable names. For more information, see [Use a file to pass environment variables to a container](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/use-environment-file.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
6325
|
+
* Environment variable files are objects in Amazon S3 and all Amazon S3 security considerations apply.
|
|
6326
|
+
* You must use the following platforms for the Fargate launch type:
|
|
6327
|
+
* + Linux platform version ``1.4.0`` or later.
|
|
6328
|
+
* + Windows platform version ``1.0.0`` or later.
|
|
6329
|
+
*
|
|
6330
|
+
* Consider the following when using the Fargate launch type:
|
|
6331
|
+
* + The file is handled like a native Docker env-file.
|
|
6332
|
+
* + There is no support for shell escape handling.
|
|
6333
|
+
* + The container entry point interperts the ``VARIABLE`` values.
|
|
6334
|
+
*
|
|
5978
6335
|
* @struct
|
|
5979
6336
|
* @stability external
|
|
5980
6337
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-environmentfile.html
|
|
5981
6338
|
*/
|
|
5982
6339
|
interface EnvironmentFileProperty {
|
|
5983
6340
|
/**
|
|
6341
|
+
* The file type to use.
|
|
6342
|
+
*
|
|
6343
|
+
* Environment files are objects in Amazon S3. The only supported value is ``s3``.
|
|
6344
|
+
*
|
|
5984
6345
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-environmentfile.html#cfn-ecs-daemontaskdefinition-environmentfile-type
|
|
5985
6346
|
*/
|
|
5986
6347
|
readonly type?: string;
|
|
5987
6348
|
/**
|
|
6349
|
+
* The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.
|
|
6350
|
+
*
|
|
5988
6351
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-environmentfile.html#cfn-ecs-daemontaskdefinition-environmentfile-value
|
|
5989
6352
|
*/
|
|
5990
6353
|
readonly value?: string;
|
|
5991
6354
|
}
|
|
5992
6355
|
/**
|
|
6356
|
+
* The FireLens configuration for the container.
|
|
6357
|
+
*
|
|
6358
|
+
* This is used to specify and configure a log router for container logs. For more information, see [Custom log routing](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
6359
|
+
*
|
|
5993
6360
|
* @struct
|
|
5994
6361
|
* @stability external
|
|
5995
6362
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-firelensconfiguration.html
|
|
5996
6363
|
*/
|
|
5997
6364
|
interface FirelensConfigurationProperty {
|
|
5998
6365
|
/**
|
|
6366
|
+
* The options to use when configuring the log router.
|
|
6367
|
+
*
|
|
6368
|
+
* 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*.
|
|
6369
|
+
* Tasks hosted on FARGATElong only support the ``file`` configuration file type.
|
|
6370
|
+
*
|
|
5999
6371
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-firelensconfiguration.html#cfn-ecs-daemontaskdefinition-firelensconfiguration-options
|
|
6000
6372
|
*/
|
|
6001
6373
|
readonly options?: cdk.IResolvable | Record<string, string>;
|
|
6002
6374
|
/**
|
|
6375
|
+
* The log router to use.
|
|
6376
|
+
*
|
|
6377
|
+
* The valid values are ``fluentd`` or ``fluentbit``.
|
|
6378
|
+
*
|
|
6003
6379
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-firelensconfiguration.html#cfn-ecs-daemontaskdefinition-firelensconfiguration-type
|
|
6004
6380
|
*/
|
|
6005
6381
|
readonly type?: string;
|
|
6006
6382
|
}
|
|
6007
6383
|
/**
|
|
6384
|
+
* A list of namespaced kernel parameters to set in the container.
|
|
6385
|
+
*
|
|
6386
|
+
* This parameter maps to ``Sysctls`` in the docker container create command and the ``--sysctl`` option to docker run. For example, you can configure ``net.ipv4.tcp_keepalive_time`` setting to maintain longer lived connections.
|
|
6387
|
+
* We don't recommend that you specify network-related ``systemControls`` parameters for multiple containers in a single task that also uses either the ``awsvpc`` or ``host`` network mode. Doing this has the following disadvantages:
|
|
6388
|
+
* + For tasks that use the ``awsvpc`` network mode including Fargate, if you set ``systemControls`` for any container, it applies to all containers in the task. If you set different ``systemControls`` for multiple containers in a single task, the container that's started last determines which ``systemControls`` take effect.
|
|
6389
|
+
* + For tasks that use the ``host`` network mode, the network namespace ``systemControls`` aren't supported.
|
|
6390
|
+
*
|
|
6391
|
+
* If you're setting an IPC resource namespace to use for the containers in the task, the following conditions apply to your system controls. For more information, see [IPC mode](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_ipcmode).
|
|
6392
|
+
* + For tasks that use the ``host`` IPC mode, IPC namespace ``systemControls`` aren't supported.
|
|
6393
|
+
* + For tasks that use the ``task`` IPC mode, IPC namespace ``systemControls`` values apply to all containers within a task.
|
|
6394
|
+
*
|
|
6395
|
+
* This parameter is not supported for Windows containers.
|
|
6396
|
+
* This parameter is only supported for tasks that are hosted on FARGATElong if the tasks are using platform version ``1.4.0`` or later (Linux). This isn't supported for Windows containers on Fargate.
|
|
6397
|
+
*
|
|
6008
6398
|
* @struct
|
|
6009
6399
|
* @stability external
|
|
6010
6400
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-systemcontrol.html
|
|
6011
6401
|
*/
|
|
6012
6402
|
interface SystemControlProperty {
|
|
6013
6403
|
/**
|
|
6404
|
+
* The namespaced kernel parameter to set a ``value`` for.
|
|
6405
|
+
*
|
|
6014
6406
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-systemcontrol.html#cfn-ecs-daemontaskdefinition-systemcontrol-namespace
|
|
6015
6407
|
*/
|
|
6016
6408
|
readonly namespace?: string;
|
|
6017
6409
|
/**
|
|
6410
|
+
* The namespaced kernel parameter to set a ``value`` for.
|
|
6411
|
+
*
|
|
6412
|
+
* Valid IPC namespace values: ``"kernel.msgmax" | "kernel.msgmnb" | "kernel.msgmni" | "kernel.sem" | "kernel.shmall" | "kernel.shmmax" | "kernel.shmmni" | "kernel.shm_rmid_forced"``, and ``Sysctls`` that start with ``"fs.mqueue.*"``
|
|
6413
|
+
* Valid network namespace values: ``Sysctls`` that start with ``"net.*"``. Only namespaced ``Sysctls`` that exist within the container starting with "net.* are accepted.
|
|
6414
|
+
* All of these values are supported by Fargate.
|
|
6415
|
+
*
|
|
6018
6416
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-systemcontrol.html#cfn-ecs-daemontaskdefinition-systemcontrol-value
|
|
6019
6417
|
*/
|
|
6020
6418
|
readonly value?: string;
|
|
6021
6419
|
}
|
|
6022
6420
|
/**
|
|
6421
|
+
* The ``ulimit`` settings to pass to the container.
|
|
6422
|
+
*
|
|
6423
|
+
* Amazon ECS tasks hosted on FARGATElong use the default resource limit values set by the operating system with the exception of the ``nofile`` resource limit parameter which FARGATElong 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 ``65535`` and the default hard limit is ``65535``.
|
|
6424
|
+
* You can specify the ``ulimit`` settings for a container in a task definition.
|
|
6425
|
+
*
|
|
6023
6426
|
* @struct
|
|
6024
6427
|
* @stability external
|
|
6025
6428
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-ulimit.html
|
|
6026
6429
|
*/
|
|
6027
6430
|
interface UlimitProperty {
|
|
6028
6431
|
/**
|
|
6432
|
+
* The hard limit for the ``ulimit`` type.
|
|
6433
|
+
*
|
|
6434
|
+
* The value can be specified in bytes, seconds, or as a count, depending on the ``type`` of the ``ulimit``.
|
|
6435
|
+
*
|
|
6029
6436
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-ulimit.html#cfn-ecs-daemontaskdefinition-ulimit-hardlimit
|
|
6030
6437
|
*/
|
|
6031
6438
|
readonly hardLimit?: number;
|
|
6032
6439
|
/**
|
|
6440
|
+
* The ``type`` of the ``ulimit``.
|
|
6441
|
+
*
|
|
6033
6442
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-ulimit.html#cfn-ecs-daemontaskdefinition-ulimit-name
|
|
6034
6443
|
*/
|
|
6035
6444
|
readonly name?: string;
|
|
6036
6445
|
/**
|
|
6446
|
+
* The soft limit for the ``ulimit`` type.
|
|
6447
|
+
*
|
|
6448
|
+
* The value can be specified in bytes, seconds, or as a count, depending on the ``type`` of the ``ulimit``.
|
|
6449
|
+
*
|
|
6037
6450
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-ulimit.html#cfn-ecs-daemontaskdefinition-ulimit-softlimit
|
|
6038
6451
|
*/
|
|
6039
6452
|
readonly softLimit?: number;
|
|
6040
6453
|
}
|
|
6041
6454
|
/**
|
|
6455
|
+
* The repository credentials for private registry authentication.
|
|
6456
|
+
*
|
|
6042
6457
|
* @struct
|
|
6043
6458
|
* @stability external
|
|
6044
6459
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-repositorycredentials.html
|
|
6045
6460
|
*/
|
|
6046
6461
|
interface RepositoryCredentialsProperty {
|
|
6047
6462
|
/**
|
|
6463
|
+
* The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
|
|
6464
|
+
*
|
|
6465
|
+
* When you use the Amazon ECS API, CLI, or AWS SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the AWS Management Console, you must specify the full ARN of the secret.
|
|
6466
|
+
*
|
|
6048
6467
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-repositorycredentials.html#cfn-ecs-daemontaskdefinition-repositorycredentials-credentialsparameter
|
|
6049
6468
|
*/
|
|
6050
6469
|
readonly credentialsParameter?: string;
|
|
6051
6470
|
}
|
|
6052
6471
|
/**
|
|
6472
|
+
* The Linux-specific options that are applied to the container, such as Linux [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html).
|
|
6473
|
+
*
|
|
6053
6474
|
* @struct
|
|
6054
6475
|
* @stability external
|
|
6055
6476
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-linuxparameters.html
|
|
6056
6477
|
*/
|
|
6057
6478
|
interface LinuxParametersProperty {
|
|
6058
6479
|
/**
|
|
6480
|
+
* The Linux capabilities to add or remove from the default Docker configuration for a container defined in the task definition.
|
|
6481
|
+
*
|
|
6482
|
+
* For more detailed information about these Linux capabilities, see the [capabilities(7)](https://docs.aws.amazon.com/http://man7.org/linux/man-pages/man7/capabilities.7.html) Linux manual page.
|
|
6483
|
+
* The following describes how Docker processes the Linux capabilities specified in the ``add`` and ``drop`` request parameters. For information about the latest behavior, see [Docker Compose: order of cap_drop and cap_add](https://docs.aws.amazon.com/https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1) in the Docker Community Forum.
|
|
6484
|
+
* + When the container is a privleged container, the container capabilities are all of the default Docker capabilities. The capabilities specified in the ``add`` request parameter, and the ``drop`` request parameter are ignored.
|
|
6485
|
+
* + When the ``add`` request parameter is set to ALL, the container capabilities are all of the default Docker capabilities, excluding those specified in the ``drop`` request parameter.
|
|
6486
|
+
* + When the ``drop`` request parameter is set to ALL, the container capabilities are the capabilities specified in the ``add`` request parameter.
|
|
6487
|
+
* + When the ``add`` request parameter and the ``drop`` request parameter are both empty, the capabilities the container capabilities are all of the default Docker capabilities.
|
|
6488
|
+
* + The default is to first drop the capabilities specified in the ``drop`` request parameter, and then add the capabilities specified in the ``add`` request parameter.
|
|
6489
|
+
*
|
|
6059
6490
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-linuxparameters.html#cfn-ecs-daemontaskdefinition-linuxparameters-capabilities
|
|
6060
6491
|
*/
|
|
6061
6492
|
readonly capabilities?: cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.KernelCapabilitiesProperty;
|
|
6062
6493
|
/**
|
|
6494
|
+
* Any host devices to expose to the container.
|
|
6495
|
+
*
|
|
6496
|
+
* This parameter maps to ``Devices`` in the docker container create command and the ``--device`` option to docker run.
|
|
6497
|
+
* If you're using tasks that use the Fargate launch type, the ``devices`` parameter isn't supported.
|
|
6498
|
+
*
|
|
6063
6499
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-linuxparameters.html#cfn-ecs-daemontaskdefinition-linuxparameters-devices
|
|
6064
6500
|
*/
|
|
6065
6501
|
readonly devices?: Array<CfnDaemonTaskDefinitionPropsMixin.DeviceProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
6066
6502
|
/**
|
|
6503
|
+
* Run an ``init`` process inside the container that forwards signals and reaps processes.
|
|
6504
|
+
*
|
|
6505
|
+
* This parameter maps to the ``--init`` option to docker run. This parameter requires version 1.25 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}}'``
|
|
6506
|
+
*
|
|
6067
6507
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-linuxparameters.html#cfn-ecs-daemontaskdefinition-linuxparameters-initprocessenabled
|
|
6068
6508
|
*/
|
|
6069
6509
|
readonly initProcessEnabled?: boolean | cdk.IResolvable;
|
|
6070
6510
|
/**
|
|
6511
|
+
* The container path, mount options, and size (in MiB) of the tmpfs mount.
|
|
6512
|
+
*
|
|
6513
|
+
* This parameter maps to the ``--tmpfs`` option to docker run.
|
|
6514
|
+
* If you're using tasks that use the Fargate launch type, the ``tmpfs`` parameter isn't supported.
|
|
6515
|
+
*
|
|
6071
6516
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-linuxparameters.html#cfn-ecs-daemontaskdefinition-linuxparameters-tmpfs
|
|
6072
6517
|
*/
|
|
6073
6518
|
readonly tmpfs?: Array<cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.TmpfsProperty> | cdk.IResolvable;
|
|
6074
6519
|
}
|
|
6075
6520
|
/**
|
|
6521
|
+
* The Linux capabilities to add or remove from the default Docker configuration for a container defined in the task definition.
|
|
6522
|
+
*
|
|
6523
|
+
* For more detailed information about these Linux capabilities, see the [capabilities(7)](https://docs.aws.amazon.com/http://man7.org/linux/man-pages/man7/capabilities.7.html) Linux manual page.
|
|
6524
|
+
* The following describes how Docker processes the Linux capabilities specified in the ``add`` and ``drop`` request parameters. For information about the latest behavior, see [Docker Compose: order of cap_drop and cap_add](https://docs.aws.amazon.com/https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1) in the Docker Community Forum.
|
|
6525
|
+
* + When the container is a privleged container, the container capabilities are all of the default Docker capabilities. The capabilities specified in the ``add`` request parameter, and the ``drop`` request parameter are ignored.
|
|
6526
|
+
* + When the ``add`` request parameter is set to ALL, the container capabilities are all of the default Docker capabilities, excluding those specified in the ``drop`` request parameter.
|
|
6527
|
+
* + When the ``drop`` request parameter is set to ALL, the container capabilities are the capabilities specified in the ``add`` request parameter.
|
|
6528
|
+
* + When the ``add`` request parameter and the ``drop`` request parameter are both empty, the capabilities the container capabilities are all of the default Docker capabilities.
|
|
6529
|
+
* + The default is to first drop the capabilities specified in the ``drop`` request parameter, and then add the capabilities specified in the ``add`` request parameter.
|
|
6530
|
+
*
|
|
6076
6531
|
* @struct
|
|
6077
6532
|
* @stability external
|
|
6078
6533
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-kernelcapabilities.html
|
|
6079
6534
|
*/
|
|
6080
6535
|
interface KernelCapabilitiesProperty {
|
|
6081
6536
|
/**
|
|
6537
|
+
* The Linux capabilities for the container that have been added to the default configuration provided by Docker.
|
|
6538
|
+
*
|
|
6539
|
+
* This parameter maps to ``CapAdd`` in the docker container create command and the ``--cap-add`` option to docker run.
|
|
6540
|
+
* Tasks launched on FARGATElong only support adding the ``SYS_PTRACE`` kernel capability.
|
|
6541
|
+
* Valid values: ``"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"``
|
|
6542
|
+
*
|
|
6082
6543
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-kernelcapabilities.html#cfn-ecs-daemontaskdefinition-kernelcapabilities-add
|
|
6083
6544
|
*/
|
|
6084
6545
|
readonly add?: Array<string>;
|
|
6085
6546
|
/**
|
|
6547
|
+
* The Linux capabilities for the container that have been removed from the default configuration provided by Docker.
|
|
6548
|
+
*
|
|
6549
|
+
* This parameter maps to ``CapDrop`` in the docker container create command and the ``--cap-drop`` option to docker run.
|
|
6550
|
+
* Valid values: ``"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM"``
|
|
6551
|
+
*
|
|
6086
6552
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-kernelcapabilities.html#cfn-ecs-daemontaskdefinition-kernelcapabilities-drop
|
|
6087
6553
|
*/
|
|
6088
6554
|
readonly drop?: Array<string>;
|
|
6089
6555
|
}
|
|
6090
6556
|
/**
|
|
6557
|
+
* The container path, mount options, and size of the tmpfs mount.
|
|
6558
|
+
*
|
|
6091
6559
|
* @struct
|
|
6092
6560
|
* @stability external
|
|
6093
6561
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-tmpfs.html
|
|
6094
6562
|
*/
|
|
6095
6563
|
interface TmpfsProperty {
|
|
6096
6564
|
/**
|
|
6565
|
+
* The absolute file path where the tmpfs volume is to be mounted.
|
|
6566
|
+
*
|
|
6097
6567
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-tmpfs.html#cfn-ecs-daemontaskdefinition-tmpfs-containerpath
|
|
6098
6568
|
*/
|
|
6099
6569
|
readonly containerPath?: string;
|
|
6100
6570
|
/**
|
|
6571
|
+
* The list of tmpfs volume mount options.
|
|
6572
|
+
*
|
|
6573
|
+
* Valid values: ``"defaults" | "ro" | "rw" | "suid" | "nosuid" | "dev" | "nodev" | "exec" | "noexec" | "sync" | "async" | "dirsync" | "remount" | "mand" | "nomand" | "atime" | "noatime" | "diratime" | "nodiratime" | "bind" | "rbind" | "unbindable" | "runbindable" | "private" | "rprivate" | "shared" | "rshared" | "slave" | "rslave" | "relatime" | "norelatime" | "strictatime" | "nostrictatime" | "mode" | "uid" | "gid" | "nr_inodes" | "nr_blocks" | "mpol"``
|
|
6574
|
+
*
|
|
6101
6575
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-tmpfs.html#cfn-ecs-daemontaskdefinition-tmpfs-mountoptions
|
|
6102
6576
|
*/
|
|
6103
6577
|
readonly mountOptions?: Array<string>;
|
|
6104
6578
|
/**
|
|
6579
|
+
* The maximum size (in MiB) of the tmpfs volume.
|
|
6580
|
+
*
|
|
6105
6581
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-tmpfs.html#cfn-ecs-daemontaskdefinition-tmpfs-size
|
|
6106
6582
|
*/
|
|
6107
6583
|
readonly size?: number;
|
|
6108
6584
|
}
|
|
6109
6585
|
/**
|
|
6586
|
+
* An object representing a container instance host device.
|
|
6587
|
+
*
|
|
6110
6588
|
* @struct
|
|
6111
6589
|
* @stability external
|
|
6112
6590
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-device.html
|
|
6113
6591
|
*/
|
|
6114
6592
|
interface DeviceProperty {
|
|
6115
6593
|
/**
|
|
6594
|
+
* The path inside the container at which to expose the host device.
|
|
6595
|
+
*
|
|
6116
6596
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-device.html#cfn-ecs-daemontaskdefinition-device-containerpath
|
|
6117
6597
|
*/
|
|
6118
6598
|
readonly containerPath?: string;
|
|
6119
6599
|
/**
|
|
6600
|
+
* The path for the device on the host container instance.
|
|
6601
|
+
*
|
|
6120
6602
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-device.html#cfn-ecs-daemontaskdefinition-device-hostpath
|
|
6121
6603
|
*/
|
|
6122
6604
|
readonly hostPath?: string;
|
|
6123
6605
|
/**
|
|
6606
|
+
* The explicit permissions to provide to the container for the device.
|
|
6607
|
+
*
|
|
6608
|
+
* By default, the container has permissions for ``read``, ``write``, and ``mknod`` for the device.
|
|
6609
|
+
*
|
|
6124
6610
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-device.html#cfn-ecs-daemontaskdefinition-device-permissions
|
|
6125
6611
|
*/
|
|
6126
6612
|
readonly permissions?: Array<string>;
|
|
@@ -6145,50 +6631,92 @@ export declare namespace CfnDaemonTaskDefinitionPropsMixin {
|
|
|
6145
6631
|
readonly restartAttemptPeriod?: number;
|
|
6146
6632
|
}
|
|
6147
6633
|
/**
|
|
6634
|
+
* The details for a volume mount point that's used in a container definition.
|
|
6635
|
+
*
|
|
6148
6636
|
* @struct
|
|
6149
6637
|
* @stability external
|
|
6150
6638
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-mountpoint.html
|
|
6151
6639
|
*/
|
|
6152
6640
|
interface MountPointProperty {
|
|
6153
6641
|
/**
|
|
6642
|
+
* The path on the container to mount the host volume at.
|
|
6643
|
+
*
|
|
6154
6644
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-mountpoint.html#cfn-ecs-daemontaskdefinition-mountpoint-containerpath
|
|
6155
6645
|
*/
|
|
6156
6646
|
readonly containerPath?: string;
|
|
6157
6647
|
/**
|
|
6648
|
+
* If this value is ``true``, the container has read-only access to the volume.
|
|
6649
|
+
*
|
|
6650
|
+
* If this value is ``false``, then the container can write to the volume. The default value is ``false``.
|
|
6651
|
+
*
|
|
6158
6652
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-mountpoint.html#cfn-ecs-daemontaskdefinition-mountpoint-readonly
|
|
6159
6653
|
*/
|
|
6160
6654
|
readonly readOnly?: boolean | cdk.IResolvable;
|
|
6161
6655
|
/**
|
|
6656
|
+
* The name of the volume to mount.
|
|
6657
|
+
*
|
|
6658
|
+
* Must be a volume name referenced in the ``name`` parameter of task definition ``volume``.
|
|
6659
|
+
*
|
|
6162
6660
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-mountpoint.html#cfn-ecs-daemontaskdefinition-mountpoint-sourcevolume
|
|
6163
6661
|
*/
|
|
6164
6662
|
readonly sourceVolume?: string;
|
|
6165
6663
|
}
|
|
6166
6664
|
/**
|
|
6665
|
+
* The dependencies defined for container startup and shutdown.
|
|
6666
|
+
*
|
|
6667
|
+
* A container can contain multiple dependencies. When a dependency is defined for container startup, for container shutdown it is reversed.
|
|
6668
|
+
* Your Amazon ECS container instances require at least version 1.26.0 of the container agent to use container dependencies. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see [Updating the Amazon ECS Container Agent](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) in the *Amazon Elastic Container Service Developer Guide*. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ``ecs-init`` package. If your container instances are launched from version ``20190301`` or later, then they contain the required versions of the container agent and ``ecs-init``. For more information, see [Amazon ECS-optimized Linux AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
6669
|
+
* For tasks that use the Fargate launch type, the task or service requires the following platforms:
|
|
6670
|
+
* + Linux platform version ``1.3.0`` or later.
|
|
6671
|
+
* + Windows platform version ``1.0.0`` or later.
|
|
6672
|
+
*
|
|
6673
|
+
* For more information about how to create a container dependency, see [Container dependency](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency) in the *Amazon Elastic Container Service Developer Guide*.
|
|
6674
|
+
*
|
|
6167
6675
|
* @struct
|
|
6168
6676
|
* @stability external
|
|
6169
6677
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-containerdependency.html
|
|
6170
6678
|
*/
|
|
6171
6679
|
interface ContainerDependencyProperty {
|
|
6172
6680
|
/**
|
|
6681
|
+
* The dependency condition of the container.
|
|
6682
|
+
*
|
|
6683
|
+
* The following are the available conditions and their behavior:
|
|
6684
|
+
* + ``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.
|
|
6685
|
+
* + ``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.
|
|
6686
|
+
* + ``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.
|
|
6687
|
+
* + ``HEALTHY`` - This condition validates that the dependent container passes its Docker health check before permitting other containers to start. This requires that the dependent container has health checks configured. This condition is confirmed only at task startup.
|
|
6688
|
+
*
|
|
6173
6689
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-containerdependency.html#cfn-ecs-daemontaskdefinition-containerdependency-condition
|
|
6174
6690
|
*/
|
|
6175
6691
|
readonly condition?: string;
|
|
6176
6692
|
/**
|
|
6693
|
+
* The name of a container.
|
|
6694
|
+
*
|
|
6177
6695
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-containerdependency.html#cfn-ecs-daemontaskdefinition-containerdependency-containername
|
|
6178
6696
|
*/
|
|
6179
6697
|
readonly containerName?: string;
|
|
6180
6698
|
}
|
|
6181
6699
|
/**
|
|
6700
|
+
* A key-value pair object.
|
|
6701
|
+
*
|
|
6182
6702
|
* @struct
|
|
6183
6703
|
* @stability external
|
|
6184
6704
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-keyvaluepair.html
|
|
6185
6705
|
*/
|
|
6186
6706
|
interface KeyValuePairProperty {
|
|
6187
6707
|
/**
|
|
6708
|
+
* The name of the key-value pair.
|
|
6709
|
+
*
|
|
6710
|
+
* For environment variables, this is the name of the environment variable.
|
|
6711
|
+
*
|
|
6188
6712
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-keyvaluepair.html#cfn-ecs-daemontaskdefinition-keyvaluepair-name
|
|
6189
6713
|
*/
|
|
6190
6714
|
readonly name?: string;
|
|
6191
6715
|
/**
|
|
6716
|
+
* The value of the key-value pair.
|
|
6717
|
+
*
|
|
6718
|
+
* For environment variables, this is the value of the environment variable.
|
|
6719
|
+
*
|
|
6192
6720
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-daemontaskdefinition-keyvaluepair.html#cfn-ecs-daemontaskdefinition-keyvaluepair-value
|
|
6193
6721
|
*/
|
|
6194
6722
|
readonly value?: string;
|
|
@@ -6203,22 +6731,32 @@ export declare namespace CfnDaemonTaskDefinitionPropsMixin {
|
|
|
6203
6731
|
*/
|
|
6204
6732
|
export interface CfnDaemonTaskDefinitionMixinProps {
|
|
6205
6733
|
/**
|
|
6734
|
+
* A list of container definitions in JSON format that describe the containers that make up the daemon task.
|
|
6735
|
+
*
|
|
6206
6736
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemontaskdefinition.html#cfn-ecs-daemontaskdefinition-containerdefinitions
|
|
6207
6737
|
*/
|
|
6208
6738
|
readonly containerDefinitions?: Array<CfnDaemonTaskDefinitionPropsMixin.DaemonContainerDefinitionProperty | cdk.IResolvable> | cdk.IResolvable;
|
|
6209
6739
|
/**
|
|
6740
|
+
* The number of CPU units used by the daemon task.
|
|
6741
|
+
*
|
|
6210
6742
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemontaskdefinition.html#cfn-ecs-daemontaskdefinition-cpu
|
|
6211
6743
|
*/
|
|
6212
6744
|
readonly cpu?: string;
|
|
6213
6745
|
/**
|
|
6746
|
+
* The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make Amazon Web Services API calls on your behalf.
|
|
6747
|
+
*
|
|
6214
6748
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemontaskdefinition.html#cfn-ecs-daemontaskdefinition-executionrolearn
|
|
6215
6749
|
*/
|
|
6216
6750
|
readonly executionRoleArn?: string;
|
|
6217
6751
|
/**
|
|
6752
|
+
* The name of a family that this daemon task definition is registered to.
|
|
6753
|
+
*
|
|
6218
6754
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemontaskdefinition.html#cfn-ecs-daemontaskdefinition-family
|
|
6219
6755
|
*/
|
|
6220
6756
|
readonly family?: string;
|
|
6221
6757
|
/**
|
|
6758
|
+
* The amount of memory (in MiB) used by the daemon task.
|
|
6759
|
+
*
|
|
6222
6760
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemontaskdefinition.html#cfn-ecs-daemontaskdefinition-memory
|
|
6223
6761
|
*/
|
|
6224
6762
|
readonly memory?: string;
|
|
@@ -6227,10 +6765,14 @@ export interface CfnDaemonTaskDefinitionMixinProps {
|
|
|
6227
6765
|
*/
|
|
6228
6766
|
readonly tags?: Array<cdk.CfnTag>;
|
|
6229
6767
|
/**
|
|
6768
|
+
* The short name or full Amazon Resource Name (ARN) of the IAM role that grants containers in the daemon task permission to call Amazon Web Services APIs on your behalf.
|
|
6769
|
+
*
|
|
6230
6770
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemontaskdefinition.html#cfn-ecs-daemontaskdefinition-taskrolearn
|
|
6231
6771
|
*/
|
|
6232
6772
|
readonly taskRoleArn?: string;
|
|
6233
6773
|
/**
|
|
6774
|
+
* The list of data volume definitions for the daemon task.
|
|
6775
|
+
*
|
|
6234
6776
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-daemontaskdefinition.html#cfn-ecs-daemontaskdefinition-volumes
|
|
6235
6777
|
*/
|
|
6236
6778
|
readonly volumes?: Array<cdk.IResolvable | CfnDaemonTaskDefinitionPropsMixin.VolumeProperty> | cdk.IResolvable;
|