aws-cdk-lib 2.179.0__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.

Files changed (62) hide show
  1. aws_cdk/__init__.py +14 -6
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.179.0.jsii.tgz → aws-cdk-lib@2.180.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +47 -0
  5. aws_cdk/aws_apigateway/__init__.py +6 -6
  6. aws_cdk/aws_appsync/__init__.py +4 -3
  7. aws_cdk/aws_backup/__init__.py +89 -0
  8. aws_cdk/aws_batch/__init__.py +89 -50
  9. aws_cdk/aws_bedrock/__init__.py +506 -62
  10. aws_cdk/aws_cloudfront/__init__.py +1046 -155
  11. aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
  12. aws_cdk/aws_cloudtrail/__init__.py +4 -8
  13. aws_cdk/aws_cloudwatch/__init__.py +1 -1
  14. aws_cdk/aws_codebuild/__init__.py +2 -2
  15. aws_cdk/aws_codepipeline/__init__.py +24 -0
  16. aws_cdk/aws_codepipeline_actions/__init__.py +28 -1
  17. aws_cdk/aws_codestar/__init__.py +2 -1
  18. aws_cdk/aws_cognito/__init__.py +0 -9
  19. aws_cdk/aws_connect/__init__.py +257 -0
  20. aws_cdk/aws_datasync/__init__.py +279 -50
  21. aws_cdk/aws_deadline/__init__.py +683 -6
  22. aws_cdk/aws_directoryservice/__init__.py +9 -4
  23. aws_cdk/aws_dlm/__init__.py +2 -2
  24. aws_cdk/aws_dms/__init__.py +3 -3
  25. aws_cdk/aws_dynamodb/__init__.py +0 -54
  26. aws_cdk/aws_ec2/__init__.py +377 -121
  27. aws_cdk/aws_ecs/__init__.py +20 -35
  28. aws_cdk/aws_efs/__init__.py +1 -1
  29. aws_cdk/aws_eks/__init__.py +5 -3
  30. aws_cdk/aws_elasticloadbalancingv2/__init__.py +13 -27
  31. aws_cdk/aws_emrcontainers/__init__.py +44 -1
  32. aws_cdk/aws_events/__init__.py +8 -11
  33. aws_cdk/aws_fms/__init__.py +5 -5
  34. aws_cdk/aws_fsx/__init__.py +5 -4
  35. aws_cdk/aws_glue/__init__.py +161 -0
  36. aws_cdk/aws_groundstation/__init__.py +23 -1
  37. aws_cdk/aws_iam/__init__.py +12 -12
  38. aws_cdk/aws_iot/__init__.py +7 -0
  39. aws_cdk/aws_ivs/__init__.py +17 -8
  40. aws_cdk/aws_kinesis/__init__.py +689 -35
  41. aws_cdk/aws_lambda/__init__.py +10 -15
  42. aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
  43. aws_cdk/aws_medialive/__init__.py +314 -4
  44. aws_cdk/aws_opensearchserverless/__init__.py +19 -0
  45. aws_cdk/aws_rds/__init__.py +78 -58
  46. aws_cdk/aws_s3/__init__.py +278 -0
  47. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  48. aws_cdk/aws_ses/__init__.py +228 -8
  49. aws_cdk/aws_ssm/__init__.py +4 -5
  50. aws_cdk/aws_stepfunctions/__init__.py +301 -70
  51. aws_cdk/aws_stepfunctions_tasks/__init__.py +142 -142
  52. aws_cdk/aws_supportapp/__init__.py +7 -7
  53. aws_cdk/aws_transfer/__init__.py +820 -2
  54. aws_cdk/aws_wafv2/__init__.py +17 -9
  55. aws_cdk/custom_resources/__init__.py +23 -26
  56. aws_cdk/cx_api/__init__.py +16 -0
  57. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/METADATA +1 -1
  58. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/RECORD +62 -62
  59. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.180.0.dist-info}/top_level.txt +0 -0
