aws-cdk-lib 2.179.0__py3-none-any.whl → 2.181.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 (70) hide show
  1. aws_cdk/__init__.py +92 -34
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.179.0.jsii.tgz → aws-cdk-lib@2.181.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +48 -1
  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 +1265 -62
  10. aws_cdk/aws_chatbot/__init__.py +80 -53
  11. aws_cdk/aws_cloudformation/__init__.py +40 -8
  12. aws_cdk/aws_cloudfront/__init__.py +1046 -155
  13. aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
  14. aws_cdk/aws_cloudtrail/__init__.py +4 -8
  15. aws_cdk/aws_cloudwatch/__init__.py +1 -1
  16. aws_cdk/aws_codebuild/__init__.py +2 -2
  17. aws_cdk/aws_codepipeline/__init__.py +24 -0
  18. aws_cdk/aws_codepipeline_actions/__init__.py +28 -1
  19. aws_cdk/aws_codestar/__init__.py +2 -1
  20. aws_cdk/aws_cognito/__init__.py +100 -13
  21. aws_cdk/aws_config/__init__.py +3 -3
  22. aws_cdk/aws_connect/__init__.py +257 -0
  23. aws_cdk/aws_datasync/__init__.py +279 -50
  24. aws_cdk/aws_deadline/__init__.py +683 -6
  25. aws_cdk/aws_directoryservice/__init__.py +9 -4
  26. aws_cdk/aws_dlm/__init__.py +2 -2
  27. aws_cdk/aws_dms/__init__.py +3 -3
  28. aws_cdk/aws_dynamodb/__init__.py +4 -58
  29. aws_cdk/aws_ec2/__init__.py +377 -121
  30. aws_cdk/aws_ecs/__init__.py +37 -46
  31. aws_cdk/aws_efs/__init__.py +1 -1
  32. aws_cdk/aws_eks/__init__.py +19 -13
  33. aws_cdk/aws_elasticloadbalancingv2/__init__.py +13 -27
  34. aws_cdk/aws_emrcontainers/__init__.py +44 -1
  35. aws_cdk/aws_events/__init__.py +8 -11
  36. aws_cdk/aws_fms/__init__.py +5 -5
  37. aws_cdk/aws_fsx/__init__.py +5 -4
  38. aws_cdk/aws_glue/__init__.py +161 -0
  39. aws_cdk/aws_groundstation/__init__.py +23 -1
  40. aws_cdk/aws_iam/__init__.py +12 -12
  41. aws_cdk/aws_iot/__init__.py +7 -0
  42. aws_cdk/aws_ivs/__init__.py +17 -8
  43. aws_cdk/aws_kinesis/__init__.py +689 -35
  44. aws_cdk/aws_lambda/__init__.py +10 -15
  45. aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
  46. aws_cdk/aws_medialive/__init__.py +314 -4
  47. aws_cdk/aws_mediapackagev2/__init__.py +228 -0
  48. aws_cdk/aws_networkfirewall/__init__.py +3 -3
  49. aws_cdk/aws_opensearchserverless/__init__.py +31 -8
  50. aws_cdk/aws_organizations/__init__.py +3 -3
  51. aws_cdk/aws_pcaconnectorscep/__init__.py +1 -1
  52. aws_cdk/aws_rds/__init__.py +456 -100
  53. aws_cdk/aws_s3/__init__.py +278 -0
  54. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  55. aws_cdk/aws_ses/__init__.py +228 -8
  56. aws_cdk/aws_ssm/__init__.py +9 -10
  57. aws_cdk/aws_stepfunctions/__init__.py +345 -70
  58. aws_cdk/aws_stepfunctions_tasks/__init__.py +142 -142
  59. aws_cdk/aws_supportapp/__init__.py +7 -7
  60. aws_cdk/aws_transfer/__init__.py +829 -4
  61. aws_cdk/aws_wafv2/__init__.py +17 -9
  62. aws_cdk/aws_wisdom/__init__.py +149 -4
  63. aws_cdk/custom_resources/__init__.py +23 -26
  64. aws_cdk/cx_api/__init__.py +16 -0
  65. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/METADATA +1 -1
  66. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/RECORD +70 -70
  67. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/LICENSE +0 -0
  68. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/NOTICE +0 -0
  69. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/WHEEL +0 -0
  70. {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.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")
@@ -7566,7 +7570,7 @@ class CfnCluster(
7566
7570
 
7567
7571
  Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see `Service Connect <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
7568
7572
 
7569
- :param namespace: The namespace name or full Amazon Resource Name (ARN) of the AWS Cloud Map namespace that's used when you create a service and don't specify a Service Connect configuration. The namespace name can include up to 1024 characters. The name is case-sensitive. The name can't include hyphens (-), tilde (~), greater than (>), less than (<), or slash (/). If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this AWS Region. If you enter a new name, a AWS Cloud Map namespace will be created. Amazon ECS creates a AWS Cloud Map namespace with the "API calls" method of instance discovery only. This instance discovery method is the "HTTP" namespace type in the AWS Command Line Interface . Other types of instance discovery aren't used by Service Connect. If you update the cluster with an empty string ``""`` for the namespace name, the cluster configuration for Service Connect is removed. Note that the namespace will remain in AWS Cloud Map and must be deleted separately. For more information about AWS Cloud Map , see `Working with Services <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html>`_ in the *AWS Cloud Map Developer Guide* .
7573
+ :param namespace: The namespace name or full Amazon Resource Name (ARN) of the AWS Cloud Map namespace that's used when you create a service and don't specify a Service Connect configuration. The namespace name can include up to 1024 characters. The name is case-sensitive. The name can't include greater than (>), less than (<), double quotation marks ("), or slash (/). If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this AWS Region. If you enter a new name, a AWS Cloud Map namespace will be created. Amazon ECS creates a AWS Cloud Map namespace with the "API calls" method of instance discovery only. This instance discovery method is the "HTTP" namespace type in the AWS Command Line Interface . Other types of instance discovery aren't used by Service Connect. If you update the cluster with an empty string ``""`` for the namespace name, the cluster configuration for Service Connect is removed. Note that the namespace will remain in AWS Cloud Map and must be deleted separately. For more information about AWS Cloud Map , see `Working with Services <https://docs.aws.amazon.com/cloud-map/latest/dg/working-with-services.html>`_ in the *AWS Cloud Map Developer Guide* .
7570
7574
 
7571
7575
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-serviceconnectdefaults.html
7572
7576
  :exampleMetadata: fixture=_generated
@@ -7592,7 +7596,7 @@ class CfnCluster(
7592
7596
  def namespace(self) -> typing.Optional[builtins.str]:
7593
7597
  '''The namespace name or full Amazon Resource Name (ARN) of the AWS Cloud Map namespace that's used when you create a service and don't specify a Service Connect configuration.
7594
7598
 
7595
- The namespace name can include up to 1024 characters. The name is case-sensitive. The name can't include hyphens (-), tilde (~), greater than (>), less than (<), or slash (/).
7599
+ The namespace name can include up to 1024 characters. The name is case-sensitive. The name can't include greater than (>), less than (<), double quotation marks ("), or slash (/).
7596
7600
 
7597
7601
  If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this AWS Region.
7598
7602
 
@@ -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.
@@ -9153,7 +9156,7 @@ class CfnService(
9153
9156
 
9154
9157
  For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}`` .
9155
9158
 
9156
- :param assign_public_ip: Whether the task's elastic network interface receives a public IP address. The default value is ``ENABLED`` .
9159
+ :param assign_public_ip: Whether the task's elastic network interface receives a public IP address. Consider the following when you set this value: - When you use ``create-service`` or ``update-service`` , the default is ``DISABLED`` . - When the service ``deploymentController`` is ``ECS`` , the value must be ``DISABLED`` . - When you use ``create-service`` or ``update-service`` , the default is ``ENABLED`` .
9157
9160
  :param security_groups: The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. .. epigraph:: All specified security groups must be from the same VPC.
9158
9161
  :param subnets: The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. .. epigraph:: All specified subnets must be from the same VPC.
9159
9162
 
@@ -9189,7 +9192,11 @@ class CfnService(
9189
9192
  def assign_public_ip(self) -> typing.Optional[builtins.str]:
9190
9193
  '''Whether the task's elastic network interface receives a public IP address.
9191
9194
 
9192
- The default value is ``ENABLED`` .
9195
+ Consider the following when you set this value:
9196
+
9197
+ - When you use ``create-service`` or ``update-service`` , the default is ``DISABLED`` .
9198
+ - When the service ``deploymentController`` is ``ECS`` , the value must be ``DISABLED`` .
9199
+ - When you use ``create-service`` or ``update-service`` , the default is ``ENABLED`` .
9193
9200
 
9194
9201
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-awsvpcconfiguration.html#cfn-ecs-service-awsvpcconfiguration-assignpublicip
9195
9202
  '''
@@ -11075,7 +11082,6 @@ class CfnService(
11075
11082
  "snapshot_id": "snapshotId",
11076
11083
  "tag_specifications": "tagSpecifications",
11077
11084
  "throughput": "throughput",
11078
- "volume_initialization_rate": "volumeInitializationRate",
11079
11085
  "volume_type": "volumeType",
11080
11086
  },
11081
11087
  )
@@ -11092,7 +11098,6 @@ class CfnService(
11092
11098
  snapshot_id: typing.Optional[builtins.str] = None,
11093
11099
  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
11100
  throughput: typing.Optional[jsii.Number] = None,
11095
- volume_initialization_rate: typing.Optional[jsii.Number] = None,
11096
11101
  volume_type: typing.Optional[builtins.str] = None,
11097
11102
  ) -> None:
11098
11103
  '''The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf.
@@ -11110,7 +11115,6 @@ class CfnService(
11110
11115
  :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
11116
  :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
11117
  :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
11118
  :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
11119
 
11116
11120
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-servicemanagedebsvolumeconfiguration.html
@@ -11143,7 +11147,6 @@ class CfnService(
11143
11147
  )]
11144
11148
  )],
11145
11149
  throughput=123,
11146
- volume_initialization_rate=123,
11147
11150
  volume_type="volumeType"
11148
11151
  )
