aws-cdk-lib 2.130.0__py3-none-any.whl → 2.131.0__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 +41 -21
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.130.0.jsii.tgz → aws-cdk-lib@2.131.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +52 -11
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +286 -0
- aws_cdk/aws_appconfig/__init__.py +36 -5
- aws_cdk/aws_applicationautoscaling/__init__.py +80 -123
- aws_cdk/aws_applicationinsights/__init__.py +48 -0
- aws_cdk/aws_apprunner/__init__.py +8 -1
- aws_cdk/aws_appstream/__init__.py +8 -1
- aws_cdk/aws_appsync/__init__.py +324 -103
- aws_cdk/aws_athena/__init__.py +8 -1
- aws_cdk/aws_b2bi/__init__.py +30 -4
- aws_cdk/aws_backup/__init__.py +77 -53
- aws_cdk/aws_cleanrooms/__init__.py +37 -5
- aws_cdk/aws_cloudtrail/__init__.py +23 -1
- aws_cdk/aws_codebuild/__init__.py +8 -1
- aws_cdk/aws_codestarconnections/__init__.py +8 -1
- aws_cdk/aws_cognito/__init__.py +21 -21
- aws_cdk/aws_comprehend/__init__.py +8 -1
- aws_cdk/aws_connect/__init__.py +57 -8
- aws_cdk/aws_controltower/__init__.py +27 -7
- aws_cdk/aws_customerprofiles/__init__.py +136 -123
- aws_cdk/aws_datapipeline/__init__.py +19 -11
- aws_cdk/aws_datasync/__init__.py +8 -1
- aws_cdk/aws_datazone/__init__.py +9 -1
- aws_cdk/aws_dms/__init__.py +29 -4
- aws_cdk/aws_docdb/__init__.py +131 -5
- aws_cdk/aws_ec2/__init__.py +178 -65
- aws_cdk/aws_ecs/__init__.py +43 -51
- aws_cdk/aws_ecs_patterns/__init__.py +214 -0
- aws_cdk/aws_eks/__init__.py +43 -2
- aws_cdk/aws_elasticache/__init__.py +8 -1
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +8 -1
- aws_cdk/aws_emr/__init__.py +8 -1
- aws_cdk/aws_entityresolution/__init__.py +23 -3
- aws_cdk/aws_events/__init__.py +12 -1
- aws_cdk/aws_fms/__init__.py +8 -1
- aws_cdk/aws_glue/__init__.py +18 -4
- aws_cdk/aws_healthimaging/__init__.py +9 -1
- aws_cdk/aws_inspectorv2/__init__.py +9 -1
- aws_cdk/aws_iot/__init__.py +29 -4
- aws_cdk/aws_ivs/__init__.py +8 -1
- aws_cdk/aws_kms/__init__.py +1 -1
- aws_cdk/aws_lambda/__init__.py +3 -5
- aws_cdk/aws_location/__init__.py +44 -6
- aws_cdk/aws_logs/__init__.py +22 -3
- aws_cdk/aws_macie/__init__.py +15 -2
- aws_cdk/aws_medialive/__init__.py +8 -1
- aws_cdk/aws_mediapackagev2/__init__.py +23 -3
- aws_cdk/aws_mediatailor/__init__.py +29 -4
- aws_cdk/aws_msk/__init__.py +8 -1
- aws_cdk/aws_neptunegraph/__init__.py +9 -1
- aws_cdk/aws_networkfirewall/__init__.py +8 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +23 -3
- aws_cdk/aws_pinpointemail/__init__.py +23 -3
- aws_cdk/aws_quicksight/__init__.py +37 -0
- aws_cdk/aws_rds/__init__.py +47 -4
- aws_cdk/aws_route53resolver/__init__.py +8 -1
- aws_cdk/aws_s3/__init__.py +29 -4
- aws_cdk/aws_sagemaker/__init__.py +19 -8
- aws_cdk/aws_securityhub/__init__.py +8 -1
- aws_cdk/aws_shield/__init__.py +16 -2
- aws_cdk/aws_workspacesthinclient/__init__.py +9 -1
- aws_cdk/aws_workspacesweb/__init__.py +51 -7
- aws_cdk/aws_xray/__init__.py +16 -2
- {aws_cdk_lib-2.130.0.dist-info → aws_cdk_lib-2.131.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.130.0.dist-info → aws_cdk_lib-2.131.0.dist-info}/RECORD +72 -72
- {aws_cdk_lib-2.130.0.dist-info → aws_cdk_lib-2.131.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.130.0.dist-info → aws_cdk_lib-2.131.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.130.0.dist-info → aws_cdk_lib-2.131.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.130.0.dist-info → aws_cdk_lib-2.131.0.dist-info}/top_level.txt +0 -0
|
@@ -1091,6 +1091,35 @@ scheduled_fargate_task = ecs_patterns.ScheduledFargateTask(self, "ScheduledFarga
|
|
|
1091
1091
|
]
|
|
1092
1092
|
)
|
|
1093
1093
|
```
|
|
1094
|
+
|
|
1095
|
+
### Use custom ephemeral storage for ECS Fargate tasks
|
|
1096
|
+
|
|
1097
|
+
You can pass a custom ephemeral storage (21GiB - 200GiB) to ECS Fargate tasks on Fargate Platform Version 1.4.0 or later.
|
|
1098
|
+
|
|
1099
|
+
```python
|
|
1100
|
+
vpc = ec2.Vpc(self, "Vpc", max_azs=2, restrict_default_security_group=False)
|
|
1101
|
+
cluster = ecs.Cluster(self, "FargateCluster", vpc=vpc)
|
|
1102
|
+
|
|
1103
|
+
application_load_balanced_fargate_service = ecs_patterns.ApplicationLoadBalancedFargateService(self, "ALBFargateServiceWithCustomEphemeralStorage",
|
|
1104
|
+
cluster=cluster,
|
|
1105
|
+
memory_limit_mi_b=1024,
|
|
1106
|
+
cpu=512,
|
|
1107
|
+
ephemeral_storage_gi_b=21,
|
|
1108
|
+
task_image_options=ecsPatterns.ApplicationLoadBalancedTaskImageOptions(
|
|
1109
|
+
image=ecs.ContainerImage.from_registry("amazon/amazon-ecs-sample")
|
|
1110
|
+
)
|
|
1111
|
+
)
|
|
1112
|
+
|
|
1113
|
+
network_load_balanced_fargate_service = ecs_patterns.NetworkLoadBalancedFargateService(self, "NLBFargateServiceWithCustomEphemeralStorage",
|
|
1114
|
+
cluster=cluster,
|
|
1115
|
+
memory_limit_mi_b=1024,
|
|
1116
|
+
cpu=512,
|
|
1117
|
+
ephemeral_storage_gi_b=200,
|
|
1118
|
+
task_image_options=ecsPatterns.NetworkLoadBalancedTaskImageOptions(
|
|
1119
|
+
image=ecs.ContainerImage.from_registry("amazon/amazon-ecs-sample")
|
|
1120
|
+
)
|
|
1121
|
+
)
|
|
1122
|
+
```
|
|
1094
1123
|
'''
|
|
1095
1124
|
import abc
|
|
1096
1125
|
import builtins
|
|
@@ -3591,6 +3620,7 @@ class ApplicationTargetProps:
|
|
|
3591
3620
|
jsii_struct_bases=[],
|
|
3592
3621
|
name_mapping={
|
|
3593
3622
|
"cpu": "cpu",
|
|
3623
|
+
"ephemeral_storage_gib": "ephemeralStorageGiB",
|
|
3594
3624
|
"memory_limit_mib": "memoryLimitMiB",
|
|
3595
3625
|
"platform_version": "platformVersion",
|
|
3596
3626
|
"runtime_platform": "runtimePlatform",
|
|
@@ -3602,6 +3632,7 @@ class FargateServiceBaseProps:
|
|
|
3602
3632
|
self,
|
|
3603
3633
|
*,
|
|
3604
3634
|
cpu: typing.Optional[jsii.Number] = None,
|
|
3635
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
3605
3636
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
3606
3637
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
3607
3638
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -3609,6 +3640,7 @@ class FargateServiceBaseProps:
|
|
|
3609
3640
|
) -> None:
|
|
3610
3641
|
'''
|
|
3611
3642
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
3643
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
3612
3644
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
3613
3645
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
3614
3646
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -3629,6 +3661,7 @@ class FargateServiceBaseProps:
|
|
|
3629
3661
|
|
|
3630
3662
|
fargate_service_base_props = ecs_patterns.FargateServiceBaseProps(
|
|
3631
3663
|
cpu=123,
|
|
3664
|
+
ephemeral_storage_gi_b=123,
|
|
3632
3665
|
memory_limit_mi_b=123,
|
|
3633
3666
|
platform_version=ecs.FargatePlatformVersion.LATEST,
|
|
3634
3667
|
runtime_platform=ecs.RuntimePlatform(
|
|
@@ -3643,6 +3676,7 @@ class FargateServiceBaseProps:
|
|
|
3643
3676
|
if __debug__:
|
|
3644
3677
|
type_hints = typing.get_type_hints(_typecheckingstub__be57306e3f86de996d7bf3938a60ebd3f8fd4e38da3fbde2b8a23f728f3a7ef7)
|
|
3645
3678
|
check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
|
|
3679
|
+
check_type(argname="argument ephemeral_storage_gib", value=ephemeral_storage_gib, expected_type=type_hints["ephemeral_storage_gib"])
|
|
3646
3680
|
check_type(argname="argument memory_limit_mib", value=memory_limit_mib, expected_type=type_hints["memory_limit_mib"])
|
|
3647
3681
|
check_type(argname="argument platform_version", value=platform_version, expected_type=type_hints["platform_version"])
|
|
3648
3682
|
check_type(argname="argument runtime_platform", value=runtime_platform, expected_type=type_hints["runtime_platform"])
|
|
@@ -3650,6 +3684,8 @@ class FargateServiceBaseProps:
|
|
|
3650
3684
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3651
3685
|
if cpu is not None:
|
|
3652
3686
|
self._values["cpu"] = cpu
|
|
3687
|
+
if ephemeral_storage_gib is not None:
|
|
3688
|
+
self._values["ephemeral_storage_gib"] = ephemeral_storage_gib
|
|
3653
3689
|
if memory_limit_mib is not None:
|
|
3654
3690
|
self._values["memory_limit_mib"] = memory_limit_mib
|
|
3655
3691
|
if platform_version is not None:
|
|
@@ -3686,6 +3722,19 @@ class FargateServiceBaseProps:
|
|
|
3686
3722
|
result = self._values.get("cpu")
|
|
3687
3723
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
3688
3724
|
|
|
3725
|
+
@builtins.property
|
|
3726
|
+
def ephemeral_storage_gib(self) -> typing.Optional[jsii.Number]:
|
|
3727
|
+
'''The amount (in GiB) of ephemeral storage to be allocated to the task.
|
|
3728
|
+
|
|
3729
|
+
The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB.
|
|
3730
|
+
|
|
3731
|
+
Only supported in Fargate platform version 1.4.0 or later.
|
|
3732
|
+
|
|
3733
|
+
:default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
3734
|
+
'''
|
|
3735
|
+
result = self._values.get("ephemeral_storage_gib")
|
|
3736
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
3737
|
+
|
|
3689
3738
|
@builtins.property
|
|
3690
3739
|
def memory_limit_mib(self) -> typing.Optional[jsii.Number]:
|
|
3691
3740
|
'''The amount (in MiB) of memory used by the task.
|
|
@@ -8103,6 +8152,7 @@ class ApplicationLoadBalancedFargateService(
|
|
|
8103
8152
|
task_image_options: typing.Optional[typing.Union[ApplicationLoadBalancedTaskImageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
8104
8153
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
8105
8154
|
cpu: typing.Optional[jsii.Number] = None,
|
|
8155
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
8106
8156
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
8107
8157
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
8108
8158
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -8147,6 +8197,7 @@ class ApplicationLoadBalancedFargateService(
|
|
|
8147
8197
|
:param task_image_options: The properties required to create a new task definition. TaskDefinition or TaskImageOptions must be specified, but not both. Default: none
|
|
8148
8198
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
8149
8199
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
8200
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
8150
8201
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
8151
8202
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
8152
8203
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -8192,6 +8243,7 @@ class ApplicationLoadBalancedFargateService(
|
|
|
8192
8243
|
task_image_options=task_image_options,
|
|
8193
8244
|
vpc=vpc,
|
|
8194
8245
|
cpu=cpu,
|
|
8246
|
+
ephemeral_storage_gib=ephemeral_storage_gib,
|
|
8195
8247
|
memory_limit_mib=memory_limit_mib,
|
|
8196
8248
|
platform_version=platform_version,
|
|
8197
8249
|
runtime_platform=runtime_platform,
|
|
@@ -8256,6 +8308,7 @@ class ApplicationLoadBalancedFargateService(
|
|
|
8256
8308
|
"task_image_options": "taskImageOptions",
|
|
8257
8309
|
"vpc": "vpc",
|
|
8258
8310
|
"cpu": "cpu",
|
|
8311
|
+
"ephemeral_storage_gib": "ephemeralStorageGiB",
|
|
8259
8312
|
"memory_limit_mib": "memoryLimitMiB",
|
|
8260
8313
|
"platform_version": "platformVersion",
|
|
8261
8314
|
"runtime_platform": "runtimePlatform",
|
|
@@ -8304,6 +8357,7 @@ class ApplicationLoadBalancedFargateServiceProps(
|
|
|
8304
8357
|
task_image_options: typing.Optional[typing.Union[ApplicationLoadBalancedTaskImageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
8305
8358
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
8306
8359
|
cpu: typing.Optional[jsii.Number] = None,
|
|
8360
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
8307
8361
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
8308
8362
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
8309
8363
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -8346,6 +8400,7 @@ class ApplicationLoadBalancedFargateServiceProps(
|
|
|
8346
8400
|
:param task_image_options: The properties required to create a new task definition. TaskDefinition or TaskImageOptions must be specified, but not both. Default: none
|
|
8347
8401
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
8348
8402
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
8403
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
8349
8404
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
8350
8405
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
8351
8406
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -8422,6 +8477,7 @@ class ApplicationLoadBalancedFargateServiceProps(
|
|
|
8422
8477
|
check_type(argname="argument task_image_options", value=task_image_options, expected_type=type_hints["task_image_options"])
|
|
8423
8478
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
8424
8479
|
check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
|
|
8480
|
+
check_type(argname="argument ephemeral_storage_gib", value=ephemeral_storage_gib, expected_type=type_hints["ephemeral_storage_gib"])
|
|
8425
8481
|
check_type(argname="argument memory_limit_mib", value=memory_limit_mib, expected_type=type_hints["memory_limit_mib"])
|
|
8426
8482
|
check_type(argname="argument platform_version", value=platform_version, expected_type=type_hints["platform_version"])
|
|
8427
8483
|
check_type(argname="argument runtime_platform", value=runtime_platform, expected_type=type_hints["runtime_platform"])
|
|
@@ -8493,6 +8549,8 @@ class ApplicationLoadBalancedFargateServiceProps(
|
|
|
8493
8549
|
self._values["vpc"] = vpc
|
|
8494
8550
|
if cpu is not None:
|
|
8495
8551
|
self._values["cpu"] = cpu
|
|
8552
|
+
if ephemeral_storage_gib is not None:
|
|
8553
|
+
self._values["ephemeral_storage_gib"] = ephemeral_storage_gib
|
|
8496
8554
|
if memory_limit_mib is not None:
|
|
8497
8555
|
self._values["memory_limit_mib"] = memory_limit_mib
|
|
8498
8556
|
if platform_version is not None:
|
|
@@ -8863,6 +8921,19 @@ class ApplicationLoadBalancedFargateServiceProps(
|
|
|
8863
8921
|
result = self._values.get("cpu")
|
|
8864
8922
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
8865
8923
|
|
|
8924
|
+
@builtins.property
|
|
8925
|
+
def ephemeral_storage_gib(self) -> typing.Optional[jsii.Number]:
|
|
8926
|
+
'''The amount (in GiB) of ephemeral storage to be allocated to the task.
|
|
8927
|
+
|
|
8928
|
+
The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB.
|
|
8929
|
+
|
|
8930
|
+
Only supported in Fargate platform version 1.4.0 or later.
|
|
8931
|
+
|
|
8932
|
+
:default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
8933
|
+
'''
|
|
8934
|
+
result = self._values.get("ephemeral_storage_gib")
|
|
8935
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
8936
|
+
|
|
8866
8937
|
@builtins.property
|
|
8867
8938
|
def memory_limit_mib(self) -> typing.Optional[jsii.Number]:
|
|
8868
8939
|
'''The amount (in MiB) of memory used by the task.
|
|
@@ -9571,6 +9642,7 @@ class ApplicationMultipleTargetGroupsFargateService(
|
|
|
9571
9642
|
task_image_options: typing.Optional[typing.Union[ApplicationLoadBalancedTaskImageProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
9572
9643
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
9573
9644
|
cpu: typing.Optional[jsii.Number] = None,
|
|
9645
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
9574
9646
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
9575
9647
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
9576
9648
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -9594,6 +9666,7 @@ class ApplicationMultipleTargetGroupsFargateService(
|
|
|
9594
9666
|
:param task_image_options: The properties required to create a new task definition. Only one of TaskDefinition or TaskImageOptions must be specified. Default: none
|
|
9595
9667
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
9596
9668
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
9669
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
9597
9670
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
9598
9671
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
9599
9672
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -9618,6 +9691,7 @@ class ApplicationMultipleTargetGroupsFargateService(
|
|
|
9618
9691
|
task_image_options=task_image_options,
|
|
9619
9692
|
vpc=vpc,
|
|
9620
9693
|
cpu=cpu,
|
|
9694
|
+
ephemeral_storage_gib=ephemeral_storage_gib,
|
|
9621
9695
|
memory_limit_mib=memory_limit_mib,
|
|
9622
9696
|
platform_version=platform_version,
|
|
9623
9697
|
runtime_platform=runtime_platform,
|
|
@@ -9675,6 +9749,7 @@ class ApplicationMultipleTargetGroupsFargateService(
|
|
|
9675
9749
|
"task_image_options": "taskImageOptions",
|
|
9676
9750
|
"vpc": "vpc",
|
|
9677
9751
|
"cpu": "cpu",
|
|
9752
|
+
"ephemeral_storage_gib": "ephemeralStorageGiB",
|
|
9678
9753
|
"memory_limit_mib": "memoryLimitMiB",
|
|
9679
9754
|
"platform_version": "platformVersion",
|
|
9680
9755
|
"runtime_platform": "runtimePlatform",
|
|
@@ -9702,6 +9777,7 @@ class ApplicationMultipleTargetGroupsFargateServiceProps(
|
|
|
9702
9777
|
task_image_options: typing.Optional[typing.Union[ApplicationLoadBalancedTaskImageProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
9703
9778
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
9704
9779
|
cpu: typing.Optional[jsii.Number] = None,
|
|
9780
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
9705
9781
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
9706
9782
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
9707
9783
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -9723,6 +9799,7 @@ class ApplicationMultipleTargetGroupsFargateServiceProps(
|
|
|
9723
9799
|
:param task_image_options: The properties required to create a new task definition. Only one of TaskDefinition or TaskImageOptions must be specified. Default: none
|
|
9724
9800
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
9725
9801
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
9802
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
9726
9803
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
9727
9804
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
9728
9805
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -9814,6 +9891,7 @@ class ApplicationMultipleTargetGroupsFargateServiceProps(
|
|
|
9814
9891
|
check_type(argname="argument task_image_options", value=task_image_options, expected_type=type_hints["task_image_options"])
|
|
9815
9892
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
9816
9893
|
check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
|
|
9894
|
+
check_type(argname="argument ephemeral_storage_gib", value=ephemeral_storage_gib, expected_type=type_hints["ephemeral_storage_gib"])
|
|
9817
9895
|
check_type(argname="argument memory_limit_mib", value=memory_limit_mib, expected_type=type_hints["memory_limit_mib"])
|
|
9818
9896
|
check_type(argname="argument platform_version", value=platform_version, expected_type=type_hints["platform_version"])
|
|
9819
9897
|
check_type(argname="argument runtime_platform", value=runtime_platform, expected_type=type_hints["runtime_platform"])
|
|
@@ -9846,6 +9924,8 @@ class ApplicationMultipleTargetGroupsFargateServiceProps(
|
|
|
9846
9924
|
self._values["vpc"] = vpc
|
|
9847
9925
|
if cpu is not None:
|
|
9848
9926
|
self._values["cpu"] = cpu
|
|
9927
|
+
if ephemeral_storage_gib is not None:
|
|
9928
|
+
self._values["ephemeral_storage_gib"] = ephemeral_storage_gib
|
|
9849
9929
|
if memory_limit_mib is not None:
|
|
9850
9930
|
self._values["memory_limit_mib"] = memory_limit_mib
|
|
9851
9931
|
if platform_version is not None:
|
|
@@ -10011,6 +10091,19 @@ class ApplicationMultipleTargetGroupsFargateServiceProps(
|
|
|
10011
10091
|
result = self._values.get("cpu")
|
|
10012
10092
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
10013
10093
|
|
|
10094
|
+
@builtins.property
|
|
10095
|
+
def ephemeral_storage_gib(self) -> typing.Optional[jsii.Number]:
|
|
10096
|
+
'''The amount (in GiB) of ephemeral storage to be allocated to the task.
|
|
10097
|
+
|
|
10098
|
+
The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB.
|
|
10099
|
+
|
|
10100
|
+
Only supported in Fargate platform version 1.4.0 or later.
|
|
10101
|
+
|
|
10102
|
+
:default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
10103
|
+
'''
|
|
10104
|
+
result = self._values.get("ephemeral_storage_gib")
|
|
10105
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
10106
|
+
|
|
10014
10107
|
@builtins.property
|
|
10015
10108
|
def memory_limit_mib(self) -> typing.Optional[jsii.Number]:
|
|
10016
10109
|
'''The amount (in MiB) of memory used by the task.
|
|
@@ -10820,6 +10913,7 @@ class NetworkLoadBalancedFargateService(
|
|
|
10820
10913
|
task_image_options: typing.Optional[typing.Union[NetworkLoadBalancedTaskImageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
10821
10914
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
10822
10915
|
cpu: typing.Optional[jsii.Number] = None,
|
|
10916
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
10823
10917
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
10824
10918
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
10825
10919
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -10853,6 +10947,7 @@ class NetworkLoadBalancedFargateService(
|
|
|
10853
10947
|
:param task_image_options: The properties required to create a new task definition. One of taskImageOptions or taskDefinition must be specified. Default: - none
|
|
10854
10948
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
10855
10949
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
10950
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
10856
10951
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
10857
10952
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
10858
10953
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -10887,6 +10982,7 @@ class NetworkLoadBalancedFargateService(
|
|
|
10887
10982
|
task_image_options=task_image_options,
|
|
10888
10983
|
vpc=vpc,
|
|
10889
10984
|
cpu=cpu,
|
|
10985
|
+
ephemeral_storage_gib=ephemeral_storage_gib,
|
|
10890
10986
|
memory_limit_mib=memory_limit_mib,
|
|
10891
10987
|
platform_version=platform_version,
|
|
10892
10988
|
runtime_platform=runtime_platform,
|
|
@@ -10939,6 +11035,7 @@ class NetworkLoadBalancedFargateService(
|
|
|
10939
11035
|
"task_image_options": "taskImageOptions",
|
|
10940
11036
|
"vpc": "vpc",
|
|
10941
11037
|
"cpu": "cpu",
|
|
11038
|
+
"ephemeral_storage_gib": "ephemeralStorageGiB",
|
|
10942
11039
|
"memory_limit_mib": "memoryLimitMiB",
|
|
10943
11040
|
"platform_version": "platformVersion",
|
|
10944
11041
|
"runtime_platform": "runtimePlatform",
|
|
@@ -10976,6 +11073,7 @@ class NetworkLoadBalancedFargateServiceProps(
|
|
|
10976
11073
|
task_image_options: typing.Optional[typing.Union[NetworkLoadBalancedTaskImageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
10977
11074
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
10978
11075
|
cpu: typing.Optional[jsii.Number] = None,
|
|
11076
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
10979
11077
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
10980
11078
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
10981
11079
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -11007,6 +11105,7 @@ class NetworkLoadBalancedFargateServiceProps(
|
|
|
11007
11105
|
:param task_image_options: The properties required to create a new task definition. One of taskImageOptions or taskDefinition must be specified. Default: - none
|
|
11008
11106
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
11009
11107
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
11108
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
11010
11109
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
11011
11110
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
11012
11111
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -11065,6 +11164,7 @@ class NetworkLoadBalancedFargateServiceProps(
|
|
|
11065
11164
|
check_type(argname="argument task_image_options", value=task_image_options, expected_type=type_hints["task_image_options"])
|
|
11066
11165
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
11067
11166
|
check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
|
|
11167
|
+
check_type(argname="argument ephemeral_storage_gib", value=ephemeral_storage_gib, expected_type=type_hints["ephemeral_storage_gib"])
|
|
11068
11168
|
check_type(argname="argument memory_limit_mib", value=memory_limit_mib, expected_type=type_hints["memory_limit_mib"])
|
|
11069
11169
|
check_type(argname="argument platform_version", value=platform_version, expected_type=type_hints["platform_version"])
|
|
11070
11170
|
check_type(argname="argument runtime_platform", value=runtime_platform, expected_type=type_hints["runtime_platform"])
|
|
@@ -11116,6 +11216,8 @@ class NetworkLoadBalancedFargateServiceProps(
|
|
|
11116
11216
|
self._values["vpc"] = vpc
|
|
11117
11217
|
if cpu is not None:
|
|
11118
11218
|
self._values["cpu"] = cpu
|
|
11219
|
+
if ephemeral_storage_gib is not None:
|
|
11220
|
+
self._values["ephemeral_storage_gib"] = ephemeral_storage_gib
|
|
11119
11221
|
if memory_limit_mib is not None:
|
|
11120
11222
|
self._values["memory_limit_mib"] = memory_limit_mib
|
|
11121
11223
|
if platform_version is not None:
|
|
@@ -11379,6 +11481,19 @@ class NetworkLoadBalancedFargateServiceProps(
|
|
|
11379
11481
|
result = self._values.get("cpu")
|
|
11380
11482
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
11381
11483
|
|
|
11484
|
+
@builtins.property
|
|
11485
|
+
def ephemeral_storage_gib(self) -> typing.Optional[jsii.Number]:
|
|
11486
|
+
'''The amount (in GiB) of ephemeral storage to be allocated to the task.
|
|
11487
|
+
|
|
11488
|
+
The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB.
|
|
11489
|
+
|
|
11490
|
+
Only supported in Fargate platform version 1.4.0 or later.
|
|
11491
|
+
|
|
11492
|
+
:default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
11493
|
+
'''
|
|
11494
|
+
result = self._values.get("ephemeral_storage_gib")
|
|
11495
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
11496
|
+
|
|
11382
11497
|
@builtins.property
|
|
11383
11498
|
def memory_limit_mib(self) -> typing.Optional[jsii.Number]:
|
|
11384
11499
|
'''The amount (in MiB) of memory used by the task.
|
|
@@ -12066,6 +12181,7 @@ class NetworkMultipleTargetGroupsFargateService(
|
|
|
12066
12181
|
task_image_options: typing.Optional[typing.Union[NetworkLoadBalancedTaskImageProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
12067
12182
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
12068
12183
|
cpu: typing.Optional[jsii.Number] = None,
|
|
12184
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
12069
12185
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
12070
12186
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
12071
12187
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -12089,6 +12205,7 @@ class NetworkMultipleTargetGroupsFargateService(
|
|
|
12089
12205
|
:param task_image_options: The properties required to create a new task definition. Only one of TaskDefinition or TaskImageOptions must be specified. Default: - none
|
|
12090
12206
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
12091
12207
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
12208
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
12092
12209
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
12093
12210
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
12094
12211
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -12113,6 +12230,7 @@ class NetworkMultipleTargetGroupsFargateService(
|
|
|
12113
12230
|
task_image_options=task_image_options,
|
|
12114
12231
|
vpc=vpc,
|
|
12115
12232
|
cpu=cpu,
|
|
12233
|
+
ephemeral_storage_gib=ephemeral_storage_gib,
|
|
12116
12234
|
memory_limit_mib=memory_limit_mib,
|
|
12117
12235
|
platform_version=platform_version,
|
|
12118
12236
|
runtime_platform=runtime_platform,
|
|
@@ -12170,6 +12288,7 @@ class NetworkMultipleTargetGroupsFargateService(
|
|
|
12170
12288
|
"task_image_options": "taskImageOptions",
|
|
12171
12289
|
"vpc": "vpc",
|
|
12172
12290
|
"cpu": "cpu",
|
|
12291
|
+
"ephemeral_storage_gib": "ephemeralStorageGiB",
|
|
12173
12292
|
"memory_limit_mib": "memoryLimitMiB",
|
|
12174
12293
|
"platform_version": "platformVersion",
|
|
12175
12294
|
"runtime_platform": "runtimePlatform",
|
|
@@ -12197,6 +12316,7 @@ class NetworkMultipleTargetGroupsFargateServiceProps(
|
|
|
12197
12316
|
task_image_options: typing.Optional[typing.Union[NetworkLoadBalancedTaskImageProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
12198
12317
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
12199
12318
|
cpu: typing.Optional[jsii.Number] = None,
|
|
12319
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
12200
12320
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
12201
12321
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
12202
12322
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -12218,6 +12338,7 @@ class NetworkMultipleTargetGroupsFargateServiceProps(
|
|
|
12218
12338
|
:param task_image_options: The properties required to create a new task definition. Only one of TaskDefinition or TaskImageOptions must be specified. Default: - none
|
|
12219
12339
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
12220
12340
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
12341
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
12221
12342
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
12222
12343
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
12223
12344
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -12282,6 +12403,7 @@ class NetworkMultipleTargetGroupsFargateServiceProps(
|
|
|
12282
12403
|
check_type(argname="argument task_image_options", value=task_image_options, expected_type=type_hints["task_image_options"])
|
|
12283
12404
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
12284
12405
|
check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
|
|
12406
|
+
check_type(argname="argument ephemeral_storage_gib", value=ephemeral_storage_gib, expected_type=type_hints["ephemeral_storage_gib"])
|
|
12285
12407
|
check_type(argname="argument memory_limit_mib", value=memory_limit_mib, expected_type=type_hints["memory_limit_mib"])
|
|
12286
12408
|
check_type(argname="argument platform_version", value=platform_version, expected_type=type_hints["platform_version"])
|
|
12287
12409
|
check_type(argname="argument runtime_platform", value=runtime_platform, expected_type=type_hints["runtime_platform"])
|
|
@@ -12314,6 +12436,8 @@ class NetworkMultipleTargetGroupsFargateServiceProps(
|
|
|
12314
12436
|
self._values["vpc"] = vpc
|
|
12315
12437
|
if cpu is not None:
|
|
12316
12438
|
self._values["cpu"] = cpu
|
|
12439
|
+
if ephemeral_storage_gib is not None:
|
|
12440
|
+
self._values["ephemeral_storage_gib"] = ephemeral_storage_gib
|
|
12317
12441
|
if memory_limit_mib is not None:
|
|
12318
12442
|
self._values["memory_limit_mib"] = memory_limit_mib
|
|
12319
12443
|
if platform_version is not None:
|
|
@@ -12477,6 +12601,19 @@ class NetworkMultipleTargetGroupsFargateServiceProps(
|
|
|
12477
12601
|
result = self._values.get("cpu")
|
|
12478
12602
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
12479
12603
|
|
|
12604
|
+
@builtins.property
|
|
12605
|
+
def ephemeral_storage_gib(self) -> typing.Optional[jsii.Number]:
|
|
12606
|
+
'''The amount (in GiB) of ephemeral storage to be allocated to the task.
|
|
12607
|
+
|
|
12608
|
+
The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB.
|
|
12609
|
+
|
|
12610
|
+
Only supported in Fargate platform version 1.4.0 or later.
|
|
12611
|
+
|
|
12612
|
+
:default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
12613
|
+
'''
|
|
12614
|
+
result = self._values.get("ephemeral_storage_gib")
|
|
12615
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
12616
|
+
|
|
12480
12617
|
@builtins.property
|
|
12481
12618
|
def memory_limit_mib(self) -> typing.Optional[jsii.Number]:
|
|
12482
12619
|
'''The amount (in MiB) of memory used by the task.
|
|
@@ -13468,6 +13605,7 @@ class QueueProcessingFargateService(
|
|
|
13468
13605
|
visibility_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
13469
13606
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
13470
13607
|
cpu: typing.Optional[jsii.Number] = None,
|
|
13608
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
13471
13609
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
13472
13610
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
13473
13611
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -13511,6 +13649,7 @@ class QueueProcessingFargateService(
|
|
|
13511
13649
|
:param visibility_timeout: Timeout of processing a single message. After dequeuing, the processor has this much time to handle the message and delete it from the queue before it becomes visible again for dequeueing by another processor. Values must be between 0 and (12 hours). If the queue construct is specified, visibilityTimeout should be omitted. Default: Duration.seconds(30)
|
|
13512
13650
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
13513
13651
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
13652
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
13514
13653
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
13515
13654
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
13516
13655
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -13555,6 +13694,7 @@ class QueueProcessingFargateService(
|
|
|
13555
13694
|
visibility_timeout=visibility_timeout,
|
|
13556
13695
|
vpc=vpc,
|
|
13557
13696
|
cpu=cpu,
|
|
13697
|
+
ephemeral_storage_gib=ephemeral_storage_gib,
|
|
13558
13698
|
memory_limit_mib=memory_limit_mib,
|
|
13559
13699
|
platform_version=platform_version,
|
|
13560
13700
|
runtime_platform=runtime_platform,
|
|
@@ -13609,6 +13749,7 @@ class QueueProcessingFargateService(
|
|
|
13609
13749
|
"visibility_timeout": "visibilityTimeout",
|
|
13610
13750
|
"vpc": "vpc",
|
|
13611
13751
|
"cpu": "cpu",
|
|
13752
|
+
"ephemeral_storage_gib": "ephemeralStorageGiB",
|
|
13612
13753
|
"memory_limit_mib": "memoryLimitMiB",
|
|
13613
13754
|
"platform_version": "platformVersion",
|
|
13614
13755
|
"runtime_platform": "runtimePlatform",
|
|
@@ -13656,6 +13797,7 @@ class QueueProcessingFargateServiceProps(
|
|
|
13656
13797
|
visibility_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
13657
13798
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
13658
13799
|
cpu: typing.Optional[jsii.Number] = None,
|
|
13800
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
13659
13801
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
13660
13802
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
13661
13803
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -13697,6 +13839,7 @@ class QueueProcessingFargateServiceProps(
|
|
|
13697
13839
|
:param visibility_timeout: Timeout of processing a single message. After dequeuing, the processor has this much time to handle the message and delete it from the queue before it becomes visible again for dequeueing by another processor. Values must be between 0 and (12 hours). If the queue construct is specified, visibilityTimeout should be omitted. Default: Duration.seconds(30)
|
|
13698
13840
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
13699
13841
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
13842
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
13700
13843
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
13701
13844
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
13702
13845
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -13770,6 +13913,7 @@ class QueueProcessingFargateServiceProps(
|
|
|
13770
13913
|
check_type(argname="argument visibility_timeout", value=visibility_timeout, expected_type=type_hints["visibility_timeout"])
|
|
13771
13914
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
13772
13915
|
check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
|
|
13916
|
+
check_type(argname="argument ephemeral_storage_gib", value=ephemeral_storage_gib, expected_type=type_hints["ephemeral_storage_gib"])
|
|
13773
13917
|
check_type(argname="argument memory_limit_mib", value=memory_limit_mib, expected_type=type_hints["memory_limit_mib"])
|
|
13774
13918
|
check_type(argname="argument platform_version", value=platform_version, expected_type=type_hints["platform_version"])
|
|
13775
13919
|
check_type(argname="argument runtime_platform", value=runtime_platform, expected_type=type_hints["runtime_platform"])
|
|
@@ -13838,6 +13982,8 @@ class QueueProcessingFargateServiceProps(
|
|
|
13838
13982
|
self._values["vpc"] = vpc
|
|
13839
13983
|
if cpu is not None:
|
|
13840
13984
|
self._values["cpu"] = cpu
|
|
13985
|
+
if ephemeral_storage_gib is not None:
|
|
13986
|
+
self._values["ephemeral_storage_gib"] = ephemeral_storage_gib
|
|
13841
13987
|
if memory_limit_mib is not None:
|
|
13842
13988
|
self._values["memory_limit_mib"] = memory_limit_mib
|
|
13843
13989
|
if platform_version is not None:
|
|
@@ -14191,6 +14337,19 @@ class QueueProcessingFargateServiceProps(
|
|
|
14191
14337
|
result = self._values.get("cpu")
|
|
14192
14338
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
14193
14339
|
|
|
14340
|
+
@builtins.property
|
|
14341
|
+
def ephemeral_storage_gib(self) -> typing.Optional[jsii.Number]:
|
|
14342
|
+
'''The amount (in GiB) of ephemeral storage to be allocated to the task.
|
|
14343
|
+
|
|
14344
|
+
The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB.
|
|
14345
|
+
|
|
14346
|
+
Only supported in Fargate platform version 1.4.0 or later.
|
|
14347
|
+
|
|
14348
|
+
:default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
14349
|
+
'''
|
|
14350
|
+
result = self._values.get("ephemeral_storage_gib")
|
|
14351
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
14352
|
+
|
|
14194
14353
|
@builtins.property
|
|
14195
14354
|
def memory_limit_mib(self) -> typing.Optional[jsii.Number]:
|
|
14196
14355
|
'''The amount (in MiB) of memory used by the task.
|
|
@@ -14906,6 +15065,7 @@ class ScheduledFargateTask(
|
|
|
14906
15065
|
tags: typing.Optional[typing.Sequence[typing.Union[_Tag_dc8ac6d2, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
14907
15066
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
14908
15067
|
cpu: typing.Optional[jsii.Number] = None,
|
|
15068
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
14909
15069
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
14910
15070
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
14911
15071
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -14928,6 +15088,7 @@ class ScheduledFargateTask(
|
|
|
14928
15088
|
:param tags: The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Default: - No tags are applied to the task
|
|
14929
15089
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
14930
15090
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
15091
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
14931
15092
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
14932
15093
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
14933
15094
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -14951,6 +15112,7 @@ class ScheduledFargateTask(
|
|
|
14951
15112
|
tags=tags,
|
|
14952
15113
|
vpc=vpc,
|
|
14953
15114
|
cpu=cpu,
|
|
15115
|
+
ephemeral_storage_gib=ephemeral_storage_gib,
|
|
14954
15116
|
memory_limit_mib=memory_limit_mib,
|
|
14955
15117
|
platform_version=platform_version,
|
|
14956
15118
|
runtime_platform=runtime_platform,
|
|
@@ -14982,6 +15144,7 @@ class ScheduledFargateTask(
|
|
|
14982
15144
|
"log_driver": "logDriver",
|
|
14983
15145
|
"secrets": "secrets",
|
|
14984
15146
|
"cpu": "cpu",
|
|
15147
|
+
"ephemeral_storage_gib": "ephemeralStorageGiB",
|
|
14985
15148
|
"memory_limit_mib": "memoryLimitMiB",
|
|
14986
15149
|
"platform_version": "platformVersion",
|
|
14987
15150
|
"runtime_platform": "runtimePlatform",
|
|
@@ -15001,6 +15164,7 @@ class ScheduledFargateTaskImageOptions(
|
|
|
15001
15164
|
log_driver: typing.Optional[_LogDriver_393a21bb] = None,
|
|
15002
15165
|
secrets: typing.Optional[typing.Mapping[builtins.str, _Secret_6be2f64f]] = None,
|
|
15003
15166
|
cpu: typing.Optional[jsii.Number] = None,
|
|
15167
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
15004
15168
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
15005
15169
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
15006
15170
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -15014,6 +15178,7 @@ class ScheduledFargateTaskImageOptions(
|
|
|
15014
15178
|
:param log_driver: The log driver to use. Default: - AwsLogDriver if enableLogging is true
|
|
15015
15179
|
:param secrets: The secret to expose to the container as an environment variable. Default: - No secret environment variables.
|
|
15016
15180
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
15181
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
15017
15182
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
15018
15183
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
15019
15184
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -15049,6 +15214,7 @@ class ScheduledFargateTaskImageOptions(
|
|
|
15049
15214
|
check_type(argname="argument log_driver", value=log_driver, expected_type=type_hints["log_driver"])
|
|
15050
15215
|
check_type(argname="argument secrets", value=secrets, expected_type=type_hints["secrets"])
|
|
15051
15216
|
check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
|
|
15217
|
+
check_type(argname="argument ephemeral_storage_gib", value=ephemeral_storage_gib, expected_type=type_hints["ephemeral_storage_gib"])
|
|
15052
15218
|
check_type(argname="argument memory_limit_mib", value=memory_limit_mib, expected_type=type_hints["memory_limit_mib"])
|
|
15053
15219
|
check_type(argname="argument platform_version", value=platform_version, expected_type=type_hints["platform_version"])
|
|
15054
15220
|
check_type(argname="argument runtime_platform", value=runtime_platform, expected_type=type_hints["runtime_platform"])
|
|
@@ -15066,6 +15232,8 @@ class ScheduledFargateTaskImageOptions(
|
|
|
15066
15232
|
self._values["secrets"] = secrets
|
|
15067
15233
|
if cpu is not None:
|
|
15068
15234
|
self._values["cpu"] = cpu
|
|
15235
|
+
if ephemeral_storage_gib is not None:
|
|
15236
|
+
self._values["ephemeral_storage_gib"] = ephemeral_storage_gib
|
|
15069
15237
|
if memory_limit_mib is not None:
|
|
15070
15238
|
self._values["memory_limit_mib"] = memory_limit_mib
|
|
15071
15239
|
if platform_version is not None:
|
|
@@ -15156,6 +15324,19 @@ class ScheduledFargateTaskImageOptions(
|
|
|
15156
15324
|
result = self._values.get("cpu")
|
|
15157
15325
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
15158
15326
|
|
|
15327
|
+
@builtins.property
|
|
15328
|
+
def ephemeral_storage_gib(self) -> typing.Optional[jsii.Number]:
|
|
15329
|
+
'''The amount (in GiB) of ephemeral storage to be allocated to the task.
|
|
15330
|
+
|
|
15331
|
+
The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB.
|
|
15332
|
+
|
|
15333
|
+
Only supported in Fargate platform version 1.4.0 or later.
|
|
15334
|
+
|
|
15335
|
+
:default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
15336
|
+
'''
|
|
15337
|
+
result = self._values.get("ephemeral_storage_gib")
|
|
15338
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
15339
|
+
|
|
15159
15340
|
@builtins.property
|
|
15160
15341
|
def memory_limit_mib(self) -> typing.Optional[jsii.Number]:
|
|
15161
15342
|
'''The amount (in MiB) of memory used by the task.
|
|
@@ -15244,6 +15425,7 @@ class ScheduledFargateTaskImageOptions(
|
|
|
15244
15425
|
"tags": "tags",
|
|
15245
15426
|
"vpc": "vpc",
|
|
15246
15427
|
"cpu": "cpu",
|
|
15428
|
+
"ephemeral_storage_gib": "ephemeralStorageGiB",
|
|
15247
15429
|
"memory_limit_mib": "memoryLimitMiB",
|
|
15248
15430
|
"platform_version": "platformVersion",
|
|
15249
15431
|
"runtime_platform": "runtimePlatform",
|
|
@@ -15267,6 +15449,7 @@ class ScheduledFargateTaskProps(ScheduledTaskBaseProps, FargateServiceBaseProps)
|
|
|
15267
15449
|
tags: typing.Optional[typing.Sequence[typing.Union[_Tag_dc8ac6d2, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
15268
15450
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
15269
15451
|
cpu: typing.Optional[jsii.Number] = None,
|
|
15452
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
15270
15453
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
15271
15454
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
15272
15455
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -15287,6 +15470,7 @@ class ScheduledFargateTaskProps(ScheduledTaskBaseProps, FargateServiceBaseProps)
|
|
|
15287
15470
|
:param tags: The metadata that you apply to the task to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Default: - No tags are applied to the task
|
|
15288
15471
|
:param vpc: The VPC where the container instances will be launched or the elastic network interfaces (ENIs) will be deployed. If a vpc is specified, the cluster construct should be omitted. Alternatively, you can omit both vpc and cluster. Default: - uses the VPC defined in the cluster or creates a new VPC.
|
|
15289
15472
|
:param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments 8192 (8 vCPU) - Available memory values: Between 16GB and 60GB in 4GB increments 16384 (16 vCPU) - Available memory values: Between 32GB and 120GB in 8GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256
|
|
15473
|
+
:param ephemeral_storage_gib: The amount (in GiB) of ephemeral storage to be allocated to the task. The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB. Only supported in Fargate platform version 1.4.0 or later. Default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
15290
15474
|
:param memory_limit_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which 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 16384 (16 GB) and 61440 (60 GB) in increments of 4096 (4 GB) - Available cpu values: 8192 (8 vCPU) Between 32768 (32 GB) and 122880 (120 GB) in increments of 8192 (8 GB) - Available cpu values: 16384 (16 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512
|
|
15291
15475
|
:param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
|
|
15292
15476
|
:param runtime_platform: The runtime platform of the task definition. Default: - If the property is undefined, ``operatingSystemFamily`` is LINUX and ``cpuArchitecture`` is X86_64
|
|
@@ -15335,6 +15519,7 @@ class ScheduledFargateTaskProps(ScheduledTaskBaseProps, FargateServiceBaseProps)
|
|
|
15335
15519
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
15336
15520
|
check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
|
|
15337
15521
|
check_type(argname="argument cpu", value=cpu, expected_type=type_hints["cpu"])
|
|
15522
|
+
check_type(argname="argument ephemeral_storage_gib", value=ephemeral_storage_gib, expected_type=type_hints["ephemeral_storage_gib"])
|
|
15338
15523
|
check_type(argname="argument memory_limit_mib", value=memory_limit_mib, expected_type=type_hints["memory_limit_mib"])
|
|
15339
15524
|
check_type(argname="argument platform_version", value=platform_version, expected_type=type_hints["platform_version"])
|
|
15340
15525
|
check_type(argname="argument runtime_platform", value=runtime_platform, expected_type=type_hints["runtime_platform"])
|
|
@@ -15364,6 +15549,8 @@ class ScheduledFargateTaskProps(ScheduledTaskBaseProps, FargateServiceBaseProps)
|
|
|
15364
15549
|
self._values["vpc"] = vpc
|
|
15365
15550
|
if cpu is not None:
|
|
15366
15551
|
self._values["cpu"] = cpu
|
|
15552
|
+
if ephemeral_storage_gib is not None:
|
|
15553
|
+
self._values["ephemeral_storage_gib"] = ephemeral_storage_gib
|
|
15367
15554
|
if memory_limit_mib is not None:
|
|
15368
15555
|
self._values["memory_limit_mib"] = memory_limit_mib
|
|
15369
15556
|
if platform_version is not None:
|
|
@@ -15510,6 +15697,19 @@ class ScheduledFargateTaskProps(ScheduledTaskBaseProps, FargateServiceBaseProps)
|
|
|
15510
15697
|
result = self._values.get("cpu")
|
|
15511
15698
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
15512
15699
|
|
|
15700
|
+
@builtins.property
|
|
15701
|
+
def ephemeral_storage_gib(self) -> typing.Optional[jsii.Number]:
|
|
15702
|
+
'''The amount (in GiB) of ephemeral storage to be allocated to the task.
|
|
15703
|
+
|
|
15704
|
+
The minimum supported value is ``21`` GiB and the maximum supported value is ``200`` GiB.
|
|
15705
|
+
|
|
15706
|
+
Only supported in Fargate platform version 1.4.0 or later.
|
|
15707
|
+
|
|
15708
|
+
:default: Undefined, in which case, the task will receive 20GiB ephemeral storage.
|
|
15709
|
+
'''
|
|
15710
|
+
result = self._values.get("ephemeral_storage_gib")
|
|
15711
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
15712
|
+
|
|
15513
15713
|
@builtins.property
|
|
15514
15714
|
def memory_limit_mib(self) -> typing.Optional[jsii.Number]:
|
|
15515
15715
|
'''The amount (in MiB) of memory used by the task.
|
|
@@ -15913,6 +16113,7 @@ def _typecheckingstub__71d73c2659fa1f33af684ebf8ddbca1ec7e44bab1dd25721962f3dd2e
|
|
|
15913
16113
|
def _typecheckingstub__be57306e3f86de996d7bf3938a60ebd3f8fd4e38da3fbde2b8a23f728f3a7ef7(
|
|
15914
16114
|
*,
|
|
15915
16115
|
cpu: typing.Optional[jsii.Number] = None,
|
|
16116
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
15916
16117
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
15917
16118
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
15918
16119
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16433,6 +16634,7 @@ def _typecheckingstub__52e4707f036e6b5ab8a12a1dd88ad78656d9ef102eb7d04caef957d69
|
|
|
16433
16634
|
task_image_options: typing.Optional[typing.Union[ApplicationLoadBalancedTaskImageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16434
16635
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16435
16636
|
cpu: typing.Optional[jsii.Number] = None,
|
|
16637
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
16436
16638
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
16437
16639
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
16438
16640
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16474,6 +16676,7 @@ def _typecheckingstub__cdcb8bd483faaddad588ad37d4527fa1a0028fc2307a21fc3690044a0
|
|
|
16474
16676
|
task_image_options: typing.Optional[typing.Union[ApplicationLoadBalancedTaskImageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16475
16677
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16476
16678
|
cpu: typing.Optional[jsii.Number] = None,
|
|
16679
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
16477
16680
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
16478
16681
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
16479
16682
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16554,6 +16757,7 @@ def _typecheckingstub__21d949e97492f7aeebbdedfda795498da7248be2cc48f01eb45a80ef9
|
|
|
16554
16757
|
task_image_options: typing.Optional[typing.Union[ApplicationLoadBalancedTaskImageProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16555
16758
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16556
16759
|
cpu: typing.Optional[jsii.Number] = None,
|
|
16760
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
16557
16761
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
16558
16762
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
16559
16763
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16577,6 +16781,7 @@ def _typecheckingstub__73b52f632d3e26b256f0a917de129f36c8484b906c75d27af3ae333c6
|
|
|
16577
16781
|
task_image_options: typing.Optional[typing.Union[ApplicationLoadBalancedTaskImageProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16578
16782
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16579
16783
|
cpu: typing.Optional[jsii.Number] = None,
|
|
16784
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
16580
16785
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
16581
16786
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
16582
16787
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16682,6 +16887,7 @@ def _typecheckingstub__633773eb8c5e71fd9d413b4600a4460d67ddbbf4f0d1ad414b05ab210
|
|
|
16682
16887
|
task_image_options: typing.Optional[typing.Union[NetworkLoadBalancedTaskImageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16683
16888
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16684
16889
|
cpu: typing.Optional[jsii.Number] = None,
|
|
16890
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
16685
16891
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
16686
16892
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
16687
16893
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16714,6 +16920,7 @@ def _typecheckingstub__883e3ba9ce3759b7fedc824d271d29edacc0ccdd564e943054039dc84
|
|
|
16714
16920
|
task_image_options: typing.Optional[typing.Union[NetworkLoadBalancedTaskImageOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16715
16921
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16716
16922
|
cpu: typing.Optional[jsii.Number] = None,
|
|
16923
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
16717
16924
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
16718
16925
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
16719
16926
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16792,6 +16999,7 @@ def _typecheckingstub__d0896ef010a141982cad4e6363ddf5474e1d63a5c38dc712f84a1d13e
|
|
|
16792
16999
|
task_image_options: typing.Optional[typing.Union[NetworkLoadBalancedTaskImageProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16793
17000
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16794
17001
|
cpu: typing.Optional[jsii.Number] = None,
|
|
17002
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
16795
17003
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
16796
17004
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
16797
17005
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16815,6 +17023,7 @@ def _typecheckingstub__052b2be34bb887cde358099c21efe7f3e968827a5a4e4c975e35f96da
|
|
|
16815
17023
|
task_image_options: typing.Optional[typing.Union[NetworkLoadBalancedTaskImageProps, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
16816
17024
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16817
17025
|
cpu: typing.Optional[jsii.Number] = None,
|
|
17026
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
16818
17027
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
16819
17028
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
16820
17029
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16946,6 +17155,7 @@ def _typecheckingstub__f7f1cc7ffec4414918cb71e7371c364ad046987205ab7eb0cbe7ad6fc
|
|
|
16946
17155
|
visibility_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
16947
17156
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16948
17157
|
cpu: typing.Optional[jsii.Number] = None,
|
|
17158
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
16949
17159
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
16950
17160
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
16951
17161
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -16985,6 +17195,7 @@ def _typecheckingstub__9959b47db027250927e99f3cbc475109465e4e426a52383adb8d29f22
|
|
|
16985
17195
|
visibility_timeout: typing.Optional[_Duration_4839e8c3] = None,
|
|
16986
17196
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
16987
17197
|
cpu: typing.Optional[jsii.Number] = None,
|
|
17198
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
16988
17199
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
16989
17200
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
16990
17201
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -17067,6 +17278,7 @@ def _typecheckingstub__15eedf0b4c0341f211d295e779c0f7ee21fa9c4c54661f567547054da
|
|
|
17067
17278
|
tags: typing.Optional[typing.Sequence[typing.Union[_Tag_dc8ac6d2, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17068
17279
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
17069
17280
|
cpu: typing.Optional[jsii.Number] = None,
|
|
17281
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
17070
17282
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
17071
17283
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
17072
17284
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -17083,6 +17295,7 @@ def _typecheckingstub__4a749e8e91135e4a7ff734b7c08ac37ec5bc550062036c75493dec950
|
|
|
17083
17295
|
log_driver: typing.Optional[_LogDriver_393a21bb] = None,
|
|
17084
17296
|
secrets: typing.Optional[typing.Mapping[builtins.str, _Secret_6be2f64f]] = None,
|
|
17085
17297
|
cpu: typing.Optional[jsii.Number] = None,
|
|
17298
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
17086
17299
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
17087
17300
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
17088
17301
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -17104,6 +17317,7 @@ def _typecheckingstub__f90096eb899a3c06d73ca9750fbecb38041c3e8d6b078cc4e3353aafd
|
|
|
17104
17317
|
tags: typing.Optional[typing.Sequence[typing.Union[_Tag_dc8ac6d2, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
17105
17318
|
vpc: typing.Optional[_IVpc_f30d5663] = None,
|
|
17106
17319
|
cpu: typing.Optional[jsii.Number] = None,
|
|
17320
|
+
ephemeral_storage_gib: typing.Optional[jsii.Number] = None,
|
|
17107
17321
|
memory_limit_mib: typing.Optional[jsii.Number] = None,
|
|
17108
17322
|
platform_version: typing.Optional[_FargatePlatformVersion_55d8be5c] = None,
|
|
17109
17323
|
runtime_platform: typing.Optional[typing.Union[_RuntimePlatform_5ed98a9c, typing.Dict[builtins.str, typing.Any]]] = None,
|