@@ -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 *Amazon Elastic Container Service Developer Guide* . Default: - "DISABLED"
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 may contain a maximum of 6 capacity providers. .. epigraph:: To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
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 *Amazon Elastic Container Service Developer Guide* . Default: - "DISABLED"
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 may contain a maximum of 6 capacity providers. .. epigraph:: To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
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 *Amazon Elastic Container Service Developer Guide* .
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 may contain a maximum of 6 capacity providers.
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
  '''
@@ -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"""
@@ -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/ja_jp/AWSCloudFormation/latest/UserGuide/aws-properties-efs-filesystem-filesystemprotection.html
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::
@@ -10418,7 +10418,7 @@ class CfnNodegroup(
10418
10418
 
10419
10419
  :param max_unavailable: The maximum number of nodes unavailable at once during a version update. Nodes are updated in parallel. This value or ``maxUnavailablePercentage`` is required to have a value.The maximum number is 100.
10420
10420
  :param max_unavailable_percentage: The maximum percentage of nodes unavailable during a version update. This percentage of nodes are updated in parallel, up to 100 nodes at once. This value or ``maxUnavailable`` is required to have a value.
10421
- :param update_strategy: The configuration for the behavior to follow during an node group version update of this managed node group. You choose between two possible strategies for replacing nodes during an UpdateNodegroupVersion action.
10421
+ :param update_strategy: The configuration for the behavior to follow during a node group version update of this managed node group. You choose between two possible strategies for replacing nodes during an ```UpdateNodegroupVersion`` <https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateNodegroupVersion.html>`_ action. An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI versions in parallel. The *update strategy* changes the managed node update behavior of the managed node group for each quantity. The *default* strategy has guardrails to protect you from misconfiguration and launches the new instances first, before terminating the old instances. The *minimal* strategy removes the guardrails and terminates the old instances before launching the new instances. This minimal strategy is useful in scenarios where you are constrained to resources or costs (for example, with hardware accelerators such as GPUs).
10422
10422
 
10423
10423
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html
10424
10424
  :exampleMetadata: fixture=_generated
@@ -10472,9 +10472,11 @@ class CfnNodegroup(
10472
10472
 
10473
10473
  @builtins.property
10474
10474
  def update_strategy(self) -> typing.Optional[builtins.str]:
10475
- '''The configuration for the behavior to follow during an node group version update of this managed node group.
10475
+ '''The configuration for the behavior to follow during a node group version update of this managed node group.
10476
10476
 
10477
- You choose between two possible strategies for replacing nodes during an UpdateNodegroupVersion action.
10477
+ You choose between two possible strategies for replacing nodes during an ```UpdateNodegroupVersion`` <https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateNodegroupVersion.html>`_ action.
10478
+
10479
+ An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI versions in parallel. The *update strategy* changes the managed node update behavior of the managed node group for each quantity. The *default* strategy has guardrails to protect you from misconfiguration and launches the new instances first, before terminating the old instances. The *minimal* strategy removes the guardrails and terminates the old instances before launching the new instances. This minimal strategy is useful in scenarios where you are constrained to resources or costs (for example, with hardware accelerators such as GPUs).
10478
10480
 
10479
10481
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html#cfn-eks-nodegroup-updateconfig-updatestrategy
10480
10482
  '''
@@ -5018,11 +5018,11 @@ class CfnListener(
5018
5018
  mode: typing.Optional[builtins.str] = None,
5019
5019
  trust_store_arn: typing.Optional[builtins.str] = None,
5020
5020
  ) -> None:
5021
- '''Specifies the configuration information for mutual authentication.
5021
+ '''The mutual authentication configuration information.
5022
5022
 
5023
- :param advertise_trust_store_ca_names:
5023
+ :param advertise_trust_store_ca_names: Indicates whether trust store CA certificate names are advertised. The default value is ``off`` .
5024
5024
  :param ignore_client_certificate_expiry: Indicates whether expired client certificates are ignored.