11149
11152
  '''
@@ -11158,7 +11161,6 @@ class CfnService(
11158
11161
  check_type(argname="argument snapshot_id", value=snapshot_id, expected_type=type_hints["snapshot_id"])
11159
11162
  check_type(argname="argument tag_specifications", value=tag_specifications, expected_type=type_hints["tag_specifications"])
11160
11163
  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
11164
  check_type(argname="argument volume_type", value=volume_type, expected_type=type_hints["volume_type"])
11163
11165
  self._values: typing.Dict[builtins.str, typing.Any] = {
11164
11166
  "role_arn": role_arn,
@@ -11179,8 +11181,6 @@ class CfnService(
11179
11181
  self._values["tag_specifications"] = tag_specifications
11180
11182
  if throughput is not None:
11181
11183
  self._values["throughput"] = throughput
11182
- if volume_initialization_rate is not None:
11183
- self._values["volume_initialization_rate"] = volume_initialization_rate
11184
11184
  if volume_type is not None:
11185
11185
  self._values["volume_type"] = volume_type
11186
11186
 
@@ -11315,14 +11315,6 @@ class CfnService(
11315
11315
  result = self._values.get("throughput")
11316
11316
  return typing.cast(typing.Optional[jsii.Number], result)
11317
11317
 
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
11318
  @builtins.property
11327
11319
  def volume_type(self) -> typing.Optional[builtins.str]:
11328
11320
  '''The volume type.
