aws-cdk-lib 2.153.0__py3-none-any.whl → 2.154.1__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +157 -215
- aws_cdk/_jsii/__init__.py +2 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.153.0.jsii.tgz → aws-cdk-lib@2.154.1.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -3
- aws_cdk/aws_accessanalyzer/__init__.py +5 -5
- aws_cdk/aws_acmpca/__init__.py +79 -24
- aws_cdk/aws_amazonmq/__init__.py +161 -161
- aws_cdk/aws_amplify/__init__.py +36 -36
- aws_cdk/aws_amplifyuibuilder/__init__.py +32 -32
- aws_cdk/aws_apigateway/__init__.py +122 -122
- aws_cdk/aws_apigatewayv2/__init__.py +143 -130
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +12 -12
- aws_cdk/aws_appconfig/__init__.py +59 -59
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_appintegrations/__init__.py +19 -19
- aws_cdk/aws_applicationautoscaling/__init__.py +31 -16
- aws_cdk/aws_applicationinsights/__init__.py +11 -11
- aws_cdk/aws_applicationsignals/__init__.py +5 -5
- aws_cdk/aws_appmesh/__init__.py +35 -35
- aws_cdk/aws_apprunner/__init__.py +25 -25
- aws_cdk/aws_appstream/__init__.py +105 -105
- aws_cdk/aws_appsync/__init__.py +89 -89
- aws_cdk/aws_apptest/__init__.py +25 -25
- aws_cdk/aws_aps/__init__.py +14 -14
- aws_cdk/aws_arczonalshift/__init__.py +200 -3
- aws_cdk/aws_athena/__init__.py +25 -25
- aws_cdk/aws_auditmanager/__init__.py +15 -15
- aws_cdk/aws_autoscaling/__init__.py +84 -84
- aws_cdk/aws_autoscalingplans/__init__.py +2 -2
- aws_cdk/aws_b2bi/__init__.py +24 -24
- aws_cdk/aws_backup/__init__.py +33 -33
- aws_cdk/aws_backupgateway/__init__.py +7 -7
- aws_cdk/aws_batch/__init__.py +289 -35
- aws_cdk/aws_bcmdataexports/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +15766 -3438
- aws_cdk/aws_billingconductor/__init__.py +28 -28
- aws_cdk/aws_budgets/__init__.py +12 -12
- aws_cdk/aws_cassandra/__init__.py +16 -16
- aws_cdk/aws_ce/__init__.py +17 -17
- aws_cdk/aws_certificatemanager/__init__.py +9 -9
- aws_cdk/aws_chatbot/__init__.py +22 -22
- aws_cdk/aws_cleanrooms/__init__.py +2470 -307
- aws_cdk/aws_cleanroomsml/__init__.py +5 -5
- aws_cdk/aws_cloud9/__init__.py +10 -10
- aws_cdk/aws_cloudformation/__init__.py +94 -69
- aws_cdk/aws_cloudfront/__init__.py +47 -33
- aws_cdk/aws_cloudtrail/__init__.py +46 -44
- aws_cdk/aws_cloudwatch/__init__.py +61 -69
- aws_cdk/aws_codeartifact/__init__.py +19 -19
- aws_cdk/aws_codebuild/__init__.py +99 -68
- aws_cdk/aws_codecommit/__init__.py +10 -6
- aws_cdk/aws_codeconnections/__init__.py +5 -5
- aws_cdk/aws_codedeploy/__init__.py +28 -28
- aws_cdk/aws_codeguruprofiler/__init__.py +5 -5
- aws_cdk/aws_codegurureviewer/__init__.py +6 -6
- aws_cdk/aws_codepipeline/__init__.py +849 -52
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +8 -8
- aws_cdk/aws_codestarconnections/__init__.py +17 -17
- aws_cdk/aws_codestarnotifications/__init__.py +10 -10
- aws_cdk/aws_cognito/__init__.py +465 -133
- aws_cdk/aws_comprehend/__init__.py +20 -20
- aws_cdk/aws_config/__init__.py +67 -67
- aws_cdk/aws_connect/__init__.py +139 -137
- aws_cdk/aws_connectcampaigns/__init__.py +5 -5
- aws_cdk/aws_controltower/__init__.py +12 -12
- aws_cdk/aws_cur/__init__.py +12 -12
- aws_cdk/aws_customerprofiles/__init__.py +36 -36
- aws_cdk/aws_databrew/__init__.py +45 -45
- aws_cdk/aws_datapipeline/__init__.py +12 -8
- aws_cdk/aws_datasync/__init__.py +119 -117
- aws_cdk/aws_datazone/__init__.py +63 -63
- aws_cdk/aws_dax/__init__.py +20 -20
- aws_cdk/aws_deadline/__init__.py +221 -292
- aws_cdk/aws_detective/__init__.py +8 -8
- aws_cdk/aws_devicefarm/__init__.py +37 -37
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +15 -15
- aws_cdk/aws_dlm/__init__.py +12 -12
- aws_cdk/aws_dms/__init__.py +300 -298
- aws_cdk/aws_docdb/__init__.py +49 -49
- aws_cdk/aws_docdbelastic/__init__.py +14 -14
- aws_cdk/aws_dynamodb/__init__.py +371 -37
- aws_cdk/aws_ec2/__init__.py +914 -612
- aws_cdk/aws_ecr/__init__.py +117 -77
- aws_cdk/aws_ecr_assets/__init__.py +4 -4
- aws_cdk/aws_ecs/__init__.py +192 -191
- aws_cdk/aws_ecs_patterns/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +22 -22
- aws_cdk/aws_eks/__init__.py +177 -61
- aws_cdk/aws_elasticache/__init__.py +218 -226
- aws_cdk/aws_elasticbeanstalk/__init__.py +25 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -16
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1066 -102
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +86 -4
- aws_cdk/aws_elasticsearch/__init__.py +16 -16
- aws_cdk/aws_emr/__init__.py +74 -74
- aws_cdk/aws_emrcontainers/__init__.py +3 -3
- aws_cdk/aws_emrserverless/__init__.py +157 -14
- aws_cdk/aws_entityresolution/__init__.py +613 -35
- aws_cdk/aws_events/__init__.py +42 -42
- aws_cdk/aws_eventschemas/__init__.py +16 -16
- aws_cdk/aws_evidently/__init__.py +38 -38
- aws_cdk/aws_finspace/__init__.py +8 -8
- aws_cdk/aws_fis/__init__.py +12 -12
- aws_cdk/aws_fms/__init__.py +21 -21
- aws_cdk/aws_forecast/__init__.py +18 -11
- aws_cdk/aws_frauddetector/__init__.py +35 -35
- aws_cdk/aws_fsx/__init__.py +35 -35
- aws_cdk/aws_gamelift/__init__.py +155 -143
- aws_cdk/aws_globalaccelerator/__init__.py +46 -24
- aws_cdk/aws_glue/__init__.py +187 -143
- aws_cdk/aws_grafana/__init__.py +17 -17
- aws_cdk/aws_greengrass/__init__.py +48 -48
- aws_cdk/aws_greengrassv2/__init__.py +10 -10
- aws_cdk/aws_groundstation/__init__.py +16 -16
- aws_cdk/aws_guardduty/__init__.py +40 -38
- aws_cdk/aws_healthimaging/__init__.py +3 -3
- aws_cdk/aws_healthlake/__init__.py +6 -6
- aws_cdk/aws_iam/__init__.py +120 -122
- aws_cdk/aws_identitystore/__init__.py +6 -6
- aws_cdk/aws_imagebuilder/__init__.py +98 -98
- aws_cdk/aws_inspector/__init__.py +8 -8
- aws_cdk/aws_inspectorv2/__init__.py +102 -97
- aws_cdk/aws_internetmonitor/__init__.py +12 -12
- aws_cdk/aws_iot/__init__.py +141 -141
- aws_cdk/aws_iot1click/__init__.py +9 -9
- aws_cdk/aws_iotanalytics/__init__.py +21 -21
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +2 -2
- aws_cdk/aws_iotevents/__init__.py +20 -20
- aws_cdk/aws_iotfleethub/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +45 -45
- aws_cdk/aws_iotsitewise/__init__.py +40 -40
- aws_cdk/aws_iotthingsgraph/__init__.py +2 -2
- aws_cdk/aws_iottwinmaker/__init__.py +34 -34
- aws_cdk/aws_iotwireless/__init__.py +66 -66
- aws_cdk/aws_ivs/__init__.py +490 -34
- aws_cdk/aws_ivschat/__init__.py +9 -9
- aws_cdk/aws_kafkaconnect/__init__.py +22 -22
- aws_cdk/aws_kendra/__init__.py +28 -28
- aws_cdk/aws_kendraranking/__init__.py +4 -4
- aws_cdk/aws_kinesis/__init__.py +8 -8
- aws_cdk/aws_kinesisanalytics/__init__.py +23 -23
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +15 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +677 -18
- aws_cdk/aws_kinesisvideo/__init__.py +10 -10
- aws_cdk/aws_kms/__init__.py +20 -20
- aws_cdk/aws_lakeformation/__init__.py +36 -36
- aws_cdk/aws_lambda/__init__.py +174 -118
- aws_cdk/aws_launchwizard/__init__.py +508 -0
- aws_cdk/aws_lex/__init__.py +24 -24
- aws_cdk/aws_licensemanager/__init__.py +17 -17
- aws_cdk/aws_lightsail/__init__.py +90 -90
- aws_cdk/aws_location/__init__.py +41 -41
- aws_cdk/aws_logs/__init__.py +50 -50
- aws_cdk/aws_lookoutequipment/__init__.py +9 -9
- aws_cdk/aws_lookoutmetrics/__init__.py +10 -10
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +20 -20
- aws_cdk/aws_macie/__init__.py +19 -19
- aws_cdk/aws_managedblockchain/__init__.py +10 -10
- aws_cdk/aws_mediaconnect/__init__.py +114 -77
- aws_cdk/aws_mediaconvert/__init__.py +20 -20
- aws_cdk/aws_medialive/__init__.py +49 -40
- aws_cdk/aws_mediapackage/__init__.py +38 -38
- aws_cdk/aws_mediapackagev2/__init__.py +178 -25
- aws_cdk/aws_mediastore/__init__.py +7 -7
- aws_cdk/aws_mediatailor/__init__.py +40 -40
- aws_cdk/aws_memorydb/__init__.py +41 -41
- aws_cdk/aws_msk/__init__.py +127 -39
- aws_cdk/aws_mwaa/__init__.py +25 -25
- aws_cdk/aws_neptune/__init__.py +55 -55
- aws_cdk/aws_neptunegraph/__init__.py +11 -11
- aws_cdk/aws_networkfirewall/__init__.py +36 -30
- aws_cdk/aws_networkmanager/__init__.py +1062 -91
- aws_cdk/aws_nimblestudio/__init__.py +31 -31
- aws_cdk/aws_oam/__init__.py +8 -8
- aws_cdk/aws_omics/__init__.py +36 -36
- aws_cdk/aws_opensearchserverless/__init__.py +25 -25
- aws_cdk/aws_opensearchservice/__init__.py +20 -20
- aws_cdk/aws_opsworks/__init__.py +87 -87
- aws_cdk/aws_opsworkscm/__init__.py +21 -21
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_osis/__init__.py +122 -9
- aws_cdk/aws_panorama/__init__.py +27 -22
- aws_cdk/aws_paymentcryptography/__init__.py +7 -7
- aws_cdk/aws_pcaconnectorad/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +19 -19
- aws_cdk/aws_pinpoint/__init__.py +122 -122
- aws_cdk/aws_pinpointemail/__init__.py +16 -16
- aws_cdk/aws_pipes/__init__.py +14 -16
- aws_cdk/aws_proton/__init__.py +19 -19
- aws_cdk/aws_qbusiness/__init__.py +160 -45
- aws_cdk/aws_qldb/__init__.py +12 -12
- aws_cdk/aws_quicksight/__init__.py +91 -91
- aws_cdk/aws_ram/__init__.py +11 -11
- aws_cdk/aws_rds/__init__.py +365 -259
- aws_cdk/aws_redshift/__init__.py +136 -91
- aws_cdk/aws_redshiftserverless/__init__.py +27 -27
- aws_cdk/aws_refactorspaces/__init__.py +26 -26
- aws_cdk/aws_rekognition/__init__.py +16 -16
- aws_cdk/aws_resiliencehub/__init__.py +15 -15
- aws_cdk/aws_resourceexplorer2/__init__.py +8 -8
- aws_cdk/aws_resourcegroups/__init__.py +6 -6
- aws_cdk/aws_robomaker/__init__.py +25 -25
- aws_cdk/aws_rolesanywhere/__init__.py +67 -19
- aws_cdk/aws_route53/__init__.py +36 -36
- aws_cdk/aws_route53profiles/__init__.py +11 -11
- aws_cdk/aws_route53recoverycontrol/__init__.py +14 -14
- aws_cdk/aws_route53recoveryreadiness/__init__.py +13 -13
- aws_cdk/aws_route53resolver/__init__.py +123 -82
- aws_cdk/aws_rum/__init__.py +6 -6
- aws_cdk/aws_s3/__init__.py +136 -80
- aws_cdk/aws_s3_deployment/__init__.py +30 -24
- aws_cdk/aws_s3_notifications/__init__.py +3 -4
- aws_cdk/aws_s3express/__init__.py +5 -5
- aws_cdk/aws_s3objectlambda/__init__.py +6 -6
- aws_cdk/aws_s3outposts/__init__.py +16 -16
- aws_cdk/aws_sagemaker/__init__.py +2414 -282
- aws_cdk/aws_sam/__init__.py +101 -101
- aws_cdk/aws_scheduler/__init__.py +13 -13
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +20 -19
- aws_cdk/aws_securityhub/__init__.py +70 -57
- aws_cdk/aws_securitylake/__init__.py +341 -16
- aws_cdk/aws_servicecatalog/__init__.py +87 -87
- aws_cdk/aws_servicecatalogappregistry/__init__.py +12 -12
- aws_cdk/aws_servicediscovery/__init__.py +23 -23
- aws_cdk/aws_ses/__init__.py +12038 -5604
- aws_cdk/aws_shield/__init__.py +15 -15
- aws_cdk/aws_signer/__init__.py +9 -9
- aws_cdk/aws_simspaceweaver/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +28 -28
- aws_cdk/aws_sqs/__init__.py +20 -20
- aws_cdk/aws_ssm/__init__.py +176 -105
- aws_cdk/aws_ssmcontacts/__init__.py +18 -18
- aws_cdk/aws_ssmincidents/__init__.py +11 -11
- aws_cdk/aws_sso/__init__.py +31 -31
- aws_cdk/aws_stepfunctions/__init__.py +370 -28
- aws_cdk/aws_supportapp/__init__.py +11 -11
- aws_cdk/aws_synthetics/__init__.py +18 -18
- aws_cdk/aws_systemsmanagersap/__init__.py +48 -7
- aws_cdk/aws_timestream/__init__.py +34 -34
- aws_cdk/aws_transfer/__init__.py +57 -57
- aws_cdk/aws_verifiedpermissions/__init__.py +11 -11
- aws_cdk/aws_voiceid/__init__.py +4 -4
- aws_cdk/aws_vpclattice/__init__.py +42 -42
- aws_cdk/aws_waf/__init__.py +17 -17
- aws_cdk/aws_wafregional/__init__.py +28 -28
- aws_cdk/aws_wafv2/__init__.py +39 -39
- aws_cdk/aws_wisdom/__init__.py +16 -16
- aws_cdk/aws_workspaces/__init__.py +18 -18
- aws_cdk/aws_workspacesthinclient/__init__.py +63 -9
- aws_cdk/aws_workspacesweb/__init__.py +87 -46
- aws_cdk/aws_xray/__init__.py +12 -12
- aws_cdk/cloud_assembly_schema/__init__.py +348 -239
- aws_cdk/custom_resources/__init__.py +289 -0
- aws_cdk/cx_api/__init__.py +15 -15
- aws_cdk/pipelines/__init__.py +172 -237
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/METADATA +3 -2
- aws_cdk_lib-2.154.1.dist-info/RECORD +292 -0
- aws_cdk_lib-2.153.0.dist-info/RECORD +0 -291
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -3178,7 +3178,7 @@ class AppProtocol(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ecs.AppPro
|
|
|
3178
3178
|
|
|
3179
3179
|
@jsii.python.classproperty
|
|
3180
3180
|
@jsii.member(jsii_name="grpc")
|
|
3181
|
-
def grpc(cls) -> "AppProtocol": # pyright: ignore [reportGeneralTypeIssues]
|
|
3181
|
+
def grpc(cls) -> "AppProtocol": # pyright: ignore [reportGeneralTypeIssues,reportRedeclaration]
|
|
3182
3182
|
'''GRPC app protocol.'''
|
|
3183
3183
|
return typing.cast("AppProtocol", jsii.sget(cls, "grpc"))
|
|
3184
3184
|
|
|
@@ -3187,11 +3187,11 @@ class AppProtocol(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ecs.AppPro
|
|
|
3187
3187
|
if __debug__:
|
|
3188
3188
|
type_hints = typing.get_type_hints(_typecheckingstub__77b98455b2c3523f794df1e23970004d7b2edb7c5cdb877856bd0b746e4c1c50)
|
|
3189
3189
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3190
|
-
jsii.sset(cls, "grpc", value)
|
|
3190
|
+
jsii.sset(cls, "grpc", value) # pyright: ignore[reportArgumentType]
|
|
3191
3191
|
|
|
3192
3192
|
@jsii.python.classproperty
|
|
3193
3193
|
@jsii.member(jsii_name="http")
|
|
3194
|
-
def http(cls) -> "AppProtocol": # pyright: ignore [reportGeneralTypeIssues]
|
|
3194
|
+
def http(cls) -> "AppProtocol": # pyright: ignore [reportGeneralTypeIssues,reportRedeclaration]
|
|
3195
3195
|
'''HTTP app protocol.'''
|
|
3196
3196
|
return typing.cast("AppProtocol", jsii.sget(cls, "http"))
|
|
3197
3197
|
|
|
@@ -3200,11 +3200,11 @@ class AppProtocol(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ecs.AppPro
|
|
|
3200
3200
|
if __debug__:
|
|
3201
3201
|
type_hints = typing.get_type_hints(_typecheckingstub__d0439c1eaca6689b173b1cd0312fdc06e461182b0be47279b1547bb0b68a90c4)
|
|
3202
3202
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3203
|
-
jsii.sset(cls, "http", value)
|
|
3203
|
+
jsii.sset(cls, "http", value) # pyright: ignore[reportArgumentType]
|
|
3204
3204
|
|
|
3205
3205
|
@jsii.python.classproperty
|
|
3206
3206
|
@jsii.member(jsii_name="http2")
|
|
3207
|
-
def http2(cls) -> "AppProtocol": # pyright: ignore [reportGeneralTypeIssues]
|
|
3207
|
+
def http2(cls) -> "AppProtocol": # pyright: ignore [reportGeneralTypeIssues,reportRedeclaration]
|
|
3208
3208
|
'''HTTP2 app protocol.'''
|
|
3209
3209
|
return typing.cast("AppProtocol", jsii.sget(cls, "http2"))
|
|
3210
3210
|
|
|
@@ -3213,7 +3213,7 @@ class AppProtocol(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ecs.AppPro
|
|
|
3213
3213
|
if __debug__:
|
|
3214
3214
|
type_hints = typing.get_type_hints(_typecheckingstub__713cc19ddd985e6eacdf63b05272a22567b0bd13de0196a213d990f4d0116ca6)
|
|
3215
3215
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3216
|
-
jsii.sset(cls, "http2", value)
|
|
3216
|
+
jsii.sset(cls, "http2", value) # pyright: ignore[reportArgumentType]
|
|
3217
3217
|
|
|
3218
3218
|
@builtins.property
|
|
3219
3219
|
@jsii.member(jsii_name="value")
|
|
@@ -5973,7 +5973,7 @@ class CfnCapacityProvider(
|
|
|
5973
5973
|
if __debug__:
|
|
5974
5974
|
type_hints = typing.get_type_hints(_typecheckingstub__5888da07adc4050987d977b4699983a6760a2abcd538f800018e65953cb2746e)
|
|
5975
5975
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5976
|
-
jsii.set(self, "autoScalingGroupProvider", value)
|
|
5976
|
+
jsii.set(self, "autoScalingGroupProvider", value) # pyright: ignore[reportArgumentType]
|
|
5977
5977
|
|
|
5978
5978
|
@builtins.property
|
|
5979
5979
|
@jsii.member(jsii_name="name")
|
|
@@ -5986,7 +5986,7 @@ class CfnCapacityProvider(
|
|
|
5986
5986
|
if __debug__:
|
|
5987
5987
|
type_hints = typing.get_type_hints(_typecheckingstub__6b097d35daad25c1c594150aba1acbb2fe2a7052d42d247db35563ec5fed6bd4)
|
|
5988
5988
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5989
|
-
jsii.set(self, "name", value)
|
|
5989
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
5990
5990
|
|
|
5991
5991
|
@builtins.property
|
|
5992
5992
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -5999,7 +5999,7 @@ class CfnCapacityProvider(
|
|
|
5999
5999
|
if __debug__:
|
|
6000
6000
|
type_hints = typing.get_type_hints(_typecheckingstub__81c56757bceb2c5880b41cbaabe62c67844b248e61c810588b5c50b5f7053aae)
|
|
6001
6001
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6002
|
-
jsii.set(self, "tagsRaw", value)
|
|
6002
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
6003
6003
|
|
|
6004
6004
|
@jsii.data_type(
|
|
6005
6005
|
jsii_type="aws-cdk-lib.aws_ecs.CfnCapacityProvider.AutoScalingGroupProviderProperty",
|
|
@@ -6552,7 +6552,7 @@ class CfnCluster(
|
|
|
6552
6552
|
if __debug__:
|
|
6553
6553
|
type_hints = typing.get_type_hints(_typecheckingstub__f72bcd78ec28f8b6235a45c9a874d3074411135c04d1189f7b711f41fb19011f)
|
|
6554
6554
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6555
|
-
jsii.set(self, "capacityProviders", value)
|
|
6555
|
+
jsii.set(self, "capacityProviders", value) # pyright: ignore[reportArgumentType]
|
|
6556
6556
|
|
|
6557
6557
|
@builtins.property
|
|
6558
6558
|
@jsii.member(jsii_name="clusterName")
|
|
@@ -6565,7 +6565,7 @@ class CfnCluster(
|
|
|
6565
6565
|
if __debug__:
|
|
6566
6566
|
type_hints = typing.get_type_hints(_typecheckingstub__a0a6687e9de573d67f4c2c57c08282746a1cc17e96eef26e0fac441e47050c61)
|
|
6567
6567
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6568
|
-
jsii.set(self, "clusterName", value)
|
|
6568
|
+
jsii.set(self, "clusterName", value) # pyright: ignore[reportArgumentType]
|
|
6569
6569
|
|
|
6570
6570
|
@builtins.property
|
|
6571
6571
|
@jsii.member(jsii_name="clusterSettings")
|
|
@@ -6583,7 +6583,7 @@ class CfnCluster(
|
|
|
6583
6583
|
if __debug__:
|
|
6584
6584
|
type_hints = typing.get_type_hints(_typecheckingstub__7b904705b8bfde5e70548f3ba2688b1bc9b3237562659c56228f3d6f5f77860f)
|
|
6585
6585
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6586
|
-
jsii.set(self, "clusterSettings", value)
|
|
6586
|
+
jsii.set(self, "clusterSettings", value) # pyright: ignore[reportArgumentType]
|
|
6587
6587
|
|
|
6588
6588
|
@builtins.property
|
|
6589
6589
|
@jsii.member(jsii_name="configuration")
|
|
@@ -6601,7 +6601,7 @@ class CfnCluster(
|
|
|
6601
6601
|
if __debug__:
|
|
6602
6602
|
type_hints = typing.get_type_hints(_typecheckingstub__bc8e68ff9b3aeb40cad7c3029e01ab654eab91cf6e4423fbff6adb70d068b7ae)
|
|
6603
6603
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6604
|
-
jsii.set(self, "configuration", value)
|
|
6604
|
+
jsii.set(self, "configuration", value) # pyright: ignore[reportArgumentType]
|
|
6605
6605
|
|
|
6606
6606
|
@builtins.property
|
|
6607
6607
|
@jsii.member(jsii_name="defaultCapacityProviderStrategy")
|
|
@@ -6619,7 +6619,7 @@ class CfnCluster(
|
|
|
6619
6619
|
if __debug__:
|
|
6620
6620
|
type_hints = typing.get_type_hints(_typecheckingstub__73d775a9ee477c6e3311cfa033b6e7c2992a47b3a58187c38c6fb8e55ced8dda)
|
|
6621
6621
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6622
|
-
jsii.set(self, "defaultCapacityProviderStrategy", value)
|
|
6622
|
+
jsii.set(self, "defaultCapacityProviderStrategy", value) # pyright: ignore[reportArgumentType]
|
|
6623
6623
|
|
|
6624
6624
|
@builtins.property
|
|
6625
6625
|
@jsii.member(jsii_name="serviceConnectDefaults")
|
|
@@ -6637,7 +6637,7 @@ class CfnCluster(
|
|
|
6637
6637
|
if __debug__:
|
|
6638
6638
|
type_hints = typing.get_type_hints(_typecheckingstub__4513757d6bf1dd7171c57a96c233575a7dfdc1797a261ca445a4dd29f575095c)
|
|
6639
6639
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6640
|
-
jsii.set(self, "serviceConnectDefaults", value)
|
|
6640
|
+
jsii.set(self, "serviceConnectDefaults", value) # pyright: ignore[reportArgumentType]
|
|
6641
6641
|
|
|
6642
6642
|
@builtins.property
|
|
6643
6643
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -6650,7 +6650,7 @@ class CfnCluster(
|
|
|
6650
6650
|
if __debug__:
|
|
6651
6651
|
type_hints = typing.get_type_hints(_typecheckingstub__ba18d5214d730fe0bed74b702ff0fc20f3294db0d6d2f676b2c2b1e5a04e30f2)
|
|
6652
6652
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6653
|
-
jsii.set(self, "tagsRaw", value)
|
|
6653
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
6654
6654
|
|
|
6655
6655
|
@jsii.data_type(
|
|
6656
6656
|
jsii_type="aws-cdk-lib.aws_ecs.CfnCluster.CapacityProviderStrategyItemProperty",
|
|
@@ -7403,7 +7403,7 @@ class CfnClusterCapacityProviderAssociations(
|
|
|
7403
7403
|
if __debug__:
|
|
7404
7404
|
type_hints = typing.get_type_hints(_typecheckingstub__179caeeed8cf1e3badcd9269f89a732efb1582d0dc5fe1a1431aee106eefe333)
|
|
7405
7405
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7406
|
-
jsii.set(self, "capacityProviders", value)
|
|
7406
|
+
jsii.set(self, "capacityProviders", value) # pyright: ignore[reportArgumentType]
|
|
7407
7407
|
|
|
7408
7408
|
@builtins.property
|
|
7409
7409
|
@jsii.member(jsii_name="cluster")
|
|
@@ -7416,7 +7416,7 @@ class CfnClusterCapacityProviderAssociations(
|
|
|
7416
7416
|
if __debug__:
|
|
7417
7417
|
type_hints = typing.get_type_hints(_typecheckingstub__df256c18acb77e38e5110ec5f1e3b55621c49f4da43f861e9d55ef39c9207076)
|
|
7418
7418
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7419
|
-
jsii.set(self, "cluster", value)
|
|
7419
|
+
jsii.set(self, "cluster", value) # pyright: ignore[reportArgumentType]
|
|
7420
7420
|
|
|
7421
7421
|
@builtins.property
|
|
7422
7422
|
@jsii.member(jsii_name="defaultCapacityProviderStrategy")
|
|
@@ -7434,7 +7434,7 @@ class CfnClusterCapacityProviderAssociations(
|
|
|
7434
7434
|
if __debug__:
|
|
7435
7435
|
type_hints = typing.get_type_hints(_typecheckingstub__adacafb6e01b8e49c325edb233c0e67268b6787a00fc50eea158771a202ed80a)
|
|
7436
7436
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7437
|
-
jsii.set(self, "defaultCapacityProviderStrategy", value)
|
|
7437
|
+
jsii.set(self, "defaultCapacityProviderStrategy", value) # pyright: ignore[reportArgumentType]
|
|
7438
7438
|
|
|
7439
7439
|
@jsii.data_type(
|
|
7440
7440
|
jsii_type="aws-cdk-lib.aws_ecs.CfnClusterCapacityProviderAssociations.CapacityProviderStrategyProperty",
|
|
@@ -7961,7 +7961,7 @@ class CfnPrimaryTaskSet(
|
|
|
7961
7961
|
if __debug__:
|
|
7962
7962
|
type_hints = typing.get_type_hints(_typecheckingstub__5fd19c81a21dcde3d0aa66f988ca71a954c06f012283264cd1c45c7ead4f6015)
|
|
7963
7963
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7964
|
-
jsii.set(self, "cluster", value)
|
|
7964
|
+
jsii.set(self, "cluster", value) # pyright: ignore[reportArgumentType]
|
|
7965
7965
|
|
|
7966
7966
|
@builtins.property
|
|
7967
7967
|
@jsii.member(jsii_name="service")
|
|
@@ -7974,7 +7974,7 @@ class CfnPrimaryTaskSet(
|
|
|
7974
7974
|
if __debug__:
|
|
7975
7975
|
type_hints = typing.get_type_hints(_typecheckingstub__09bbd50b9591c66bcf1ae74e4545273df95cc2f47a666659291c35d1e0a6d5df)
|
|
7976
7976
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7977
|
-
jsii.set(self, "service", value)
|
|
7977
|
+
jsii.set(self, "service", value) # pyright: ignore[reportArgumentType]
|
|
7978
7978
|
|
|
7979
7979
|
@builtins.property
|
|
7980
7980
|
@jsii.member(jsii_name="taskSetId")
|
|
@@ -7987,7 +7987,7 @@ class CfnPrimaryTaskSet(
|
|
|
7987
7987
|
if __debug__:
|
|
7988
7988
|
type_hints = typing.get_type_hints(_typecheckingstub__1bd9f89b5b3447da3ac908b4cc96953c097c7d010d2ad281309f140d10f0ea13)
|
|
7989
7989
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
7990
|
-
jsii.set(self, "taskSetId", value)
|
|
7990
|
+
jsii.set(self, "taskSetId", value) # pyright: ignore[reportArgumentType]
|
|
7991
7991
|
|
|
7992
7992
|
|
|
7993
7993
|
@jsii.data_type(
|
|
@@ -8408,7 +8408,7 @@ class CfnService(
|
|
|
8408
8408
|
if __debug__:
|
|
8409
8409
|
type_hints = typing.get_type_hints(_typecheckingstub__2cc9404cedce0aac2d2f2061fe9ad3f442cf33919c1a9f64eb934ded9311df13)
|
|
8410
8410
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8411
|
-
jsii.set(self, "capacityProviderStrategy", value)
|
|
8411
|
+
jsii.set(self, "capacityProviderStrategy", value) # pyright: ignore[reportArgumentType]
|
|
8412
8412
|
|
|
8413
8413
|
@builtins.property
|
|
8414
8414
|
@jsii.member(jsii_name="cluster")
|
|
@@ -8421,7 +8421,7 @@ class CfnService(
|
|
|
8421
8421
|
if __debug__:
|
|
8422
8422
|
type_hints = typing.get_type_hints(_typecheckingstub__d7e240f3ef87c9daa3aaaff4cc149c4fa59e0dff32cafc981254674ff0494c46)
|
|
8423
8423
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8424
|
-
jsii.set(self, "cluster", value)
|
|
8424
|
+
jsii.set(self, "cluster", value) # pyright: ignore[reportArgumentType]
|
|
8425
8425
|
|
|
8426
8426
|
@builtins.property
|
|
8427
8427
|
@jsii.member(jsii_name="deploymentConfiguration")
|
|
@@ -8439,7 +8439,7 @@ class CfnService(
|
|
|
8439
8439
|
if __debug__:
|
|
8440
8440
|
type_hints = typing.get_type_hints(_typecheckingstub__4351ccf04150d6a51cbf4f07cf8bc2c688c395eae2adbee7112e0ec69c423200)
|
|
8441
8441
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8442
|
-
jsii.set(self, "deploymentConfiguration", value)
|
|
8442
|
+
jsii.set(self, "deploymentConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
8443
8443
|
|
|
8444
8444
|
@builtins.property
|
|
8445
8445
|
@jsii.member(jsii_name="deploymentController")
|
|
@@ -8457,7 +8457,7 @@ class CfnService(
|
|
|
8457
8457
|
if __debug__:
|
|
8458
8458
|
type_hints = typing.get_type_hints(_typecheckingstub__c1106bf2bbd4b6b2f33facf01c316e1225c8a11ca790d69a763f51e4ec975df5)
|
|
8459
8459
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8460
|
-
jsii.set(self, "deploymentController", value)
|
|
8460
|
+
jsii.set(self, "deploymentController", value) # pyright: ignore[reportArgumentType]
|
|
8461
8461
|
|
|
8462
8462
|
@builtins.property
|
|
8463
8463
|
@jsii.member(jsii_name="desiredCount")
|
|
@@ -8470,7 +8470,7 @@ class CfnService(
|
|
|
8470
8470
|
if __debug__:
|
|
8471
8471
|
type_hints = typing.get_type_hints(_typecheckingstub__51ebcdae4644237879f751e8bd294ce85b04be48f7d60fe368358307143c4872)
|
|
8472
8472
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8473
|
-
jsii.set(self, "desiredCount", value)
|
|
8473
|
+
jsii.set(self, "desiredCount", value) # pyright: ignore[reportArgumentType]
|
|
8474
8474
|
|
|
8475
8475
|
@builtins.property
|
|
8476
8476
|
@jsii.member(jsii_name="enableEcsManagedTags")
|
|
@@ -8488,7 +8488,7 @@ class CfnService(
|
|
|
8488
8488
|
if __debug__:
|
|
8489
8489
|
type_hints = typing.get_type_hints(_typecheckingstub__0796264636a393525b9d077dfa82f77a09a8b352f87f00df117276bb342684f3)
|
|
8490
8490
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8491
|
-
jsii.set(self, "enableEcsManagedTags", value)
|
|
8491
|
+
jsii.set(self, "enableEcsManagedTags", value) # pyright: ignore[reportArgumentType]
|
|
8492
8492
|
|
|
8493
8493
|
@builtins.property
|
|
8494
8494
|
@jsii.member(jsii_name="enableExecuteCommand")
|
|
@@ -8506,7 +8506,7 @@ class CfnService(
|
|
|
8506
8506
|
if __debug__:
|
|
8507
8507
|
type_hints = typing.get_type_hints(_typecheckingstub__8e2bc49b758cd7bd2d560e7ef349cc9fd90122266047080d15fab50f91a3db2e)
|
|
8508
8508
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8509
|
-
jsii.set(self, "enableExecuteCommand", value)
|
|
8509
|
+
jsii.set(self, "enableExecuteCommand", value) # pyright: ignore[reportArgumentType]
|
|
8510
8510
|
|
|
8511
8511
|
@builtins.property
|
|
8512
8512
|
@jsii.member(jsii_name="healthCheckGracePeriodSeconds")
|
|
@@ -8522,7 +8522,7 @@ class CfnService(
|
|
|
8522
8522
|
if __debug__:
|
|
8523
8523
|
type_hints = typing.get_type_hints(_typecheckingstub__f711c1f6061fd4cde1ef9b3193fac0a0271ff054aad08ad6b79914e6f0f6db0f)
|
|
8524
8524
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8525
|
-
jsii.set(self, "healthCheckGracePeriodSeconds", value)
|
|
8525
|
+
jsii.set(self, "healthCheckGracePeriodSeconds", value) # pyright: ignore[reportArgumentType]
|
|
8526
8526
|
|
|
8527
8527
|
@builtins.property
|
|
8528
8528
|
@jsii.member(jsii_name="launchType")
|
|
@@ -8535,7 +8535,7 @@ class CfnService(
|
|
|
8535
8535
|
if __debug__:
|
|
8536
8536
|
type_hints = typing.get_type_hints(_typecheckingstub__9ccfa1a8d0c5680335f975536f0056a9bfc4a669734ecfe273518232469da36d)
|
|
8537
8537
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8538
|
-
jsii.set(self, "launchType", value)
|
|
8538
|
+
jsii.set(self, "launchType", value) # pyright: ignore[reportArgumentType]
|
|
8539
8539
|
|
|
8540
8540
|
@builtins.property
|
|
8541
8541
|
@jsii.member(jsii_name="loadBalancers")
|
|
@@ -8553,7 +8553,7 @@ class CfnService(
|
|
|
8553
8553
|
if __debug__:
|
|
8554
8554
|
type_hints = typing.get_type_hints(_typecheckingstub__2c0697b43444ff5c04248d1f0d58b447432c7db5822c3044eafda33bbf88a1f9)
|
|
8555
8555
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8556
|
-
jsii.set(self, "loadBalancers", value)
|
|
8556
|
+
jsii.set(self, "loadBalancers", value) # pyright: ignore[reportArgumentType]
|
|
8557
8557
|
|
|
8558
8558
|
@builtins.property
|
|
8559
8559
|
@jsii.member(jsii_name="networkConfiguration")
|
|
@@ -8571,7 +8571,7 @@ class CfnService(
|
|
|
8571
8571
|
if __debug__:
|
|
8572
8572
|
type_hints = typing.get_type_hints(_typecheckingstub__35091d03d59114e8b5f549279016726b6edc31d72aa07ca0bd9a1ca58fa54d4a)
|
|
8573
8573
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8574
|
-
jsii.set(self, "networkConfiguration", value)
|
|
8574
|
+
jsii.set(self, "networkConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
8575
8575
|
|
|
8576
8576
|
@builtins.property
|
|
8577
8577
|
@jsii.member(jsii_name="placementConstraints")
|
|
@@ -8589,7 +8589,7 @@ class CfnService(
|
|
|
8589
8589
|
if __debug__:
|
|
8590
8590
|
type_hints = typing.get_type_hints(_typecheckingstub__b9c4a420dfc576115223ce2e82d2b4d68c81e7692279f6b1d38c0d733ceaaf0d)
|
|
8591
8591
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8592
|
-
jsii.set(self, "placementConstraints", value)
|
|
8592
|
+
jsii.set(self, "placementConstraints", value) # pyright: ignore[reportArgumentType]
|
|
8593
8593
|
|
|
8594
8594
|
@builtins.property
|
|
8595
8595
|
@jsii.member(jsii_name="placementStrategies")
|
|
@@ -8607,7 +8607,7 @@ class CfnService(
|
|
|
8607
8607
|
if __debug__:
|
|
8608
8608
|
type_hints = typing.get_type_hints(_typecheckingstub__8733fbcd708d31c0cac1ce1162fdb73412467c7dc418ef96de79816517a84d88)
|
|
8609
8609
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8610
|
-
jsii.set(self, "placementStrategies", value)
|
|
8610
|
+
jsii.set(self, "placementStrategies", value) # pyright: ignore[reportArgumentType]
|
|
8611
8611
|
|
|
8612
8612
|
@builtins.property
|
|
8613
8613
|
@jsii.member(jsii_name="platformVersion")
|
|
@@ -8620,7 +8620,7 @@ class CfnService(
|
|
|
8620
8620
|
if __debug__:
|
|
8621
8621
|
type_hints = typing.get_type_hints(_typecheckingstub__928f760123332244b95f1f404b0f7d7243c69ba98e6e26e575ec71d648a2ee42)
|
|
8622
8622
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8623
|
-
jsii.set(self, "platformVersion", value)
|
|
8623
|
+
jsii.set(self, "platformVersion", value) # pyright: ignore[reportArgumentType]
|
|
8624
8624
|
|
|
8625
8625
|
@builtins.property
|
|
8626
8626
|
@jsii.member(jsii_name="propagateTags")
|
|
@@ -8633,7 +8633,7 @@ class CfnService(
|
|
|
8633
8633
|
if __debug__:
|
|
8634
8634
|
type_hints = typing.get_type_hints(_typecheckingstub__8498daf3b1adf30d5b499943ec44ec00c9b1944b2a6661792cc65ede76ab1f44)
|
|
8635
8635
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8636
|
-
jsii.set(self, "propagateTags", value)
|
|
8636
|
+
jsii.set(self, "propagateTags", value) # pyright: ignore[reportArgumentType]
|
|
8637
8637
|
|
|
8638
8638
|
@builtins.property
|
|
8639
8639
|
@jsii.member(jsii_name="role")
|
|
@@ -8646,7 +8646,7 @@ class CfnService(
|
|
|
8646
8646
|
if __debug__:
|
|
8647
8647
|
type_hints = typing.get_type_hints(_typecheckingstub__9f0d825970ce9ebc967d4246e01150a71610948c81bb17b5f2ae0e7dc81c2a92)
|
|
8648
8648
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8649
|
-
jsii.set(self, "role", value)
|
|
8649
|
+
jsii.set(self, "role", value) # pyright: ignore[reportArgumentType]
|
|
8650
8650
|
|
|
8651
8651
|
@builtins.property
|
|
8652
8652
|
@jsii.member(jsii_name="schedulingStrategy")
|
|
@@ -8662,7 +8662,7 @@ class CfnService(
|
|
|
8662
8662
|
if __debug__:
|
|
8663
8663
|
type_hints = typing.get_type_hints(_typecheckingstub__18eaba97d3bc557a2d16a14c816fd02f6c372e3be105c5364bb15b0596b2dda0)
|
|
8664
8664
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8665
|
-
jsii.set(self, "schedulingStrategy", value)
|
|
8665
|
+
jsii.set(self, "schedulingStrategy", value) # pyright: ignore[reportArgumentType]
|
|
8666
8666
|
|
|
8667
8667
|
@builtins.property
|
|
8668
8668
|
@jsii.member(jsii_name="serviceConnectConfiguration")
|
|
@@ -8680,7 +8680,7 @@ class CfnService(
|
|
|
8680
8680
|
if __debug__:
|
|
8681
8681
|
type_hints = typing.get_type_hints(_typecheckingstub__9b60b9aa5da511a557985bc3c729367eaca606c908b2b3826a2c387142433f65)
|
|
8682
8682
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8683
|
-
jsii.set(self, "serviceConnectConfiguration", value)
|
|
8683
|
+
jsii.set(self, "serviceConnectConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
8684
8684
|
|
|
8685
8685
|
@builtins.property
|
|
8686
8686
|
@jsii.member(jsii_name="serviceName")
|
|
@@ -8693,7 +8693,7 @@ class CfnService(
|
|
|
8693
8693
|
if __debug__:
|
|
8694
8694
|
type_hints = typing.get_type_hints(_typecheckingstub__07a61aef5a3e67b762670027e581758f9be97a8133c5f3da0345d5667c237910)
|
|
8695
8695
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8696
|
-
jsii.set(self, "serviceName", value)
|
|
8696
|
+
jsii.set(self, "serviceName", value) # pyright: ignore[reportArgumentType]
|
|
8697
8697
|
|
|
8698
8698
|
@builtins.property
|
|
8699
8699
|
@jsii.member(jsii_name="serviceRegistries")
|
|
@@ -8714,7 +8714,7 @@ class CfnService(
|
|
|
8714
8714
|
if __debug__:
|
|
8715
8715
|
type_hints = typing.get_type_hints(_typecheckingstub__a16af752d5bae77aefe7a7fa7946e7d908fe3c24ac325730d54f53c73e868d5d)
|
|
8716
8716
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8717
|
-
jsii.set(self, "serviceRegistries", value)
|
|
8717
|
+
jsii.set(self, "serviceRegistries", value) # pyright: ignore[reportArgumentType]
|
|
8718
8718
|
|
|
8719
8719
|
@builtins.property
|
|
8720
8720
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -8727,7 +8727,7 @@ class CfnService(
|
|
|
8727
8727
|
if __debug__:
|
|
8728
8728
|
type_hints = typing.get_type_hints(_typecheckingstub__984bde0e909b05ff150ea0f8fa7ab3c25c2600f31e72248005f3369ad24020c6)
|
|
8729
8729
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8730
|
-
jsii.set(self, "tagsRaw", value)
|
|
8730
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
8731
8731
|
|
|
8732
8732
|
@builtins.property
|
|
8733
8733
|
@jsii.member(jsii_name="taskDefinition")
|
|
@@ -8740,7 +8740,7 @@ class CfnService(
|
|
|
8740
8740
|
if __debug__:
|
|
8741
8741
|
type_hints = typing.get_type_hints(_typecheckingstub__622044881e70698cedaad575e114b69f1f2050c5c95de5f1d2fd013bbe56491b)
|
|
8742
8742
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8743
|
-
jsii.set(self, "taskDefinition", value)
|
|
8743
|
+
jsii.set(self, "taskDefinition", value) # pyright: ignore[reportArgumentType]
|
|
8744
8744
|
|
|
8745
8745
|
@builtins.property
|
|
8746
8746
|
@jsii.member(jsii_name="volumeConfigurations")
|
|
@@ -8758,7 +8758,7 @@ class CfnService(
|
|
|
8758
8758
|
if __debug__:
|
|
8759
8759
|
type_hints = typing.get_type_hints(_typecheckingstub__f2ac135ae7ca091933f2f2f9baca1914fdf096339b6f1599966b809b9f50a447)
|
|
8760
8760
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8761
|
-
jsii.set(self, "volumeConfigurations", value)
|
|
8761
|
+
jsii.set(self, "volumeConfigurations", value) # pyright: ignore[reportArgumentType]
|
|
8762
8762
|
|
|
8763
8763
|
@jsii.data_type(
|
|
8764
8764
|
jsii_type="aws-cdk-lib.aws_ecs.CfnService.AwsVpcConfigurationProperty",
|
|
@@ -8779,7 +8779,7 @@ class CfnService(
|
|
|
8779
8779
|
) -> None:
|
|
8780
8780
|
'''An object representing the networking details for a task or service.
|
|
8781
8781
|
|
|
8782
|
-
For example ``
|
|
8782
|
+
For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}`` .
|
|
8783
8783
|
|
|
8784
8784
|
:param assign_public_ip: Whether the task's elastic network interface receives a public IP address. The default value is ``DISABLED`` .
|
|
8785
8785
|
:param security_groups: The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per ``AwsVpcConfiguration`` . .. epigraph:: All specified security groups must be from the same VPC.
|
|
@@ -9589,9 +9589,9 @@ class CfnService(
|
|
|
9589
9589
|
) -> None:
|
|
9590
9590
|
'''The log configuration for the container.
|
|
9591
9591
|
|
|
9592
|
-
This parameter maps to ``LogConfig`` in the
|
|
9592
|
+
This parameter maps to ``LogConfig`` in the docker conainer create command and the ``--log-driver`` option to docker run.
|
|
9593
9593
|
|
|
9594
|
-
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.
|
|
9594
|
+
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.
|
|
9595
9595
|
|
|
9596
9596
|
Understand the following when specifying a log configuration for your containers.
|
|
9597
9597
|
|
|
@@ -10118,7 +10118,7 @@ class CfnService(
|
|
|
10118
10118
|
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see `Service Connect <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
10119
10119
|
|
|
10120
10120
|
:param enabled: Specifies whether to use Service Connect with this service.
|
|
10121
|
-
:param log_configuration: The log configuration for the container. This parameter maps to ``LogConfig`` in the
|
|
10121
|
+
:param log_configuration: The log configuration for the container. This parameter maps to ``LogConfig`` in the docker conainer create command and the ``--log-driver`` option to docker run. 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. Understand the following when specifying a log configuration for your containers. - 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. For tasks on AWS Fargate , the supported log drivers are ``awslogs`` , ``splunk`` , and ``awsfirelens`` . For tasks hosted on Amazon EC2 instances, the supported log drivers are ``awslogs`` , ``fluentd`` , ``gelf`` , ``json-file`` , ``journald`` , ``syslog`` , ``splunk`` , and ``awsfirelens`` . - This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. - 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* . - For tasks that are on AWS Fargate , 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.
|
|
10122
10122
|
:param namespace: The namespace name or full Amazon Resource Name (ARN) of the AWS Cloud Map namespace for use with Service Connect. The namespace must be in the same AWS Region as the Amazon ECS service and cluster. The type of namespace doesn't affect Service Connect. For more information about AWS Cloud Map , see `Working with Services <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html>`_ in the *AWS Cloud Map Developer Guide* .
|
|
10123
10123
|
:param services: The list of Service Connect service objects. These are names and aliases (also known as endpoints) that are used by other Amazon ECS services to connect to this service. This field is not required for a "client" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means. An object selects a port from the task definition, assigns a name for the AWS Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.
|
|
10124
10124
|
|
|
@@ -10206,9 +10206,9 @@ class CfnService(
|
|
|
10206
10206
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnService.LogConfigurationProperty"]]:
|
|
10207
10207
|
'''The log configuration for the container.
|
|
10208
10208
|
|
|
10209
|
-
This parameter maps to ``LogConfig`` in the
|
|
10209
|
+
This parameter maps to ``LogConfig`` in the docker conainer create command and the ``--log-driver`` option to docker run.
|
|
10210
10210
|
|
|
10211
|
-
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.
|
|
10211
|
+
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.
|
|
10212
10212
|
|
|
10213
10213
|
Understand the following when specifying a log configuration for your containers.
|
|
10214
10214
|
|
|
@@ -11837,7 +11837,7 @@ class CfnTaskDefinition(
|
|
|
11837
11837
|
|
|
11838
11838
|
You can specify a role for your task with the ``taskRoleArn`` parameter. When you specify a role for a task, its containers can then use the latest versions of the AWS CLI or SDKs to make API requests to the AWS services that are specified in the policy that's associated with the role. For more information, see `IAM Roles for Tasks <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
11839
11839
|
|
|
11840
|
-
You can specify a Docker networking mode for the containers in your task definition with the ``networkMode`` parameter.
|
|
11840
|
+
You can specify a Docker networking mode for the containers in your task definition with the ``networkMode`` parameter. If you specify the ``awsvpc`` network mode, the task is allocated an elastic network interface, and you must specify a `NetworkConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html>`_ when you create a service or run a task with the task definition. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
11841
11841
|
|
|
11842
11842
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html
|
|
11843
11843
|
:cloudformationResource: AWS::ECS::TaskDefinition
|
|
@@ -12095,16 +12095,16 @@ class CfnTaskDefinition(
|
|
|
12095
12095
|
:param execution_role_arn: The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make AWS API calls on your behalf. For informationabout the required IAM roles for Amazon ECS, see `IAM roles for Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
12096
12096
|
:param family: The name of a family that this task definition is registered to. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. A family groups multiple versions of a task definition. Amazon ECS gives the first task definition that you registered to a family a revision number of 1. Amazon ECS gives sequential revision numbers to each task definition that you add. .. epigraph:: To use revision numbers when you update a task definition, specify this property. If you don't specify a value, AWS CloudFormation generates a new task definition each time that you update it.
|
|
12097
12097
|
:param inference_accelerators: The Elastic Inference accelerators to use for the containers in the task.
|
|
12098
|
-
:param ipc_mode: The IPC resource namespace to use for the containers in the task. The valid values are ``host`` , ``task`` , or ``none`` . If ``host`` is specified, then all containers within the tasks that specified the ``host`` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same IPC resources. If ``none`` is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance.
|
|
12098
|
+
:param ipc_mode: The IPC resource namespace to use for the containers in the task. The valid values are ``host`` , ``task`` , or ``none`` . If ``host`` is specified, then all containers within the tasks that specified the ``host`` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same IPC resources. If ``none`` is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. If the ``host`` IPC mode is used, be aware that there is a heightened risk of undesired IPC namespace expose. If you are setting namespaced kernel parameters using ``systemControls`` for the containers in the task, the following will apply to your IPC resource namespace. For more information, see `System Controls <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html>`_ in the *Amazon Elastic Container Service Developer Guide* . - For tasks that use the ``host`` IPC mode, IPC namespace related ``systemControls`` are not supported. - For tasks that use the ``task`` IPC mode, IPC namespace related ``systemControls`` will apply to all containers within a task. .. epigraph:: This parameter is not supported for Windows containers or tasks run on AWS Fargate .
|
|
12099
12099
|
:param memory: The amount (in MiB) of memory used by the task. If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory value or a container-level memory value. This field is optional and any value can be used. If a task-level memory value is specified, the container-level memory value is optional. For more information regarding container-level memory and memory reservation, see `ContainerDefinition <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html>`_ . If your tasks runs on AWS Fargate , this field is required. You must use one of the following values. The value you choose determines your range of valid values for the ``cpu`` parameter. - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available ``cpu`` values: 256 (.25 vCPU) - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available ``cpu`` values: 512 (.5 vCPU) - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available ``cpu`` values: 1024 (1 vCPU) - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 2048 (2 vCPU) - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 4096 (4 vCPU) - Between 16 GB and 60 GB in 4 GB increments - Available ``cpu`` values: 8192 (8 vCPU) This option requires Linux platform ``1.4.0`` or later. - Between 32GB and 120 GB in 8 GB increments - Available ``cpu`` values: 16384 (16 vCPU) This option requires Linux platform ``1.4.0`` or later.
|
|
12100
|
-
:param network_mode: The Docker networking mode to use for the containers in the task. The valid values are ``none`` , ``bridge`` , ``awsvpc`` , and ``host`` . If no network mode is specified, the default is ``bridge`` . For Amazon ECS tasks on Fargate, the ``awsvpc`` network mode is required. For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, ``<default>`` or ``awsvpc`` can be used. If the network mode is set to ``none`` , you cannot specify port mappings in your container definitions, and the tasks containers do not have external connectivity. The ``host`` and ``awsvpc`` network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the ``bridge`` mode. With the ``host`` and ``awsvpc`` network modes, exposed container ports are mapped directly to the corresponding host port (for the ``host`` network mode) or the attached elastic network interface port (for the ``awsvpc`` network mode), so you cannot take advantage of dynamic host port mappings. .. epigraph:: When using the ``host`` network mode, you should not run containers using the root user (UID 0). It is considered best practice to use a non-root user. If the network mode is ``awsvpc`` , the task is allocated an elastic network interface, and you must specify a
|
|
12101
|
-
:param pid_mode: The process namespace to use for the containers in the task. The valid values are ``host`` or ``task`` . On Fargate for Linux containers, the only valid value is ``task`` . For example, monitoring sidecars might need ``pidMode`` to access information about other containers running in the same task. If ``host`` is specified, all containers within the tasks that specified the ``host`` PID mode on the same container instance share the same process namespace with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same process namespace. If no value is specified, the default is a private namespace for each container.
|
|
12100
|
+
:param network_mode: The Docker networking mode to use for the containers in the task. The valid values are ``none`` , ``bridge`` , ``awsvpc`` , and ``host`` . If no network mode is specified, the default is ``bridge`` . For Amazon ECS tasks on Fargate, the ``awsvpc`` network mode is required. For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, ``<default>`` or ``awsvpc`` can be used. If the network mode is set to ``none`` , you cannot specify port mappings in your container definitions, and the tasks containers do not have external connectivity. The ``host`` and ``awsvpc`` network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the ``bridge`` mode. With the ``host`` and ``awsvpc`` network modes, exposed container ports are mapped directly to the corresponding host port (for the ``host`` network mode) or the attached elastic network interface port (for the ``awsvpc`` network mode), so you cannot take advantage of dynamic host port mappings. .. epigraph:: When using the ``host`` network mode, you should not run containers using the root user (UID 0). It is considered best practice to use a non-root user. If the network mode is ``awsvpc`` , the task is allocated an elastic network interface, and you must specify a `NetworkConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html>`_ value when you create a service or run a task with the task definition. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* . If the network mode is ``host`` , you cannot run multiple instantiations of the same task on a single container instance when port mappings are used.
|
|
12101
|
+
:param pid_mode: The process namespace to use for the containers in the task. The valid values are ``host`` or ``task`` . On Fargate for Linux containers, the only valid value is ``task`` . For example, monitoring sidecars might need ``pidMode`` to access information about other containers running in the same task. If ``host`` is specified, all containers within the tasks that specified the ``host`` PID mode on the same container instance share the same process namespace with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same process namespace. If no value is specified, the default is a private namespace for each container. If the ``host`` PID mode is used, there's a heightened risk of undesired process namespace exposure. .. epigraph:: This parameter is not supported for Windows containers. > This parameter is only supported for tasks that are hosted on AWS Fargate if the tasks are using platform version ``1.4.0`` or later (Linux). This isn't supported for Windows containers on Fargate.
|
|
12102
12102
|
:param placement_constraints: An array of placement constraint objects to use for tasks. .. epigraph:: This parameter isn't supported for tasks run on AWS Fargate .
|
|
12103
12103
|
:param proxy_configuration: The configuration details for the App Mesh proxy. Your Amazon ECS container instances require at least version 1.26.0 of the container agent and at least version 1.26.0-1 of the ``ecs-init`` package to use a proxy configuration. If your container instances are launched from the Amazon ECS optimized AMI version ``20190301`` or later, 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* .
|
|
12104
12104
|
:param requires_compatibilities: The task launch types the task definition was validated against. The valid values are ``EC2`` , ``FARGATE`` , and ``EXTERNAL`` . For more information, see `Amazon ECS launch types <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
12105
12105
|
:param runtime_platform: The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.
|
|
12106
12106
|
:param tags: The metadata that you apply to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value. You define both of them. The following basic restrictions apply to tags: - Maximum number of tags per resource - 50 - For each resource, each tag key must be unique, and each tag key can have only one value. - Maximum key length - 128 Unicode characters in UTF-8 - Maximum value length - 256 Unicode characters in UTF-8 - If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : /
|
|
12107
|
-
:param task_role_arn: The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management role that grants containers in the task permission to call AWS APIs on your behalf. For
|
|
12107
|
+
:param task_role_arn: The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management role that grants containers in the task permission to call AWS APIs on your behalf. For more information, see `Amazon ECS Task Role <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html>`_ in the *Amazon Elastic Container Service Developer Guide* . IAM roles for tasks on Windows require that the ``-EnableTaskIAMRole`` option is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some configuration code to use the feature. For more information, see `Windows IAM roles for tasks <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows_task_IAM_roles.html>`_ in the *Amazon Elastic Container Service Developer Guide* . .. epigraph:: String validation is done on the ECS side. If an invalid string value is given for ``TaskRoleArn`` , it may cause the Cloudformation job to hang.
|
|
12108
12108
|
:param volumes: The list of data volume definitions for the task. For more information, see `Using data volumes in tasks <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html>`_ in the *Amazon Elastic Container Service Developer Guide* . .. epigraph:: The ``host`` and ``sourcePath`` parameters aren't supported for tasks run on AWS Fargate .
|
|
12109
12109
|
'''
|
|
12110
12110
|
if __debug__:
|
|
@@ -12199,7 +12199,7 @@ class CfnTaskDefinition(
|
|
|
12199
12199
|
if __debug__:
|
|
12200
12200
|
type_hints = typing.get_type_hints(_typecheckingstub__29800844d323164e3490b40a3de2221a272dcb4fda034c3b6c2735adba47d9e9)
|
|
12201
12201
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12202
|
-
jsii.set(self, "containerDefinitions", value)
|
|
12202
|
+
jsii.set(self, "containerDefinitions", value) # pyright: ignore[reportArgumentType]
|
|
12203
12203
|
|
|
12204
12204
|
@builtins.property
|
|
12205
12205
|
@jsii.member(jsii_name="cpu")
|
|
@@ -12212,7 +12212,7 @@ class CfnTaskDefinition(
|
|
|
12212
12212
|
if __debug__:
|
|
12213
12213
|
type_hints = typing.get_type_hints(_typecheckingstub__54ee0f0538c4fcd482362fac760fb6e813d1c01e85a1bb6e1da58c885b54325a)
|
|
12214
12214
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12215
|
-
jsii.set(self, "cpu", value)
|
|
12215
|
+
jsii.set(self, "cpu", value) # pyright: ignore[reportArgumentType]
|
|
12216
12216
|
|
|
12217
12217
|
@builtins.property
|
|
12218
12218
|
@jsii.member(jsii_name="ephemeralStorage")
|
|
@@ -12230,7 +12230,7 @@ class CfnTaskDefinition(
|
|
|
12230
12230
|
if __debug__:
|
|
12231
12231
|
type_hints = typing.get_type_hints(_typecheckingstub__501da7d8d052de8848e38b3ce458cd787c3006be2870679cd704efc8594577e3)
|
|
12232
12232
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12233
|
-
jsii.set(self, "ephemeralStorage", value)
|
|
12233
|
+
jsii.set(self, "ephemeralStorage", value) # pyright: ignore[reportArgumentType]
|
|
12234
12234
|
|
|
12235
12235
|
@builtins.property
|
|
12236
12236
|
@jsii.member(jsii_name="executionRoleArn")
|
|
@@ -12243,7 +12243,7 @@ class CfnTaskDefinition(
|
|
|
12243
12243
|
if __debug__:
|
|
12244
12244
|
type_hints = typing.get_type_hints(_typecheckingstub__44f1cf99c07ba4c253e7667f369e0a9e2f3e26420ee732abbfb1211d0c3b71b8)
|
|
12245
12245
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12246
|
-
jsii.set(self, "executionRoleArn", value)
|
|
12246
|
+
jsii.set(self, "executionRoleArn", value) # pyright: ignore[reportArgumentType]
|
|
12247
12247
|
|
|
12248
12248
|
@builtins.property
|
|
12249
12249
|
@jsii.member(jsii_name="family")
|
|
@@ -12256,7 +12256,7 @@ class CfnTaskDefinition(
|
|
|
12256
12256
|
if __debug__:
|
|
12257
12257
|
type_hints = typing.get_type_hints(_typecheckingstub__023c08e98e6a3d7c301f4a3c8f957a42823b7070f0792318d812978fde2496a5)
|
|
12258
12258
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12259
|
-
jsii.set(self, "family", value)
|
|
12259
|
+
jsii.set(self, "family", value) # pyright: ignore[reportArgumentType]
|
|
12260
12260
|
|
|
12261
12261
|
@builtins.property
|
|
12262
12262
|
@jsii.member(jsii_name="inferenceAccelerators")
|
|
@@ -12274,7 +12274,7 @@ class CfnTaskDefinition(
|
|
|
12274
12274
|
if __debug__:
|
|
12275
12275
|
type_hints = typing.get_type_hints(_typecheckingstub__ede2dda4307f7ac6298b1b9b166ee4dd51bc0c2d23fdf524db491c115f153bb5)
|
|
12276
12276
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12277
|
-
jsii.set(self, "inferenceAccelerators", value)
|
|
12277
|
+
jsii.set(self, "inferenceAccelerators", value) # pyright: ignore[reportArgumentType]
|
|
12278
12278
|
|
|
12279
12279
|
@builtins.property
|
|
12280
12280
|
@jsii.member(jsii_name="ipcMode")
|
|
@@ -12287,7 +12287,7 @@ class CfnTaskDefinition(
|
|
|
12287
12287
|
if __debug__:
|
|
12288
12288
|
type_hints = typing.get_type_hints(_typecheckingstub__17a4c1ac170c4b0b9de038d3c93319ece4b9c94e5a8f478f58e8187349fc446b)
|
|
12289
12289
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12290
|
-
jsii.set(self, "ipcMode", value)
|
|
12290
|
+
jsii.set(self, "ipcMode", value) # pyright: ignore[reportArgumentType]
|
|
12291
12291
|
|
|
12292
12292
|
@builtins.property
|
|
12293
12293
|
@jsii.member(jsii_name="memory")
|
|
@@ -12300,7 +12300,7 @@ class CfnTaskDefinition(
|
|
|
12300
12300
|
if __debug__:
|
|
12301
12301
|
type_hints = typing.get_type_hints(_typecheckingstub__90c650a2ff91b31f35b46c6d56ed671a7ad6c10fb98853123db145e5afaca79d)
|
|
12302
12302
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12303
|
-
jsii.set(self, "memory", value)
|
|
12303
|
+
jsii.set(self, "memory", value) # pyright: ignore[reportArgumentType]
|
|
12304
12304
|
|
|
12305
12305
|
@builtins.property
|
|
12306
12306
|
@jsii.member(jsii_name="networkMode")
|
|
@@ -12313,7 +12313,7 @@ class CfnTaskDefinition(
|
|
|
12313
12313
|
if __debug__:
|
|
12314
12314
|
type_hints = typing.get_type_hints(_typecheckingstub__e159792237fa557a00d6e83525878a4ca13d788b9a55460f624fa17db4d318f7)
|
|
12315
12315
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12316
|
-
jsii.set(self, "networkMode", value)
|
|
12316
|
+
jsii.set(self, "networkMode", value) # pyright: ignore[reportArgumentType]
|
|
12317
12317
|
|
|
12318
12318
|
@builtins.property
|
|
12319
12319
|
@jsii.member(jsii_name="pidMode")
|
|
@@ -12326,7 +12326,7 @@ class CfnTaskDefinition(
|
|
|
12326
12326
|
if __debug__:
|
|
12327
12327
|
type_hints = typing.get_type_hints(_typecheckingstub__a010cfd9fe0814d7bf70aeb04b33220b4eda5505e0df81930142c33e32349d7c)
|
|
12328
12328
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12329
|
-
jsii.set(self, "pidMode", value)
|
|
12329
|
+
jsii.set(self, "pidMode", value) # pyright: ignore[reportArgumentType]
|
|
12330
12330
|
|
|
12331
12331
|
@builtins.property
|
|
12332
12332
|
@jsii.member(jsii_name="placementConstraints")
|
|
@@ -12344,7 +12344,7 @@ class CfnTaskDefinition(
|
|
|
12344
12344
|
if __debug__:
|
|
12345
12345
|
type_hints = typing.get_type_hints(_typecheckingstub__78ff7fa573165f9b46173519e514653ca91dd23771683ef4b6fef7f3ba019ca8)
|
|
12346
12346
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12347
|
-
jsii.set(self, "placementConstraints", value)
|
|
12347
|
+
jsii.set(self, "placementConstraints", value) # pyright: ignore[reportArgumentType]
|
|
12348
12348
|
|
|
12349
12349
|
@builtins.property
|
|
12350
12350
|
@jsii.member(jsii_name="proxyConfiguration")
|
|
@@ -12362,7 +12362,7 @@ class CfnTaskDefinition(
|
|
|
12362
12362
|
if __debug__:
|
|
12363
12363
|
type_hints = typing.get_type_hints(_typecheckingstub__95b572af184339d30467e75236df050da2c8b1cbfcdaec2fb33043679721b36a)
|
|
12364
12364
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12365
|
-
jsii.set(self, "proxyConfiguration", value)
|
|
12365
|
+
jsii.set(self, "proxyConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
12366
12366
|
|
|
12367
12367
|
@builtins.property
|
|
12368
12368
|
@jsii.member(jsii_name="requiresCompatibilities")
|
|
@@ -12378,7 +12378,7 @@ class CfnTaskDefinition(
|
|
|
12378
12378
|
if __debug__:
|
|
12379
12379
|
type_hints = typing.get_type_hints(_typecheckingstub__d378452d1061955f2e06eba3695d7fd0d56599a7892066f2e3fee39393c6f2d7)
|
|
12380
12380
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12381
|
-
jsii.set(self, "requiresCompatibilities", value)
|
|
12381
|
+
jsii.set(self, "requiresCompatibilities", value) # pyright: ignore[reportArgumentType]
|
|
12382
12382
|
|
|
12383
12383
|
@builtins.property
|
|
12384
12384
|
@jsii.member(jsii_name="runtimePlatform")
|
|
@@ -12396,7 +12396,7 @@ class CfnTaskDefinition(
|
|
|
12396
12396
|
if __debug__:
|
|
12397
12397
|
type_hints = typing.get_type_hints(_typecheckingstub__4078855b99b24a22f7ec944a3300120e776acdf5322a1827b9eec52b86791e13)
|
|
12398
12398
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12399
|
-
jsii.set(self, "runtimePlatform", value)
|
|
12399
|
+
jsii.set(self, "runtimePlatform", value) # pyright: ignore[reportArgumentType]
|
|
12400
12400
|
|
|
12401
12401
|
@builtins.property
|
|
12402
12402
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -12409,7 +12409,7 @@ class CfnTaskDefinition(
|
|
|
12409
12409
|
if __debug__:
|
|
12410
12410
|
type_hints = typing.get_type_hints(_typecheckingstub__aec7fba4898ccb6baefda50111e191041c57b3a440a1e707fef15642045f0a16)
|
|
12411
12411
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12412
|
-
jsii.set(self, "tagsRaw", value)
|
|
12412
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
12413
12413
|
|
|
12414
12414
|
@builtins.property
|
|
12415
12415
|
@jsii.member(jsii_name="taskRoleArn")
|
|
@@ -12422,7 +12422,7 @@ class CfnTaskDefinition(
|
|
|
12422
12422
|
if __debug__:
|
|
12423
12423
|
type_hints = typing.get_type_hints(_typecheckingstub__1e690d52997a10244860f4acf1ba169c925dd19894fbdbda0d6faee5c979cd4c)
|
|
12424
12424
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12425
|
-
jsii.set(self, "taskRoleArn", value)
|
|
12425
|
+
jsii.set(self, "taskRoleArn", value) # pyright: ignore[reportArgumentType]
|
|
12426
12426
|
|
|
12427
12427
|
@builtins.property
|
|
12428
12428
|
@jsii.member(jsii_name="volumes")
|
|
@@ -12440,7 +12440,7 @@ class CfnTaskDefinition(
|
|
|
12440
12440
|
if __debug__:
|
|
12441
12441
|
type_hints = typing.get_type_hints(_typecheckingstub__fdfd0bcb877fbf1d248ac6f9103ba77ddf96ac5dfa28578b48267df2db46467d)
|
|
12442
12442
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
12443
|
-
jsii.set(self, "volumes", value)
|
|
12443
|
+
jsii.set(self, "volumes", value) # pyright: ignore[reportArgumentType]
|
|
12444
12444
|
|
|
12445
12445
|
@jsii.data_type(
|
|
12446
12446
|
jsii_type="aws-cdk-lib.aws_ecs.CfnTaskDefinition.AuthorizationConfigProperty",
|
|
@@ -12611,46 +12611,46 @@ class CfnTaskDefinition(
|
|
|
12611
12611
|
|
|
12612
12612
|
Container definitions are used in task definitions to describe the different containers that are launched as part of a task.
|
|
12613
12613
|
|
|
12614
|
-
:param image: The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either ``*repository-url* / *image* : *tag*`` or ``*repository-url* / *image* @ *digest*`` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to ``Image`` in the
|
|
12615
|
-
:param name: The name of a container. If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in
|
|
12616
|
-
:param command: The command that's passed to the container. This parameter maps to ``Cmd`` in the
|
|
12617
|
-
:param cpu: The number of ``cpu`` units reserved for the container. This parameter maps to ``CpuShares`` in the
|
|
12614
|
+
:param image: The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either ``*repository-url* / *image* : *tag*`` or ``*repository-url* / *image* @ *digest*`` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to ``Image`` in the docker conainer create command and the ``IMAGE`` parameter of docker run. - When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image aren't propagated to already running tasks. - Images in Amazon ECR repositories can be specified by either using the full ``registry/repository:tag`` or ``registry/repository@digest`` . For example, ``012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest`` or ``012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE`` . - Images in official repositories on Docker Hub use a single name (for example, ``ubuntu`` or ``mongo`` ). - Images in other repositories on Docker Hub are qualified with an organization name (for example, ``amazon/amazon-ecs-agent`` ). - Images in other online repositories are qualified further by a domain name (for example, ``quay.io/assemblyline/ubuntu`` ).
|
|
12615
|
+
:param name: The name of a container. If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in tthe docker conainer create command and the ``--name`` option to docker run.
|
|
12616
|
+
:param command: The command that's passed to the container. This parameter maps to ``Cmd`` in the docker conainer create command and the ``COMMAND`` parameter to docker run. If there are multiple arguments, each argument is a separated string in the array.
|
|
12617
|
+
:param cpu: The number of ``cpu`` units reserved for the container. This parameter maps to ``CpuShares`` in the docker conainer create commandand the ``--cpu-shares`` option to docker run. This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level ``cpu`` value. .. epigraph:: You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the `Amazon EC2 Instances <https://docs.aws.amazon.com/ec2/instance-types/>`_ detail page by 1,024. Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that's the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task is guaranteed a minimum of 512 CPU units when needed. Moreover, each container could float to higher CPU usage if the other container was not using it. If both tasks were 100% active all of the time, they would be limited to 512 CPU units. On Linux container instances, the Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. The minimum valid CPU share value that the Linux kernel allows is 2, and the maximum valid CPU share value that the Linux kernel allows is 262144. However, the CPU parameter isn't required, and you can use CPU values below 2 or above 262144 in your container definitions. For CPU values below 2 (including null) or above 262144, the behavior varies based on your Amazon ECS container agent version: - *Agent versions less than or equal to 1.1.0:* Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to two CPU shares. - *Agent versions greater than or equal to 1.2.0:* Null, zero, and CPU values of 1 are passed to Docker as 2. - *Agent versions greater than or equal to 1.84.0:* CPU values greater than 256 vCPU are passed to Docker as 256, which is equivalent to 262144 CPU shares. On Windows container instances, the CPU limit is enforced as an absolute limit, or a quota. Windows containers only have access to the specified amount of CPU that's described in the task definition. A null or zero CPU value is passed to Docker as ``0`` , which Windows interprets as 1% of one CPU.
|
|
12618
12618
|
:param credential_specs: A list of ARNs in SSM or Amazon S3 to a credential spec ( ``CredSpec`` ) file that configures the container for Active Directory authentication. We recommend that you use this parameter instead of the ``dockerSecurityOptions`` . The maximum number of ARNs is 1. There are two formats for each ARN. - **credentialspecdomainless:MyARN** - You use ``credentialspecdomainless:MyARN`` to provide a ``CredSpec`` with an additional section for a secret in AWS Secrets Manager . You provide the login credentials to the domain in the secret. Each task that runs on any container instance can join different domains. You can use this format without joining the container instance to a domain. - **credentialspec:MyARN** - You use ``credentialspec:MyARN`` to provide a ``CredSpec`` for a single domain. You must join the container instance to the domain before you start any tasks that use this task definition. In both formats, replace ``MyARN`` with the ARN in SSM or Amazon S3. If you provide a ``credentialspecdomainless:MyARN`` , the ``credspec`` must provide a ARN in AWS Secrets Manager for a secret containing the username, password, and the domain to connect to. For better security, the instance isn't joined to the domain for domainless authentication. Other applications on the instance can't use the domainless credentials. You can use this parameter to run tasks on the same instance, even it the tasks need to join different domains. For more information, see `Using gMSAs for Windows Containers <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html>`_ and `Using gMSAs for Linux Containers <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html>`_ .
|
|
12619
12619
|
:param depends_on: The dependencies defined for container startup and shutdown. A container can contain multiple dependencies. When a dependency is defined for container startup, for container shutdown it is reversed. For tasks using the EC2 launch type, the container instances require at least version 1.26.0 of the container agent to turn on 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* . For tasks using the Fargate launch type, the task or service requires the following platforms: - Linux platform version ``1.3.0`` or later. - Windows platform version ``1.0.0`` or later. If the task definition is used in a blue/green deployment that uses `AWS::CodeDeploy::DeploymentGroup BlueGreenDeploymentConfiguration <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-bluegreendeploymentconfiguration.html>`_ , the ``dependsOn`` parameter is not supported. For more information see `Issue #680 <https://docs.aws.amazon.com/https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/680>`_ on the on the GitHub website.
|
|
12620
|
-
:param disable_networking: When this parameter is true, networking is off within the container. This parameter maps to ``NetworkDisabled`` in the
|
|
12621
|
-
:param dns_search_domains: A list of DNS search domains that are presented to the container. This parameter maps to ``DnsSearch`` in the
|
|
12622
|
-
:param dns_servers: A list of DNS servers that are presented to the container. This parameter maps to ``Dns`` in the
|
|
12623
|
-
:param docker_labels: A key/value map of labels to add to the container. This parameter maps to ``Labels`` in the
|
|
12624
|
-
:param docker_security_options: A list of strings to provide custom configuration for multiple security systems.
|
|
12625
|
-
:param entry_point: .. epigraph:: Early versions of the Amazon ECS container agent don't properly handle ``entryPoint`` parameters. If you have problems using ``entryPoint`` , update your container agent or enter your commands and arguments as ``command`` array items instead. The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in
|
|
12626
|
-
:param environment: The environment variables to pass to a container. This parameter maps to ``Env`` in the
|
|
12627
|
-
:param environment_files: A list of files containing the environment variables to pass to a container. This parameter maps to the ``--env-file`` option to
|
|
12620
|
+
:param disable_networking: When this parameter is true, networking is off within the container. This parameter maps to ``NetworkDisabled`` in the docker conainer create command. .. epigraph:: This parameter is not supported for Windows containers.
|
|
12621
|
+
:param dns_search_domains: A list of DNS search domains that are presented to the container. This parameter maps to ``DnsSearch`` in the docker conainer create command and the ``--dns-search`` option to docker run. .. epigraph:: This parameter is not supported for Windows containers.
|
|
12622
|
+
:param dns_servers: A list of DNS servers that are presented to the container. This parameter maps to ``Dns`` in the the docker conainer create command and the ``--dns`` option to docker run. .. epigraph:: This parameter is not supported for Windows containers.
|
|
12623
|
+
:param docker_labels: A key/value map of labels to add to the container. This parameter maps to ``Labels`` in the docker conainer create command and the ``--label`` option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'``
|
|
12624
|
+
:param docker_security_options: A list of strings to provide custom configuration for multiple security systems. This field isn't valid for containers in tasks using the Fargate launch type. For Linux tasks on EC2, this parameter can be used to reference custom labels for SELinux and AppArmor multi-level security systems. For any tasks on EC2, this parameter can be used to reference a credential spec file that configures a container for Active Directory authentication. For more information, see `Using gMSAs for Windows Containers <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html>`_ and `Using gMSAs for Linux Containers <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html>`_ in the *Amazon Elastic Container Service Developer Guide* . This parameter maps to ``SecurityOpt`` in the docker conainer create command and the ``--security-opt`` option to docker run. .. epigraph:: The Amazon ECS container agent running on a container instance must register with the ``ECS_SELINUX_CAPABLE=true`` or ``ECS_APPARMOR_CAPABLE=true`` environment variables before containers placed on that instance can use these security 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* . Valid values: "no-new-privileges" | "apparmor:PROFILE" | "label:value" | "credentialspec:CredentialSpecFilePath"
|
|
12625
|
+
:param entry_point: .. epigraph:: Early versions of the Amazon ECS container agent don't properly handle ``entryPoint`` parameters. If you have problems using ``entryPoint`` , update your container agent or enter your commands and arguments as ``command`` array items instead. The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in tthe docker conainer create command and the ``--entrypoint`` option to docker run.
|
|
12626
|
+
:param environment: The environment variables to pass to a container. This parameter maps to ``Env`` in the docker conainer create command and the ``--env`` option to docker run. .. epigraph:: We don't recommend that you use plaintext environment variables for sensitive information, such as credential data.
|
|
12627
|
+
:param environment_files: A list of files containing the environment variables to pass to a container. This parameter maps to the ``--env-file`` option to docker run. You can specify up to ten environment files. The file must have a ``.env`` file extension. Each line in an environment file contains an environment variable in ``VARIABLE=VALUE`` format. Lines beginning with ``#`` are treated as comments and are ignored. 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 `Specifying Environment Variables <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
12628
12628
|
:param essential: 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. If the ``essential`` parameter of a container is marked as ``false`` , its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see `Application Architecture <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
12629
|
-
:param extra_hosts: A list of hostnames and IP address mappings to append to the ``/etc/hosts`` file on the container. This parameter maps to ``ExtraHosts`` in the
|
|
12629
|
+
:param extra_hosts: A list of hostnames and IP address mappings to append to the ``/etc/hosts`` file on the container. This parameter maps to ``ExtraHosts`` in the docker conainer create command and the ``--add-host`` option to docker run. .. epigraph:: This parameter isn't supported for Windows containers or tasks that use the ``awsvpc`` network mode.
|
|
12630
12630
|
:param firelens_configuration: The FireLens configuration for the container. 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* .
|
|
12631
|
-
:param health_check: The container health check command and associated configuration parameters for the container. This parameter maps to ``HealthCheck`` in the
|
|
12632
|
-
:param hostname: The hostname to use for your container. This parameter maps to ``Hostname`` in
|
|
12633
|
-
:param interactive: When this parameter is ``true`` , you can deploy containerized applications that require ``stdin`` or a ``tty`` to be allocated. This parameter maps to ``OpenStdin`` in the
|
|
12634
|
-
:param links: The ``links`` parameter allows containers to communicate with each other without the need for port mappings. This parameter is only supported if the network mode of a task definition is ``bridge`` . The ``name:internalName`` construct is analogous to ``name:alias`` in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed
|
|
12631
|
+
:param health_check: The container health check command and associated configuration parameters for the container. This parameter maps to ``HealthCheck`` in the docker conainer create command and the ``HEALTHCHECK`` parameter of docker run.
|
|
12632
|
+
:param hostname: The hostname to use for your container. This parameter maps to ``Hostname`` in thethe docker conainer create command and the ``--hostname`` option to docker run. .. epigraph:: The ``hostname`` parameter is not supported if you're using the ``awsvpc`` network mode.
|
|
12633
|
+
:param interactive: When this parameter is ``true`` , you can deploy containerized applications that require ``stdin`` or a ``tty`` to be allocated. This parameter maps to ``OpenStdin`` in the docker conainer create command and the ``--interactive`` option to docker run.
|
|
12634
|
+
:param links: The ``links`` parameter allows containers to communicate with each other without the need for port mappings. This parameter is only supported if the network mode of a task definition is ``bridge`` . The ``name:internalName`` construct is analogous to ``name:alias`` in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to ``Links`` in the docker conainer create command and the ``--link`` option to docker run. .. epigraph:: This parameter is not supported for Windows containers. > Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.
|
|
12635
12635
|
:param linux_parameters: Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more information see `KernelCapabilities <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html>`_ . .. epigraph:: This parameter is not supported for Windows containers.
|
|
12636
|
-
:param log_configuration: The log configuration specification for the container. This parameter maps to ``LogConfig`` in the
|
|
12636
|
+
:param log_configuration: The log configuration specification for the container. This parameter maps to ``LogConfig`` in the docker Create a container command and the ``--log-driver`` option to docker run. By default, containers use the same logging driver that the Docker daemon uses. However, the container may use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see `Configure logging drivers <https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/>`_ in the Docker documentation. .. epigraph:: Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the `LogConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html>`_ data type). Additional log drivers may be available in future releases of the Amazon ECS container agent. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'`` .. epigraph:: The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the ``ECS_AVAILABLE_LOGGING_DRIVERS`` environment variable before containers placed on that instance can use these log configuration options. For more information, see `Amazon ECS Container Agent Configuration <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
12637
12637
|
:param memory: The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. The total amount of memory reserved for all containers within a task must be lower than the task ``memory`` value, if one is specified. This parameter maps to ``Memory`` in the `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/>`_ and the ``--memory`` option to `docker run <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration>`_ . If using the Fargate launch type, this parameter is optional. If using the EC2 launch type, you must specify either a task-level memory value or a container-level memory value. If you specify both a container-level ``memory`` and ``memoryReservation`` value, ``memory`` must be greater than ``memoryReservation`` . If you specify ``memoryReservation`` , then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of ``memory`` is used. The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container, so you should not specify fewer than 6 MiB of memory for your containers. The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for a container, so you should not specify fewer than 4 MiB of memory for your containers.
|
|
12638
|
-
:param memory_reservation: The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the ``memory`` parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to ``MemoryReservation`` in the
|
|
12639
|
-
:param mount_points: The mount points for data volumes in your container. This parameter maps to ``Volumes`` in the
|
|
12638
|
+
:param memory_reservation: The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the ``memory`` parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to ``MemoryReservation`` in the the docker conainer create command and the ``--memory-reservation`` option to docker run. If a task-level memory value is not specified, you must specify a non-zero integer for one or both of ``memory`` or ``memoryReservation`` in a container definition. If you specify both, ``memory`` must be greater than ``memoryReservation`` . If you specify ``memoryReservation`` , then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of ``memory`` is used. For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a ``memoryReservation`` of 128 MiB, and a ``memory`` hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed. The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container. So, don't specify less than 6 MiB of memory for your containers. The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for a container. So, don't specify less than 4 MiB of memory for your containers.
|
|
12639
|
+
:param mount_points: The mount points for data volumes in your container. This parameter maps to ``Volumes`` in the the docker conainer create command and the ``--volume`` option to docker run. Windows containers can mount whole directories on the same drive as ``$env:ProgramData`` . Windows containers can't mount directories on a different drive, and mount point can't be across drives.
|
|
12640
12640
|
:param port_mappings: The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic. For task definitions that use the ``awsvpc`` network mode, you should only specify the ``containerPort`` . The ``hostPort`` can be left blank or it must be the same value as the ``containerPort`` . Port mappings on Windows use the ``NetNAT`` gateway address rather than ``localhost`` . There is no loopback for port mappings on Windows, so you cannot access a container's mapped port from the host itself. This parameter maps to ``PortBindings`` in the `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/>`_ and the ``--publish`` option to `docker run <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/>`_ . If the network mode of a task definition is set to ``none`` , then you can't specify port mappings. If the network mode of a task definition is set to ``host`` , then host ports must either be undefined or they must match the container port in the port mapping. .. epigraph:: After a task reaches the ``RUNNING`` status, manual and automatic host and container port assignments are visible in the *Network Bindings* section of a container description for a selected task in the Amazon ECS console. The assignments are also visible in the ``networkBindings`` section `DescribeTasks <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html>`_ responses.
|
|
12641
|
-
:param privileged: When this parameter is true, the container is given elevated privileges on the host container instance (similar to the ``root`` user). This parameter maps to ``Privileged`` in the
|
|
12642
|
-
:param pseudo_terminal: When this parameter is ``true`` , a TTY is allocated. This parameter maps to ``Tty`` in
|
|
12643
|
-
:param readonly_root_filesystem: When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ``ReadonlyRootfs`` in the
|
|
12641
|
+
:param privileged: When this parameter is true, the container is given elevated privileges on the host container instance (similar to the ``root`` user). This parameter maps to ``Privileged`` in the the docker conainer create command and the ``--privileged`` option to docker run .. epigraph:: This parameter is not supported for Windows containers or tasks run on AWS Fargate .
|
|
12642
|
+
:param pseudo_terminal: When this parameter is ``true`` , a TTY is allocated. This parameter maps to ``Tty`` in tthe docker conainer create command and the ``--tty`` option to docker run.
|
|
12643
|
+
:param readonly_root_filesystem: When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ``ReadonlyRootfs`` in the docker conainer create command and the ``--read-only`` option to docker run. .. epigraph:: This parameter is not supported for Windows containers.
|
|
12644
12644
|
:param repository_credentials: The private repository authentication credentials to use.
|
|
12645
12645
|
:param resource_requirements: The type and amount of a resource to assign to a container. The only supported resource is a GPU.
|
|
12646
12646
|
:param secrets: The secrets to pass to the container. 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* .
|
|
12647
12647
|
:param start_timeout: Time duration (in seconds) to wait before giving up on resolving dependencies for a container. For example, you specify two containers in a task definition with containerA having a dependency on containerB reaching a ``COMPLETE`` , ``SUCCESS`` , or ``HEALTHY`` status. If a ``startTimeout`` value is specified for containerB and it doesn't reach the desired status within that time then containerA gives up and not start. This results in the task transitioning to a ``STOPPED`` state. .. epigraph:: When the ``ECS_CONTAINER_START_TIMEOUT`` container agent configuration variable is used, it's enforced independently from this start timeout value. For tasks using the Fargate launch type, the task or service requires the following platforms: - Linux platform version ``1.3.0`` or later. - Windows platform version ``1.0.0`` or later. For tasks using the EC2 launch type, your container instances require at least version ``1.26.0`` of the container agent to use a container start timeout value. 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* . The valid values for Fargate are 2-120 seconds.
|
|
12648
12648
|
:param stop_timeout: Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own. For tasks using the Fargate launch type, the task or service requires the following platforms: - Linux platform version ``1.3.0`` or later. - Windows platform version ``1.0.0`` or later. The max stop timeout value is 120 seconds and if the parameter is not specified, the default value of 30 seconds is used. For tasks that use the EC2 launch type, if the ``stopTimeout`` parameter isn't specified, the value set for the Amazon ECS container agent configuration variable ``ECS_CONTAINER_STOP_TIMEOUT`` is used. If neither the ``stopTimeout`` parameter or the ``ECS_CONTAINER_STOP_TIMEOUT`` agent configuration variable are set, then the default values of 30 seconds for Linux containers and 30 seconds on Windows containers are used. Your container instances require at least version 1.26.0 of the container agent to use a container stop timeout value. 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* . The valid values are 2-120 seconds.
|
|
12649
|
-
:param system_controls: A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in
|
|
12649
|
+
:param system_controls: A list of namespaced kernel parameters to set in the container. This parameter maps to ``Sysctls`` in tthe docker conainer 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.
|
|
12650
12650
|
:param ulimits: A list of ``ulimits`` to set in the container. This parameter maps to ``Ulimits`` in the `Create a container <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate>`_ section of the `Docker Remote API <https://docs.aws.amazon.com/https://docs.docker.com/engine/api/v1.35/>`_ and the ``--ulimit`` option to `docker run <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/>`_ . Valid naming values are displayed in the `Ulimit <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Ulimit.html>`_ data type. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'`` .. epigraph:: This parameter is not supported for Windows containers.
|
|
12651
|
-
:param user: The user to use inside the container. This parameter maps to ``User`` in the
|
|
12652
|
-
:param volumes_from: Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in
|
|
12653
|
-
:param working_directory: The working directory to run commands inside the container in. This parameter maps to ``WorkingDir`` in the
|
|
12651
|
+
:param user: The user to use inside the container. This parameter maps to ``User`` in the docker conainer create command and the ``--user`` option to docker run. .. epigraph:: When running tasks using the ``host`` network mode, don't run containers using the root user (UID 0). We recommend using a non-root user for better security. You can specify the ``user`` using the following formats. If specifying a UID or GID, you must specify it as a positive integer. - ``user`` - ``user:group`` - ``uid`` - ``uid:gid`` - ``user:gid`` - ``uid:group`` .. epigraph:: This parameter is not supported for Windows containers.
|
|
12652
|
+
:param volumes_from: Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in tthe docker conainer create command and the ``--volumes-from`` option to docker run.
|
|
12653
|
+
:param working_directory: The working directory to run commands inside the container in. This parameter maps to ``WorkingDir`` in the docker conainer create command and the ``--workdir`` option to docker run.
|
|
12654
12654
|
|
|
12655
12655
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html
|
|
12656
12656
|
:exampleMetadata: fixture=_generated
|
|
@@ -12919,7 +12919,7 @@ class CfnTaskDefinition(
|
|
|
12919
12919
|
def image(self) -> builtins.str:
|
|
12920
12920
|
'''The image used to start a container.
|
|
12921
12921
|
|
|
12922
|
-
This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either ``*repository-url* / *image* : *tag*`` or ``*repository-url* / *image* @ *digest*`` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to ``Image`` in the
|
|
12922
|
+
This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either ``*repository-url* / *image* : *tag*`` or ``*repository-url* / *image* @ *digest*`` . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to ``Image`` in the docker conainer create command and the ``IMAGE`` parameter of docker run.
|
|
12923
12923
|
|
|
12924
12924
|
- When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image aren't propagated to already running tasks.
|
|
12925
12925
|
- Images in Amazon ECR repositories can be specified by either using the full ``registry/repository:tag`` or ``registry/repository@digest`` . For example, ``012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest`` or ``012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE`` .
|
|
@@ -12937,7 +12937,7 @@ class CfnTaskDefinition(
|
|
|
12937
12937
|
def name(self) -> builtins.str:
|
|
12938
12938
|
'''The name of a container.
|
|
12939
12939
|
|
|
12940
|
-
If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in
|
|
12940
|
+
If you're linking multiple containers together in a task definition, the ``name`` of one container can be entered in the ``links`` of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to ``name`` in tthe docker conainer create command and the ``--name`` option to docker run.
|
|
12941
12941
|
|
|
12942
12942
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-name
|
|
12943
12943
|
'''
|
|
@@ -12949,7 +12949,7 @@ class CfnTaskDefinition(
|
|
|
12949
12949
|
def command(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
12950
12950
|
'''The command that's passed to the container.
|
|
12951
12951
|
|
|
12952
|
-
This parameter maps to ``Cmd`` in the
|
|
12952
|
+
This parameter maps to ``Cmd`` in the docker conainer create command and the ``COMMAND`` parameter to docker run. If there are multiple arguments, each argument is a separated string in the array.
|
|
12953
12953
|
|
|
12954
12954
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-command
|
|
12955
12955
|
'''
|
|
@@ -12960,7 +12960,7 @@ class CfnTaskDefinition(
|
|
|
12960
12960
|
def cpu(self) -> typing.Optional[jsii.Number]:
|
|
12961
12961
|
'''The number of ``cpu`` units reserved for the container.
|
|
12962
12962
|
|
|
12963
|
-
This parameter maps to ``CpuShares`` in the
|
|
12963
|
+
This parameter maps to ``CpuShares`` in the docker conainer create commandand the ``--cpu-shares`` option to docker run.
|
|
12964
12964
|
|
|
12965
12965
|
This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level ``cpu`` value.
|
|
12966
12966
|
.. epigraph::
|
|
@@ -12969,7 +12969,7 @@ class CfnTaskDefinition(
|
|
|
12969
12969
|
|
|
12970
12970
|
Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that's the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task is guaranteed a minimum of 512 CPU units when needed. Moreover, each container could float to higher CPU usage if the other container was not using it. If both tasks were 100% active all of the time, they would be limited to 512 CPU units.
|
|
12971
12971
|
|
|
12972
|
-
On Linux container instances, the Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers.
|
|
12972
|
+
On Linux container instances, the Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. The minimum valid CPU share value that the Linux kernel allows is 2, and the maximum valid CPU share value that the Linux kernel allows is 262144. However, the CPU parameter isn't required, and you can use CPU values below 2 or above 262144 in your container definitions. For CPU values below 2 (including null) or above 262144, the behavior varies based on your Amazon ECS container agent version:
|
|
12973
12973
|
|
|
12974
12974
|
- *Agent versions less than or equal to 1.1.0:* Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to two CPU shares.
|
|
12975
12975
|
- *Agent versions greater than or equal to 1.2.0:* Null, zero, and CPU values of 1 are passed to Docker as 2.
|
|
@@ -13037,7 +13037,7 @@ class CfnTaskDefinition(
|
|
|
13037
13037
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
13038
13038
|
'''When this parameter is true, networking is off within the container.
|
|
13039
13039
|
|
|
13040
|
-
This parameter maps to ``NetworkDisabled`` in the
|
|
13040
|
+
This parameter maps to ``NetworkDisabled`` in the docker conainer create command.
|
|
13041
13041
|
.. epigraph::
|
|
13042
13042
|
|
|
13043
13043
|
This parameter is not supported for Windows containers.
|
|
@@ -13051,7 +13051,7 @@ class CfnTaskDefinition(
|
|
|
13051
13051
|
def dns_search_domains(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
13052
13052
|
'''A list of DNS search domains that are presented to the container.
|
|
13053
13053
|
|
|
13054
|
-
This parameter maps to ``DnsSearch`` in the
|
|
13054
|
+
This parameter maps to ``DnsSearch`` in the docker conainer create command and the ``--dns-search`` option to docker run.
|
|
13055
13055
|
.. epigraph::
|
|
13056
13056
|
|
|
13057
13057
|
This parameter is not supported for Windows containers.
|
|
@@ -13065,7 +13065,7 @@ class CfnTaskDefinition(
|
|
|
13065
13065
|
def dns_servers(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
13066
13066
|
'''A list of DNS servers that are presented to the container.
|
|
13067
13067
|
|
|
13068
|
-
This parameter maps to ``Dns`` in the
|
|
13068
|
+
This parameter maps to ``Dns`` in the the docker conainer create command and the ``--dns`` option to docker run.
|
|
13069
13069
|
.. epigraph::
|
|
13070
13070
|
|
|
13071
13071
|
This parameter is not supported for Windows containers.
|
|
@@ -13081,7 +13081,7 @@ class CfnTaskDefinition(
|
|
|
13081
13081
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
13082
13082
|
'''A key/value map of labels to add to the container.
|
|
13083
13083
|
|
|
13084
|
-
This parameter maps to ``Labels`` in the
|
|
13084
|
+
This parameter maps to ``Labels`` in the docker conainer create command and the ``--label`` option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: ``sudo docker version --format '{{.Server.APIVersion}}'``
|
|
13085
13085
|
|
|
13086
13086
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-dockerlabels
|
|
13087
13087
|
'''
|
|
@@ -13092,19 +13092,17 @@ class CfnTaskDefinition(
|
|
|
13092
13092
|
def docker_security_options(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
13093
13093
|
'''A list of strings to provide custom configuration for multiple security systems.
|
|
13094
13094
|
|
|
13095
|
-
|
|
13095
|
+
This field isn't valid for containers in tasks using the Fargate launch type.
|
|
13096
13096
|
|
|
13097
13097
|
For Linux tasks on EC2, this parameter can be used to reference custom labels for SELinux and AppArmor multi-level security systems.
|
|
13098
13098
|
|
|
13099
13099
|
For any tasks on EC2, this parameter can be used to reference a credential spec file that configures a container for Active Directory authentication. For more information, see `Using gMSAs for Windows Containers <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html>`_ and `Using gMSAs for Linux Containers <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
13100
13100
|
|
|
13101
|
-
This parameter maps to ``SecurityOpt`` in the
|
|
13101
|
+
This parameter maps to ``SecurityOpt`` in the docker conainer create command and the ``--security-opt`` option to docker run.
|
|
13102
13102
|
.. epigraph::
|
|
13103
13103
|
|
|
13104
13104
|
The Amazon ECS container agent running on a container instance must register with the ``ECS_SELINUX_CAPABLE=true`` or ``ECS_APPARMOR_CAPABLE=true`` environment variables before containers placed on that instance can use these security 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* .
|
|
13105
13105
|
|
|
13106
|
-
For more information about valid values, see `Docker Run Security Configuration <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#security-configuration>`_ .
|
|
13107
|
-
|
|
13108
13106
|
Valid values: "no-new-privileges" | "apparmor:PROFILE" | "label:value" | "credentialspec:CredentialSpecFilePath"
|
|
13109
13107
|
|
|
13110
13108
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-dockersecurityoptions
|
|
@@ -13120,7 +13118,7 @@ class CfnTaskDefinition(
|
|
|
13120
13118
|
|
|
13121
13119
|
If you have problems using ``entryPoint`` , update your container agent or enter your commands and arguments as ``command`` array items instead.
|
|
13122
13120
|
|
|
13123
|
-
The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in
|
|
13121
|
+
The entry point that's passed to the container. This parameter maps to ``Entrypoint`` in tthe docker conainer create command and the ``--entrypoint`` option to docker run.
|
|
13124
13122
|
|
|
13125
13123
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-entrypoint
|
|
13126
13124
|
'''
|
|
@@ -13133,7 +13131,7 @@ class CfnTaskDefinition(
|
|
|
13133
13131
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.KeyValuePairProperty"]]]]:
|
|
13134
13132
|
'''The environment variables to pass to a container.
|
|
13135
13133
|
|
|
13136
|
-
This parameter maps to ``Env`` in the
|
|
13134
|
+
This parameter maps to ``Env`` in the docker conainer create command and the ``--env`` option to docker run.
|
|
13137
13135
|
.. epigraph::
|
|
13138
13136
|
|
|
13139
13137
|
We don't recommend that you use plaintext environment variables for sensitive information, such as credential data.
|
|
@@ -13149,9 +13147,9 @@ class CfnTaskDefinition(
|
|
|
13149
13147
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.EnvironmentFileProperty"]]]]:
|
|
13150
13148
|
'''A list of files containing the environment variables to pass to a container.
|
|
13151
13149
|
|
|
13152
|
-
This parameter maps to the ``--env-file`` option to
|
|
13150
|
+
This parameter maps to the ``--env-file`` option to docker run.
|
|
13153
13151
|
|
|
13154
|
-
You can specify up to ten environment files. The file must have a ``.env`` file extension. Each line in an environment file contains an environment variable in ``VARIABLE=VALUE`` format. Lines beginning with ``#`` are treated as comments and are ignored.
|
|
13152
|
+
You can specify up to ten environment files. The file must have a ``.env`` file extension. Each line in an environment file contains an environment variable in ``VARIABLE=VALUE`` format. Lines beginning with ``#`` are treated as comments and are ignored.
|
|
13155
13153
|
|
|
13156
13154
|
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 `Specifying Environment Variables <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
13157
13155
|
|
|
@@ -13181,7 +13179,7 @@ class CfnTaskDefinition(
|
|
|
13181
13179
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.HostEntryProperty"]]]]:
|
|
13182
13180
|
'''A list of hostnames and IP address mappings to append to the ``/etc/hosts`` file on the container.
|
|
13183
13181
|
|
|
13184
|
-
This parameter maps to ``ExtraHosts`` in the
|
|
13182
|
+
This parameter maps to ``ExtraHosts`` in the docker conainer create command and the ``--add-host`` option to docker run.
|
|
13185
13183
|
.. epigraph::
|
|
13186
13184
|
|
|
13187
13185
|
This parameter isn't supported for Windows containers or tasks that use the ``awsvpc`` network mode.
|
|
@@ -13210,7 +13208,7 @@ class CfnTaskDefinition(
|
|
|
13210
13208
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.HealthCheckProperty"]]:
|
|
13211
13209
|
'''The container health check command and associated configuration parameters for the container.
|
|
13212
13210
|
|
|
13213
|
-
This parameter maps to ``HealthCheck`` in the
|
|
13211
|
+
This parameter maps to ``HealthCheck`` in the docker conainer create command and the ``HEALTHCHECK`` parameter of docker run.
|
|
13214
13212
|
|
|
13215
13213
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-healthcheck
|
|
13216
13214
|
'''
|
|
@@ -13221,7 +13219,7 @@ class CfnTaskDefinition(
|
|
|
13221
13219
|
def hostname(self) -> typing.Optional[builtins.str]:
|
|
13222
13220
|
'''The hostname to use for your container.
|
|
13223
13221
|
|
|
13224
|
-
This parameter maps to ``Hostname`` in
|
|
13222
|
+
This parameter maps to ``Hostname`` in thethe docker conainer create command and the ``--hostname`` option to docker run.
|
|
13225
13223
|
.. epigraph::
|
|
13226
13224
|
|
|
13227
13225
|
The ``hostname`` parameter is not supported if you're using the ``awsvpc`` network mode.
|
|
@@ -13237,7 +13235,7 @@ class CfnTaskDefinition(
|
|
|
13237
13235
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
13238
13236
|
'''When this parameter is ``true`` , you can deploy containerized applications that require ``stdin`` or a ``tty`` to be allocated.
|
|
13239
13237
|
|
|
13240
|
-
This parameter maps to ``OpenStdin`` in the
|
|
13238
|
+
This parameter maps to ``OpenStdin`` in the docker conainer create command and the ``--interactive`` option to docker run.
|
|
13241
13239
|
|
|
13242
13240
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-interactive
|
|
13243
13241
|
'''
|
|
@@ -13248,7 +13246,7 @@ class CfnTaskDefinition(
|
|
|
13248
13246
|
def links(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
13249
13247
|
'''The ``links`` parameter allows containers to communicate with each other without the need for port mappings.
|
|
13250
13248
|
|
|
13251
|
-
This parameter is only supported if the network mode of a task definition is ``bridge`` . The ``name:internalName`` construct is analogous to ``name:alias`` in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed
|
|
13249
|
+
This parameter is only supported if the network mode of a task definition is ``bridge`` . The ``name:internalName`` construct is analogous to ``name:alias`` in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to ``Links`` in the docker conainer create command and the ``--link`` option to docker run.
|
|
13252
13250
|
.. epigraph::
|
|
13253
13251
|
|
|
13254
13252
|
This parameter is not supported for Windows containers. > Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.
|
|
@@ -13279,7 +13277,7 @@ class CfnTaskDefinition(
|
|
|
13279
13277
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.LogConfigurationProperty"]]:
|
|
13280
13278
|
'''The log configuration specification for the container.
|
|
13281
13279
|
|
|
13282
|
-
This parameter maps to ``LogConfig`` in the
|
|
13280
|
+
This parameter maps to ``LogConfig`` in the docker Create a container command and the ``--log-driver`` option to docker run. By default, containers use the same logging driver that the Docker daemon uses. However, the container may use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). For more information on the options for different supported log drivers, see `Configure logging drivers <https://docs.aws.amazon.com/https://docs.docker.com/engine/admin/logging/overview/>`_ in the Docker documentation.
|
|
13283
13281
|
.. epigraph::
|
|
13284
13282
|
|
|
13285
13283
|
Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the `LogConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html>`_ data type). Additional log drivers may be available in future releases of the Amazon ECS container agent.
|
|
@@ -13317,7 +13315,7 @@ class CfnTaskDefinition(
|
|
|
13317
13315
|
def memory_reservation(self) -> typing.Optional[jsii.Number]:
|
|
13318
13316
|
'''The soft limit (in MiB) of memory to reserve for the container.
|
|
13319
13317
|
|
|
13320
|
-
When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the ``memory`` parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to ``MemoryReservation`` in the
|
|
13318
|
+
When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the ``memory`` parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to ``MemoryReservation`` in the the docker conainer create command and the ``--memory-reservation`` option to docker run.
|
|
13321
13319
|
|
|
13322
13320
|
If a task-level memory value is not specified, you must specify a non-zero integer for one or both of ``memory`` or ``memoryReservation`` in a container definition. If you specify both, ``memory`` must be greater than ``memoryReservation`` . If you specify ``memoryReservation`` , then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of ``memory`` is used.
|
|
13323
13321
|
|
|
@@ -13338,7 +13336,7 @@ class CfnTaskDefinition(
|
|
|
13338
13336
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.MountPointProperty"]]]]:
|
|
13339
13337
|
'''The mount points for data volumes in your container.
|
|
13340
13338
|
|
|
13341
|
-
This parameter maps to ``Volumes`` in the
|
|
13339
|
+
This parameter maps to ``Volumes`` in the the docker conainer create command and the ``--volume`` option to docker run.
|
|
13342
13340
|
|
|
13343
13341
|
Windows containers can mount whole directories on the same drive as ``$env:ProgramData`` . Windows containers can't mount directories on a different drive, and mount point can't be across drives.
|
|
13344
13342
|
|
|
@@ -13375,7 +13373,7 @@ class CfnTaskDefinition(
|
|
|
13375
13373
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
13376
13374
|
'''When this parameter is true, the container is given elevated privileges on the host container instance (similar to the ``root`` user).
|
|
13377
13375
|
|
|
13378
|
-
This parameter maps to ``Privileged`` in the
|
|
13376
|
+
This parameter maps to ``Privileged`` in the the docker conainer create command and the ``--privileged`` option to docker run
|
|
13379
13377
|
.. epigraph::
|
|
13380
13378
|
|
|
13381
13379
|
This parameter is not supported for Windows containers or tasks run on AWS Fargate .
|
|
@@ -13391,7 +13389,7 @@ class CfnTaskDefinition(
|
|
|
13391
13389
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
13392
13390
|
'''When this parameter is ``true`` , a TTY is allocated.
|
|
13393
13391
|
|
|
13394
|
-
This parameter maps to ``Tty`` in
|
|
13392
|
+
This parameter maps to ``Tty`` in tthe docker conainer create command and the ``--tty`` option to docker run.
|
|
13395
13393
|
|
|
13396
13394
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-pseudoterminal
|
|
13397
13395
|
'''
|
|
@@ -13404,7 +13402,7 @@ class CfnTaskDefinition(
|
|
|
13404
13402
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
13405
13403
|
'''When this parameter is true, the container is given read-only access to its root file system.
|
|
13406
13404
|
|
|
13407
|
-
This parameter maps to ``ReadonlyRootfs`` in the
|
|
13405
|
+
This parameter maps to ``ReadonlyRootfs`` in the docker conainer create command and the ``--read-only`` option to docker run.
|
|
13408
13406
|
.. epigraph::
|
|
13409
13407
|
|
|
13410
13408
|
This parameter is not supported for Windows containers.
|
|
@@ -13500,7 +13498,7 @@ class CfnTaskDefinition(
|
|
|
13500
13498
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.SystemControlProperty"]]]]:
|
|
13501
13499
|
'''A list of namespaced kernel parameters to set in the container.
|
|
13502
13500
|
|
|
13503
|
-
This parameter maps to ``Sysctls`` in
|
|
13501
|
+
This parameter maps to ``Sysctls`` in tthe docker conainer 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.
|
|
13504
13502
|
|
|
13505
13503
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-systemcontrols
|
|
13506
13504
|
'''
|
|
@@ -13527,7 +13525,7 @@ class CfnTaskDefinition(
|
|
|
13527
13525
|
def user(self) -> typing.Optional[builtins.str]:
|
|
13528
13526
|
'''The user to use inside the container.
|
|
13529
13527
|
|
|
13530
|
-
This parameter maps to ``User`` in the
|
|
13528
|
+
This parameter maps to ``User`` in the docker conainer create command and the ``--user`` option to docker run.
|
|
13531
13529
|
.. epigraph::
|
|
13532
13530
|
|
|
13533
13531
|
When running tasks using the ``host`` network mode, don't run containers using the root user (UID 0). We recommend using a non-root user for better security.
|
|
@@ -13556,7 +13554,7 @@ class CfnTaskDefinition(
|
|
|
13556
13554
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.VolumeFromProperty"]]]]:
|
|
13557
13555
|
'''Data volumes to mount from another container.
|
|
13558
13556
|
|
|
13559
|
-
This parameter maps to ``VolumesFrom`` in
|
|
13557
|
+
This parameter maps to ``VolumesFrom`` in tthe docker conainer create command and the ``--volumes-from`` option to docker run.
|
|
13560
13558
|
|
|
13561
13559
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-volumesfrom
|
|
13562
13560
|
'''
|
|
@@ -13567,7 +13565,7 @@ class CfnTaskDefinition(
|
|
|
13567
13565
|
def working_directory(self) -> typing.Optional[builtins.str]:
|
|
13568
13566
|
'''The working directory to run commands inside the container in.
|
|
13569
13567
|
|
|
13570
|
-
This parameter maps to ``WorkingDir`` in the
|
|
13568
|
+
This parameter maps to ``WorkingDir`` in the docker conainer create command and the ``--workdir`` option to docker run.
|
|
13571
13569
|
|
|
13572
13570
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinition.html#cfn-ecs-taskdefinition-containerdefinition-workingdirectory
|
|
13573
13571
|
'''
|
|
@@ -13784,9 +13782,9 @@ class CfnTaskDefinition(
|
|
|
13784
13782
|
Docker volumes are only supported when you are using the EC2 launch type. Windows containers only support the use of the ``local`` driver. To use bind mounts, specify a ``host`` instead.
|
|
13785
13783
|
|
|
13786
13784
|
:param autoprovision: If this value is ``true`` , the Docker volume is created if it doesn't already exist. .. epigraph:: This field is only used if the ``scope`` is ``shared`` .
|
|
13787
|
-
:param driver: The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use ``docker plugin ls`` to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name.
|
|
13788
|
-
:param driver_opts: A map of Docker driver-specific options passed through. This parameter maps to ``DriverOpts`` in the
|
|
13789
|
-
:param labels: Custom metadata to add to your Docker volume. This parameter maps to ``Labels`` in the
|
|
13785
|
+
:param driver: The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use ``docker plugin ls`` to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name. This parameter maps to ``Driver`` in the docker conainer create command and the ``xxdriver`` option to docker volume create.
|
|
13786
|
+
:param driver_opts: A map of Docker driver-specific options passed through. This parameter maps to ``DriverOpts`` in the docker create-volume command and the ``xxopt`` option to docker volume create.
|
|
13787
|
+
:param labels: Custom metadata to add to your Docker volume. This parameter maps to ``Labels`` in the docker conainer create command and the ``xxlabel`` option to docker volume create.
|
|
13790
13788
|
:param scope: The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a ``task`` are automatically provisioned when the task starts and destroyed when the task stops. Docker volumes that are scoped as ``shared`` persist after the task stops.
|
|
13791
13789
|
|
|
13792
13790
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html
|
|
@@ -13848,7 +13846,7 @@ class CfnTaskDefinition(
|
|
|
13848
13846
|
def driver(self) -> typing.Optional[builtins.str]:
|
|
13849
13847
|
'''The Docker volume driver to use.
|
|
13850
13848
|
|
|
13851
|
-
The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use ``docker plugin ls`` to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name.
|
|
13849
|
+
The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use ``docker plugin ls`` to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name. This parameter maps to ``Driver`` in the docker conainer create command and the ``xxdriver`` option to docker volume create.
|
|
13852
13850
|
|
|
13853
13851
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-driver
|
|
13854
13852
|
'''
|
|
@@ -13861,7 +13859,7 @@ class CfnTaskDefinition(
|
|
|
13861
13859
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
13862
13860
|
'''A map of Docker driver-specific options passed through.
|
|
13863
13861
|
|
|
13864
|
-
This parameter maps to ``DriverOpts`` in the
|
|
13862
|
+
This parameter maps to ``DriverOpts`` in the docker create-volume command and the ``xxopt`` option to docker volume create.
|
|
13865
13863
|
|
|
13866
13864
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-driveropts
|
|
13867
13865
|
'''
|
|
@@ -13874,7 +13872,7 @@ class CfnTaskDefinition(
|
|
|
13874
13872
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
|
|
13875
13873
|
'''Custom metadata to add to your Docker volume.
|
|
13876
13874
|
|
|
13877
|
-
This parameter maps to ``Labels`` in the
|
|
13875
|
+
This parameter maps to ``Labels`` in the docker conainer create command and the ``xxlabel`` option to docker volume create.
|
|
13878
13876
|
|
|
13879
13877
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-dockervolumeconfiguration.html#cfn-ecs-taskdefinition-dockervolumeconfiguration-labels
|
|
13880
13878
|
'''
|
|
@@ -14472,7 +14470,7 @@ class CfnTaskDefinition(
|
|
|
14472
14470
|
) -> None:
|
|
14473
14471
|
'''The ``HealthCheck`` property specifies an object representing a container health check.
|
|
14474
14472
|
|
|
14475
|
-
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
|
|
14473
|
+
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.
|
|
14476
14474
|
.. epigraph::
|
|
14477
14475
|
|
|
14478
14476
|
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.
|
|
@@ -14485,7 +14483,7 @@ class CfnTaskDefinition(
|
|
|
14485
14483
|
- Container health checks are supported for Fargate tasks if you are using platform version 1.1.0 or greater. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ .
|
|
14486
14484
|
- Container health checks are not supported for tasks that are part of a service that is configured to use a Classic Load Balancer.
|
|
14487
14485
|
|
|
14488
|
-
:param command: A string array representing the command that the container runs to determine if it is healthy. 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. When you use the AWS Management Console JSON panel, the AWS Command Line Interface , or the APIs, enclose the list of commands in double quotes and brackets. ``[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]`` You don't include the double quotes and brackets when you use the AWS Management Console. ``CMD-SHELL, curl -f http://localhost/ || exit 1`` An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in
|
|
14486
|
+
:param command: A string array representing the command that the container runs to determine if it is healthy. 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. When you use the AWS Management Console JSON panel, the AWS Command Line Interface , or the APIs, enclose the list of commands in double quotes and brackets. ``[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]`` You don't include the double quotes and brackets when you use the AWS Management Console. ``CMD-SHELL, curl -f http://localhost/ || exit 1`` An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in tthe docker conainer create command
|
|
14489
14487
|
:param interval: The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.
|
|
14490
14488
|
:param retries: The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is 3.
|
|
14491
14489
|
:param start_period: The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You can specify between 0 and 300 seconds. By default, the ``startPeriod`` is off. .. epigraph:: 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.
|
|
@@ -14541,7 +14539,7 @@ class CfnTaskDefinition(
|
|
|
14541
14539
|
|
|
14542
14540
|
``CMD-SHELL, curl -f http://localhost/ || exit 1``
|
|
14543
14541
|
|
|
14544
|
-
An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in
|
|
14542
|
+
An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in tthe docker conainer create command
|
|
14545
14543
|
|
|
14546
14544
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-command
|
|
14547
14545
|
'''
|
|
@@ -14823,10 +14821,10 @@ class CfnTaskDefinition(
|
|
|
14823
14821
|
) -> None:
|
|
14824
14822
|
'''The Linux capabilities to add or remove from the default Docker configuration for a container defined in the task definition.
|
|
14825
14823
|
|
|
14826
|
-
For more
|
|
14824
|
+
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.
|
|
14827
14825
|
|
|
14828
|
-
:param add: The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to ``CapAdd`` in the
|
|
14829
|
-
:param drop: The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to ``CapDrop`` in the
|
|
14826
|
+
:param add: The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to ``CapAdd`` in the docker conainer create command and the ``--cap-add`` option to docker run. .. epigraph:: Tasks launched on AWS Fargate only support adding the ``SYS_PTRACE`` kernel capability. 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"``
|
|
14827
|
+
:param drop: The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to ``CapDrop`` in the docker conainer create command and the ``--cap-drop`` option to docker run. 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"``
|
|
14830
14828
|
|
|
14831
14829
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-kernelcapabilities.html
|
|
14832
14830
|
:exampleMetadata: fixture=_generated
|
|
@@ -14856,7 +14854,7 @@ class CfnTaskDefinition(
|
|
|
14856
14854
|
def add(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
14857
14855
|
'''The Linux capabilities for the container that have been added to the default configuration provided by Docker.
|
|
14858
14856
|
|
|
14859
|
-
This parameter maps to ``CapAdd`` in the
|
|
14857
|
+
This parameter maps to ``CapAdd`` in the docker conainer create command and the ``--cap-add`` option to docker run.
|
|
14860
14858
|
.. epigraph::
|
|
14861
14859
|
|
|
14862
14860
|
Tasks launched on AWS Fargate only support adding the ``SYS_PTRACE`` kernel capability.
|
|
@@ -14872,7 +14870,7 @@ class CfnTaskDefinition(
|
|
|
14872
14870
|
def drop(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
14873
14871
|
'''The Linux capabilities for the container that have been removed from the default configuration provided by Docker.
|
|
14874
14872
|
|
|
14875
|
-
This parameter maps to ``CapDrop`` in the
|
|
14873
|
+
This parameter maps to ``CapDrop`` in the docker conainer create command and the ``--cap-drop`` option to docker run.
|
|
14876
14874
|
|
|
14877
14875
|
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"``
|
|
14878
14876
|
|
|
@@ -14994,12 +14992,12 @@ class CfnTaskDefinition(
|
|
|
14994
14992
|
'''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>`_ .
|
|
14995
14993
|
|
|
14996
14994
|
:param capabilities: The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker. .. epigraph:: For tasks that use the Fargate launch type, ``capabilities`` is supported for all platform versions but the ``add`` parameter is only supported if using platform version 1.4.0 or later.
|
|
14997
|
-
:param devices: Any host devices to expose to the container. This parameter maps to ``Devices`` in
|
|
14998
|
-
:param init_process_enabled: Run an ``init`` process inside the container that forwards signals and reaps processes. This parameter maps to the ``--init`` option to
|
|
14999
|
-
:param max_swap: The total amount of swap memory (in MiB) a container can use. This parameter will be translated to the ``--memory-swap`` option to
|
|
15000
|
-
:param shared_memory_size: The value for the size (in MiB) of the ``/dev/shm`` volume. This parameter maps to the ``--shm-size`` option to
|
|
15001
|
-
:param swappiness: This allows you to tune a container's memory swappiness behavior. A ``swappiness`` value of ``0`` will cause swapping to not happen unless absolutely necessary. A ``swappiness`` value of ``100`` will cause pages to be swapped very aggressively. Accepted values are whole numbers between ``0`` and ``100`` . If the ``swappiness`` parameter is not specified, a default value of ``60`` is used. If a value is not specified for ``maxSwap`` then this parameter is ignored. This parameter maps to the ``--memory-swappiness`` option to
|
|
15002
|
-
:param tmpfs: The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the ``--tmpfs`` option to
|
|
14995
|
+
:param devices: Any host devices to expose to the container. This parameter maps to ``Devices`` in tthe docker conainer create command and the ``--device`` option to docker run. .. epigraph:: If you're using tasks that use the Fargate launch type, the ``devices`` parameter isn't supported.
|
|
14996
|
+
:param init_process_enabled: Run an ``init`` process inside the container that forwards signals and reaps processes. 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}}'``
|
|
14997
|
+
:param max_swap: The total amount of swap memory (in MiB) a container can use. This parameter will be translated to the ``--memory-swap`` option to docker run where the value would be the sum of the container memory plus the ``maxSwap`` value. If a ``maxSwap`` value of ``0`` is specified, the container will not use swap. Accepted values are ``0`` or any positive integer. If the ``maxSwap`` parameter is omitted, the container will use the swap configuration for the container instance it is running on. A ``maxSwap`` value must be set for the ``swappiness`` parameter to be used. .. epigraph:: If you're using tasks that use the Fargate launch type, the ``maxSwap`` parameter isn't supported. If you're using tasks on Amazon Linux 2023 the ``swappiness`` parameter isn't supported.
|
|
14998
|
+
:param shared_memory_size: The value for the size (in MiB) of the ``/dev/shm`` volume. This parameter maps to the ``--shm-size`` option to docker run. .. epigraph:: If you are using tasks that use the Fargate launch type, the ``sharedMemorySize`` parameter is not supported.
|
|
14999
|
+
:param swappiness: This allows you to tune a container's memory swappiness behavior. A ``swappiness`` value of ``0`` will cause swapping to not happen unless absolutely necessary. A ``swappiness`` value of ``100`` will cause pages to be swapped very aggressively. Accepted values are whole numbers between ``0`` and ``100`` . If the ``swappiness`` parameter is not specified, a default value of ``60`` is used. If a value is not specified for ``maxSwap`` then this parameter is ignored. This parameter maps to the ``--memory-swappiness`` option to docker run. .. epigraph:: If you're using tasks that use the Fargate launch type, the ``swappiness`` parameter isn't supported. If you're using tasks on Amazon Linux 2023 the ``swappiness`` parameter isn't supported.
|
|
15000
|
+
:param tmpfs: The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the ``--tmpfs`` option to docker run. .. epigraph:: If you're using tasks that use the Fargate launch type, the ``tmpfs`` parameter isn't supported.
|
|
15003
15001
|
|
|
15004
15002
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html
|
|
15005
15003
|
:exampleMetadata: fixture=_generated
|
|
@@ -15079,7 +15077,7 @@ class CfnTaskDefinition(
|
|
|
15079
15077
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.DeviceProperty"]]]]:
|
|
15080
15078
|
'''Any host devices to expose to the container.
|
|
15081
15079
|
|
|
15082
|
-
This parameter maps to ``Devices`` in
|
|
15080
|
+
This parameter maps to ``Devices`` in tthe docker conainer create command and the ``--device`` option to docker run.
|
|
15083
15081
|
.. epigraph::
|
|
15084
15082
|
|
|
15085
15083
|
If you're using tasks that use the Fargate launch type, the ``devices`` parameter isn't supported.
|
|
@@ -15095,7 +15093,7 @@ class CfnTaskDefinition(
|
|
|
15095
15093
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
15096
15094
|
'''Run an ``init`` process inside the container that forwards signals and reaps processes.
|
|
15097
15095
|
|
|
15098
|
-
This parameter maps to the ``--init`` option to
|
|
15096
|
+
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}}'``
|
|
15099
15097
|
|
|
15100
15098
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-linuxparameters.html#cfn-ecs-taskdefinition-linuxparameters-initprocessenabled
|
|
15101
15099
|
'''
|
|
@@ -15106,7 +15104,7 @@ class CfnTaskDefinition(
|
|
|
15106
15104
|
def max_swap(self) -> typing.Optional[jsii.Number]:
|
|
15107
15105
|
'''The total amount of swap memory (in MiB) a container can use.
|
|
15108
15106
|
|
|
15109
|
-
This parameter will be translated to the ``--memory-swap`` option to
|
|
15107
|
+
This parameter will be translated to the ``--memory-swap`` option to docker run where the value would be the sum of the container memory plus the ``maxSwap`` value.
|
|
15110
15108
|
|
|
15111
15109
|
If a ``maxSwap`` value of ``0`` is specified, the container will not use swap. Accepted values are ``0`` or any positive integer. If the ``maxSwap`` parameter is omitted, the container will use the swap configuration for the container instance it is running on. A ``maxSwap`` value must be set for the ``swappiness`` parameter to be used.
|
|
15112
15110
|
.. epigraph::
|
|
@@ -15124,7 +15122,7 @@ class CfnTaskDefinition(
|
|
|
15124
15122
|
def shared_memory_size(self) -> typing.Optional[jsii.Number]:
|
|
15125
15123
|
'''The value for the size (in MiB) of the ``/dev/shm`` volume.
|
|
15126
15124
|
|
|
15127
|
-
This parameter maps to the ``--shm-size`` option to
|
|
15125
|
+
This parameter maps to the ``--shm-size`` option to docker run.
|
|
15128
15126
|
.. epigraph::
|
|
15129
15127
|
|
|
15130
15128
|
If you are using tasks that use the Fargate launch type, the ``sharedMemorySize`` parameter is not supported.
|
|
@@ -15138,7 +15136,7 @@ class CfnTaskDefinition(
|
|
|
15138
15136
|
def swappiness(self) -> typing.Optional[jsii.Number]:
|
|
15139
15137
|
'''This allows you to tune a container's memory swappiness behavior.
|
|
15140
15138
|
|
|
15141
|
-
A ``swappiness`` value of ``0`` will cause swapping to not happen unless absolutely necessary. A ``swappiness`` value of ``100`` will cause pages to be swapped very aggressively. Accepted values are whole numbers between ``0`` and ``100`` . If the ``swappiness`` parameter is not specified, a default value of ``60`` is used. If a value is not specified for ``maxSwap`` then this parameter is ignored. This parameter maps to the ``--memory-swappiness`` option to
|
|
15139
|
+
A ``swappiness`` value of ``0`` will cause swapping to not happen unless absolutely necessary. A ``swappiness`` value of ``100`` will cause pages to be swapped very aggressively. Accepted values are whole numbers between ``0`` and ``100`` . If the ``swappiness`` parameter is not specified, a default value of ``60`` is used. If a value is not specified for ``maxSwap`` then this parameter is ignored. This parameter maps to the ``--memory-swappiness`` option to docker run.
|
|
15142
15140
|
.. epigraph::
|
|
15143
15141
|
|
|
15144
15142
|
If you're using tasks that use the Fargate launch type, the ``swappiness`` parameter isn't supported.
|
|
@@ -15156,7 +15154,7 @@ class CfnTaskDefinition(
|
|
|
15156
15154
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnTaskDefinition.TmpfsProperty"]]]]:
|
|
15157
15155
|
'''The container path, mount options, and size (in MiB) of the tmpfs mount.
|
|
15158
15156
|
|
|
15159
|
-
This parameter maps to the ``--tmpfs`` option to
|
|
15157
|
+
This parameter maps to the ``--tmpfs`` option to docker run.
|
|
15160
15158
|
.. epigraph::
|
|
15161
15159
|
|
|
15162
15160
|
If you're using tasks that use the Fargate launch type, the ``tmpfs`` parameter isn't supported.
|
|
@@ -15995,7 +15993,7 @@ class CfnTaskDefinition(
|
|
|
15995
15993
|
) -> None:
|
|
15996
15994
|
'''A list of namespaced kernel parameters to set in the container.
|
|
15997
15995
|
|
|
15998
|
-
This parameter maps to ``Sysctls`` in
|
|
15996
|
+
This parameter maps to ``Sysctls`` in tthe docker conainer 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.
|
|
15999
15997
|
|
|
16000
15998
|
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:
|
|
16001
15999
|
|
|
@@ -16671,16 +16669,16 @@ class CfnTaskDefinitionProps:
|
|
|
16671
16669
|
:param execution_role_arn: The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make AWS API calls on your behalf. For informationabout the required IAM roles for Amazon ECS, see `IAM roles for Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
16672
16670
|
:param family: The name of a family that this task definition is registered to. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed. A family groups multiple versions of a task definition. Amazon ECS gives the first task definition that you registered to a family a revision number of 1. Amazon ECS gives sequential revision numbers to each task definition that you add. .. epigraph:: To use revision numbers when you update a task definition, specify this property. If you don't specify a value, AWS CloudFormation generates a new task definition each time that you update it.
|
|
16673
16671
|
:param inference_accelerators: The Elastic Inference accelerators to use for the containers in the task.
|
|
16674
|
-
:param ipc_mode: The IPC resource namespace to use for the containers in the task. The valid values are ``host`` , ``task`` , or ``none`` . If ``host`` is specified, then all containers within the tasks that specified the ``host`` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same IPC resources. If ``none`` is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance.
|
|
16672
|
+
:param ipc_mode: The IPC resource namespace to use for the containers in the task. The valid values are ``host`` , ``task`` , or ``none`` . If ``host`` is specified, then all containers within the tasks that specified the ``host`` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same IPC resources. If ``none`` is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance. If the ``host`` IPC mode is used, be aware that there is a heightened risk of undesired IPC namespace expose. If you are setting namespaced kernel parameters using ``systemControls`` for the containers in the task, the following will apply to your IPC resource namespace. For more information, see `System Controls <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html>`_ in the *Amazon Elastic Container Service Developer Guide* . - For tasks that use the ``host`` IPC mode, IPC namespace related ``systemControls`` are not supported. - For tasks that use the ``task`` IPC mode, IPC namespace related ``systemControls`` will apply to all containers within a task. .. epigraph:: This parameter is not supported for Windows containers or tasks run on AWS Fargate .
|
|
16675
16673
|
:param memory: The amount (in MiB) of memory used by the task. If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory value or a container-level memory value. This field is optional and any value can be used. If a task-level memory value is specified, the container-level memory value is optional. For more information regarding container-level memory and memory reservation, see `ContainerDefinition <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html>`_ . If your tasks runs on AWS Fargate , this field is required. You must use one of the following values. The value you choose determines your range of valid values for the ``cpu`` parameter. - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available ``cpu`` values: 256 (.25 vCPU) - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available ``cpu`` values: 512 (.5 vCPU) - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available ``cpu`` values: 1024 (1 vCPU) - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 2048 (2 vCPU) - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available ``cpu`` values: 4096 (4 vCPU) - Between 16 GB and 60 GB in 4 GB increments - Available ``cpu`` values: 8192 (8 vCPU) This option requires Linux platform ``1.4.0`` or later. - Between 32GB and 120 GB in 8 GB increments - Available ``cpu`` values: 16384 (16 vCPU) This option requires Linux platform ``1.4.0`` or later.
|
|
16676
|
-
:param network_mode: The Docker networking mode to use for the containers in the task. The valid values are ``none`` , ``bridge`` , ``awsvpc`` , and ``host`` . If no network mode is specified, the default is ``bridge`` . For Amazon ECS tasks on Fargate, the ``awsvpc`` network mode is required. For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, ``<default>`` or ``awsvpc`` can be used. If the network mode is set to ``none`` , you cannot specify port mappings in your container definitions, and the tasks containers do not have external connectivity. The ``host`` and ``awsvpc`` network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the ``bridge`` mode. With the ``host`` and ``awsvpc`` network modes, exposed container ports are mapped directly to the corresponding host port (for the ``host`` network mode) or the attached elastic network interface port (for the ``awsvpc`` network mode), so you cannot take advantage of dynamic host port mappings. .. epigraph:: When using the ``host`` network mode, you should not run containers using the root user (UID 0). It is considered best practice to use a non-root user. If the network mode is ``awsvpc`` , the task is allocated an elastic network interface, and you must specify a
|
|
16677
|
-
:param pid_mode: The process namespace to use for the containers in the task. The valid values are ``host`` or ``task`` . On Fargate for Linux containers, the only valid value is ``task`` . For example, monitoring sidecars might need ``pidMode`` to access information about other containers running in the same task. If ``host`` is specified, all containers within the tasks that specified the ``host`` PID mode on the same container instance share the same process namespace with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same process namespace. If no value is specified, the default is a private namespace for each container.
|
|
16674
|
+
:param network_mode: The Docker networking mode to use for the containers in the task. The valid values are ``none`` , ``bridge`` , ``awsvpc`` , and ``host`` . If no network mode is specified, the default is ``bridge`` . For Amazon ECS tasks on Fargate, the ``awsvpc`` network mode is required. For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, ``<default>`` or ``awsvpc`` can be used. If the network mode is set to ``none`` , you cannot specify port mappings in your container definitions, and the tasks containers do not have external connectivity. The ``host`` and ``awsvpc`` network modes offer the highest networking performance for containers because they use the EC2 network stack instead of the virtualized network stack provided by the ``bridge`` mode. With the ``host`` and ``awsvpc`` network modes, exposed container ports are mapped directly to the corresponding host port (for the ``host`` network mode) or the attached elastic network interface port (for the ``awsvpc`` network mode), so you cannot take advantage of dynamic host port mappings. .. epigraph:: When using the ``host`` network mode, you should not run containers using the root user (UID 0). It is considered best practice to use a non-root user. If the network mode is ``awsvpc`` , the task is allocated an elastic network interface, and you must specify a `NetworkConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html>`_ value when you create a service or run a task with the task definition. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* . If the network mode is ``host`` , you cannot run multiple instantiations of the same task on a single container instance when port mappings are used.
|
|
16675
|
+
:param pid_mode: The process namespace to use for the containers in the task. The valid values are ``host`` or ``task`` . On Fargate for Linux containers, the only valid value is ``task`` . For example, monitoring sidecars might need ``pidMode`` to access information about other containers running in the same task. If ``host`` is specified, all containers within the tasks that specified the ``host`` PID mode on the same container instance share the same process namespace with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same process namespace. If no value is specified, the default is a private namespace for each container. If the ``host`` PID mode is used, there's a heightened risk of undesired process namespace exposure. .. epigraph:: This parameter is not supported for Windows containers. > This parameter is only supported for tasks that are hosted on AWS Fargate if the tasks are using platform version ``1.4.0`` or later (Linux). This isn't supported for Windows containers on Fargate.
|
|
16678
16676
|
:param placement_constraints: An array of placement constraint objects to use for tasks. .. epigraph:: This parameter isn't supported for tasks run on AWS Fargate .
|
|
16679
16677
|
:param proxy_configuration: The configuration details for the App Mesh proxy. Your Amazon ECS container instances require at least version 1.26.0 of the container agent and at least version 1.26.0-1 of the ``ecs-init`` package to use a proxy configuration. If your container instances are launched from the Amazon ECS optimized AMI version ``20190301`` or later, 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* .
|
|
16680
16678
|
:param requires_compatibilities: The task launch types the task definition was validated against. The valid values are ``EC2`` , ``FARGATE`` , and ``EXTERNAL`` . For more information, see `Amazon ECS launch types <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
16681
16679
|
:param runtime_platform: The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.
|
|
16682
16680
|
:param tags: The metadata that you apply to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value. You define both of them. The following basic restrictions apply to tags: - Maximum number of tags per resource - 50 - For each resource, each tag key must be unique, and each tag key can have only one value. - Maximum key length - 128 Unicode characters in UTF-8 - Maximum value length - 256 Unicode characters in UTF-8 - If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : /
|
|
16683
|
-
:param task_role_arn: The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management role that grants containers in the task permission to call AWS APIs on your behalf. For
|
|
16681
|
+
:param task_role_arn: The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management role that grants containers in the task permission to call AWS APIs on your behalf. For more information, see `Amazon ECS Task Role <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html>`_ in the *Amazon Elastic Container Service Developer Guide* . IAM roles for tasks on Windows require that the ``-EnableTaskIAMRole`` option is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some configuration code to use the feature. For more information, see `Windows IAM roles for tasks <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows_task_IAM_roles.html>`_ in the *Amazon Elastic Container Service Developer Guide* . .. epigraph:: String validation is done on the ECS side. If an invalid string value is given for ``TaskRoleArn`` , it may cause the Cloudformation job to hang.
|
|
16684
16682
|
:param volumes: The list of data volume definitions for the task. For more information, see `Using data volumes in tasks <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html>`_ in the *Amazon Elastic Container Service Developer Guide* . .. epigraph:: The ``host`` and ``sourcePath`` parameters aren't supported for tasks run on AWS Fargate .
|
|
16685
16683
|
|
|
16686
16684
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html
|
|
@@ -17054,9 +17052,9 @@ class CfnTaskDefinitionProps:
|
|
|
17054
17052
|
def ipc_mode(self) -> typing.Optional[builtins.str]:
|
|
17055
17053
|
'''The IPC resource namespace to use for the containers in the task.
|
|
17056
17054
|
|
|
17057
|
-
The valid values are ``host`` , ``task`` , or ``none`` . If ``host`` is specified, then all containers within the tasks that specified the ``host`` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same IPC resources. If ``none`` is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance.
|
|
17055
|
+
The valid values are ``host`` , ``task`` , or ``none`` . If ``host`` is specified, then all containers within the tasks that specified the ``host`` IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance. If ``task`` is specified, all containers within the specified task share the same IPC resources. If ``none`` is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance. If no value is specified, then the IPC resource namespace sharing depends on the Docker daemon setting on the container instance.
|
|
17058
17056
|
|
|
17059
|
-
If the ``host`` IPC mode is used, be aware that there is a heightened risk of undesired IPC namespace expose.
|
|
17057
|
+
If the ``host`` IPC mode is used, be aware that there is a heightened risk of undesired IPC namespace expose.
|
|
17060
17058
|
|
|
17061
17059
|
If you are setting namespaced kernel parameters using ``systemControls`` for the containers in the task, the following will apply to your IPC resource namespace. For more information, see `System Controls <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
17062
17060
|
|
|
@@ -17111,12 +17109,10 @@ class CfnTaskDefinitionProps:
|
|
|
17111
17109
|
|
|
17112
17110
|
When using the ``host`` network mode, you should not run containers using the root user (UID 0). It is considered best practice to use a non-root user.
|
|
17113
17111
|
|
|
17114
|
-
If the network mode is ``awsvpc`` , the task is allocated an elastic network interface, and you must specify a
|
|
17112
|
+
If the network mode is ``awsvpc`` , the task is allocated an elastic network interface, and you must specify a `NetworkConfiguration <https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html>`_ value when you create a service or run a task with the task definition. For more information, see `Task Networking <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
17115
17113
|
|
|
17116
17114
|
If the network mode is ``host`` , you cannot run multiple instantiations of the same task on a single container instance when port mappings are used.
|
|
17117
17115
|
|
|
17118
|
-
For more information, see `Network settings <https://docs.aws.amazon.com/https://docs.docker.com/engine/reference/run/#network-settings>`_ in the *Docker run reference* .
|
|
17119
|
-
|
|
17120
17116
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-networkmode
|
|
17121
17117
|
'''
|
|
17122
17118
|
result = self._values.get("network_mode")
|
|
@@ -17132,9 +17128,9 @@ class CfnTaskDefinitionProps:
|
|
|
17132
17128
|
|
|
17133
17129
|
If ``task`` is specified, all containers within the specified task share the same process namespace.
|
|
17134
17130
|
|
|
17135
|
-
If no value is specified, the default is a private namespace for each container.
|
|
17131
|
+
If no value is specified, the default is a private namespace for each container.
|
|
17136
17132
|
|
|
17137
|
-
If the ``host`` PID mode is used, there's a heightened risk of undesired process namespace exposure.
|
|
17133
|
+
If the ``host`` PID mode is used, there's a heightened risk of undesired process namespace exposure.
|
|
17138
17134
|
.. epigraph::
|
|
17139
17135
|
|
|
17140
17136
|
This parameter is not supported for Windows containers. > This parameter is only supported for tasks that are hosted on AWS Fargate if the tasks are using platform version ``1.4.0`` or later (Linux). This isn't supported for Windows containers on Fargate.
|
|
@@ -17225,7 +17221,12 @@ class CfnTaskDefinitionProps:
|
|
|
17225
17221
|
def task_role_arn(self) -> typing.Optional[builtins.str]:
|
|
17226
17222
|
'''The short name or full Amazon Resource Name (ARN) of the AWS Identity and Access Management role that grants containers in the task permission to call AWS APIs on your behalf.
|
|
17227
17223
|
|
|
17228
|
-
For
|
|
17224
|
+
For more information, see `Amazon ECS Task Role <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
17225
|
+
|
|
17226
|
+
IAM roles for tasks on Windows require that the ``-EnableTaskIAMRole`` option is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some configuration code to use the feature. For more information, see `Windows IAM roles for tasks <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows_task_IAM_roles.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
17227
|
+
.. epigraph::
|
|
17228
|
+
|
|
17229
|
+
String validation is done on the ECS side. If an invalid string value is given for ``TaskRoleArn`` , it may cause the Cloudformation job to hang.
|
|
17229
17230
|
|
|
17230
17231
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-taskrolearn
|
|
17231
17232
|
'''
|
|
@@ -17273,7 +17274,7 @@ class CfnTaskSet(
|
|
|
17273
17274
|
|
|
17274
17275
|
On March 21, 2024, a change was made to resolve the task definition revision before authorization. When a task definition revision is not specified, authorization will occur using the latest revision of a task definition.
|
|
17275
17276
|
|
|
17276
|
-
For information about the maximum number of task sets and
|
|
17277
|
+
For information about the maximum number of task sets and other quotas, see `Amazon ECS service quotas <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
|
|
17277
17278
|
|
|
17278
17279
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskset.html
|
|
17279
17280
|
:cloudformationResource: AWS::ECS::TaskSet
|
|
@@ -17438,7 +17439,7 @@ class CfnTaskSet(
|
|
|
17438
17439
|
if __debug__:
|
|
17439
17440
|
type_hints = typing.get_type_hints(_typecheckingstub__2aa99fde8e936efad03d94a8d4e68814e381d699481bf77c896ab9b421cd78ea)
|
|
17440
17441
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17441
|
-
jsii.set(self, "cluster", value)
|
|
17442
|
+
jsii.set(self, "cluster", value) # pyright: ignore[reportArgumentType]
|
|
17442
17443
|
|
|
17443
17444
|
@builtins.property
|
|
17444
17445
|
@jsii.member(jsii_name="service")
|
|
@@ -17451,7 +17452,7 @@ class CfnTaskSet(
|
|
|
17451
17452
|
if __debug__:
|
|
17452
17453
|
type_hints = typing.get_type_hints(_typecheckingstub__844fdccbcfe15ee2b41ac7c1a8986c2db98737471de7477b59447ae12a943e37)
|
|
17453
17454
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17454
|
-
jsii.set(self, "service", value)
|
|
17455
|
+
jsii.set(self, "service", value) # pyright: ignore[reportArgumentType]
|
|
17455
17456
|
|
|
17456
17457
|
@builtins.property
|
|
17457
17458
|
@jsii.member(jsii_name="taskDefinition")
|
|
@@ -17464,7 +17465,7 @@ class CfnTaskSet(
|
|
|
17464
17465
|
if __debug__:
|
|
17465
17466
|
type_hints = typing.get_type_hints(_typecheckingstub__94ea8763f334bdea4e67a959b5526084ad4481945c9fb5d1826bab452a281e4e)
|
|
17466
17467
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17467
|
-
jsii.set(self, "taskDefinition", value)
|
|
17468
|
+
jsii.set(self, "taskDefinition", value) # pyright: ignore[reportArgumentType]
|
|
17468
17469
|
|
|
17469
17470
|
@builtins.property
|
|
17470
17471
|
@jsii.member(jsii_name="externalId")
|
|
@@ -17477,7 +17478,7 @@ class CfnTaskSet(
|
|
|
17477
17478
|
if __debug__:
|
|
17478
17479
|
type_hints = typing.get_type_hints(_typecheckingstub__52f079cf2c2fadbe38461a7e81ef23344c2aa8dbd5c4c1ce147513deec1f10f7)
|
|
17479
17480
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17480
|
-
jsii.set(self, "externalId", value)
|
|
17481
|
+
jsii.set(self, "externalId", value) # pyright: ignore[reportArgumentType]
|
|
17481
17482
|
|
|
17482
17483
|
@builtins.property
|
|
17483
17484
|
@jsii.member(jsii_name="launchType")
|
|
@@ -17490,7 +17491,7 @@ class CfnTaskSet(
|
|
|
17490
17491
|
if __debug__:
|
|
17491
17492
|
type_hints = typing.get_type_hints(_typecheckingstub__7e3c24ff3ad05ab7affcfe3e633024d2a88b8f270b2956e7d5e67e939854f52c)
|
|
17492
17493
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17493
|
-
jsii.set(self, "launchType", value)
|
|
17494
|
+
jsii.set(self, "launchType", value) # pyright: ignore[reportArgumentType]
|
|
17494
17495
|
|
|
17495
17496
|
@builtins.property
|
|
17496
17497
|
@jsii.member(jsii_name="loadBalancers")
|
|
@@ -17508,7 +17509,7 @@ class CfnTaskSet(
|
|
|
17508
17509
|
if __debug__:
|
|
17509
17510
|
type_hints = typing.get_type_hints(_typecheckingstub__1d2aca6fe514df24891108e5203148ea1bdad7a48bfe9d5b9b7e3e21cf52ec2d)
|
|
17510
17511
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17511
|
-
jsii.set(self, "loadBalancers", value)
|
|
17512
|
+
jsii.set(self, "loadBalancers", value) # pyright: ignore[reportArgumentType]
|
|
17512
17513
|
|
|
17513
17514
|
@builtins.property
|
|
17514
17515
|
@jsii.member(jsii_name="networkConfiguration")
|
|
@@ -17526,7 +17527,7 @@ class CfnTaskSet(
|
|
|
17526
17527
|
if __debug__:
|
|
17527
17528
|
type_hints = typing.get_type_hints(_typecheckingstub__4d95da532bf544a8a0e34363d534f00e2bec7c0977b5d741968d103e259321aa)
|
|
17528
17529
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17529
|
-
jsii.set(self, "networkConfiguration", value)
|
|
17530
|
+
jsii.set(self, "networkConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
17530
17531
|
|
|
17531
17532
|
@builtins.property
|
|
17532
17533
|
@jsii.member(jsii_name="platformVersion")
|
|
@@ -17539,7 +17540,7 @@ class CfnTaskSet(
|
|
|
17539
17540
|
if __debug__:
|
|
17540
17541
|
type_hints = typing.get_type_hints(_typecheckingstub__86a1093579a168ec08945471f5b1e4f7bc599183b7279890f37c3c0f6db7b711)
|
|
17541
17542
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17542
|
-
jsii.set(self, "platformVersion", value)
|
|
17543
|
+
jsii.set(self, "platformVersion", value) # pyright: ignore[reportArgumentType]
|
|
17543
17544
|
|
|
17544
17545
|
@builtins.property
|
|
17545
17546
|
@jsii.member(jsii_name="scale")
|
|
@@ -17557,7 +17558,7 @@ class CfnTaskSet(
|
|
|
17557
17558
|
if __debug__:
|
|
17558
17559
|
type_hints = typing.get_type_hints(_typecheckingstub__fae0f8db92f09b11bd8ba396ffbc0d64626e6d506f9734bc5874b25e18a4c2c9)
|
|
17559
17560
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17560
|
-
jsii.set(self, "scale", value)
|
|
17561
|
+
jsii.set(self, "scale", value) # pyright: ignore[reportArgumentType]
|
|
17561
17562
|
|
|
17562
17563
|
@builtins.property
|
|
17563
17564
|
@jsii.member(jsii_name="serviceRegistries")
|
|
@@ -17575,7 +17576,7 @@ class CfnTaskSet(
|
|
|
17575
17576
|
if __debug__:
|
|
17576
17577
|
type_hints = typing.get_type_hints(_typecheckingstub__10386b6033459a325843882afa0aa943fd693fff399ef14f81d947873fe64e83)
|
|
17577
17578
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17578
|
-
jsii.set(self, "serviceRegistries", value)
|
|
17579
|
+
jsii.set(self, "serviceRegistries", value) # pyright: ignore[reportArgumentType]
|
|
17579
17580
|
|
|
17580
17581
|
@builtins.property
|
|
17581
17582
|
@jsii.member(jsii_name="tags")
|
|
@@ -17588,7 +17589,7 @@ class CfnTaskSet(
|
|
|
17588
17589
|
if __debug__:
|
|
17589
17590
|
type_hints = typing.get_type_hints(_typecheckingstub__cf77f71db15622e6359a28442ebc9b90b5b3c6912fa508b6894f77d2a695b2bc)
|
|
17590
17591
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
17591
|
-
jsii.set(self, "tags", value)
|
|
17592
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
17592
17593
|
|
|
17593
17594
|
@jsii.data_type(
|
|
17594
17595
|
jsii_type="aws-cdk-lib.aws_ecs.CfnTaskSet.AwsVpcConfigurationProperty",
|
|
@@ -17609,7 +17610,7 @@ class CfnTaskSet(
|
|
|
17609
17610
|
) -> None:
|
|
17610
17611
|
'''An object representing the networking details for a task or service.
|
|
17611
17612
|
|
|
17612
|
-
For example ``
|
|
17613
|
+
For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}`` .
|
|
17613
17614
|
|
|
17614
17615
|
:param subnets: The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per ``AwsVpcConfiguration`` . .. epigraph:: All specified subnets must be from the same VPC.
|
|
17615
17616
|
:param assign_public_ip: Whether the task's elastic network interface receives a public IP address. The default value is ``DISABLED`` .
|
|
@@ -35943,7 +35944,7 @@ class TaskDefinition(
|
|
|
35943
35944
|
if __debug__:
|
|
35944
35945
|
type_hints = typing.get_type_hints(_typecheckingstub__9a9f5e275c7ec18083bd47fd70c94d0dee80deddee22c30c6ef86cb08ddaba1a)
|
|
35945
35946
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
35946
|
-
jsii.set(self, "defaultContainer", value)
|
|
35947
|
+
jsii.set(self, "defaultContainer", value) # pyright: ignore[reportArgumentType]
|
|
35947
35948
|
|
|
35948
35949
|
|
|
35949
35950
|
@jsii.data_type(
|
|
@@ -37589,7 +37590,7 @@ class AwsLogDriver(
|
|
|
37589
37590
|
if __debug__:
|
|
37590
37591
|
type_hints = typing.get_type_hints(_typecheckingstub__a666a74bbd0e0887d401668d4dd9a1d1d3b4a7b9c91abe2576d2ee279a1737f4)
|
|
37591
37592
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
37592
|
-
jsii.set(self, "logGroup", value)
|
|
37593
|
+
jsii.set(self, "logGroup", value) # pyright: ignore[reportArgumentType]
|
|
37593
37594
|
|
|
37594
37595
|
|
|
37595
37596
|
@jsii.implements(ICluster)
|
|
@@ -39453,7 +39454,7 @@ class BaseService(
|
|
|
39453
39454
|
if __debug__:
|
|
39454
39455
|
type_hints = typing.get_type_hints(_typecheckingstub__8f1c36fc59aabff1bf7c7dc3528c7ca379a2768eb924ecfeb8f007ff7d5b4ff9)
|
|
39455
39456
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39456
|
-
jsii.set(self, "loadBalancers", value)
|
|
39457
|
+
jsii.set(self, "loadBalancers", value) # pyright: ignore[reportArgumentType]
|
|
39457
39458
|
|
|
39458
39459
|
@builtins.property
|
|
39459
39460
|
@jsii.member(jsii_name="serviceRegistries")
|
|
@@ -39472,7 +39473,7 @@ class BaseService(
|
|
|
39472
39473
|
if __debug__:
|
|
39473
39474
|
type_hints = typing.get_type_hints(_typecheckingstub__0d8b5e965ba4b1d834d714985226fc2555a694b9d621a652266d3c9e977040da)
|
|
39474
39475
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39475
|
-
jsii.set(self, "serviceRegistries", value)
|
|
39476
|
+
jsii.set(self, "serviceRegistries", value) # pyright: ignore[reportArgumentType]
|
|
39476
39477
|
|
|
39477
39478
|
@builtins.property
|
|
39478
39479
|
@jsii.member(jsii_name="cloudmapService")
|
|
@@ -39485,7 +39486,7 @@ class BaseService(
|
|
|
39485
39486
|
if __debug__:
|
|
39486
39487
|
type_hints = typing.get_type_hints(_typecheckingstub__960f06f29f96f1fa0f0798f2e1bd034b7f63112e424624916869f4d6708fee1b)
|
|
39487
39488
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39488
|
-
jsii.set(self, "cloudmapService", value)
|
|
39489
|
+
jsii.set(self, "cloudmapService", value) # pyright: ignore[reportArgumentType]
|
|
39489
39490
|
|
|
39490
39491
|
@builtins.property
|
|
39491
39492
|
@jsii.member(jsii_name="deploymentAlarms")
|
|
@@ -39503,7 +39504,7 @@ class BaseService(
|
|
|
39503
39504
|
if __debug__:
|
|
39504
39505
|
type_hints = typing.get_type_hints(_typecheckingstub__3284271dfe93cee0b39db60b66e5e3f491658671f55b67443aedabf2e9fbd289)
|
|
39505
39506
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39506
|
-
jsii.set(self, "deploymentAlarms", value)
|
|
39507
|
+
jsii.set(self, "deploymentAlarms", value) # pyright: ignore[reportArgumentType]
|
|
39507
39508
|
|
|
39508
39509
|
@builtins.property
|
|
39509
39510
|
@jsii.member(jsii_name="networkConfiguration")
|
|
@@ -39521,7 +39522,7 @@ class BaseService(
|
|
|
39521
39522
|
if __debug__:
|
|
39522
39523
|
type_hints = typing.get_type_hints(_typecheckingstub__a950665986fb367e02d389d7df06bca1f960832b44514eb4e59488a5d9115011)
|
|
39523
39524
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
39524
|
-
jsii.set(self, "networkConfiguration", value)
|
|
39525
|
+
jsii.set(self, "networkConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
39525
39526
|
|
|
39526
39527
|
|
|
39527
39528
|
class _BaseServiceProxy(
|