aws-cdk-lib 2.178.2__py3-none-any.whl → 2.180.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 +83 -41
- aws_cdk/_jsii/__init__.py +1 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.178.2.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +47 -0
- aws_cdk/aws_apigateway/__init__.py +176 -35
- aws_cdk/aws_apigatewayv2/__init__.py +151 -32
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +348 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +8 -8
- aws_cdk/aws_appsync/__init__.py +10 -7
- aws_cdk/aws_backup/__init__.py +89 -0
- aws_cdk/aws_batch/__init__.py +89 -50
- aws_cdk/aws_bedrock/__init__.py +506 -62
- aws_cdk/aws_cloudfront/__init__.py +1037 -146
- aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
- aws_cdk/aws_cloudtrail/__init__.py +4 -8
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +218 -2
- aws_cdk/aws_codepipeline/__init__.py +113 -28
- aws_cdk/aws_codepipeline_actions/__init__.py +554 -63
- aws_cdk/aws_codestar/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +676 -29
- aws_cdk/aws_connect/__init__.py +257 -0
- aws_cdk/aws_datasync/__init__.py +279 -50
- aws_cdk/aws_deadline/__init__.py +683 -6
- aws_cdk/aws_directoryservice/__init__.py +9 -4
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +0 -54
- aws_cdk/aws_ec2/__init__.py +402 -130
- aws_cdk/aws_ecs/__init__.py +28 -43
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +560 -182
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -27
- aws_cdk/aws_emrcontainers/__init__.py +44 -1
- aws_cdk/aws_events/__init__.py +17 -26
- aws_cdk/aws_events_targets/__init__.py +303 -16
- aws_cdk/aws_fms/__init__.py +5 -5
- aws_cdk/aws_fsx/__init__.py +5 -4
- aws_cdk/aws_glue/__init__.py +161 -0
- aws_cdk/aws_groundstation/__init__.py +23 -1
- aws_cdk/aws_iam/__init__.py +15 -15
- aws_cdk/aws_iot/__init__.py +7 -0
- aws_cdk/aws_ivs/__init__.py +254 -77
- aws_cdk/aws_kinesis/__init__.py +689 -35
- aws_cdk/aws_lambda/__init__.py +10 -15
- aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
- aws_cdk/aws_logs/__init__.py +62 -13
- aws_cdk/aws_medialive/__init__.py +314 -4
- aws_cdk/aws_opensearchserverless/__init__.py +19 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -9
- aws_cdk/aws_rds/__init__.py +246 -82
- aws_cdk/aws_s3/__init__.py +287 -9
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +228 -8
- aws_cdk/aws_ssm/__init__.py +4 -5
- aws_cdk/aws_stepfunctions/__init__.py +301 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +269 -163
- aws_cdk/aws_supportapp/__init__.py +7 -7
- aws_cdk/aws_transfer/__init__.py +820 -2
- aws_cdk/aws_wafv2/__init__.py +17 -9
- aws_cdk/custom_resources/__init__.py +23 -26
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/pipelines/__init__.py +2 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -2
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +69 -70
- aws_cdk/lambda_layer_kubectl/__init__.py +0 -107
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.178.2.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -7497,8 +7497,8 @@ class CfnCluster(
|
|
|
7497
7497
|
) -> None:
|
|
7498
7498
|
'''The managed storage configuration for the cluster.
|
|
7499
7499
|
|
|
7500
|
-
:param fargate_ephemeral_storage_kms_key_id: Specify the AWS Key Management Service key ID for the Fargate ephemeral storage.
|
|
7501
|
-
:param kms_key_id: Specify a AWS Key Management Service key ID to encrypt the managed storage.
|
|
7500
|
+
:param fargate_ephemeral_storage_kms_key_id: Specify the AWS Key Management Service key ID for the Fargate ephemeral storage. The key must be a single Region key.
|
|
7501
|
+
:param kms_key_id: Specify a AWS Key Management Service key ID to encrypt the managed storage. The key must be a single Region key.
|
|
7502
7502
|
|
|
7503
7503
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-managedstorageconfiguration.html
|
|
7504
7504
|
:exampleMetadata: fixture=_generated
|
|
@@ -7528,6 +7528,8 @@ class CfnCluster(
|
|
|
7528
7528
|
def fargate_ephemeral_storage_kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
7529
7529
|
'''Specify the AWS Key Management Service key ID for the Fargate ephemeral storage.
|
|
7530
7530
|
|
|
7531
|
+
The key must be a single Region key.
|
|
7532
|
+
|
|
7531
7533
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-managedstorageconfiguration.html#cfn-ecs-cluster-managedstorageconfiguration-fargateephemeralstoragekmskeyid
|
|
7532
7534
|
'''
|
|
7533
7535
|
result = self._values.get("fargate_ephemeral_storage_kms_key_id")
|
|
@@ -7537,6 +7539,8 @@ class CfnCluster(
|
|
|
7537
7539
|
def kms_key_id(self) -> typing.Optional[builtins.str]:
|
|
7538
7540
|
'''Specify a AWS Key Management Service key ID to encrypt the managed storage.
|
|
7539
7541
|
|
|
7542
|
+
The key must be a single Region key.
|
|
7543
|
+
|
|
7540
7544
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-managedstorageconfiguration.html#cfn-ecs-cluster-managedstorageconfiguration-kmskeyid
|
|
7541
7545
|
'''
|
|
7542
7546
|
result = self._values.get("kms_key_id")
|
|
@@ -8565,7 +8569,6 @@ class CfnService(
|
|
|
8565
8569
|
)]
|
|
8566
8570
|
)],
|
|
8567
8571
|
throughput=123,
|
|
8568
|
-
volume_initialization_rate=123,
|
|
8569
8572
|
volume_type="volumeType"
|
|
8570
8573
|
)
|
|
8571
8574
|
)],
|
|
@@ -8611,8 +8614,8 @@ class CfnService(
|
|
|
8611
8614
|
'''
|
|
8612
8615
|
:param scope: Scope in which this resource is defined.
|
|
8613
8616
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
8614
|
-
:param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the
|
|
8615
|
-
:param capacity_provider_strategy: The capacity provider strategy to use for the service. If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used. A capacity provider strategy
|
|
8617
|
+
:param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** . Default: - "DISABLED"
|
|
8618
|
+
:param capacity_provider_strategy: The capacity provider strategy to use for the service. If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used. A capacity provider strategy can contain a maximum of 20 capacity providers. .. epigraph:: To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
|
|
8616
8619
|
:param cluster: The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If you do not specify a cluster, the default cluster is assumed.
|
|
8617
8620
|
:param deployment_configuration: Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
|
|
8618
8621
|
:param deployment_controller: The deployment controller to use for the service. If no deployment controller is specified, the default value of ``ECS`` is used.
|
|
@@ -11075,7 +11078,6 @@ class CfnService(
|
|
|
11075
11078
|
"snapshot_id": "snapshotId",
|
|
11076
11079
|
"tag_specifications": "tagSpecifications",
|
|
11077
11080
|
"throughput": "throughput",
|
|
11078
|
-
"volume_initialization_rate": "volumeInitializationRate",
|
|
11079
11081
|
"volume_type": "volumeType",
|
|
11080
11082
|
},
|
|
11081
11083
|
)
|
|
@@ -11092,7 +11094,6 @@ class CfnService(
|
|
|
11092
11094
|
snapshot_id: typing.Optional[builtins.str] = None,
|
|
11093
11095
|
tag_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnService.EBSTagSpecificationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
11094
11096
|
throughput: typing.Optional[jsii.Number] = None,
|
|
11095
|
-
volume_initialization_rate: typing.Optional[jsii.Number] = None,
|
|
11096
11097
|
volume_type: typing.Optional[builtins.str] = None,
|
|
11097
11098
|
) -> None:
|
|
11098
11099
|
'''The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf.
|
|
@@ -11110,7 +11111,6 @@ class CfnService(
|
|
|
11110
11111
|
:param snapshot_id: The snapshot that Amazon ECS uses to create the volume. You must specify either a snapshot ID or a volume size. This parameter maps 1:1 with the ``SnapshotId`` parameter of the `CreateVolume API <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html>`_ in the *Amazon EC2 API Reference* .
|
|
11111
11112
|
:param tag_specifications: The tags to apply to the volume. Amazon ECS applies service-managed tags by default. This parameter maps 1:1 with the ``TagSpecifications.N`` parameter of the `CreateVolume API <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html>`_ in the *Amazon EC2 API Reference* .
|
|
11112
11113
|
:param throughput: The throughput to provision for a volume, in MiB/s, with a maximum of 1,000 MiB/s. This parameter maps 1:1 with the ``Throughput`` parameter of the `CreateVolume API <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html>`_ in the *Amazon EC2 API Reference* . .. epigraph:: This parameter is only supported for the ``gp3`` volume type.
|
|
11113
|
-
:param volume_initialization_rate:
|
|
11114
11114
|
:param volume_type: The volume type. This parameter maps 1:1 with the ``VolumeType`` parameter of the `CreateVolume API <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html>`_ in the *Amazon EC2 API Reference* . For more information, see `Amazon EBS volume types <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html>`_ in the *Amazon EC2 User Guide* . The following are the supported volume types. - General Purpose SSD: ``gp2`` | ``gp3`` - Provisioned IOPS SSD: ``io1`` | ``io2`` - Throughput Optimized HDD: ``st1`` - Cold HDD: ``sc1`` - Magnetic: ``standard`` .. epigraph:: The magnetic volume type is not supported on Fargate.
|
|
11115
11115
|
|
|
11116
11116
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-servicemanagedebsvolumeconfiguration.html
|
|
@@ -11143,7 +11143,6 @@ class CfnService(
|
|
|
11143
11143
|
)]
|
|
11144
11144
|
)],
|
|
11145
11145
|
throughput=123,
|
|
11146
|
-
volume_initialization_rate=123,
|
|
11147
11146
|
volume_type="volumeType"
|
|
11148
11147
|
)
|
|
11149
11148
|
'''
|
|
@@ -11158,7 +11157,6 @@ class CfnService(
|
|
|
11158
11157
|
check_type(argname="argument snapshot_id", value=snapshot_id, expected_type=type_hints["snapshot_id"])
|
|
11159
11158
|
check_type(argname="argument tag_specifications", value=tag_specifications, expected_type=type_hints["tag_specifications"])
|
|
11160
11159
|
check_type(argname="argument throughput", value=throughput, expected_type=type_hints["throughput"])
|
|
11161
|
-
check_type(argname="argument volume_initialization_rate", value=volume_initialization_rate, expected_type=type_hints["volume_initialization_rate"])
|
|
11162
11160
|
check_type(argname="argument volume_type", value=volume_type, expected_type=type_hints["volume_type"])
|
|
11163
11161
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
11164
11162
|
"role_arn": role_arn,
|
|
@@ -11179,8 +11177,6 @@ class CfnService(
|
|
|
11179
11177
|
self._values["tag_specifications"] = tag_specifications
|
|
11180
11178
|
if throughput is not None:
|
|
11181
11179
|
self._values["throughput"] = throughput
|
|
11182
|
-
if volume_initialization_rate is not None:
|
|
11183
|
-
self._values["volume_initialization_rate"] = volume_initialization_rate
|
|
11184
11180
|
if volume_type is not None:
|
|
11185
11181
|
self._values["volume_type"] = volume_type
|
|
11186
11182
|
|
|
@@ -11315,14 +11311,6 @@ class CfnService(
|
|
|
11315
11311
|
result = self._values.get("throughput")
|
|
11316
11312
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
11317
11313
|
|
|
11318
|
-
@builtins.property
|
|
11319
|
-
def volume_initialization_rate(self) -> typing.Optional[jsii.Number]:
|
|
11320
|
-
'''
|
|
11321
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-servicemanagedebsvolumeconfiguration.html#cfn-ecs-service-servicemanagedebsvolumeconfiguration-volumeinitializationrate
|
|
11322
|
-
'''
|
|
11323
|
-
result = self._values.get("volume_initialization_rate")
|
|
11324
|
-
return typing.cast(typing.Optional[jsii.Number], result)
|
|
11325
|
-
|
|
11326
11314
|
@builtins.property
|
|
11327
11315
|
def volume_type(self) -> typing.Optional[builtins.str]:
|
|
11328
11316
|
'''The volume type.
|
|
@@ -11527,7 +11515,6 @@ class CfnService(
|
|
|
11527
11515
|
)]
|
|
11528
11516
|
)],
|
|
11529
11517
|
throughput=123,
|
|
11530
|
-
volume_initialization_rate=123,
|
|
11531
11518
|
volume_type="volumeType"
|
|
11532
11519
|
)
|
|
11533
11520
|
)
|
|
@@ -11821,8 +11808,8 @@ class CfnServiceProps:
|
|
|
11821
11808
|
) -> None:
|
|
11822
11809
|
'''Properties for defining a ``CfnService``.
|
|
11823
11810
|
|
|
11824
|
-
:param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the
|
|
11825
|
-
:param capacity_provider_strategy: The capacity provider strategy to use for the service. If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used. A capacity provider strategy
|
|
11811
|
+
:param availability_zone_rebalancing: Indicates whether to use Availability Zone rebalancing for the service. For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** . Default: - "DISABLED"
|
|
11812
|
+
:param capacity_provider_strategy: The capacity provider strategy to use for the service. If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used. A capacity provider strategy can contain a maximum of 20 capacity providers. .. epigraph:: To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
|
|
11826
11813
|
:param cluster: The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. If you do not specify a cluster, the default cluster is assumed.
|
|
11827
11814
|
:param deployment_configuration: Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
|
|
11828
11815
|
:param deployment_controller: The deployment controller to use for the service. If no deployment controller is specified, the default value of ``ECS`` is used.
|
|
@@ -11993,7 +11980,6 @@ class CfnServiceProps:
|
|
|
11993
11980
|
)]
|
|
11994
11981
|
)],
|
|
11995
11982
|
throughput=123,
|
|
11996
|
-
volume_initialization_rate=123,
|
|
11997
11983
|
volume_type="volumeType"
|
|
11998
11984
|
)
|
|
11999
11985
|
)],
|
|
@@ -12087,7 +12073,7 @@ class CfnServiceProps:
|
|
|
12087
12073
|
def availability_zone_rebalancing(self) -> typing.Optional[builtins.str]:
|
|
12088
12074
|
'''Indicates whether to use Availability Zone rebalancing for the service.
|
|
12089
12075
|
|
|
12090
|
-
For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the
|
|
12076
|
+
For more information, see `Balancing an Amazon ECS service across Availability Zones <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html>`_ in the **Amazon Elastic Container Service Developer Guide** .
|
|
12091
12077
|
|
|
12092
12078
|
:default: - "DISABLED"
|
|
12093
12079
|
|
|
@@ -12104,7 +12090,7 @@ class CfnServiceProps:
|
|
|
12104
12090
|
|
|
12105
12091
|
If a ``capacityProviderStrategy`` is specified, the ``launchType`` parameter must be omitted. If no ``capacityProviderStrategy`` or ``launchType`` is specified, the ``defaultCapacityProviderStrategy`` for the cluster is used.
|
|
12106
12092
|
|
|
12107
|
-
A capacity provider strategy
|
|
12093
|
+
A capacity provider strategy can contain a maximum of 20 capacity providers.
|
|
12108
12094
|
.. epigraph::
|
|
12109
12095
|
|
|
12110
12096
|
To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
|
|
@@ -15198,10 +15184,10 @@ class CfnTaskDefinition(
|
|
|
15198
15184
|
- Container health checks are not supported for tasks that are part of a service that is configured to use a Classic Load Balancer.
|
|
15199
15185
|
|
|
15200
15186
|
:param command: A string array representing the command that the container runs to determine if it is healthy. The string array must start with ``CMD`` to run the command arguments directly, or ``CMD-SHELL`` to run the command with the container's default shell. When you use the AWS Management Console JSON panel, the AWS Command Line Interface , or the APIs, enclose the list of commands in double quotes and brackets. ``[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]`` You don't include the double quotes and brackets when you use the AWS Management Console. ``CMD-SHELL, curl -f http://localhost/ || exit 1`` An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see ``HealthCheck`` in the docker container create command.
|
|
15201
|
-
:param interval: The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.
|
|
15202
|
-
:param retries: The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is 3.
|
|
15203
|
-
:param start_period: The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You can specify between 0 and 300 seconds. By default, the ``startPeriod`` is off. .. epigraph:: If a health check succeeds within the ``startPeriod`` , then the container is considered healthy and any subsequent failures count toward the maximum number of retries.
|
|
15204
|
-
:param timeout: The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5.
|
|
15187
|
+
:param interval: The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds. This value applies only when you specify a ``command`` .
|
|
15188
|
+
:param retries: The number of times to retry a failed health check before the container is considered unhealthy. You may specify between 1 and 10 retries. The default value is 3. This value applies only when you specify a ``command`` .
|
|
15189
|
+
:param start_period: The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You can specify between 0 and 300 seconds. By default, the ``startPeriod`` is off. This value applies only when you specify a ``command`` . .. epigraph:: If a health check succeeds within the ``startPeriod`` , then the container is considered healthy and any subsequent failures count toward the maximum number of retries.
|
|
15190
|
+
:param timeout: The time period in seconds to wait for a health check to succeed before it is considered a failure. You may specify between 2 and 60 seconds. The default value is 5. This value applies only when you specify a ``command`` .
|
|
15205
15191
|
|
|
15206
15192
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html
|
|
15207
15193
|
:exampleMetadata: fixture=_generated
|
|
@@ -15264,7 +15250,7 @@ class CfnTaskDefinition(
|
|
|
15264
15250
|
def interval(self) -> typing.Optional[jsii.Number]:
|
|
15265
15251
|
'''The time period in seconds between each health check execution.
|
|
15266
15252
|
|
|
15267
|
-
You may specify between 5 and 300 seconds. The default value is 30 seconds.
|
|
15253
|
+
You may specify between 5 and 300 seconds. The default value is 30 seconds. This value applies only when you specify a ``command`` .
|
|
15268
15254
|
|
|
15269
15255
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-interval
|
|
15270
15256
|
'''
|
|
@@ -15275,7 +15261,7 @@ class CfnTaskDefinition(
|
|
|
15275
15261
|
def retries(self) -> typing.Optional[jsii.Number]:
|
|
15276
15262
|
'''The number of times to retry a failed health check before the container is considered unhealthy.
|
|
15277
15263
|
|
|
15278
|
-
You may specify between 1 and 10 retries. The default value is 3.
|
|
15264
|
+
You may specify between 1 and 10 retries. The default value is 3. This value applies only when you specify a ``command`` .
|
|
15279
15265
|
|
|
15280
15266
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-retries
|
|
15281
15267
|
'''
|
|
@@ -15286,7 +15272,7 @@ class CfnTaskDefinition(
|
|
|
15286
15272
|
def start_period(self) -> typing.Optional[jsii.Number]:
|
|
15287
15273
|
'''The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries.
|
|
15288
15274
|
|
|
15289
|
-
You can specify between 0 and 300 seconds. By default, the ``startPeriod`` is off.
|
|
15275
|
+
You can specify between 0 and 300 seconds. By default, the ``startPeriod`` is off. This value applies only when you specify a ``command`` .
|
|
15290
15276
|
.. epigraph::
|
|
15291
15277
|
|
|
15292
15278
|
If a health check succeeds within the ``startPeriod`` , then the container is considered healthy and any subsequent failures count toward the maximum number of retries.
|
|
@@ -15300,7 +15286,7 @@ class CfnTaskDefinition(
|
|
|
15300
15286
|
def timeout(self) -> typing.Optional[jsii.Number]:
|
|
15301
15287
|
'''The time period in seconds to wait for a health check to succeed before it is considered a failure.
|
|
15302
15288
|
|
|
15303
|
-
You may specify between 2 and 60 seconds. The default value is 5.
|
|
15289
|
+
You may specify between 2 and 60 seconds. The default value is 5. This value applies only when you specify a ``command`` .
|
|
15304
15290
|
|
|
15305
15291
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-timeout
|
|
15306
15292
|
'''
|
|
@@ -42199,7 +42185,7 @@ class ExternalService(
|
|
|
42199
42185
|
container: typing.Optional[ContainerDefinition] = None,
|
|
42200
42186
|
container_port: typing.Optional[jsii.Number] = None,
|
|
42201
42187
|
) -> None:
|
|
42202
|
-
'''
|
|
42188
|
+
'''Overridden method to throw error as ``associateCloudMapService`` is not supported for external service.
|
|
42203
42189
|
|
|
42204
42190
|
:param service: The cloudmap service to register with.
|
|
42205
42191
|
:param container: The container to point to for a SRV record. Default: - the task definition's default container
|
|
@@ -42216,7 +42202,7 @@ class ExternalService(
|
|
|
42216
42202
|
self,
|
|
42217
42203
|
_target_group: _IApplicationTargetGroup_57799827,
|
|
42218
42204
|
) -> _LoadBalancerTargetProps_4c30a73c:
|
|
42219
|
-
'''
|
|
42205
|
+
'''Overridden method to throw error as ``attachToApplicationTargetGroup`` is not supported for external service.
|
|
42220
42206
|
|
|
42221
42207
|
:param _target_group: -
|
|
42222
42208
|
'''
|
|
@@ -42232,7 +42218,7 @@ class ExternalService(
|
|
|
42232
42218
|
max_capacity: jsii.Number,
|
|
42233
42219
|
min_capacity: typing.Optional[jsii.Number] = None,
|
|
42234
42220
|
) -> ScalableTaskCount:
|
|
42235
|
-
'''
|
|
42221
|
+
'''Overridden method to throw error as ``autoScaleTaskCount`` is not supported for external service.
|
|
42236
42222
|
|
|
42237
42223
|
:param max_capacity: Maximum capacity to scale to.
|
|
42238
42224
|
:param min_capacity: Minimum capacity to scale to. Default: 1
|
|
@@ -42251,7 +42237,7 @@ class ExternalService(
|
|
|
42251
42237
|
_vpc_subnets: typing.Optional[typing.Union[_SubnetSelection_e57d76df, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
42252
42238
|
_security_groups: typing.Optional[typing.Sequence[_ISecurityGroup_acf8a799]] = None,
|
|
42253
42239
|
) -> None:
|
|
42254
|
-
'''
|
|
42240
|
+
'''Overridden method to throw error as ``configureAwsVpcNetworkingWithSecurityGroups`` is not supported for external service.
|
|
42255
42241
|
|
|
42256
42242
|
:param _vpc: -
|
|
42257
42243
|
:param _assign_public_ip: -
|
|
@@ -42278,7 +42264,7 @@ class ExternalService(
|
|
|
42278
42264
|
failure_threshold: typing.Optional[jsii.Number] = None,
|
|
42279
42265
|
name: typing.Optional[builtins.str] = None,
|
|
42280
42266
|
) -> _Service_4cf2b7a6:
|
|
42281
|
-
'''
|
|
42267
|
+
'''Overridden method to throw error as ``enableCloudMap`` is not supported for external service.
|
|
42282
42268
|
|
|
42283
42269
|
:param cloud_map_namespace: The service discovery namespace for the Cloud Map service to attach to the ECS service. Default: - the defaultCloudMapNamespace associated to the cluster
|
|
42284
42270
|
:param container: The container to point to for a SRV record. Default: - the task definition's default container
|
|
@@ -42308,7 +42294,7 @@ class ExternalService(
|
|
|
42308
42294
|
container_port: typing.Optional[jsii.Number] = None,
|
|
42309
42295
|
protocol: typing.Optional[Protocol] = None,
|
|
42310
42296
|
) -> IEcsLoadBalancerTarget:
|
|
42311
|
-
'''
|
|
42297
|
+
'''Overridden method to throw error as ``loadBalancerTarget`` is not supported for external service.
|
|
42312
42298
|
|
|
42313
42299
|
:param container_name: The name of the container.
|
|
42314
42300
|
:param container_port: The port number of the container. Only applicable when using application/network load balancers. Default: - Container port of the first added port mapping.
|
|
@@ -42324,7 +42310,7 @@ class ExternalService(
|
|
|
42324
42310
|
|
|
42325
42311
|
@jsii.member(jsii_name="registerLoadBalancerTargets")
|
|
42326
42312
|
def register_load_balancer_targets(self, *_targets: EcsTarget) -> None:
|
|
42327
|
-
'''
|
|
42313
|
+
'''Overridden method to throw error as ``registerLoadBalancerTargets`` is not supported for external service.
|
|
42328
42314
|
|
|
42329
42315
|
:param _targets: -
|
|
42330
42316
|
'''
|
|
@@ -42459,7 +42445,7 @@ class ExternalTaskDefinition(
|
|
|
42459
42445
|
device_name: typing.Optional[builtins.str] = None,
|
|
42460
42446
|
device_type: typing.Optional[builtins.str] = None,
|
|
42461
42447
|
) -> None:
|
|
42462
|
-
'''
|
|
42448
|
+
'''Overridden method to throw error as interface accelerators are not supported for external tasks.
|
|
42463
42449
|
|
|
42464
42450
|
:param device_name: The Elastic Inference accelerator device name. Default: - empty
|
|
42465
42451
|
:param device_type: The Elastic Inference accelerator type to use. The allowed values are: eia2.medium, eia2.large and eia2.xlarge. Default: - empty
|
|
@@ -44013,7 +43999,6 @@ def _typecheckingstub__dfccfa8c4140c61b1030fe8ed564cee115f38fe8144d5ff6ac1654634
|
|
|
44013
43999
|
snapshot_id: typing.Optional[builtins.str] = None,
|
|
44014
44000
|
tag_specifications: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnService.EBSTagSpecificationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
44015
44001
|
throughput: typing.Optional[jsii.Number] = None,
|
|
44016
|
-
volume_initialization_rate: typing.Optional[jsii.Number] = None,
|
|
44017
44002
|
volume_type: typing.Optional[builtins.str] = None,
|
|
44018
44003
|
) -> None:
|
|
44019
44004
|
"""Type checking stubs"""
|
aws_cdk/aws_efs/__init__.py
CHANGED
|
@@ -4419,7 +4419,7 @@ class ReplicationConfigurationProps:
|
|
|
4419
4419
|
class ReplicationOverwriteProtection(enum.Enum):
|
|
4420
4420
|
'''The status of the file system's replication overwrite protection.
|
|
4421
4421
|
|
|
4422
|
-
:see: https://docs.aws.amazon.com/
|
|
4422
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-filesystemprotection.html
|
|
4423
4423
|
:exampleMetadata: infused
|
|
4424
4424
|
|
|
4425
4425
|
Example::
|