5025
- :param mode: The client certificate handling method. Options are ``off`` , ``passthrough`` or ``verify`` . The default value is ``off`` .
5025
+ :param mode: The client certificate handling method. The possible values are ``off`` , ``passthrough`` , and ``verify`` . The default value is ``off`` .
5026
5026
  :param trust_store_arn: The Amazon Resource Name (ARN) of the trust store.
5027
5027
 
5028
5028
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-mutualauthentication.html
@@ -5059,7 +5059,10 @@ class CfnListener(
5059
5059
 
5060
5060
  @builtins.property
5061
5061
  def advertise_trust_store_ca_names(self) -> typing.Optional[builtins.str]:
5062
- '''
5062
+ '''Indicates whether trust store CA certificate names are advertised.
5063
+
5064
+ The default value is ``off`` .
5065
+
5063
5066
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-mutualauthentication.html#cfn-elasticloadbalancingv2-listener-mutualauthentication-advertisetruststorecanames
5064
5067
  '''
5065
5068
  result = self._values.get("advertise_trust_store_ca_names")
@@ -5080,7 +5083,7 @@ class CfnListener(
5080
5083
  def mode(self) -> typing.Optional[builtins.str]:
5081
5084
  '''The client certificate handling method.
5082
5085
 
5083
- Options are ``off`` , ``passthrough`` or ``verify`` . The default value is ``off`` .
5086
+ The possible values are ``off`` , ``passthrough`` , and ``verify`` . The default value is ``off`` .
5084
5087
 
5085
5088
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-mutualauthentication.html#cfn-elasticloadbalancingv2-listener-mutualauthentication-mode
5086
5089
  '''
@@ -23725,35 +23728,18 @@ class ApplicationLoadBalancer(
23725
23728
 
23726
23729
  Example::
23727
23730
 
23728
- from aws_cdk.aws_autoscaling import AutoScalingGroup
23729
- # asg: AutoScalingGroup
23730
23731
  # vpc: ec2.Vpc
23731
23732
 
23732
23733
 
23733
- # Create the load balancer in a VPC. 'internetFacing' is 'false'
23734
- # by default, which creates an internal load balancer.
23734
+ security_group1 = ec2.SecurityGroup(self, "SecurityGroup1", vpc=vpc)
23735
23735
  lb = elbv2.ApplicationLoadBalancer(self, "LB",
23736
23736
  vpc=vpc,
23737
- internet_facing=True
23738
- )
23739
-
23740
- # Add a listener and open up the load balancer's security group
23741
- # to the world.
23742
- listener = lb.add_listener("Listener",
23743
- port=80,
23744
-
23745
- # 'open: true' is the default, you can leave it out if you want. Set it
23746
- # to 'false' and use `listener.connections` if you want to be selective
23747
- # about who can access the load balancer.
23748
- open=True
23737
+ internet_facing=True,
23738
+ security_group=security_group1
23749
23739
  )
23750
23740
 
23751
- # Create an AutoScaling group and add it as a load balancing
23752
- # target to the listener.
23753
- listener.add_targets("ApplicationFleet",
23754
- port=8080,
23755
- targets=[asg]
23756
- )
23741
+ security_group2 = ec2.SecurityGroup(self, "SecurityGroup2", vpc=vpc)
23742
+ lb.add_security_group(security_group2)
23757
23743
  '''
23758
23744
 
23759
23745
  def __init__(
@@ -102,6 +102,7 @@ class CfnVirtualCluster(
102
102
  name="name",
103
103
 
104
104
  # the properties below are optional
105
+ security_configuration_id="securityConfigurationId",
105
106
  tags=[CfnTag(
106
107
  key="key",
107
108
  value="value"
@@ -116,6 +117,7 @@ class CfnVirtualCluster(
116
117
  *,
117
118
  container_provider: typing.Union[_IResolvable_da3f097b, typing.Union["CfnVirtualCluster.ContainerProviderProperty", typing.Dict[builtins.str, typing.Any]]],
118
119
  name: builtins.str,
120
+ security_configuration_id: typing.Optional[builtins.str] = None,
119
121
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
120
122
  ) -> None:
121
123
  '''
@@ -123,6 +125,7 @@ class CfnVirtualCluster(
123
125
  :param id: Construct identifier for this resource (unique in its scope).
124
126
  :param container_provider: The container provider of the virtual cluster.
125
127
  :param name: The name of the virtual cluster.
128
+ :param security_configuration_id: The ID of the security configuration.
126
129
  :param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
127
130
  '''
128
131
  if __debug__:
@@ -130,7 +133,10 @@ class CfnVirtualCluster(
130
133
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
131
134
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
132
135
  props = CfnVirtualClusterProps(
133
- container_provider=container_provider, name=name, tags=tags
136
+ container_provider=container_provider,
137
+ name=name,
138
+ security_configuration_id=security_configuration_id,
139
+ tags=tags,
134
140
  )
135
141
 
136
142
  jsii.create(self.__class__, self, [scope, id, props])
@@ -225,6 +231,19 @@ class CfnVirtualCluster(
225
231
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
226
232
  jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
227
233
 
234
+ @builtins.property
235
+ @jsii.member(jsii_name="securityConfigurationId")
236
+ def security_configuration_id(self) -> typing.Optional[builtins.str]:
237
+ '''The ID of the security configuration.'''
238
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "securityConfigurationId"))
239
+
240
+ @security_configuration_id.setter
241
+ def security_configuration_id(self, value: typing.Optional[builtins.str]) -> None:
242
+ if __debug__:
243
+ type_hints = typing.get_type_hints(_typecheckingstub__d05d102efa2c9eb1d454519ceade8e11615a54a4a6a9f26f4883e2051aa27414)
244
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
245
+ jsii.set(self, "securityConfigurationId", value) # pyright: ignore[reportArgumentType]
246
+
228
247
  @builtins.property
229
248
  @jsii.member(jsii_name="tagsRaw")
230
249
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -463,6 +482,7 @@ class CfnVirtualCluster(
463
482
  name_mapping={
464
483
  "container_provider": "containerProvider",
465
484
  "name": "name",
485
+ "security_configuration_id": "securityConfigurationId",
466
486
  "tags": "tags",
467
487
  },
468
488
  )
@@ -472,12 +492,14 @@ class CfnVirtualClusterProps:
472
492
  *,
473
493
  container_provider: typing.Union[_IResolvable_da3f097b, typing.Union[CfnVirtualCluster.ContainerProviderProperty, typing.Dict[builtins.str, typing.Any]]],
474
494
  name: builtins.str,
495
+ security_configuration_id: typing.Optional[builtins.str] = None,
475
496
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
476
497
  ) -> None:
477
498
  '''Properties for defining a ``CfnVirtualCluster``.
478
499
 
479
500
  :param container_provider: The container provider of the virtual cluster.
480
501
  :param name: The name of the virtual cluster.
502
+ :param security_configuration_id: The ID of the security configuration.
481
503
  :param tags: An array of key-value pairs to apply to this resource. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
482
504
 
483
505
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html
@@ -502,6 +524,7 @@ class CfnVirtualClusterProps:
502
524
  name="name",
503
525
 
504
526
  # the properties below are optional
527
+ security_configuration_id="securityConfigurationId",
505
528
  tags=[CfnTag(
506
529
  key="key",
507
530
  value="value"
@@ -512,11 +535,14 @@ class CfnVirtualClusterProps:
512
535
  type_hints = typing.get_type_hints(_typecheckingstub__79f93ead2a436b8c5a2fc364fff5d9da849a851543aa1433cd7ab649d79d55f9)
513
536
  check_type(argname="argument container_provider", value=container_provider, expected_type=type_hints["container_provider"])
514
537
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
538
+ check_type(argname="argument security_configuration_id", value=security_configuration_id, expected_type=type_hints["security_configuration_id"])
515
539
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
516
540
  self._values: typing.Dict[builtins.str, typing.Any] = {
517
541
  "container_provider": container_provider,
518
542
  "name": name,
519
543
  }
544
+ if security_configuration_id is not None:
545
+ self._values["security_configuration_id"] = security_configuration_id
520
546
  if tags is not None:
521
547
  self._values["tags"] = tags
522
548
 
@@ -542,6 +568,15 @@ class CfnVirtualClusterProps:
542
568
  assert result is not None, "Required property 'name' is missing"
543
569
  return typing.cast(builtins.str, result)
544
570
 
571
+ @builtins.property
572
+ def security_configuration_id(self) -> typing.Optional[builtins.str]:
573
+ '''The ID of the security configuration.
574
+
575
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html#cfn-emrcontainers-virtualcluster-securityconfigurationid
576
+ '''
577
+ result = self._values.get("security_configuration_id")
578
+ return typing.cast(typing.Optional[builtins.str], result)
579
+
545
580
  @builtins.property
546
581
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
547
582
  '''An array of key-value pairs to apply to this resource.
@@ -578,6 +613,7 @@ def _typecheckingstub__a06dc2760ceb0de7a449a23941f15987094157d1a540c30fa67c9e49a
578
613
  *,
579
614
  container_provider: typing.Union[_IResolvable_da3f097b, typing.Union[CfnVirtualCluster.ContainerProviderProperty, typing.Dict[builtins.str, typing.Any]]],
580
615
  name: builtins.str,
616
+ security_configuration_id: typing.Optional[builtins.str] = None,
581
617
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
582
618
  ) -> None:
583
619
  """Type checking stubs"""
@@ -607,6 +643,12 @@ def _typecheckingstub__aea4d0052a5a6cb82d57b5655349988466e02d75bbcc22aec370e6810
607
643
  """Type checking stubs"""
608
644
  pass
609
645
 
646
+ def _typecheckingstub__d05d102efa2c9eb1d454519ceade8e11615a54a4a6a9f26f4883e2051aa27414(
647
+ value: typing.Optional[builtins.str],
648
+ ) -> None:
649
+ """Type checking stubs"""
650
+ pass
651
+
610
652
  def _typecheckingstub__b3436f23ae2ca4313aacb96519980906e71e5bc37e7a466a53353480f948e674(
611
653
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
612
654
  ) -> None:
@@ -640,6 +682,7 @@ def _typecheckingstub__79f93ead2a436b8c5a2fc364fff5d9da849a851543aa1433cd7ab649d
640
682
  *,
641
683
  container_provider: typing.Union[_IResolvable_da3f097b, typing.Union[CfnVirtualCluster.ContainerProviderProperty, typing.Dict[builtins.str, typing.Any]]],
642
684
  name: builtins.str,
685
+ security_configuration_id: typing.Optional[builtins.str] = None,
643
686
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
644
687
  ) -> None:
645
688
  """Type checking stubs"""
@@ -11924,18 +11924,15 @@ class EventBus(
11924
11924
 
11925
11925
  Example::
11926
11926
 
11927
- bus = events.EventBus(self, "bus",
11928
- event_bus_name="MyCustomEventBus",
11929
- description="MyCustomEventBus"
11930
- )
11927
+ import aws_cdk.aws_events as events
11931
11928
 
11932
- bus.archive("MyArchive",
11933
- archive_name="MyCustomEventBusArchive",
11934
- description="MyCustomerEventBus Archive",
11935
- event_pattern=events.EventPattern(
11936
- account=[Stack.of(self).account]
11937
- ),
11938
- retention=Duration.days(365)
11929
+ # my_configuration_set: ses.ConfigurationSet
11930
+
11931
+
11932
+ bus = events.EventBus.from_event_bus_name(self, "EventBus", "default")
11933
+
11934
+ my_configuration_set.add_event_destination("ToEventBus",
11935
+ destination=ses.EventDestination.event_bus(bus)
11939
11936
  )
11940
11937
  '''
11941
11938