aws-cdk-lib 2.199.0__py3-none-any.whl → 2.200.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 (49) hide show
  1. aws_cdk/__init__.py +22 -24
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.199.0.jsii.tgz → aws-cdk-lib@2.200.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_apigateway/__init__.py +1 -1
  6. aws_cdk/aws_applicationautoscaling/__init__.py +4 -4
  7. aws_cdk/aws_aps/__init__.py +38 -30
  8. aws_cdk/aws_autoscaling/__init__.py +4 -4
  9. aws_cdk/aws_bedrock/__init__.py +73 -48
  10. aws_cdk/aws_cloudformation/__init__.py +17 -23
  11. aws_cdk/aws_cloudfront_origins/__init__.py +1 -1
  12. aws_cdk/aws_cloudtrail/__init__.py +4 -4
  13. aws_cdk/aws_cloudwatch/__init__.py +50 -1
  14. aws_cdk/aws_codebuild/__init__.py +116 -0
  15. aws_cdk/aws_datazone/__init__.py +699 -9
  16. aws_cdk/aws_deadline/__init__.py +38 -10
  17. aws_cdk/aws_ec2/__init__.py +78 -20
  18. aws_cdk/aws_elasticloadbalancingv2/__init__.py +7 -7
  19. aws_cdk/aws_emr/__init__.py +36 -2
  20. aws_cdk/aws_fsx/__init__.py +122 -0
  21. aws_cdk/aws_glue/__init__.py +55 -26
  22. aws_cdk/aws_iam/__init__.py +376 -2
  23. aws_cdk/aws_iot/__init__.py +57 -5
  24. aws_cdk/aws_kinesisfirehose/__init__.py +5 -1
  25. aws_cdk/aws_lambda/__init__.py +65 -45
  26. aws_cdk/aws_lex/__init__.py +27 -13
  27. aws_cdk/aws_lightsail/__init__.py +452 -0
  28. aws_cdk/aws_medialive/__init__.py +699 -497
  29. aws_cdk/aws_msk/__init__.py +4 -4
  30. aws_cdk/aws_networkfirewall/__init__.py +9 -5
  31. aws_cdk/aws_nimblestudio/__init__.py +208 -400
  32. aws_cdk/aws_panorama/__init__.py +30 -3
  33. aws_cdk/aws_pcs/__init__.py +12 -5
  34. aws_cdk/aws_rds/__init__.py +22 -10
  35. aws_cdk/aws_s3/__init__.py +367 -6
  36. aws_cdk/aws_s3express/__init__.py +789 -0
  37. aws_cdk/aws_ses/__init__.py +300 -32
  38. aws_cdk/aws_sns_subscriptions/__init__.py +256 -1
  39. aws_cdk/aws_stepfunctions/__init__.py +55 -17
  40. aws_cdk/aws_synthetics/__init__.py +26 -16
  41. aws_cdk/aws_voiceid/__init__.py +13 -3
  42. aws_cdk/cloud_assembly_schema/__init__.py +137 -42
  43. aws_cdk/cx_api/__init__.py +7 -7
  44. {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/METADATA +2 -2
  45. {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/RECORD +49 -49
  46. {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/LICENSE +0 -0
  47. {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/NOTICE +0 -0
  48. {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/WHEEL +0 -0
  49. {aws_cdk_lib-2.199.0.dist-info → aws_cdk_lib-2.200.0.dist-info}/top_level.txt +0 -0
@@ -553,7 +553,7 @@ class CfnFleet(
553
553
  :param max_worker_count: The maximum number of workers specified in the fleet.
554
554
  :param role_arn: The IAM role that workers in the fleet use when processing jobs.
555
555
  :param description: A description that helps identify what the fleet is used for. .. epigraph:: This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field. Default: - ""
556
- :param host_configuration:
556
+ :param host_configuration: Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. To remove a script from a fleet, use the `UpdateFleet <https://docs.aws.amazon.com/deadline-cloud/latest/APIReference/API_UpdateFleet.html>`_ operation with the ``hostConfiguration`` ``scriptBody`` parameter set to an empty string ("").
557
557
  :param min_worker_count: The minimum number of workers in the fleet. Default: - 0
558
558
  :param tags: The tags to add to your fleet. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
559
559
  '''
@@ -748,6 +748,7 @@ class CfnFleet(
748
748
  def host_configuration(
749
749
  self,
750
750
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.HostConfigurationProperty"]]:
751
+ '''Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.'''
751
752
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.HostConfigurationProperty"]], jsii.get(self, "hostConfiguration"))
752
753
 
753
754
  @host_configuration.setter
@@ -1135,7 +1136,7 @@ class CfnFleet(
1135
1136
  :param mode: The AWS Auto Scaling mode for the customer managed fleet configuration.
1136
1137
  :param worker_capabilities: The worker capabilities for a customer managed fleet configuration.
1137
1138
  :param storage_profile_id: The storage profile ID.
1138
- :param tag_propagation_mode:
1139
+ :param tag_propagation_mode: Specifies whether tags associated with a fleet are attached to workers when the worker is launched. When the ``tagPropagationMode`` is set to ``PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH`` any tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers *do not* change. If you don't specify ``tagPropagationMode`` , the default is ``NO_PROPAGATION`` .
1139
1140
 
1140
1141
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedfleetconfiguration.html
1141
1142
  :exampleMetadata: fixture=_generated
@@ -1244,7 +1245,12 @@ class CfnFleet(
1244
1245
 
1245
1246
  @builtins.property
1246
1247
  def tag_propagation_mode(self) -> typing.Optional[builtins.str]:
1247
- '''
1248
+ '''Specifies whether tags associated with a fleet are attached to workers when the worker is launched.
1249
+
1250
+ When the ``tagPropagationMode`` is set to ``PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH`` any tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers *do not* change.
1251
+
1252
+ If you don't specify ``tagPropagationMode`` , the default is ``NO_PROPAGATION`` .
1253
+
1248
1254
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-customermanagedfleetconfiguration.html#cfn-deadline-fleet-customermanagedfleetconfiguration-tagpropagationmode
1249
1255
  '''
1250
1256
  result = self._values.get("tag_propagation_mode")
@@ -2023,9 +2029,12 @@ class CfnFleet(
2023
2029
  script_body: builtins.str,
2024
2030
  script_timeout_seconds: typing.Optional[jsii.Number] = None,
2025
2031
  ) -> None:
2026
- '''
2027
- :param script_body:
2028
- :param script_timeout_seconds: Default: - 300
2032
+ '''Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
2033
+
2034
+ To remove a script from a fleet, use the `UpdateFleet <https://docs.aws.amazon.com/deadline-cloud/latest/APIReference/API_UpdateFleet.html>`_ operation with the ``hostConfiguration`` ``scriptBody`` parameter set to an empty string ("").
2035
+
2036
+ :param script_body: The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. The script runs after a worker enters the ``STARTING`` state and before the worker processes tasks. For more information about using the script, see `Run scripts as an administrator to configure workers <https://docs.aws.amazon.com/deadline-cloud/latest/developerguide/smf-admin.html>`_ in the *Deadline Cloud Developer Guide* . .. epigraph:: The script runs as an administrative user ( ``sudo root`` on Linux, as an Administrator on Windows).
2037
+ :param script_timeout_seconds: The maximum time that the host configuration can run. If the timeout expires, the worker enters the ``NOT RESPONDING`` state and shuts down. You are charged for the time that the worker is running the host configuration script. .. epigraph:: You should configure your fleet for a maximum of one worker while testing your host configuration script to avoid starting additional workers. The default is 300 seconds (5 minutes). Default: - 300
2029
2038
 
2030
2039
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-hostconfiguration.html
2031
2040
  :exampleMetadata: fixture=_generated
@@ -2055,7 +2064,15 @@ class CfnFleet(
2055
2064
 
2056
2065
  @builtins.property
2057
2066
  def script_body(self) -> builtins.str:
2058
- '''
2067
+ '''The text of the script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
2068
+
2069
+ The script runs after a worker enters the ``STARTING`` state and before the worker processes tasks.
2070
+
2071
+ For more information about using the script, see `Run scripts as an administrator to configure workers <https://docs.aws.amazon.com/deadline-cloud/latest/developerguide/smf-admin.html>`_ in the *Deadline Cloud Developer Guide* .
2072
+ .. epigraph::
2073
+
2074
+ The script runs as an administrative user ( ``sudo root`` on Linux, as an Administrator on Windows).
2075
+
2059
2076
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-hostconfiguration.html#cfn-deadline-fleet-hostconfiguration-scriptbody
2060
2077
  '''
2061
2078
  result = self._values.get("script_body")
@@ -2064,7 +2081,15 @@ class CfnFleet(
2064
2081
 
2065
2082
  @builtins.property
2066
2083
  def script_timeout_seconds(self) -> typing.Optional[jsii.Number]:
2067
- '''
2084
+ '''The maximum time that the host configuration can run.
2085
+
2086
+ If the timeout expires, the worker enters the ``NOT RESPONDING`` state and shuts down. You are charged for the time that the worker is running the host configuration script.
2087
+ .. epigraph::
2088
+
2089
+ You should configure your fleet for a maximum of one worker while testing your host configuration script to avoid starting additional workers.
2090
+
2091
+ The default is 300 seconds (5 minutes).
2092
+
2068
2093
  :default: - 300
2069
2094
 
2070
2095
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-hostconfiguration.html#cfn-deadline-fleet-hostconfiguration-scripttimeoutseconds
@@ -2704,7 +2729,7 @@ class CfnFleetProps:
2704
2729
  :param max_worker_count: The maximum number of workers specified in the fleet.
2705
2730
  :param role_arn: The IAM role that workers in the fleet use when processing jobs.
2706
2731
  :param description: A description that helps identify what the fleet is used for. .. epigraph:: This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field. Default: - ""
2707
- :param host_configuration:
2732
+ :param host_configuration: Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet. To remove a script from a fleet, use the `UpdateFleet <https://docs.aws.amazon.com/deadline-cloud/latest/APIReference/API_UpdateFleet.html>`_ operation with the ``hostConfiguration`` ``scriptBody`` parameter set to an empty string ("").
2708
2733
  :param min_worker_count: The minimum number of workers in the fleet. Default: - 0
2709
2734
  :param tags: The tags to add to your fleet. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
2710
2735
 
@@ -2948,7 +2973,10 @@ class CfnFleetProps:
2948
2973
  def host_configuration(
2949
2974
  self,
2950
2975
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.HostConfigurationProperty]]:
2951
- '''
2976
+ '''Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
2977
+
2978
+ To remove a script from a fleet, use the `UpdateFleet <https://docs.aws.amazon.com/deadline-cloud/latest/APIReference/API_UpdateFleet.html>`_ operation with the ``hostConfiguration`` ``scriptBody`` parameter set to an empty string ("").
2979
+
2952
2980
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-fleet.html#cfn-deadline-fleet-hostconfiguration
2953
2981
  '''
2954
2982
  result = self._values.get("host_configuration")
@@ -815,7 +815,6 @@ peer = ec2.Peer.ipv4("10.0.0.0/16")
815
815
  peer = ec2.Peer.any_ipv4()
816
816
  peer = ec2.Peer.ipv6("::0/0")
817
817
  peer = ec2.Peer.any_ipv6()
818
- peer = ec2.Peer.prefix_list("pl-12345")
819
818
  app_fleet.connections.allow_to(peer, ec2.Port.HTTPS, "Allow outbound HTTPS")
820
819
  ```
821
820
 
@@ -833,6 +832,16 @@ fleet1.connections.allow_to(fleet2, ec2.Port.HTTP, "Allow between fleets")
833
832
  app_fleet.connections.allow_from_any_ipv4(ec2.Port.HTTP, "Allow from load balancer")
834
833
  ```
835
834
 
835
+ A managed prefix list is also a connection peer:
836
+
837
+ ```python
838
+ # app_fleet: autoscaling.AutoScalingGroup
839
+
840
+
841
+ prefix_list = ec2.PrefixList(self, "PrefixList", max_entries=10)
842
+ app_fleet.connections.allow_from(prefix_list, ec2.Port.HTTPS)
843
+ ```
844
+
836
845
  ### Port Ranges
837
846
 
838
847
  The connections that are allowed are specified by port ranges. A number of classes provide
@@ -20820,7 +20829,7 @@ class CfnInstance(
20820
20829
  :param key_name: The name of the key pair. You can create a key pair using `CreateKeyPair <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html>`_ or `ImportKeyPair <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html>`_ . .. epigraph:: If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.
20821
20830
  :param launch_template: The launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
20822
20831
  :param license_specifications: The license configurations.
20823
- :param metadata_options:
20832
+ :param metadata_options: The metadata options for the instance.
20824
20833
  :param monitoring: Specifies whether detailed monitoring is enabled for the instance. Specify ``true`` to enable detailed monitoring. Otherwise, basic monitoring is enabled. For more information about detailed monitoring, see `Enable or turn off detailed monitoring for your instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html>`_ in the *Amazon EC2 User Guide* .
20825
20834
  :param network_interfaces: The network interfaces to associate with the instance. .. epigraph:: If you use this property to point to a network interface, you must terminate the original interface before attaching a new one to allow the update of the instance to succeed. If this resource has a public IP address and is also in a VPC that is defined in the same template, you must use the `DependsOn Attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html>`_ to declare a dependency on the VPC-gateway attachment.
20826
20835
  :param placement_group_name: The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
@@ -21394,6 +21403,7 @@ class CfnInstance(
21394
21403
  def metadata_options(
21395
21404
  self,
21396
21405
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInstance.MetadataOptionsProperty"]]:
21406
+ '''The metadata options for the instance.'''
21397
21407
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnInstance.MetadataOptionsProperty"]], jsii.get(self, "metadataOptions"))
21398
21408
 
21399
21409
  @metadata_options.setter
@@ -22887,12 +22897,13 @@ class CfnInstance(
22887
22897
  http_tokens: typing.Optional[builtins.str] = None,
22888
22898
  instance_metadata_tags: typing.Optional[builtins.str] = None,
22889
22899
  ) -> None:
22890
- '''
22891
- :param http_endpoint: Enables or disables the HTTP metadata endpoint on your instances. If you specify a value of disabled, you cannot access your instance metadata.
22892
- :param http_protocol_ipv6: Enables or disables the IPv6 endpoint for the instance metadata service. To use this option, the instance must be a Nitro-based instance launched in a subnet that supports IPv6.
22893
- :param http_put_response_hop_limit: The number of network hops that the metadata token can travel. Maximum is 64. Default: - 1
22894
- :param http_tokens: Indicates whether IMDSv2 is required.
22895
- :param instance_metadata_tags: Indicates whether tags from the instance are propagated to the EBS volumes.
22900
+ '''Specifies the metadata options for the instance.
22901
+
22902
+ :param http_endpoint: Enables or disables the HTTP metadata endpoint on your instances. If you specify a value of ``disabled`` , you cannot access your instance metadata. Default: ``enabled``
22903
+ :param http_protocol_ipv6: Enables or disables the IPv6 endpoint for the instance metadata service. Default: ``disabled``
22904
+ :param http_put_response_hop_limit: The maximum number of hops that the metadata token can travel. Possible values: Integers from 1 to 64 Default: - 1
22905
+ :param http_tokens: Indicates whether IMDSv2 is required. - ``optional`` - IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1. - ``required`` - IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2. Default: - If the value of ``ImdsSupport`` for the Amazon Machine Image (AMI) for your instance is ``v2.0`` and the account level default is set to ``no-preference`` , the default is ``required`` . - If the value of ``ImdsSupport`` for the Amazon Machine Image (AMI) for your instance is ``v2.0`` , but the account level default is set to ``V1 or V2`` , the default is ``optional`` . The default value can also be affected by other combinations of parameters. For more information, see `Order of precedence for instance metadata options <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence>`_ in the *Amazon EC2 User Guide* .
22906
+ :param instance_metadata_tags: Set to ``enabled`` to allow access to instance tags from the instance metadata. Set to ``disabled`` to turn off access to instance tags from the instance metadata. For more information, see `Work with instance tags using the instance metadata <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS>`_ . Default: ``disabled``
22896
22907
 
22897
22908
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html
22898
22909
  :exampleMetadata: fixture=_generated
@@ -22934,7 +22945,9 @@ class CfnInstance(
22934
22945
  def http_endpoint(self) -> typing.Optional[builtins.str]:
22935
22946
  '''Enables or disables the HTTP metadata endpoint on your instances.
22936
22947
 
22937
- If you specify a value of disabled, you cannot access your instance metadata.
22948
+ If you specify a value of ``disabled`` , you cannot access your instance metadata.
22949
+
22950
+ Default: ``enabled``
22938
22951
 
22939
22952
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html#cfn-ec2-instance-metadataoptions-httpendpoint
22940
22953
  '''
@@ -22945,7 +22958,7 @@ class CfnInstance(
22945
22958
  def http_protocol_ipv6(self) -> typing.Optional[builtins.str]:
22946
22959
  '''Enables or disables the IPv6 endpoint for the instance metadata service.
22947
22960
 
22948
- To use this option, the instance must be a Nitro-based instance launched in a subnet that supports IPv6.
22961
+ Default: ``disabled``
22949
22962
 
22950
22963
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html#cfn-ec2-instance-metadataoptions-httpprotocolipv6
22951
22964
  '''
@@ -22954,9 +22967,9 @@ class CfnInstance(
22954
22967
 
22955
22968
  @builtins.property
22956
22969
  def http_put_response_hop_limit(self) -> typing.Optional[jsii.Number]:
22957
- '''The number of network hops that the metadata token can travel.
22970
+ '''The maximum number of hops that the metadata token can travel.
22958
22971
 
22959
- Maximum is 64.
22972
+ Possible values: Integers from 1 to 64
22960
22973
 
22961
22974
  :default: - 1
22962
22975
 
@@ -22969,6 +22982,16 @@ class CfnInstance(
22969
22982
  def http_tokens(self) -> typing.Optional[builtins.str]:
22970
22983
  '''Indicates whether IMDSv2 is required.
22971
22984
 
22985
+ - ``optional`` - IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1.
22986
+ - ``required`` - IMDSv2 is required, which means that IMDSv1 is disabled, and you must use IMDSv2.
22987
+
22988
+ Default:
22989
+
22990
+ - If the value of ``ImdsSupport`` for the Amazon Machine Image (AMI) for your instance is ``v2.0`` and the account level default is set to ``no-preference`` , the default is ``required`` .
22991
+ - If the value of ``ImdsSupport`` for the Amazon Machine Image (AMI) for your instance is ``v2.0`` , but the account level default is set to ``V1 or V2`` , the default is ``optional`` .
22992
+
22993
+ The default value can also be affected by other combinations of parameters. For more information, see `Order of precedence for instance metadata options <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence>`_ in the *Amazon EC2 User Guide* .
22994
+
22972
22995
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html#cfn-ec2-instance-metadataoptions-httptokens
22973
22996
  '''
22974
22997
  result = self._values.get("http_tokens")
@@ -22976,7 +22999,11 @@ class CfnInstance(
22976
22999
 
22977
23000
  @builtins.property
22978
23001
  def instance_metadata_tags(self) -> typing.Optional[builtins.str]:
22979
- '''Indicates whether tags from the instance are propagated to the EBS volumes.
23002
+ '''Set to ``enabled`` to allow access to instance tags from the instance metadata.
23003
+
23004
+ Set to ``disabled`` to turn off access to instance tags from the instance metadata. For more information, see `Work with instance tags using the instance metadata <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS>`_ .
23005
+
23006
+ Default: ``disabled``
22980
23007
 
22981
23008
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-metadataoptions.html#cfn-ec2-instance-metadataoptions-instancemetadatatags
22982
23009
  '''
@@ -24212,7 +24239,7 @@ class CfnInstanceProps:
24212
24239
  :param key_name: The name of the key pair. You can create a key pair using `CreateKeyPair <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html>`_ or `ImportKeyPair <https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html>`_ . .. epigraph:: If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in.
24213
24240
  :param launch_template: The launch template. Any additional parameters that you specify for the new instance overwrite the corresponding parameters included in the launch template.
24214
24241
  :param license_specifications: The license configurations.
24215
- :param metadata_options:
24242
+ :param metadata_options: The metadata options for the instance.
24216
24243
  :param monitoring: Specifies whether detailed monitoring is enabled for the instance. Specify ``true`` to enable detailed monitoring. Otherwise, basic monitoring is enabled. For more information about detailed monitoring, see `Enable or turn off detailed monitoring for your instances <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html>`_ in the *Amazon EC2 User Guide* .
24217
24244
  :param network_interfaces: The network interfaces to associate with the instance. .. epigraph:: If you use this property to point to a network interface, you must terminate the original interface before attaching a new one to allow the update of the instance to succeed. If this resource has a public IP address and is also in a VPC that is defined in the same template, you must use the `DependsOn Attribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html>`_ to declare a dependency on the VPC-gateway attachment.
24218
24245
  :param placement_group_name: The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
@@ -24815,7 +24842,8 @@ class CfnInstanceProps:
24815
24842
  def metadata_options(
24816
24843
  self,
24817
24844
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnInstance.MetadataOptionsProperty]]:
24818
- '''
24845
+ '''The metadata options for the instance.
24846
+
24819
24847
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-metadataoptions
24820
24848
  '''
24821
24849
  result = self._values.get("metadata_options")
@@ -53692,7 +53720,8 @@ class CfnTrafficMirrorFilter(
53692
53720
  @builtins.property
53693
53721
  @jsii.member(jsii_name="attrId")
53694
53722
  def attr_id(self) -> builtins.str:
53695
- '''
53723
+ '''The ID of a traffic mirror filter.
53724
+
53696
53725
  :cloudformationAttribute: Id
53697
53726
  '''
53698
53727
  return typing.cast(builtins.str, jsii.get(self, "attrId"))
@@ -75768,7 +75797,7 @@ typing.cast(typing.Any, IPlacementGroup).__jsii_proxy_class__ = lambda : _IPlace
75768
75797
 
75769
75798
 
75770
75799
  @jsii.interface(jsii_type="aws-cdk-lib.aws_ec2.IPrefixList")
75771
- class IPrefixList(_IResource_c80c4260, typing_extensions.Protocol):
75800
+ class IPrefixList(_IResource_c80c4260, IPeer, typing_extensions.Protocol):
75772
75801
  '''A prefix list.'''
75773
75802
 
75774
75803
  @builtins.property
@@ -75783,6 +75812,7 @@ class IPrefixList(_IResource_c80c4260, typing_extensions.Protocol):
75783
75812
 
75784
75813
  class _IPrefixListProxy(
75785
75814
  jsii.proxy_for(_IResource_c80c4260), # type: ignore[misc]
75815
+ jsii.proxy_for(IPeer), # type: ignore[misc]
75786
75816
  ):
75787
75817
  '''A prefix list.'''
75788
75818
 
@@ -88675,7 +88705,7 @@ class Peer(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ec2.Peer"):
88675
88705
 
88676
88706
  cluster = msk.Cluster(self, "Cluster",
88677
88707
  cluster_name="myCluster",
88678
- kafka_version=msk.KafkaVersion.V3_9_X,
88708
+ kafka_version=msk.KafkaVersion.V4_0_X_KRAFT,
88679
88709
  vpc=vpc
88680
88710
  )
88681
88711
 
@@ -89081,7 +89111,7 @@ class Port(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_ec2.Port"):
89081
89111
 
89082
89112
  cluster = msk.Cluster(self, "Cluster",
89083
89113
  cluster_name="myCluster",
89084
- kafka_version=msk.KafkaVersion.V3_9_X,
89114
+ kafka_version=msk.KafkaVersion.V4_0_X_KRAFT,
89085
89115
  vpc=vpc
89086
89116
  )
89087
89117
 
@@ -89565,6 +89595,16 @@ class PrefixList(
89565
89595
  check_type(argname="argument prefix_list_id", value=prefix_list_id, expected_type=type_hints["prefix_list_id"])
89566
89596
  return typing.cast(IPrefixList, jsii.sinvoke(cls, "fromPrefixListId", [scope, id, prefix_list_id]))
89567
89597
 
89598
+ @jsii.member(jsii_name="toEgressRuleConfig")
89599
+ def to_egress_rule_config(self) -> typing.Any:
89600
+ '''Produce the egress rule JSON for the given connection.'''
89601
+ return typing.cast(typing.Any, jsii.invoke(self, "toEgressRuleConfig", []))
89602
+
89603
+ @jsii.member(jsii_name="toIngressRuleConfig")
89604
+ def to_ingress_rule_config(self) -> typing.Any:
89605
+ '''Produce the ingress rule JSON for the given connection.'''
89606
+ return typing.cast(typing.Any, jsii.invoke(self, "toIngressRuleConfig", []))
89607
+
89568
89608
  @jsii.python.classproperty
89569
89609
  @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
89570
89610
  def PROPERTY_INJECTION_ID(cls) -> builtins.str:
@@ -89577,6 +89617,18 @@ class PrefixList(
89577
89617
  '''The address family of the prefix list.'''
89578
89618
  return typing.cast(builtins.str, jsii.get(self, "addressFamily"))
89579
89619
 
89620
+ @builtins.property
89621
+ @jsii.member(jsii_name="canInlineRule")
89622
+ def can_inline_rule(self) -> builtins.bool:
89623
+ '''Whether the rule can be inlined into a SecurityGroup or not.'''
89624
+ return typing.cast(builtins.bool, jsii.get(self, "canInlineRule"))
89625
+
89626
+ @builtins.property
89627
+ @jsii.member(jsii_name="connections")
89628
+ def connections(self) -> "Connections":
89629
+ '''The network connections associated with this resource.'''
89630
+ return typing.cast("Connections", jsii.get(self, "connections"))
89631
+
89580
89632
  @builtins.property
89581
89633
  @jsii.member(jsii_name="ownerId")
89582
89634
  def owner_id(self) -> builtins.str:
@@ -89610,6 +89662,12 @@ class PrefixList(
89610
89662
  '''
89611
89663
  return typing.cast(builtins.str, jsii.get(self, "prefixListName"))
89612
89664
 
89665
+ @builtins.property
89666
+ @jsii.member(jsii_name="uniqueId")
89667
+ def unique_id(self) -> builtins.str:
89668
+ '''A unique identifier for this connection peer.'''
89669
+ return typing.cast(builtins.str, jsii.get(self, "uniqueId"))
89670
+
89613
89671
  @builtins.property
89614
89672
  @jsii.member(jsii_name="version")
89615
89673
  def version(self) -> jsii.Number:
@@ -89650,7 +89708,7 @@ class PrefixListLookupOptions:
89650
89708
  cf_origin_facing = ec2.PrefixList.from_lookup(self, "CloudFrontOriginFacing",
89651
89709
  prefix_list_name="com.amazonaws.global.cloudfront.origin-facing"
89652
89710
  )
89653
- alb.connections.allow_from(ec2.Peer.prefix_list(cf_origin_facing.prefix_list_id), ec2.Port.HTTP)
89711
+ alb.connections.allow_from(cf_origin_facing, ec2.Port.HTTP)
89654
89712
  '''
89655
89713
  if __debug__:
89656
89714
  type_hints = typing.get_type_hints(_typecheckingstub__4353f67b97f73eaeb1fbd94df299a14d0727dbc31a3319f8619e9b6d60f5c1bb)
@@ -3863,7 +3863,7 @@ class CfnListener(
3863
3863
  :param mutual_authentication: The mutual authentication configuration information.
3864
3864
  :param port: The port on which the load balancer is listening. You can't specify a port for a Gateway Load Balancer.
3865
3865
  :param protocol: The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.
3866
- :param ssl_policy: [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For more information, see `Security policies <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html>`_ in the *Application Load Balancers Guide* and `Security policies <https://docs.aws.amazon.com/elasticloadbalancing/latest/network/describe-ssl-policies.html>`_ in the *Network Load Balancers Guide* . Updating the security policy can result in interruptions if the load balancer is handling a high volume of traffic. To decrease the possibility of an interruption if your load balancer is handling a high volume of traffic, create an additional load balancer or request an LCU reservation.
3866
+ :param ssl_policy: [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For more information, see `Security policies <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html>`_ in the *Application Load Balancers Guide* and `Security policies <https://docs.aws.amazon.com/elasticloadbalancing/latest/network/describe-ssl-policies.html>`_ in the *Network Load Balancers Guide* . [HTTPS listeners] Updating the security policy can result in interruptions if the load balancer is handling a high volume of traffic. To decrease the possibility of an interruption if your load balancer is handling a high volume of traffic, create an additional load balancer or request an LCU reservation.
3867
3867
  '''
3868
3868
  if __debug__:
3869
3869
  type_hints = typing.get_type_hints(_typecheckingstub__da6c6bab97eae93f0a1595d72a25ac890e7034cc701e7cf76b58f5c6a2170048)
@@ -5382,7 +5382,7 @@ class CfnListener(
5382
5382
  ) -> None:
5383
5383
  '''Information about the target group stickiness for a rule.
5384
5384
 
5385
- :param duration_seconds: The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
5385
+ :param duration_seconds: The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
5386
5386
  :param enabled: Indicates whether target group stickiness is enabled.
5387
5387
 
5388
5388
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-targetgroupstickinessconfig.html
@@ -5413,7 +5413,7 @@ class CfnListener(
5413
5413
  def duration_seconds(self) -> typing.Optional[jsii.Number]:
5414
5414
  '''The time period, in seconds, during which requests from a client should be routed to the same target group.
5415
5415
 
5416
- The range is 1-604800 seconds (7 days).
5416
+ The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
5417
5417
 
5418
5418
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-targetgroupstickinessconfig.html#cfn-elasticloadbalancingv2-listener-targetgroupstickinessconfig-durationseconds
5419
5419
  '''
@@ -5812,7 +5812,7 @@ class CfnListenerProps:
5812
5812
  :param mutual_authentication: The mutual authentication configuration information.
5813
5813
  :param port: The port on which the load balancer is listening. You can't specify a port for a Gateway Load Balancer.
5814
5814
  :param protocol: The protocol for connections from clients to the load balancer. For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You can't specify a protocol for a Gateway Load Balancer.
5815
- :param ssl_policy: [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For more information, see `Security policies <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html>`_ in the *Application Load Balancers Guide* and `Security policies <https://docs.aws.amazon.com/elasticloadbalancing/latest/network/describe-ssl-policies.html>`_ in the *Network Load Balancers Guide* . Updating the security policy can result in interruptions if the load balancer is handling a high volume of traffic. To decrease the possibility of an interruption if your load balancer is handling a high volume of traffic, create an additional load balancer or request an LCU reservation.
5815
+ :param ssl_policy: [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported. For more information, see `Security policies <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html>`_ in the *Application Load Balancers Guide* and `Security policies <https://docs.aws.amazon.com/elasticloadbalancing/latest/network/describe-ssl-policies.html>`_ in the *Network Load Balancers Guide* . [HTTPS listeners] Updating the security policy can result in interruptions if the load balancer is handling a high volume of traffic. To decrease the possibility of an interruption if your load balancer is handling a high volume of traffic, create an additional load balancer or request an LCU reservation.
5816
5816
 
5817
5817
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html
5818
5818
  :exampleMetadata: fixture=_generated
@@ -6042,7 +6042,7 @@ class CfnListenerProps:
6042
6042
 
6043
6043
  For more information, see `Security policies <https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html>`_ in the *Application Load Balancers Guide* and `Security policies <https://docs.aws.amazon.com/elasticloadbalancing/latest/network/describe-ssl-policies.html>`_ in the *Network Load Balancers Guide* .
6044
6044
 
6045
- Updating the security policy can result in interruptions if the load balancer is handling a high volume of traffic. To decrease the possibility of an interruption if your load balancer is handling a high volume of traffic, create an additional load balancer or request an LCU reservation.
6045
+ [HTTPS listeners] Updating the security policy can result in interruptions if the load balancer is handling a high volume of traffic. To decrease the possibility of an interruption if your load balancer is handling a high volume of traffic, create an additional load balancer or request an LCU reservation.
6046
6046
 
6047
6047
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html#cfn-elasticloadbalancingv2-listener-sslpolicy
6048
6048
  '''
@@ -8082,7 +8082,7 @@ class CfnListenerRule(
8082
8082
  ) -> None:
8083
8083
  '''Information about the target group stickiness for a rule.
8084
8084
 
8085
- :param duration_seconds: The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days).
8085
+ :param duration_seconds: The time period, in seconds, during which requests from a client should be routed to the same target group. The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
8086
8086
  :param enabled: Indicates whether target group stickiness is enabled.
8087
8087
 
8088
8088
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-targetgroupstickinessconfig.html
@@ -8113,7 +8113,7 @@ class CfnListenerRule(
8113
8113
  def duration_seconds(self) -> typing.Optional[jsii.Number]:
8114
8114
  '''The time period, in seconds, during which requests from a client should be routed to the same target group.
8115
8115
 
8116
- The range is 1-604800 seconds (7 days).
8116
+ The range is 1-604800 seconds (7 days). You must specify this value when enabling target group stickiness.
8117
8117
 
8118
8118
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-targetgroupstickinessconfig.html#cfn-elasticloadbalancingv2-listenerrule-targetgroupstickinessconfig-durationseconds
8119
8119
  '''
@@ -3704,19 +3704,27 @@ class CfnCluster(
3704
3704
  @jsii.data_type(
3705
3705
  jsii_type="aws-cdk-lib.aws_emr.CfnCluster.ManagedScalingPolicyProperty",
3706
3706
  jsii_struct_bases=[],
3707
- name_mapping={"compute_limits": "computeLimits"},
3707
+ name_mapping={
3708
+ "compute_limits": "computeLimits",
3709
+ "scaling_strategy": "scalingStrategy",
3710
+ "utilization_performance_index": "utilizationPerformanceIndex",
3711
+ },
3708
3712
  )
3709
3713
  class ManagedScalingPolicyProperty:
3710
3714
  def __init__(
3711
3715
  self,
3712
3716
  *,
3713
3717
  compute_limits: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ComputeLimitsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3718
+ scaling_strategy: typing.Optional[builtins.str] = None,
3719
+ utilization_performance_index: typing.Optional[jsii.Number] = None,
3714
3720
  ) -> None:
3715
3721
  '''Managed scaling policy for an Amazon EMR cluster.
3716
3722
 
3717
3723
  The policy specifies the limits for resources that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
3718
3724
 
3719
3725
  :param compute_limits: The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
3726
+ :param scaling_strategy:
3727
+ :param utilization_performance_index:
3720
3728
 
3721
3729
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-managedscalingpolicy.html
3722
3730
  :exampleMetadata: fixture=_generated
@@ -3736,15 +3744,23 @@ class CfnCluster(
3736
3744
  # the properties below are optional
3737
3745
  maximum_core_capacity_units=123,
3738
3746
  maximum_on_demand_capacity_units=123
3739
- )
3747
+ ),
3748
+ scaling_strategy="scalingStrategy",
3749
+ utilization_performance_index=123
3740
3750
  )
3741
3751
  '''
3742
3752
  if __debug__:
3743
3753
  type_hints = typing.get_type_hints(_typecheckingstub__0286741b316b450e24ed1eff9bc726fec190a69e54cee78ab3a340bcde86cafe)
3744
3754
  check_type(argname="argument compute_limits", value=compute_limits, expected_type=type_hints["compute_limits"])
3755
+ check_type(argname="argument scaling_strategy", value=scaling_strategy, expected_type=type_hints["scaling_strategy"])
3756
+ check_type(argname="argument utilization_performance_index", value=utilization_performance_index, expected_type=type_hints["utilization_performance_index"])
3745
3757
  self._values: typing.Dict[builtins.str, typing.Any] = {}
3746
3758
  if compute_limits is not None:
3747
3759
  self._values["compute_limits"] = compute_limits
3760
+ if scaling_strategy is not None:
3761
+ self._values["scaling_strategy"] = scaling_strategy
3762
+ if utilization_performance_index is not None:
3763
+ self._values["utilization_performance_index"] = utilization_performance_index
3748
3764
 
3749
3765
  @builtins.property
3750
3766
  def compute_limits(
@@ -3759,6 +3775,22 @@ class CfnCluster(
3759
3775
  result = self._values.get("compute_limits")
3760
3776
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.ComputeLimitsProperty"]], result)
3761
3777
 
3778
+ @builtins.property
3779
+ def scaling_strategy(self) -> typing.Optional[builtins.str]:
3780
+ '''
3781
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-managedscalingpolicy.html#cfn-emr-cluster-managedscalingpolicy-scalingstrategy
3782
+ '''
3783
+ result = self._values.get("scaling_strategy")
3784
+ return typing.cast(typing.Optional[builtins.str], result)
3785
+
3786
+ @builtins.property
3787
+ def utilization_performance_index(self) -> typing.Optional[jsii.Number]:
3788
+ '''
3789
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-managedscalingpolicy.html#cfn-emr-cluster-managedscalingpolicy-utilizationperformanceindex
3790
+ '''
3791
+ result = self._values.get("utilization_performance_index")
3792
+ return typing.cast(typing.Optional[jsii.Number], result)
3793
+
3762
3794
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3763
3795
  return isinstance(rhs, self.__class__) and rhs._values == self._values
3764
3796
 
@@ -11952,6 +11984,8 @@ def _typecheckingstub__0de77f42d53bb5f752f54244451586c821de421f64b6929630c898540
11952
11984
  def _typecheckingstub__0286741b316b450e24ed1eff9bc726fec190a69e54cee78ab3a340bcde86cafe(
11953
11985
  *,
11954
11986
  compute_limits: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ComputeLimitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
11987
+ scaling_strategy: typing.Optional[builtins.str] = None,
11988
+ utilization_performance_index: typing.Optional[jsii.Number] = None,
11955
11989
  ) -> None:
11956
11990
  """Type checking stubs"""
11957
11991
  pass