@@ -11527,7 +11519,6 @@ class CfnService(
11527
11519
  )]
11528
11520
  )],
11529
11521
  throughput=123,
11530
- volume_initialization_rate=123,
11531
11522
  volume_type="volumeType"
11532
11523
  )
11533
11524
  )
@@ -11821,8 +11812,8 @@ class CfnServiceProps:
11821
11812
  ) -> None:
11822
11813
  '''Properties for defining a ``CfnService``.
11823
11814
 
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.
11815
+ :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"
11816
+ :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
11817
  :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
11818
  :param deployment_configuration: Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.
11828
11819
  :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 +11984,6 @@ class CfnServiceProps:
11993
11984
  )]
11994
11985
  )],
11995
11986
  throughput=123,
11996
- volume_initialization_rate=123,
11997
11987
  volume_type="volumeType"
11998
11988
  )
11999
11989
  )],
@@ -12087,7 +12077,7 @@ class CfnServiceProps:
12087
12077
  def availability_zone_rebalancing(self) -> typing.Optional[builtins.str]:
12088
12078
  '''Indicates whether to use Availability Zone rebalancing for the service.
12089
12079
 
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* .
12080
+ 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
12081
 
12092
12082
  :default: - "DISABLED"
12093
12083
 
@@ -12104,7 +12094,7 @@ class CfnServiceProps:
12104
12094
 
12105
12095
  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
12096
 
12107
- A capacity provider strategy may contain a maximum of 6 capacity providers.
12097
+ A capacity provider strategy can contain a maximum of 20 capacity providers.
12108
12098
  .. epigraph::
12109
12099
 
12110
12100
  To remove this property from your service resource, specify an empty ``CapacityProviderStrategyItem`` array.
