aws-cdk-lib 2.211.0__py3-none-any.whl → 2.212.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 (46) hide show
  1. aws_cdk/__init__.py +398 -43
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.211.0.jsii.tgz → aws-cdk-lib@2.212.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +2 -0
  5. aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
  6. aws_cdk/aws_appintegrations/__init__.py +395 -0
  7. aws_cdk/aws_arcregionswitch/__init__.py +118 -0
  8. aws_cdk/aws_batch/__init__.py +4 -4
  9. aws_cdk/aws_bedrock/__init__.py +18 -0
  10. aws_cdk/aws_billingconductor/__init__.py +3 -3
  11. aws_cdk/aws_cloudfront/__init__.py +19 -0
  12. aws_cdk/aws_codebuild/__init__.py +122 -0
  13. aws_cdk/aws_codepipeline/__init__.py +51 -50
  14. aws_cdk/aws_connect/__init__.py +40 -15
  15. aws_cdk/aws_deadline/__init__.py +16 -5
  16. aws_cdk/aws_dynamodb/__init__.py +86 -16
  17. aws_cdk/aws_ec2/__init__.py +266 -55
  18. aws_cdk/aws_ecs/__init__.py +7 -9
  19. aws_cdk/aws_eks/__init__.py +6 -4
  20. aws_cdk/aws_elasticloadbalancingv2/__init__.py +2 -2
  21. aws_cdk/aws_gameliftstreams/__init__.py +7 -6
  22. aws_cdk/aws_glue/__init__.py +18 -9
  23. aws_cdk/aws_guardduty/__init__.py +1233 -113
  24. aws_cdk/aws_imagebuilder/__init__.py +34 -20
  25. aws_cdk/aws_inspectorv2/__init__.py +1516 -0
  26. aws_cdk/aws_ivs/__init__.py +1 -1
  27. aws_cdk/aws_lakeformation/__init__.py +1 -1
  28. aws_cdk/aws_lambda/__init__.py +6 -6
  29. aws_cdk/aws_omics/__init__.py +1 -1
  30. aws_cdk/aws_opensearchservice/__init__.py +128 -0
  31. aws_cdk/aws_pcs/__init__.py +16 -8
  32. aws_cdk/aws_quicksight/__init__.py +81 -83
  33. aws_cdk/aws_rds/__init__.py +31 -163
  34. aws_cdk/aws_s3express/__init__.py +7 -3
  35. aws_cdk/aws_s3tables/__init__.py +2 -2
  36. aws_cdk/aws_sagemaker/__init__.py +62 -20
  37. aws_cdk/aws_sqs/__init__.py +4 -3
  38. aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
  39. aws_cdk/aws_synthetics/__init__.py +116 -0
  40. aws_cdk/cx_api/__init__.py +22 -0
  41. {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/METADATA +329 -9
  42. {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/RECORD +46 -46
  43. {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/LICENSE +0 -0
  44. {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/NOTICE +0 -0
  45. {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/WHEEL +0 -0
  46. {aws_cdk_lib-2.211.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/top_level.txt +0 -0
@@ -14366,7 +14366,7 @@ class CfnEC2Fleet(
14366
14366
  '''Describes the placement of an instance.
14367
14367
 
14368
14368
  :param affinity: The affinity setting for the instance on the Dedicated Host. This parameter is not supported for `CreateFleet <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet>`_ or `ImportInstance <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html>`_ .
14369
- :param availability_zone: The Availability Zone of the instance. If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region. This parameter is not supported for `CreateFleet <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet>`_ .
14369
+ :param availability_zone: The Availability Zone of the instance. Either ``AvailabilityZone`` or ``AvailabilityZoneId`` can be specified, but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone based on the load balancing criteria for the Region. This parameter is not supported for `CreateFleet <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet>`_ .
14370
14370
  :param group_name: The name of the placement group that the instance is in. If you specify ``GroupName`` , you can't specify ``GroupId`` .
14371
14371
  :param host_id: The ID of the Dedicated Host on which the instance resides. This parameter is not supported for `CreateFleet <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet>`_ or `ImportInstance <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html>`_ .
14372
14372
  :param host_resource_group_arn: The ARN of the host resource group in which to launch the instances. If you specify this parameter, either omit the *Tenancy* parameter or set it to ``host`` . This parameter is not supported for `CreateFleet <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet>`_ .
@@ -14437,7 +14437,7 @@ class CfnEC2Fleet(
14437
14437
  def availability_zone(self) -> typing.Optional[builtins.str]:
14438
14438
  '''The Availability Zone of the instance.
14439
14439
 
14440
- If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
14440
+ Either ``AvailabilityZone`` or ``AvailabilityZoneId`` can be specified, but not both. If neither is specified, Amazon EC2 automatically selects an Availability Zone based on the load balancing criteria for the Region.
14441
14441
 
14442
14442
  This parameter is not supported for `CreateFleet <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet>`_ .
14443
14443
 
@@ -25844,6 +25844,200 @@ class CfnInternetGatewayProps:
25844
25844
  )
25845
25845
 
25846
25846
 
25847
+ @jsii.implements(_IInspectable_c2943556)
25848
+ class CfnIpPoolRouteTableAssociation(
25849
+ _CfnResource_9df397a6,
25850
+ metaclass=jsii.JSIIMeta,
25851
+ jsii_type="aws-cdk-lib.aws_ec2.CfnIpPoolRouteTableAssociation",
25852
+ ):
25853
+ '''Resource Type definition for AWS::EC2::IpPoolRouteTableAssociation.
25854
+
25855
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ippoolroutetableassociation.html
25856
+ :cloudformationResource: AWS::EC2::IpPoolRouteTableAssociation
25857
+ :exampleMetadata: fixture=_generated
25858
+
25859
+ Example::
25860
+
25861
+ # The code below shows an example of how to instantiate this type.
25862
+ # The values are placeholders you should change.
25863
+ from aws_cdk import aws_ec2 as ec2
25864
+
25865
+ cfn_ip_pool_route_table_association = ec2.CfnIpPoolRouteTableAssociation(self, "MyCfnIpPoolRouteTableAssociation",
25866
+ public_ipv4_pool="publicIpv4Pool",
25867
+ route_table_id="routeTableId"
25868
+ )
25869
+ '''
25870
+
25871
+ def __init__(
25872
+ self,
25873
+ scope: _constructs_77d1e7e8.Construct,
25874
+ id: builtins.str,
25875
+ *,
25876
+ public_ipv4_pool: builtins.str,
25877
+ route_table_id: builtins.str,
25878
+ ) -> None:
25879
+ '''
25880
+ :param scope: Scope in which this resource is defined.
25881
+ :param id: Construct identifier for this resource (unique in its scope).
25882
+ :param public_ipv4_pool: The ID of the public IPv4 pool.
25883
+ :param route_table_id: The ID of the route table.
25884
+ '''
25885
+ if __debug__:
25886
+ type_hints = typing.get_type_hints(_typecheckingstub__d2e346c37572137e6dfe14e676bbcd2ecce12183e9c91e6bac858b8287c38d18)
25887
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
25888
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
25889
+ props = CfnIpPoolRouteTableAssociationProps(
25890
+ public_ipv4_pool=public_ipv4_pool, route_table_id=route_table_id
25891
+ )
25892
+
25893
+ jsii.create(self.__class__, self, [scope, id, props])
25894
+
25895
+ @jsii.member(jsii_name="inspect")
25896
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
25897
+ '''Examines the CloudFormation resource and discloses attributes.
25898
+
25899
+ :param inspector: tree inspector to collect and process attributes.
25900
+ '''
25901
+ if __debug__:
25902
+ type_hints = typing.get_type_hints(_typecheckingstub__0e8beabfae1e3898fe833fa4f6fec4db49c1797a24c9a17c0a1cc938efbb234d)
25903
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
25904
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
25905
+
25906
+ @jsii.member(jsii_name="renderProperties")
25907
+ def _render_properties(
25908
+ self,
25909
+ props: typing.Mapping[builtins.str, typing.Any],
25910
+ ) -> typing.Mapping[builtins.str, typing.Any]:
25911
+ '''
25912
+ :param props: -
25913
+ '''
25914
+ if __debug__:
25915
+ type_hints = typing.get_type_hints(_typecheckingstub__9261e60da0656ce4be4de7b6f7ca910aa7426a27190ff19b86e1fa3fca169b5f)
25916
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
25917
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
25918
+
25919
+ @jsii.python.classproperty
25920
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
25921
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
25922
+ '''The CloudFormation resource type name for this resource class.'''
25923
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
25924
+
25925
+ @builtins.property
25926
+ @jsii.member(jsii_name="attrAssociationId")
25927
+ def attr_association_id(self) -> builtins.str:
25928
+ '''The route table association ID.
25929
+
25930
+ :cloudformationAttribute: AssociationId
25931
+ '''
25932
+ return typing.cast(builtins.str, jsii.get(self, "attrAssociationId"))
25933
+
25934
+ @builtins.property
25935
+ @jsii.member(jsii_name="cfnProperties")
25936
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
25937
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
25938
+
25939
+ @builtins.property
25940
+ @jsii.member(jsii_name="publicIpv4Pool")
25941
+ def public_ipv4_pool(self) -> builtins.str:
25942
+ '''The ID of the public IPv4 pool.'''
25943
+ return typing.cast(builtins.str, jsii.get(self, "publicIpv4Pool"))
25944
+
25945
+ @public_ipv4_pool.setter
25946
+ def public_ipv4_pool(self, value: builtins.str) -> None:
25947
+ if __debug__:
25948
+ type_hints = typing.get_type_hints(_typecheckingstub__9e778f968d1e05ca9a9a12139d6b6122fee2d84c3920b3266bb24123b1125376)
25949
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
25950
+ jsii.set(self, "publicIpv4Pool", value) # pyright: ignore[reportArgumentType]
25951
+
25952
+ @builtins.property
25953
+ @jsii.member(jsii_name="routeTableId")
25954
+ def route_table_id(self) -> builtins.str:
25955
+ '''The ID of the route table.'''
25956
+ return typing.cast(builtins.str, jsii.get(self, "routeTableId"))
25957
+
25958
+ @route_table_id.setter
25959
+ def route_table_id(self, value: builtins.str) -> None:
25960
+ if __debug__:
25961
+ type_hints = typing.get_type_hints(_typecheckingstub__50b3a9184baeaee59a249d70d1646e9be6be39d5717e3a579744f8bcbd740d9e)
25962
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
25963
+ jsii.set(self, "routeTableId", value) # pyright: ignore[reportArgumentType]
25964
+
25965
+
25966
+ @jsii.data_type(
25967
+ jsii_type="aws-cdk-lib.aws_ec2.CfnIpPoolRouteTableAssociationProps",
25968
+ jsii_struct_bases=[],
25969
+ name_mapping={
25970
+ "public_ipv4_pool": "publicIpv4Pool",
25971
+ "route_table_id": "routeTableId",
25972
+ },
25973
+ )
25974
+ class CfnIpPoolRouteTableAssociationProps:
25975
+ def __init__(
25976
+ self,
25977
+ *,
25978
+ public_ipv4_pool: builtins.str,
25979
+ route_table_id: builtins.str,
25980
+ ) -> None:
25981
+ '''Properties for defining a ``CfnIpPoolRouteTableAssociation``.
25982
+
25983
+ :param public_ipv4_pool: The ID of the public IPv4 pool.
25984
+ :param route_table_id: The ID of the route table.
25985
+
25986
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ippoolroutetableassociation.html
25987
+ :exampleMetadata: fixture=_generated
25988
+
25989
+ Example::
25990
+
25991
+ # The code below shows an example of how to instantiate this type.
25992
+ # The values are placeholders you should change.
25993
+ from aws_cdk import aws_ec2 as ec2
25994
+
25995
+ cfn_ip_pool_route_table_association_props = ec2.CfnIpPoolRouteTableAssociationProps(
25996
+ public_ipv4_pool="publicIpv4Pool",
25997
+ route_table_id="routeTableId"
25998
+ )
25999
+ '''
26000
+ if __debug__:
26001
+ type_hints = typing.get_type_hints(_typecheckingstub__ca7ebe92862b15a6d48fca22126c61fa57bcf8453d0939d48bb4080583c8ee82)
26002
+ check_type(argname="argument public_ipv4_pool", value=public_ipv4_pool, expected_type=type_hints["public_ipv4_pool"])
26003
+ check_type(argname="argument route_table_id", value=route_table_id, expected_type=type_hints["route_table_id"])
26004
+ self._values: typing.Dict[builtins.str, typing.Any] = {
26005
+ "public_ipv4_pool": public_ipv4_pool,
26006
+ "route_table_id": route_table_id,
26007
+ }
26008
+
26009
+ @builtins.property
26010
+ def public_ipv4_pool(self) -> builtins.str:
26011
+ '''The ID of the public IPv4 pool.
26012
+
26013
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ippoolroutetableassociation.html#cfn-ec2-ippoolroutetableassociation-publicipv4pool
26014
+ '''
26015
+ result = self._values.get("public_ipv4_pool")
26016
+ assert result is not None, "Required property 'public_ipv4_pool' is missing"
26017
+ return typing.cast(builtins.str, result)
26018
+
26019
+ @builtins.property
26020
+ def route_table_id(self) -> builtins.str:
26021
+ '''The ID of the route table.
26022
+
26023
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ippoolroutetableassociation.html#cfn-ec2-ippoolroutetableassociation-routetableid
26024
+ '''
26025
+ result = self._values.get("route_table_id")
26026
+ assert result is not None, "Required property 'route_table_id' is missing"
26027
+ return typing.cast(builtins.str, result)
26028
+
26029
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
26030
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
26031
+
26032
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
26033
+ return not (rhs == self)
26034
+
26035
+ def __repr__(self) -> str:
26036
+ return "CfnIpPoolRouteTableAssociationProps(%s)" % ", ".join(
26037
+ k + "=" + repr(v) for k, v in self._values.items()
26038
+ )
26039
+
26040
+
25847
26041
  @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
25848
26042
  class CfnKeyPair(
25849
26043
  _CfnResource_9df397a6,
@@ -27533,15 +27727,8 @@ class CfnLaunchTemplate(
27533
27727
  )
27534
27728
  class ElasticGpuSpecificationProperty:
27535
27729
  def __init__(self, *, type: typing.Optional[builtins.str] = None) -> None:
27536
- '''.. epigraph::
27537
-
27538
- Amazon Elastic Graphics reached end of life on January 8, 2024.
27539
-
27540
- Specifies a specification for an Elastic GPU for an Amazon EC2 launch template.
27541
-
27542
- ``ElasticGpuSpecification`` is a property of `AWS::EC2::LaunchTemplate LaunchTemplateData <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html>`_ .
27543
-
27544
- :param type: The type of Elastic Graphics accelerator.
27730
+ '''
27731
+ :param type:
27545
27732
 
27546
27733
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-elasticgpuspecification.html
27547
27734
  :exampleMetadata: fixture=_generated
@@ -27565,8 +27752,7 @@ class CfnLaunchTemplate(
27565
27752
 
27566
27753
  @builtins.property
27567
27754
  def type(self) -> typing.Optional[builtins.str]:
27568
- '''The type of Elastic Graphics accelerator.
27569
-
27755
+ '''
27570
27756
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-elasticgpuspecification.html#cfn-ec2-launchtemplate-elasticgpuspecification-type
27571
27757
  '''
27572
27758
  result = self._values.get("type")
@@ -28945,8 +29131,8 @@ class CfnLaunchTemplate(
28945
29131
  :param disable_api_stop: Indicates whether to enable the instance for stop protection. For more information, see `Enable stop protection for your EC2 instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html>`_ in the *Amazon EC2 User Guide* .
28946
29132
  :param disable_api_termination: Indicates whether termination protection is enabled for the instance. The default is ``false`` , which means that you can terminate the instance using the Amazon EC2 console, command line tools, or API. You can enable termination protection when you launch an instance, while the instance is running, or while the instance is stopped.
28947
29133
  :param ebs_optimized: Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal Amazon EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.
28948
- :param elastic_gpu_specifications: Deprecated. .. epigraph:: Amazon Elastic Graphics reached end of life on January 8, 2024.
28949
- :param elastic_inference_accelerators: .. epigraph:: Amazon Elastic Inference is no longer available. An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads. You cannot specify accelerators from different generations in the same request.
29134
+ :param elastic_gpu_specifications:
29135
+ :param elastic_inference_accelerators:
28950
29136
  :param enclave_options: Indicates whether the instance is enabled for AWS Nitro Enclaves. For more information, see `What is Nitro Enclaves? <https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html>`_ in the *AWS Nitro Enclaves User Guide* . You can't enable AWS Nitro Enclaves and hibernation on the same instance.
28951
29137
  :param hibernation_options: Indicates whether an instance is enabled for hibernation. This parameter is valid only if the instance meets the `hibernation prerequisites <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html>`_ . For more information, see `Hibernate your Amazon EC2 instance <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html>`_ in the *Amazon EC2 User Guide* .
28952
29138
  :param iam_instance_profile: The name or Amazon Resource Name (ARN) of an IAM instance profile.
@@ -29391,12 +29577,7 @@ class CfnLaunchTemplate(
29391
29577
  def elastic_gpu_specifications(
29392
29578
  self,
29393
29579
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.ElasticGpuSpecificationProperty"]]]]:
29394
- '''Deprecated.
29395
-
29396
- .. epigraph::
29397
-
29398
- Amazon Elastic Graphics reached end of life on January 8, 2024.
29399
-
29580
+ '''
29400
29581
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-elasticgpuspecifications
29401
29582
  '''
29402
29583
  result = self._values.get("elastic_gpu_specifications")
@@ -29406,14 +29587,7 @@ class CfnLaunchTemplate(
29406
29587
  def elastic_inference_accelerators(
29407
29588
  self,
29408
29589
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLaunchTemplate.LaunchTemplateElasticInferenceAcceleratorProperty"]]]]:
29409
- '''.. epigraph::
29410
-
29411
- Amazon Elastic Inference is no longer available.
29412
-
29413
- An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
29414
-
29415
- You cannot specify accelerators from different generations in the same request.
29416
-
29590
+ '''
29417
29591
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html#cfn-ec2-launchtemplate-launchtemplatedata-elasticinferenceaccelerators
29418
29592
  '''
29419
29593
  result = self._values.get("elastic_inference_accelerators")
@@ -29745,16 +29919,9 @@ class CfnLaunchTemplate(
29745
29919
  count: typing.Optional[jsii.Number] = None,
29746
29920
  type: typing.Optional[builtins.str] = None,
29747
29921
  ) -> None:
29748
- '''.. epigraph::
29749
-
29750
- Amazon Elastic Inference is no longer available.
29751
-
29752
- Specifies an elastic inference accelerator.
29753
-
29754
- ``LaunchTemplateElasticInferenceAccelerator`` is a property of `AWS::EC2::LaunchTemplate LaunchTemplateData <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html>`_ .
29755
-
29756
- :param count: The number of elastic inference accelerators to attach to the instance. Default: 1
29757
- :param type: The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, and eia1.xlarge.
29922
+ '''
29923
+ :param count:
29924
+ :param type:
29758
29925
 
29759
29926
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplateelasticinferenceaccelerator.html
29760
29927
  :exampleMetadata: fixture=_generated
@@ -29782,10 +29949,7 @@ class CfnLaunchTemplate(
29782
29949
 
29783
29950
  @builtins.property
29784
29951
  def count(self) -> typing.Optional[jsii.Number]:
29785
- '''The number of elastic inference accelerators to attach to the instance.
29786
-
29787
- Default: 1
29788
-
29952
+ '''
29789
29953
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplateelasticinferenceaccelerator.html#cfn-ec2-launchtemplate-launchtemplateelasticinferenceaccelerator-count
29790
29954
  '''
29791
29955
  result = self._values.get("count")
@@ -29793,10 +29957,7 @@ class CfnLaunchTemplate(
29793
29957
 
29794
29958
  @builtins.property
29795
29959
  def type(self) -> typing.Optional[builtins.str]:
29796
- '''The type of elastic inference accelerator.
29797
-
29798
- The possible values are eia1.medium, eia1.large, and eia1.xlarge.
29799
-
29960
+ '''
29800
29961
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplateelasticinferenceaccelerator.html#cfn-ec2-launchtemplate-launchtemplateelasticinferenceaccelerator-type
29801
29962
  '''
29802
29963
  result = self._values.get("type")
@@ -30581,7 +30742,7 @@ class CfnLaunchTemplate(
30581
30742
  :param delete_on_termination: Indicates whether the network interface is deleted when the instance is terminated.
30582
30743
  :param description: A description for the network interface.
30583
30744
  :param device_index: The device index for the network interface attachment. The primary network interface has a device index of 0. If the network interface is of type ``interface`` , you must specify a device index. If you create a launch template that includes secondary network interfaces but no primary network interface, and you specify it using the ``LaunchTemplate`` property of ``AWS::EC2::Instance`` , then you must include a primary network interface using the ``NetworkInterfaces`` property of ``AWS::EC2::Instance`` .
30584
- :param ena_queue_count:
30745
+ :param ena_queue_count: The number of ENA queues to be created with the instance.
30585
30746
  :param ena_srd_specification: The ENA Express configuration for the network interface.
30586
30747
  :param groups: The IDs of one or more security groups.
30587
30748
  :param interface_type: The type of network interface. To create an Elastic Fabric Adapter (EFA), specify ``efa`` or ``efa`` . For more information, see `Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html>`_ in the *Amazon EC2 User Guide* . If you are not creating an EFA, specify ``interface`` or omit this parameter. If you specify ``efa-only`` , do not assign any IP addresses to the network interface. EFA-only network interfaces do not support IP addresses. Valid values: ``interface`` | ``efa`` | ``efa-only``
@@ -30797,7 +30958,8 @@ class CfnLaunchTemplate(
30797
30958
 
30798
30959
  @builtins.property
30799
30960
  def ena_queue_count(self) -> typing.Optional[jsii.Number]:
30800
- '''
30961
+ '''The number of ENA queues to be created with the instance.
30962
+
30801
30963
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-networkinterface.html#cfn-ec2-launchtemplate-networkinterface-enaqueuecount
30802
30964
  '''
30803
30965
  result = self._values.get("ena_queue_count")
@@ -31087,7 +31249,7 @@ class CfnLaunchTemplate(
31087
31249
  ``Placement`` is a property of `AWS::EC2::LaunchTemplate LaunchTemplateData <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatedata.html>`_ .
31088
31250
 
31089
31251
  :param affinity: The affinity setting for an instance on a Dedicated Host.
31090
- :param availability_zone: The Availability Zone for the instance.
31252
+ :param availability_zone: The Availability Zone for the instance. Either ``AvailabilityZone`` or ``AvailabilityZoneId`` can be specified, but not both
31091
31253
  :param group_id: The Group Id of a placement group. You must specify the Placement Group *Group Id* to launch an instance in a shared placement group.
31092
31254
  :param group_name: The name of the placement group for the instance.
31093
31255
  :param host_id: The ID of the Dedicated Host for the instance.
@@ -31161,6 +31323,8 @@ class CfnLaunchTemplate(
31161
31323
  def availability_zone(self) -> typing.Optional[builtins.str]:
31162
31324
  '''The Availability Zone for the instance.
31163
31325
 
31326
+ Either ``AvailabilityZone`` or ``AvailabilityZoneId`` can be specified, but not both
31327
+
31164
31328
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html#cfn-ec2-launchtemplate-placement-availabilityzone
31165
31329
  '''
31166
31330
  result = self._values.get("availability_zone")
@@ -71309,7 +71473,7 @@ class CfnVolume(
71309
71473
  '''
71310
71474
  :param scope: Scope in which this resource is defined.
71311
71475
  :param id: Construct identifier for this resource (unique in its scope).
71312
- :param availability_zone: The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a`` .
71476
+ :param availability_zone: The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a`` . Either ``AvailabilityZone`` or ``AvailabilityZoneId`` must be specified, but not both.
71313
71477
  :param auto_enable_io: Indicates whether the volume is auto-enabled for I/O operations. By default, Amazon EBS disables I/O to the volume from attached EC2 instances when it determines that a volume's data is potentially inconsistent. If the consistency of the volume is not a concern, and you prefer that the volume be made available immediately if it's impaired, you can configure the volume to automatically enable I/O.
71314
71478
  :param encrypted: Indicates whether the volume should be encrypted. The effect of setting the encryption state to ``true`` depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see `Encryption by default <https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default>`_ in the *Amazon EBS User Guide* . Encrypted Amazon EBS volumes must be attached to instances that support Amazon EBS encryption. For more information, see `Supported instance types <https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances>`_ .
71315
71479
  :param iops: The number of I/O operations per second (IOPS). For ``gp3`` , ``io1`` , and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type: - ``gp3`` : 3,000 - 16,000 IOPS - ``io1`` : 100 - 64,000 IOPS - ``io2`` : 100 - 256,000 IOPS For ``io2`` volumes, you can achieve up to 256,000 IOPS on `instances built on the Nitro System <https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html>`_ . On other instances, you can achieve performance up to 32,000 IOPS. This parameter is required for ``io1`` and ``io2`` volumes. The default for ``gp3`` volumes is 3,000 IOPS. This parameter is not supported for ``gp2`` , ``st1`` , ``sc1`` , or ``standard`` volumes.
@@ -71398,7 +71562,10 @@ class CfnVolume(
71398
71562
  @builtins.property
71399
71563
  @jsii.member(jsii_name="availabilityZone")
71400
71564
  def availability_zone(self) -> builtins.str:
71401
- '''The ID of the Availability Zone in which to create the volume.'''
71565
+ '''The ID of the Availability Zone in which to create the volume.
71566
+
71567
+ For example, ``us-east-1a`` .
71568
+ '''
71402
71569
  return typing.cast(builtins.str, jsii.get(self, "availabilityZone"))
71403
71570
 
71404
71571
  @availability_zone.setter
@@ -71853,7 +72020,7 @@ class CfnVolumeProps:
71853
72020
  ) -> None:
71854
72021
  '''Properties for defining a ``CfnVolume``.
71855
72022
 
71856
- :param availability_zone: The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a`` .
72023
+ :param availability_zone: The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a`` . Either ``AvailabilityZone`` or ``AvailabilityZoneId`` must be specified, but not both.
71857
72024
  :param auto_enable_io: Indicates whether the volume is auto-enabled for I/O operations. By default, Amazon EBS disables I/O to the volume from attached EC2 instances when it determines that a volume's data is potentially inconsistent. If the consistency of the volume is not a concern, and you prefer that the volume be made available immediately if it's impaired, you can configure the volume to automatically enable I/O.
71858
72025
  :param encrypted: Indicates whether the volume should be encrypted. The effect of setting the encryption state to ``true`` depends on the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see `Encryption by default <https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default>`_ in the *Amazon EBS User Guide* . Encrypted Amazon EBS volumes must be attached to instances that support Amazon EBS encryption. For more information, see `Supported instance types <https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances>`_ .
71859
72026
  :param iops: The number of I/O operations per second (IOPS). For ``gp3`` , ``io1`` , and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting. The following are the supported values for each volume type: - ``gp3`` : 3,000 - 16,000 IOPS - ``io1`` : 100 - 64,000 IOPS - ``io2`` : 100 - 256,000 IOPS For ``io2`` volumes, you can achieve up to 256,000 IOPS on `instances built on the Nitro System <https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html>`_ . On other instances, you can achieve performance up to 32,000 IOPS. This parameter is required for ``io1`` and ``io2`` volumes. The default for ``gp3`` volumes is 3,000 IOPS. This parameter is not supported for ``gp2`` , ``st1`` , ``sc1`` , or ``standard`` volumes.
@@ -71942,9 +72109,9 @@ class CfnVolumeProps:
71942
72109
 
71943
72110
  @builtins.property
71944
72111
  def availability_zone(self) -> builtins.str:
71945
- '''The ID of the Availability Zone in which to create the volume.
72112
+ '''The ID of the Availability Zone in which to create the volume. For example, ``us-east-1a`` .
71946
72113
 
71947
- For example, ``us-east-1a`` .
72114
+ Either ``AvailabilityZone`` or ``AvailabilityZoneId`` must be specified, but not both.
71948
72115
 
71949
72116
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volume.html#cfn-ec2-volume-availabilityzone
71950
72117
  '''
@@ -104903,6 +105070,8 @@ __all__ = [
104903
105070
  "CfnInstanceProps",
104904
105071
  "CfnInternetGateway",
104905
105072
  "CfnInternetGatewayProps",
105073
+ "CfnIpPoolRouteTableAssociation",
105074
+ "CfnIpPoolRouteTableAssociationProps",
104906
105075
  "CfnKeyPair",
104907
105076
  "CfnKeyPairProps",
104908
105077
  "CfnLaunchTemplate",
@@ -108554,6 +108723,48 @@ def _typecheckingstub__87a0ecd2999ccef41b6baf7e5e653666a7205cdda8348b4e20f3b1bab
108554
108723
  """Type checking stubs"""
108555
108724
  pass
108556
108725
 
108726
+ def _typecheckingstub__d2e346c37572137e6dfe14e676bbcd2ecce12183e9c91e6bac858b8287c38d18(
108727
+ scope: _constructs_77d1e7e8.Construct,
108728
+ id: builtins.str,
108729
+ *,
108730
+ public_ipv4_pool: builtins.str,
108731
+ route_table_id: builtins.str,
108732
+ ) -> None:
108733
+ """Type checking stubs"""
108734
+ pass
108735
+
108736
+ def _typecheckingstub__0e8beabfae1e3898fe833fa4f6fec4db49c1797a24c9a17c0a1cc938efbb234d(
108737
+ inspector: _TreeInspector_488e0dd5,
108738
+ ) -> None:
108739
+ """Type checking stubs"""
108740
+ pass
108741
+
108742
+ def _typecheckingstub__9261e60da0656ce4be4de7b6f7ca910aa7426a27190ff19b86e1fa3fca169b5f(
108743
+ props: typing.Mapping[builtins.str, typing.Any],
108744
+ ) -> None:
108745
+ """Type checking stubs"""
108746
+ pass
108747
+
108748
+ def _typecheckingstub__9e778f968d1e05ca9a9a12139d6b6122fee2d84c3920b3266bb24123b1125376(
108749
+ value: builtins.str,
108750
+ ) -> None:
108751
+ """Type checking stubs"""
108752
+ pass
108753
+
108754
+ def _typecheckingstub__50b3a9184baeaee59a249d70d1646e9be6be39d5717e3a579744f8bcbd740d9e(
108755
+ value: builtins.str,
108756
+ ) -> None:
108757
+ """Type checking stubs"""
108758
+ pass
108759
+
108760
+ def _typecheckingstub__ca7ebe92862b15a6d48fca22126c61fa57bcf8453d0939d48bb4080583c8ee82(
108761
+ *,
108762
+ public_ipv4_pool: builtins.str,
108763
+ route_table_id: builtins.str,
108764
+ ) -> None:
108765
+ """Type checking stubs"""
108766
+ pass
108767
+
108557
108768
  def _typecheckingstub__1de6844e799c72712c1e89d9bf245ba313ed7d4d20f1567a28fb58baefc263bd(
108558
108769
  scope: _constructs_77d1e7e8.Construct,
108559
108770
  id: builtins.str,
@@ -7012,7 +7012,7 @@ class CfnCapacityProvider(
7012
7012
 
7013
7013
  :param instance_warmup_period: The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value of ``300`` seconds is used.
7014
7014
  :param maximum_scaling_step_size: The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of ``10000`` is used.
7015
- :param minimum_scaling_step_size: The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of ``1`` is used. When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size. If you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value and will ignore both the maximum scaling step size as well as the capacity demand.
7015
+ :param minimum_scaling_step_size: The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of ``1`` is used. When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size.
7016
7016
  :param status: Determines whether to use managed scaling for the capacity provider.
7017
7017
  :param target_capacity: The target capacity utilization as a percentage for the capacity provider. The specified value must be greater than ``0`` and less than or equal to ``100`` . For example, if you want the capacity provider to maintain 10% spare capacity, then that means the utilization is 90%, so use a ``targetCapacity`` of ``90`` . The default value of ``100`` percent results in the Amazon EC2 instances in your Auto Scaling group being completely used.
7018
7018
 
@@ -7082,8 +7082,6 @@ class CfnCapacityProvider(
7082
7082
 
7083
7083
  When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size.
7084
7084
 
7085
- If you use a capacity provider with an Auto Scaling group configured with more than one Amazon EC2 instance type or Availability Zone, Amazon ECS will scale up by the exact minimum scaling step size value and will ignore both the maximum scaling step size as well as the capacity demand.
7086
-
7087
7085
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-capacityprovider-managedscaling.html#cfn-ecs-capacityprovider-managedscaling-minimumscalingstepsize
7088
7086
  '''
7089
7087
  result = self._values.get("minimum_scaling_step_size")
@@ -25910,7 +25908,7 @@ class Ec2ServiceProps(BaseServiceOptions):
25910
25908
  :param volume_configurations: Configuration details for a volume used by the service. This allows you to specify details about the EBS volume that can be attched to ECS tasks. Default: - undefined
25911
25909
  :param task_definition: The task definition to use for tasks in the service. [disable-awslint:ref-via-interface]
25912
25910
  :param assign_public_ip: Specifies whether the task's elastic network interface receives a public IP address. If true, each task will receive a public IP address. This property is only used for tasks that use the awsvpc network mode. Default: false
25913
- :param availability_zone_rebalancing: Whether to use Availability Zone rebalancing for the service. If enabled: ``maxHealthyPercent`` must be greater than 100; ``daemon`` must be false; if there are any ``placementStrategies``, the first must be "spread across Availability Zones"; there must be no ``placementConstraints`` using ``attribute:ecs.availability-zone``, and the service must not be a target of a Classic Load Balancer. Default: AvailabilityZoneRebalancing.ENABLED
25911
+ :param availability_zone_rebalancing: Whether to use Availability Zone rebalancing for the service. If enabled: ``maxHealthyPercent`` must be greater than 100; ``daemon`` must be false; if there are any ``placementStrategies``, the first must be "spread across Availability Zones"; there must be no ``placementConstraints`` using ``attribute:ecs.availability-zone``, and the service must not be a target of a Classic Load Balancer. Default: AvailabilityZoneRebalancing.DISABLED
25914
25912
  :param daemon: Specifies whether the service will use the daemon scheduling strategy. If true, the service scheduler deploys exactly one task on each container instance in your cluster. When you are using this strategy, do not specify a desired number of tasks or any task placement strategies. Default: false
25915
25913
  :param placement_constraints: The placement constraints to use for tasks in the service. For more information, see `Amazon ECS Task Placement Constraints <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html>`_. Default: - No constraints.
25916
25914
  :param placement_strategies: The placement strategies to use for tasks in the service. For more information, see `Amazon ECS Task Placement Strategies <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html>`_. Default: - No strategies.
@@ -26284,7 +26282,7 @@ class Ec2ServiceProps(BaseServiceOptions):
26284
26282
  must be no ``placementConstraints`` using ``attribute:ecs.availability-zone``, and the
26285
26283
  service must not be a target of a Classic Load Balancer.
26286
26284
 
26287
- :default: AvailabilityZoneRebalancing.ENABLED
26285
+ :default: AvailabilityZoneRebalancing.DISABLED
26288
26286
 
26289
26287
  :see: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
26290
26288
  '''
@@ -28865,7 +28863,7 @@ class FargateServiceProps(BaseServiceOptions):
28865
28863
  :param volume_configurations: Configuration details for a volume used by the service. This allows you to specify details about the EBS volume that can be attched to ECS tasks. Default: - undefined
28866
28864
  :param task_definition: The task definition to use for tasks in the service. [disable-awslint:ref-via-interface]
28867
28865
  :param assign_public_ip: Specifies whether the task's elastic network interface receives a public IP address. If true, each task will receive a public IP address. Default: false
28868
- :param availability_zone_rebalancing: Whether to use Availability Zone rebalancing for the service. If enabled, ``maxHealthyPercent`` must be greater than 100, and the service must not be a target of a Classic Load Balancer. Default: AvailabilityZoneRebalancing.ENABLED
28866
+ :param availability_zone_rebalancing: Whether to use Availability Zone rebalancing for the service. If enabled, ``maxHealthyPercent`` must be greater than 100, and the service must not be a target of a Classic Load Balancer. Default: AvailabilityZoneRebalancing.DISABLED
28869
28867
  :param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
28870
28868
  :param security_groups: The security groups to associate with the service. If you do not specify a security group, a new security group is created. Default: - A new security group is created.
28871
28869
  :param vpc_subnets: The subnets to associate with the service. Default: - Public subnets if ``assignPublicIp`` is set, otherwise the first available one of Private, Isolated, Public, in that order.
@@ -29236,7 +29234,7 @@ class FargateServiceProps(BaseServiceOptions):
29236
29234
  If enabled, ``maxHealthyPercent`` must be greater than 100, and the service must not be a target
29237
29235
  of a Classic Load Balancer.
29238
29236
 
29239
- :default: AvailabilityZoneRebalancing.ENABLED
29237
+ :default: AvailabilityZoneRebalancing.DISABLED
29240
29238
 
29241
29239
  :see: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html
29242
29240
  '''
@@ -43933,7 +43931,7 @@ class Ec2Service(
43933
43931
  :param id: -
43934
43932
  :param task_definition: The task definition to use for tasks in the service. [disable-awslint:ref-via-interface]
43935
43933
  :param assign_public_ip: Specifies whether the task's elastic network interface receives a public IP address. If true, each task will receive a public IP address. This property is only used for tasks that use the awsvpc network mode. Default: false
43936
- :param availability_zone_rebalancing: Whether to use Availability Zone rebalancing for the service. If enabled: ``maxHealthyPercent`` must be greater than 100; ``daemon`` must be false; if there are any ``placementStrategies``, the first must be "spread across Availability Zones"; there must be no ``placementConstraints`` using ``attribute:ecs.availability-zone``, and the service must not be a target of a Classic Load Balancer. Default: AvailabilityZoneRebalancing.ENABLED
43934
+ :param availability_zone_rebalancing: Whether to use Availability Zone rebalancing for the service. If enabled: ``maxHealthyPercent`` must be greater than 100; ``daemon`` must be false; if there are any ``placementStrategies``, the first must be "spread across Availability Zones"; there must be no ``placementConstraints`` using ``attribute:ecs.availability-zone``, and the service must not be a target of a Classic Load Balancer. Default: AvailabilityZoneRebalancing.DISABLED
43937
43935
  :param daemon: Specifies whether the service will use the daemon scheduling strategy. If true, the service scheduler deploys exactly one task on each container instance in your cluster. When you are using this strategy, do not specify a desired number of tasks or any task placement strategies. Default: false
43938
43936
  :param placement_constraints: The placement constraints to use for tasks in the service. For more information, see `Amazon ECS Task Placement Constraints <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html>`_. Default: - No constraints.
43939
43937
  :param placement_strategies: The placement strategies to use for tasks in the service. For more information, see `Amazon ECS Task Placement Strategies <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html>`_. Default: - No strategies.
@@ -44926,7 +44924,7 @@ class FargateService(
44926
44924
  :param id: -
44927
44925
  :param task_definition: The task definition to use for tasks in the service. [disable-awslint:ref-via-interface]
44928
44926
  :param assign_public_ip: Specifies whether the task's elastic network interface receives a public IP address. If true, each task will receive a public IP address. Default: false
44929
- :param availability_zone_rebalancing: Whether to use Availability Zone rebalancing for the service. If enabled, ``maxHealthyPercent`` must be greater than 100, and the service must not be a target of a Classic Load Balancer. Default: AvailabilityZoneRebalancing.ENABLED
44927
+ :param availability_zone_rebalancing: Whether to use Availability Zone rebalancing for the service. If enabled, ``maxHealthyPercent`` must be greater than 100, and the service must not be a target of a Classic Load Balancer. Default: AvailabilityZoneRebalancing.DISABLED
44930
44928
  :param platform_version: The platform version on which to run your service. If one is not specified, the LATEST platform version is used by default. For more information, see `AWS Fargate Platform Versions <https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html>`_ in the Amazon Elastic Container Service Developer Guide. Default: Latest
44931
44929
  :param security_groups: The security groups to associate with the service. If you do not specify a security group, a new security group is created. Default: - A new security group is created.
44932
44930
  :param vpc_subnets: The subnets to associate with the service. Default: - Public subnets if ``assignPublicIp`` is set, otherwise the first available one of Private, Isolated, Public, in that order.
@@ -6232,7 +6232,7 @@ class CfnCluster(
6232
6232
  :param access_config: The access configuration for the cluster.
6233
6233
  :param bootstrap_self_managed_addons: If you set this value to ``False`` when creating a cluster, the default networking add-ons will not be installed. The default networking add-ons include ``vpc-cni`` , ``coredns`` , and ``kube-proxy`` . Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
6234
6234
  :param compute_config: Indicates the current configuration of the compute capability on your EKS Auto Mode cluster. For example, if the capability is enabled or disabled. If the compute capability is enabled, EKS Auto Mode will create and delete EC2 Managed Instances in your AWS account. For more information, see EKS Auto Mode compute capability in the *Amazon EKS User Guide* .
6235
- :param deletion_protection: Set this value to true to enable deletion protection for the cluster.
6235
+ :param deletion_protection: The current deletion protection setting for the cluster. When ``true`` , deletion protection is enabled and the cluster cannot be deleted until protection is disabled. When ``false`` , the cluster can be deleted normally. This setting only applies to clusters in an active state.
6236
6236
  :param encryption_config: The encryption configuration for the cluster.
6237
6237
  :param force: Set this value to ``true`` to override upgrade-blocking readiness checks when updating a cluster. Default: - false
6238
6238
  :param kubernetes_network_config: The Kubernetes network configuration for the cluster.
@@ -6484,7 +6484,7 @@ class CfnCluster(
6484
6484
  def deletion_protection(
6485
6485
  self,
6486
6486
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
6487
- '''Set this value to true to enable deletion protection for the cluster.'''
6487
+ '''The current deletion protection setting for the cluster.'''
6488
6488
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "deletionProtection"))
6489
6489
 
6490
6490
  @deletion_protection.setter
@@ -8239,7 +8239,7 @@ class CfnClusterProps:
8239
8239
  :param access_config: The access configuration for the cluster.
8240
8240
  :param bootstrap_self_managed_addons: If you set this value to ``False`` when creating a cluster, the default networking add-ons will not be installed. The default networking add-ons include ``vpc-cni`` , ``coredns`` , and ``kube-proxy`` . Use this option when you plan to install third-party alternative add-ons or self-manage the default networking add-ons.
8241
8241
  :param compute_config: Indicates the current configuration of the compute capability on your EKS Auto Mode cluster. For example, if the capability is enabled or disabled. If the compute capability is enabled, EKS Auto Mode will create and delete EC2 Managed Instances in your AWS account. For more information, see EKS Auto Mode compute capability in the *Amazon EKS User Guide* .
8242
- :param deletion_protection: Set this value to true to enable deletion protection for the cluster.
8242
+ :param deletion_protection: The current deletion protection setting for the cluster. When ``true`` , deletion protection is enabled and the cluster cannot be deleted until protection is disabled. When ``false`` , the cluster can be deleted normally. This setting only applies to clusters in an active state.
8243
8243
  :param encryption_config: The encryption configuration for the cluster.
8244
8244
  :param force: Set this value to ``true`` to override upgrade-blocking readiness checks when updating a cluster. Default: - false
8245
8245
  :param kubernetes_network_config: The Kubernetes network configuration for the cluster.
@@ -8472,7 +8472,9 @@ class CfnClusterProps:
8472
8472
  def deletion_protection(
8473
8473
  self,
8474
8474
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
8475
- '''Set this value to true to enable deletion protection for the cluster.
8475
+ '''The current deletion protection setting for the cluster.
8476
+
8477
+ When ``true`` , deletion protection is enabled and the cluster cannot be deleted until protection is disabled. When ``false`` , the cluster can be deleted normally. This setting only applies to clusters in an active state.
8476
8478
 
8477
8479
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eks-cluster.html#cfn-eks-cluster-deletionprotection
8478
8480
  '''