@@ -12731,7 +12721,7 @@ class CfnTaskDefinition(
12731
12721
  :param scope: Scope in which this resource is defined.
12732
12722
  :param id: Construct identifier for this resource (unique in its scope).
12733
12723
  :param container_definitions: A list of container definitions in JSON format that describe the different containers that make up your task. For more information about container definition parameters and defaults, see `Amazon ECS Task Definitions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
12734
- :param cpu: The number of ``cpu`` units used by the task. If you use the EC2 launch type, this field is optional. Any value can be used. If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines your range of valid values for the ``memory`` parameter. If you use the EC2 launch type, this field is optional. Supported values are between ``128`` CPU units ( ``0.125`` vCPUs) and ``10240`` CPU units ( ``10`` vCPUs). The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate. - 256 (.25 vCPU) - Available ``memory`` values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - 512 (.5 vCPU) - Available ``memory`` values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - 1024 (1 vCPU) - Available ``memory`` values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - 2048 (2 vCPU) - Available ``memory`` values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - 4096 (4 vCPU) - Available ``memory`` values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - 8192 (8 vCPU) - Available ``memory`` values: 16 GB and 60 GB in 4 GB increments This option requires Linux platform ``1.4.0`` or later. - 16384 (16vCPU) - Available ``memory`` values: 32GB and 120 GB in 8 GB increments This option requires Linux platform ``1.4.0`` or later.
12724
+ :param cpu: The number of ``cpu`` units used by the task. If you use the EC2 launch type, this field is optional. Any value can be used. If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines your range of valid values for the ``memory`` parameter. If you're using the EC2 launch type or the external launch type, this field is optional. Supported values are between ``128`` CPU units ( ``0.125`` vCPUs) and ``196608`` CPU units ( ``192`` vCPUs). The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate. - 256 (.25 vCPU) - Available ``memory`` values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - 512 (.5 vCPU) - Available ``memory`` values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - 1024 (1 vCPU) - Available ``memory`` values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - 2048 (2 vCPU) - Available ``memory`` values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - 4096 (4 vCPU) - Available ``memory`` values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - 8192 (8 vCPU) - Available ``memory`` values: 16 GB and 60 GB in 4 GB increments This option requires Linux platform ``1.4.0`` or later. - 16384 (16vCPU) - Available ``memory`` values: 32GB and 120 GB in 8 GB increments This option requires Linux platform ``1.4.0`` or later.
12735
12725
  :param enable_fault_injection: Enables fault injection and allows for fault injection requests to be accepted from the task's containers. The default value is ``false`` .
12736
12726
  :param ephemeral_storage: The ephemeral storage settings to use for tasks run with the task definition.
12737
12727
  :param execution_role_arn: The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make AWS API calls on your behalf. For informationabout the required IAM roles for Amazon ECS, see `IAM roles for Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
@@ -15198,10 +15188,10 @@ class CfnTaskDefinition(
15198
15188
  - Container health checks are not supported for tasks that are part of a service that is configured to use a Classic Load Balancer.
15199
15189
 
15200
15190
  :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.
15191
+ :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`` .
15192
+ :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`` .
15193
+ :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.
15194
+ :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
15195
 
15206
15196
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html
15207
15197
  :exampleMetadata: fixture=_generated
@@ -15264,7 +15254,7 @@ class CfnTaskDefinition(
15264
15254
  def interval(self) -> typing.Optional[jsii.Number]:
15265
15255
  '''The time period in seconds between each health check execution.
15266
15256
 
15267
- You may specify between 5 and 300 seconds. The default value is 30 seconds.
15257
+ You may specify between 5 and 300 seconds. The default value is 30 seconds. This value applies only when you specify a ``command`` .
15268
15258
 
15269
15259
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-interval
15270
15260
  '''
@@ -15275,7 +15265,7 @@ class CfnTaskDefinition(
15275
15265
  def retries(self) -> typing.Optional[jsii.Number]:
15276
15266
  '''The number of times to retry a failed health check before the container is considered unhealthy.
15277
15267
 
15278
- You may specify between 1 and 10 retries. The default value is 3.
15268
+ You may specify between 1 and 10 retries. The default value is 3. This value applies only when you specify a ``command`` .
15279
15269
 
15280
15270
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-retries
15281
15271
  '''
@@ -15286,7 +15276,7 @@ class CfnTaskDefinition(
15286
15276
  def start_period(self) -> typing.Optional[jsii.Number]:
15287
15277
  '''The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries.
15288
15278
 
15289
- You can specify between 0 and 300 seconds. By default, the ``startPeriod`` is off.
15279
+ You can specify between 0 and 300 seconds. By default, the ``startPeriod`` is off. This value applies only when you specify a ``command`` .
15290
15280
  .. epigraph::
15291
15281
 
15292
15282
  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 +15290,7 @@ class CfnTaskDefinition(
15300
15290
  def timeout(self) -> typing.Optional[jsii.Number]:
15301
15291
  '''The time period in seconds to wait for a health check to succeed before it is considered a failure.
15302
15292
 
15303
- You may specify between 2 and 60 seconds. The default value is 5.
15293
+ You may specify between 2 and 60 seconds. The default value is 5. This value applies only when you specify a ``command`` .
15304
15294
 
15305
15295
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-healthcheck.html#cfn-ecs-taskdefinition-healthcheck-timeout
15306
15296
  '''
@@ -17570,7 +17560,7 @@ class CfnTaskDefinitionProps:
17570
17560
  '''Properties for defining a ``CfnTaskDefinition``.
17571
17561
 
17572
17562
  :param container_definitions: A list of container definitions in JSON format that describe the different containers that make up your task. For more information about container definition parameters and defaults, see `Amazon ECS Task Definitions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_defintions.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
17573
- :param cpu: The number of ``cpu`` units used by the task. If you use the EC2 launch type, this field is optional. Any value can be used. If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines your range of valid values for the ``memory`` parameter. If you use the EC2 launch type, this field is optional. Supported values are between ``128`` CPU units ( ``0.125`` vCPUs) and ``10240`` CPU units ( ``10`` vCPUs). The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate. - 256 (.25 vCPU) - Available ``memory`` values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - 512 (.5 vCPU) - Available ``memory`` values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - 1024 (1 vCPU) - Available ``memory`` values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - 2048 (2 vCPU) - Available ``memory`` values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - 4096 (4 vCPU) - Available ``memory`` values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - 8192 (8 vCPU) - Available ``memory`` values: 16 GB and 60 GB in 4 GB increments This option requires Linux platform ``1.4.0`` or later. - 16384 (16vCPU) - Available ``memory`` values: 32GB and 120 GB in 8 GB increments This option requires Linux platform ``1.4.0`` or later.
17563
+ :param cpu: The number of ``cpu`` units used by the task. If you use the EC2 launch type, this field is optional. Any value can be used. If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines your range of valid values for the ``memory`` parameter. If you're using the EC2 launch type or the external launch type, this field is optional. Supported values are between ``128`` CPU units ( ``0.125`` vCPUs) and ``196608`` CPU units ( ``192`` vCPUs). The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate. - 256 (.25 vCPU) - Available ``memory`` values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - 512 (.5 vCPU) - Available ``memory`` values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - 1024 (1 vCPU) - Available ``memory`` values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - 2048 (2 vCPU) - Available ``memory`` values: 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - 4096 (4 vCPU) - Available ``memory`` values: 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - 8192 (8 vCPU) - Available ``memory`` values: 16 GB and 60 GB in 4 GB increments This option requires Linux platform ``1.4.0`` or later. - 16384 (16vCPU) - Available ``memory`` values: 32GB and 120 GB in 8 GB increments This option requires Linux platform ``1.4.0`` or later.
17574
17564
  :param enable_fault_injection: Enables fault injection and allows for fault injection requests to be accepted from the task's containers. The default value is ``false`` .
17575
17565
  :param ephemeral_storage: The ephemeral storage settings to use for tasks run with the task definition.
17576
17566
  :param execution_role_arn: The Amazon Resource Name (ARN) of the task execution role that grants the Amazon ECS container agent permission to make AWS API calls on your behalf. For informationabout the required IAM roles for Amazon ECS, see `IAM roles for Amazon ECS <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.html>`_ in the *Amazon Elastic Container Service Developer Guide* .
@@ -17894,9 +17884,7 @@ class CfnTaskDefinitionProps:
17894
17884
 
17895
17885
  If you use the EC2 launch type, this field is optional. Any value can be used. If you use the Fargate launch type, this field is required. You must use one of the following values. The value that you choose determines your range of valid values for the ``memory`` parameter.
17896
17886
 
17897
- If you use the EC2 launch type, this field is optional. Supported values are between ``128`` CPU units ( ``0.125`` vCPUs) and ``10240`` CPU units ( ``10`` vCPUs).
17898
-
17899
- The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.
17887
+ If you're using the EC2 launch type or the external launch type, this field is optional. Supported values are between ``128`` CPU units ( ``0.125`` vCPUs) and ``196608`` CPU units ( ``192`` vCPUs). The CPU units cannot be less than 1 vCPU when you use Windows containers on Fargate.
17900
17888
 
17901
17889
  - 256 (.25 vCPU) - Available ``memory`` values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)
17902
17890
  - 512 (.5 vCPU) - Available ``memory`` values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)
@@ -18569,7 +18557,7 @@ class CfnTaskSet(
18569
18557
  For example ``awsVpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}`` .
18570
18558
 
18571
18559
  :param subnets: The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified. .. epigraph:: All specified subnets must be from the same VPC.
18572
- :param assign_public_ip: Whether the task's elastic network interface receives a public IP address. The default value is ``ENABLED`` .
18560
+ :param assign_public_ip: Whether the task's elastic network interface receives a public IP address. Consider the following when you set this value: - When you use ``create-service`` or ``update-service`` , the default is ``DISABLED`` . - When the service ``deploymentController`` is ``ECS`` , the value must be ``DISABLED`` . - When you use ``create-service`` or ``update-service`` , the default is ``ENABLED`` .
18573
18561
  :param security_groups: The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified. .. epigraph:: All specified security groups must be from the same VPC.
18574
18562
 
18575
18563
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-awsvpcconfiguration.html
@@ -18621,7 +18609,11 @@ class CfnTaskSet(
18621
18609
  def assign_public_ip(self) -> typing.Optional[builtins.str]:
18622
18610
  '''Whether the task's elastic network interface receives a public IP address.
18623
18611
 
18624
- The default value is ``ENABLED`` .
18612
+ Consider the following when you set this value:
18613
+
18614
+ - When you use ``create-service`` or ``update-service`` , the default is ``DISABLED`` .
18615
+ - When the service ``deploymentController`` is ``ECS`` , the value must be ``DISABLED`` .
18616
+ - When you use ``create-service`` or ``update-service`` , the default is ``ENABLED`` .
18625
18617
 
18626
18618
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskset-awsvpcconfiguration.html#cfn-ecs-taskset-awsvpcconfiguration-assignpublicip
18627
18619
  '''
@@ -44013,7 +44005,6 @@ def _typecheckingstub__dfccfa8c4140c61b1030fe8ed564cee115f38fe8144d5ff6ac1654634
44013
44005
  snapshot_id: typing.Optional[builtins.str] = None,
44014
44006
  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
44007
  throughput: typing.Optional[jsii.Number] = None,
44016
- volume_initialization_rate: typing.Optional[jsii.Number] = None,
44017
44008
  volume_type: typing.Optional[builtins.str] = None,
44018
44009
  ) -> None:
44019
44010
  """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::
@@ -9464,7 +9464,9 @@ class CfnNodegroup(
9464
9464
  ):
9465
9465
  '''Creates a managed node group for an Amazon EKS cluster.
9466
9466
 
9467
- You can only create a node group for your cluster that is equal to the current Kubernetes version for the cluster. All node groups are created with the latest AMI release version for the respective minor Kubernetes version of the cluster, unless you deploy a custom AMI using a launch template. For more information about using launch templates, see `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ .
9467
+ You can only create a node group for your cluster that is equal to the current Kubernetes version for the cluster. All node groups are created with the latest AMI release version for the respective minor Kubernetes version of the cluster, unless you deploy a custom AMI using a launch template.
9468
+
9469
+ For later updates, you will only be able to update a node group using a launch template only if it was originally deployed with a launch template. Additionally, the launch template ID or name must match what was used when the node group was created. You can update the launch template version with necessary changes. For more information about using launch templates, see `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ .
9468
9470
 
9469
9471
  An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that are managed by AWS for an Amazon EKS cluster. For more information, see `Managed node groups <https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html>`_ in the *Amazon EKS User Guide* .
9470
9472
  .. epigraph::
@@ -9570,7 +9572,7 @@ class CfnNodegroup(
9570
9572
  :param force_update_enabled: Force the update if any ``Pod`` on the existing node group can't be drained due to a ``Pod`` disruption budget issue. If an update fails because all Pods can't be drained, you can force the update after it fails to terminate the old node whether or not any ``Pod`` is running on the node. Default: - false
9571
9573
  :param instance_types: Specify the instance types for a node group. If you specify a GPU instance type, make sure to also specify an applicable GPU AMI type with the ``amiType`` parameter. If you specify ``launchTemplate`` , then you can specify zero or one instance type in your launch template *or* you can specify 0-20 instance types for ``instanceTypes`` . If however, you specify an instance type in your launch template *and* specify any ``instanceTypes`` , the node group deployment will fail. If you don't specify an instance type in a launch template or for ``instanceTypes`` , then ``t3.medium`` is used, by default. If you specify ``Spot`` for ``capacityType`` , then we recommend specifying multiple values for ``instanceTypes`` . For more information, see `Managed node group capacity types <https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html#managed-node-group-capacity-types>`_ and `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
9572
9574
  :param labels: The Kubernetes ``labels`` applied to the nodes in the node group. .. epigraph:: Only ``labels`` that are applied with the Amazon EKS API are shown here. There may be other Kubernetes ``labels`` applied to the nodes in this group.
9573
- :param launch_template: An object representing a node group's launch template specification. When using this object, don't directly specify ``instanceTypes`` , ``diskSize`` , or ``remoteAccess`` . Make sure that the launch template meets the requirements in ``launchTemplateSpecification`` . Also refer to `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
9575
+ :param launch_template: An object representing a node group's launch template specification. When using this object, don't directly specify ``instanceTypes`` , ``diskSize`` , or ``remoteAccess`` . You cannot later specify a different launch template ID or name than what was used to create the node group. Make sure that the launch template meets the requirements in ``launchTemplateSpecification`` . Also refer to `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
9574
9576
  :param nodegroup_name: The unique name to give your node group.
9575
9577
  :param node_repair_config: The node auto repair configuration for the node group.
9576
9578
  :param release_version: The AMI version of the Amazon EKS optimized AMI to use with your node group (for example, ``1.14.7- *YYYYMMDD*`` ). By default, the latest available AMI version for the node group's current Kubernetes version is used. For more information, see `Amazon EKS optimized Linux AMI Versions <https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html>`_ in the *Amazon EKS User Guide* . .. epigraph:: Changing this value triggers an update of the node group if one is available. You can't update other properties at the same time as updating ``Release Version`` .
@@ -9994,9 +9996,9 @@ class CfnNodegroup(
9994
9996
 
9995
9997
  You must specify either the launch template ID or the launch template name in the request, but not both.
9996
9998
 
9997
- :param id: The ID of the launch template. You must specify either the launch template ID or the launch template name in the request, but not both.
9998
- :param name: The name of the launch template. You must specify either the launch template name or the launch template ID in the request, but not both.
9999
- :param version: The version number of the launch template to use. If no version is specified, then the template's default version is used.
9999
+ :param id: The ID of the launch template. You must specify either the launch template ID or the launch template name in the request, but not both. After node group creation, you cannot use a different ID.
10000
+ :param name: The name of the launch template. You must specify either the launch template name or the launch template ID in the request, but not both. After node group creation, you cannot use a different name.
10001
+ :param version: The version number of the launch template to use. If no version is specified, then the template's default version is used. You can use a different version for node group updates.
10000
10002
 
10001
10003
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-launchtemplatespecification.html
10002
10004
  :exampleMetadata: fixture=_generated
@@ -10030,7 +10032,7 @@ class CfnNodegroup(
10030
10032
  def id(self) -> typing.Optional[builtins.str]:
10031
10033
  '''The ID of the launch template.
10032
10034
 
10033
- You must specify either the launch template ID or the launch template name in the request, but not both.
10035
+ You must specify either the launch template ID or the launch template name in the request, but not both. After node group creation, you cannot use a different ID.
10034
10036
 
10035
10037
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-launchtemplatespecification.html#cfn-eks-nodegroup-launchtemplatespecification-id
10036
10038
  '''
@@ -10041,7 +10043,7 @@ class CfnNodegroup(
10041
10043
  def name(self) -> typing.Optional[builtins.str]:
10042
10044
  '''The name of the launch template.
10043
10045
 
10044
- You must specify either the launch template name or the launch template ID in the request, but not both.
10046
+ You must specify either the launch template name or the launch template ID in the request, but not both. After node group creation, you cannot use a different name.
10045
10047
 
10046
10048
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-launchtemplatespecification.html#cfn-eks-nodegroup-launchtemplatespecification-name
10047
10049
  '''
@@ -10052,7 +10054,7 @@ class CfnNodegroup(
10052
10054
  def version(self) -> typing.Optional[builtins.str]:
10053
10055
  '''The version number of the launch template to use.
10054
10056
 
10055
- If no version is specified, then the template's default version is used.
10057
+ If no version is specified, then the template's default version is used. You can use a different version for node group updates.
10056
10058
 
10057
10059
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-launchtemplatespecification.html#cfn-eks-nodegroup-launchtemplatespecification-version
10058
10060
  '''
@@ -10418,7 +10420,7 @@ class CfnNodegroup(
10418
10420
 
10419
10421
  :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
10422
  :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.
10423
+ :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
10424
 
10423
10425
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html
10424
10426
  :exampleMetadata: fixture=_generated
@@ -10472,9 +10474,11 @@ class CfnNodegroup(
10472
10474
 
10473
10475
  @builtins.property
10474
10476
  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.
10477
+ '''The configuration for the behavior to follow during a node group version update of this managed node group.
10476
10478
 
10477
- You choose between two possible strategies for replacing nodes during an UpdateNodegroupVersion action.
10479
+ You choose between two possible strategies for replacing nodes during an ```UpdateNodegroupVersion`` <https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateNodegroupVersion.html>`_ action.
10480
+
10481
+ 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
10482
 
10479
10483
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-nodegroup-updateconfig.html#cfn-eks-nodegroup-updateconfig-updatestrategy
10480
10484
  '''
@@ -10553,7 +10557,7 @@ class CfnNodegroupProps:
10553
10557
  :param force_update_enabled: Force the update if any ``Pod`` on the existing node group can't be drained due to a ``Pod`` disruption budget issue. If an update fails because all Pods can't be drained, you can force the update after it fails to terminate the old node whether or not any ``Pod`` is running on the node. Default: - false
10554
10558
  :param instance_types: Specify the instance types for a node group. If you specify a GPU instance type, make sure to also specify an applicable GPU AMI type with the ``amiType`` parameter. If you specify ``launchTemplate`` , then you can specify zero or one instance type in your launch template *or* you can specify 0-20 instance types for ``instanceTypes`` . If however, you specify an instance type in your launch template *and* specify any ``instanceTypes`` , the node group deployment will fail. If you don't specify an instance type in a launch template or for ``instanceTypes`` , then ``t3.medium`` is used, by default. If you specify ``Spot`` for ``capacityType`` , then we recommend specifying multiple values for ``instanceTypes`` . For more information, see `Managed node group capacity types <https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html#managed-node-group-capacity-types>`_ and `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
10555
10559
  :param labels: The Kubernetes ``labels`` applied to the nodes in the node group. .. epigraph:: Only ``labels`` that are applied with the Amazon EKS API are shown here. There may be other Kubernetes ``labels`` applied to the nodes in this group.
10556
- :param launch_template: An object representing a node group's launch template specification. When using this object, don't directly specify ``instanceTypes`` , ``diskSize`` , or ``remoteAccess`` . Make sure that the launch template meets the requirements in ``launchTemplateSpecification`` . Also refer to `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
10560
+ :param launch_template: An object representing a node group's launch template specification. When using this object, don't directly specify ``instanceTypes`` , ``diskSize`` , or ``remoteAccess`` . You cannot later specify a different launch template ID or name than what was used to create the node group. Make sure that the launch template meets the requirements in ``launchTemplateSpecification`` . Also refer to `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
10557
10561
  :param nodegroup_name: The unique name to give your node group.
10558
10562
  :param node_repair_config: The node auto repair configuration for the node group.
10559
10563
  :param release_version: The AMI version of the Amazon EKS optimized AMI to use with your node group (for example, ``1.14.7- *YYYYMMDD*`` ). By default, the latest available AMI version for the node group's current Kubernetes version is used. For more information, see `Amazon EKS optimized Linux AMI Versions <https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html>`_ in the *Amazon EKS User Guide* . .. epigraph:: Changing this value triggers an update of the node group if one is available. You can't update other properties at the same time as updating ``Release Version`` .
@@ -10795,7 +10799,9 @@ class CfnNodegroupProps:
10795
10799
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnNodegroup.LaunchTemplateSpecificationProperty]]:
10796
10800
  '''An object representing a node group's launch template specification.
10797
10801
 
10798
- When using this object, don't directly specify ``instanceTypes`` , ``diskSize`` , or ``remoteAccess`` . Make sure that the launch template meets the requirements in ``launchTemplateSpecification`` . Also refer to `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
10802
+ When using this object, don't directly specify ``instanceTypes`` , ``diskSize`` , or ``remoteAccess`` . You cannot later specify a different launch template ID or name than what was used to create the node group.
10803
+
10804
+ Make sure that the launch template meets the requirements in ``launchTemplateSpecification`` . Also refer to `Customizing managed nodes with launch templates <https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html>`_ in the *Amazon EKS User Guide* .
10799
10805
 
10800
10806
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-nodegroup.html#cfn-eks-nodegroup-launchtemplate
10801
10807
  '''
@@ -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__(