aws-cdk-lib 2.194.0__py3-none-any.whl → 2.195.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 (37) hide show
  1. aws_cdk/__init__.py +2 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.194.0.jsii.tgz → aws-cdk-lib@2.195.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +60 -1
  5. aws_cdk/aws_bedrock/__init__.py +581 -4
  6. aws_cdk/aws_cloudfront/__init__.py +190 -120
  7. aws_cdk/aws_codepipeline/__init__.py +108 -0
  8. aws_cdk/aws_cognito/__init__.py +132 -6
  9. aws_cdk/aws_datazone/__init__.py +370 -0
  10. aws_cdk/aws_dsql/__init__.py +9 -0
  11. aws_cdk/aws_dynamodb/__init__.py +5 -3
  12. aws_cdk/aws_ec2/__init__.py +132 -8
  13. aws_cdk/aws_ecr/__init__.py +16 -14
  14. aws_cdk/aws_ecs/__init__.py +4 -15
  15. aws_cdk/aws_fsx/__init__.py +2 -3
  16. aws_cdk/aws_imagebuilder/__init__.py +160 -10
  17. aws_cdk/aws_kinesisanalytics/__init__.py +4 -2
  18. aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -2
  19. aws_cdk/aws_medialive/__init__.py +4 -6
  20. aws_cdk/aws_mediatailor/__init__.py +115 -0
  21. aws_cdk/aws_oam/__init__.py +43 -10
  22. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  23. aws_cdk/aws_qbusiness/__init__.py +2 -2
  24. aws_cdk/aws_rds/__init__.py +41 -6
  25. aws_cdk/aws_route53/__init__.py +18 -14
  26. aws_cdk/aws_route53_targets/__init__.py +62 -1
  27. aws_cdk/aws_route53profiles/__init__.py +1 -1
  28. aws_cdk/aws_s3_notifications/__init__.py +5 -5
  29. aws_cdk/aws_sagemaker/__init__.py +253 -4
  30. aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
  31. aws_cdk/cloud_assembly_schema/__init__.py +7 -1
  32. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/METADATA +2 -2
  33. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/RECORD +37 -36
  34. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/LICENSE +0 -0
  35. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/NOTICE +0 -0
  36. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/WHEEL +0 -0
  37. {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/top_level.txt +0 -0
@@ -128,9 +128,9 @@ class CfnLink(
128
128
  '''
129
129
  :param scope: Scope in which this resource is defined.
130
130
  :param id: Construct identifier for this resource (unique in its scope).
131
- :param resource_types: An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective`` .
131
+ :param resource_types: An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor`` .
132
132
  :param sink_identifier: The ARN of the sink in the monitoring account that you want to link to. You can use `ListSinks <https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html>`_ to find the ARNs of sinks.
133
- :param label_template: Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account. You can include the following variables in your template: - ``$AccountName`` is the name of the account - ``$AccountEmail`` is a globally-unique email address, which includes the email domain, such as ``mariagarcia@example.com`` - ``$AccountEmailNoDomain`` is an email address without the domain name, such as ``mariagarcia``
133
+ :param label_template: Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account. You can include the following variables in your template: - ``$AccountName`` is the name of the account - ``$AccountEmail`` is a globally-unique email address, which includes the email domain, such as ``mariagarcia@example.com`` - ``$AccountEmailNoDomain`` is an email address without the domain name, such as ``mariagarcia`` .. epigraph:: In the and Regions, the only supported option is to use custom labels, and the ``$AccountName`` , ``$AccountEmail`` , and ``$AccountEmailNoDomain`` variables all resolve as *account-id* instead of the specified variable.
134
134
  :param link_configuration: Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.
135
135
  :param tags: An array of key-value pairs to apply to the link. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
136
136
  '''
@@ -301,7 +301,7 @@ class CfnLink(
301
301
  ) -> None:
302
302
  '''Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.
303
303
 
304
- :param log_group_configuration: Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
304
+ :param log_group_configuration: Use this structure to filter which log groups are to share log events from this source account to the monitoring account.
305
305
  :param metric_configuration: Use this structure to filter which metric namespaces are to be shared from the source account to the monitoring account.
306
306
 
307
307
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkconfiguration.html
@@ -336,7 +336,7 @@ class CfnLink(
336
336
  def log_group_configuration(
337
337
  self,
338
338
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnLink.LinkFilterProperty"]]:
339
- '''Use this structure to filter which log groups are to send log events from the source account to the monitoring account.
339
+ '''Use this structure to filter which log groups are to share log events from this source account to the monitoring account.
340
340
 
341
341
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkconfiguration.html#cfn-oam-link-linkconfiguration-loggroupconfiguration
342
342
  '''
@@ -372,8 +372,11 @@ class CfnLink(
372
372
  )
373
373
  class LinkFilterProperty:
374
374
  def __init__(self, *, filter: builtins.str) -> None:
375
- '''
376
- :param filter:
375
+ '''When used in ``MetricConfiguration`` this field specifies which metric namespaces are to be shared with the monitoring account.
376
+
377
+ When used in ``LogGroupConfiguration`` this field specifies which log groups are to share their log events with the monitoring account. Use the term ``LogGroupName`` and one or more of the following operands.
378
+
379
+ :param filter: When used in ``MetricConfiguration`` this field specifies which metric namespaces are to be shared with the monitoring account. When used in ``LogGroupConfiguration`` this field specifies which log groups are to share their log events with the monitoring account. Use the term ``LogGroupName`` and one or more of the following operands. Use single quotation marks (') around log group names and metric namespaces. The matching of log group names and metric namespaces is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are ``AND`` and ``OR`` . - ``=`` and ``!=`` - ``AND`` - ``OR`` - ``LIKE`` and ``NOT LIKE`` . These can be used only as prefix searches. Include a ``%`` at the end of the string that you want to search for and include. - ``IN`` and ``NOT IN`` , using parentheses ``( )`` Examples: - ``Namespace NOT LIKE 'AWS/%'`` includes only namespaces that don't start with ``AWS/`` , such as custom namespaces. - ``Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')`` includes only the metrics in the EC2, Elastic Load Balancing , and Amazon S3 namespaces. - ``Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'`` includes only the EC2 namespace and your custom namespaces. - ``LogGroupName IN ('This-Log-Group', 'Other-Log-Group')`` includes only the log groups with names ``This-Log-Group`` and ``Other-Log-Group`` . - ``LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')`` includes all log groups except the log groups with names ``Private-Log-Group`` and ``Private-Log-Group-2`` . - ``LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'`` includes all log groups that have names that start with ``aws/lambda/`` or ``AWSLogs`` . .. epigraph:: If you are updating a link that uses filters, you can specify ``*`` as the only value for the ``filter`` parameter to delete the filter and share all log groups with the monitoring account.
377
380
 
378
381
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkfilter.html
379
382
  :exampleMetadata: fixture=_generated
@@ -397,7 +400,33 @@ class CfnLink(
397
400
 
398
401
  @builtins.property
399
402
  def filter(self) -> builtins.str:
400
- '''
403
+ '''When used in ``MetricConfiguration`` this field specifies which metric namespaces are to be shared with the monitoring account.
404
+
405
+ When used in ``LogGroupConfiguration`` this field specifies which log groups are to share their log events with the monitoring account. Use the term ``LogGroupName`` and one or more of the following operands.
406
+
407
+ Use single quotation marks (') around log group names and metric namespaces.
408
+
409
+ The matching of log group names and metric namespaces is case sensitive. Each filter has a limit of five conditional operands. Conditional operands are ``AND`` and ``OR`` .
410
+
411
+ - ``=`` and ``!=``
412
+ - ``AND``
413
+ - ``OR``
414
+ - ``LIKE`` and ``NOT LIKE`` . These can be used only as prefix searches. Include a ``%`` at the end of the string that you want to search for and include.
415
+ - ``IN`` and ``NOT IN`` , using parentheses ``( )``
416
+
417
+ Examples:
418
+
419
+ - ``Namespace NOT LIKE 'AWS/%'`` includes only namespaces that don't start with ``AWS/`` , such as custom namespaces.
420
+ - ``Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')`` includes only the metrics in the EC2, Elastic Load Balancing , and Amazon S3 namespaces.
421
+ - ``Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'`` includes only the EC2 namespace and your custom namespaces.
422
+ - ``LogGroupName IN ('This-Log-Group', 'Other-Log-Group')`` includes only the log groups with names ``This-Log-Group`` and ``Other-Log-Group`` .
423
+ - ``LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')`` includes all log groups except the log groups with names ``Private-Log-Group`` and ``Private-Log-Group-2`` .
424
+ - ``LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'`` includes all log groups that have names that start with ``aws/lambda/`` or ``AWSLogs`` .
425
+
426
+ .. epigraph::
427
+
428
+ If you are updating a link that uses filters, you can specify ``*`` as the only value for the ``filter`` parameter to delete the filter and share all log groups with the monitoring account.
429
+
401
430
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-oam-link-linkfilter.html#cfn-oam-link-linkfilter-filter
402
431
  '''
403
432
  result = self._values.get("filter")
@@ -439,9 +468,9 @@ class CfnLinkProps:
439
468
  ) -> None:
440
469
  '''Properties for defining a ``CfnLink``.
441
470
 
442
- :param resource_types: An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective`` .
471
+ :param resource_types: An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor`` .
443
472
  :param sink_identifier: The ARN of the sink in the monitoring account that you want to link to. You can use `ListSinks <https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html>`_ to find the ARNs of sinks.
444
- :param label_template: Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account. You can include the following variables in your template: - ``$AccountName`` is the name of the account - ``$AccountEmail`` is a globally-unique email address, which includes the email domain, such as ``mariagarcia@example.com`` - ``$AccountEmailNoDomain`` is an email address without the domain name, such as ``mariagarcia``
473
+ :param label_template: Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account. You can include the following variables in your template: - ``$AccountName`` is the name of the account - ``$AccountEmail`` is a globally-unique email address, which includes the email domain, such as ``mariagarcia@example.com`` - ``$AccountEmailNoDomain`` is an email address without the domain name, such as ``mariagarcia`` .. epigraph:: In the and Regions, the only supported option is to use custom labels, and the ``$AccountName`` , ``$AccountEmail`` , and ``$AccountEmailNoDomain`` variables all resolve as *account-id* instead of the specified variable.
445
474
  :param link_configuration: Use this structure to optionally create filters that specify that only some metric namespaces or log groups are to be shared from the source account to the monitoring account.
446
475
  :param tags: An array of key-value pairs to apply to the link. For more information, see `Tag <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html>`_ .
447
476
 
@@ -495,7 +524,7 @@ class CfnLinkProps:
495
524
  def resource_types(self) -> typing.List[builtins.str]:
496
525
  '''An array of strings that define which types of data that the source account shares with the monitoring account.
497
526
 
498
- Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor | AWS::ApplicationSignals::Service | AWS::ApplicationSignals::ServiceLevelObjective`` .
527
+ Valid values are ``AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace | AWS::ApplicationInsights::Application | AWS::InternetMonitor::Monitor`` .
499
528
 
500
529
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-resourcetypes
501
530
  '''
@@ -525,6 +554,10 @@ class CfnLinkProps:
525
554
  - ``$AccountEmail`` is a globally-unique email address, which includes the email domain, such as ``mariagarcia@example.com``
526
555
  - ``$AccountEmailNoDomain`` is an email address without the domain name, such as ``mariagarcia``
527
556
 
557
+ .. epigraph::
558
+
559
+ In the and Regions, the only supported option is to use custom labels, and the ``$AccountName`` , ``$AccountEmail`` , and ``$AccountEmailNoDomain`` variables all resolve as *account-id* instead of the specified variable.
560
+
528
561
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html#cfn-oam-link-labeltemplate
529
562
  '''
530
563
  result = self._values.get("label_template")
@@ -6688,6 +6688,12 @@ class EngineVersion(
6688
6688
  '''AWS OpenSearch 2.17.'''
6689
6689
  return typing.cast("EngineVersion", jsii.sget(cls, "OPENSEARCH_2_17"))
6690
6690
 
6691
+ @jsii.python.classproperty
6692
+ @jsii.member(jsii_name="OPENSEARCH_2_19")
6693
+ def OPENSEARCH_2_19(cls) -> "EngineVersion":
6694
+ '''AWS OpenSearch 2.19.'''
6695
+ return typing.cast("EngineVersion", jsii.sget(cls, "OPENSEARCH_2_19"))
6696
+
6691
6697
  @jsii.python.classproperty
6692
6698
  @jsii.member(jsii_name="OPENSEARCH_2_3")
6693
6699
  def OPENSEARCH_2_3(cls) -> "EngineVersion":
@@ -3510,7 +3510,7 @@ class CfnDataSource(
3510
3510
  For more information, see `Custom document enrichment <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/custom-document-enrichment.html>`_ .
3511
3511
 
3512
3512
  :param invocation_condition: The condition used for when a Lambda function should be invoked. For example, you can specify a condition that if there are empty date-time values, then Amazon Q Business should invoke a function that inserts the current date-time.
3513
- :param lambda_arn: The Amazon Resource Name (ARN) of the Lambda function during ingestion. For more information, see `Using Lambda functions for Amazon Q Business document enrichment <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/cde-lambda-operations.html>`_ .
3513
+ :param lambda_arn: The Amazon Resource Name (ARN) of the Lambda function sduring ingestion. For more information, see `Using Lambda functions for Amazon Q Business document enrichment <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/cde-lambda-operations.html>`_ .
3514
3514
  :param role_arn: The Amazon Resource Name (ARN) of a role with permission to run ``PreExtractionHookConfiguration`` and ``PostExtractionHookConfiguration`` for altering document metadata and content during the document ingestion process.
3515
3515
  :param s3_bucket_name: Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see `Data contracts for Lambda functions <https://docs.aws.amazon.com/amazonq/latest/business-use-dg/cde-lambda-operations.html#cde-lambda-operations-data-contracts>`_ .
3516
3516
 
@@ -3572,7 +3572,7 @@ class CfnDataSource(
3572
3572
 
3573
3573
  @builtins.property
3574
3574
  def lambda_arn(self) -> typing.Optional[builtins.str]:
3575
- '''The Amazon Resource Name (ARN) of the Lambda function during ingestion.
3575
+ '''The Amazon Resource Name (ARN) of the Lambda function sduring ingestion.
3576
3576
 
3577
3577
  For more information, see `Using Lambda functions for Amazon Q Business document enrichment <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/cde-lambda-operations.html>`_ .
3578
3578
 
@@ -4110,7 +4110,12 @@ class AuroraPostgresEngineVersion(
4110
4110
  @jsii.python.classproperty
4111
4111
  @jsii.member(jsii_name="VER_16_5")
4112
4112
  def VER_16_5(cls) -> "AuroraPostgresEngineVersion":
4113
- '''Version "16.5".'''
4113
+ '''(deprecated) Version "16.5".
4114
+
4115
+ :deprecated: Version 16.5 is no longer supported by Amazon RDS.
4116
+
4117
+ :stability: deprecated
4118
+ '''
4114
4119
  return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_16_5"))
4115
4120
 
4116
4121
  @jsii.python.classproperty
@@ -4134,15 +4139,31 @@ class AuroraPostgresEngineVersion(
4134
4139
  @jsii.python.classproperty
4135
4140
  @jsii.member(jsii_name="VER_17_1")
4136
4141
  def VER_17_1(cls) -> "AuroraPostgresEngineVersion":
4137
- '''Version "17.1".'''
4142
+ '''(deprecated) Version "17.1".
4143
+
4144
+ :deprecated: Version 17.1 is no longer supported by Amazon RDS.
4145
+
4146
+ :stability: deprecated
4147
+ '''
4138
4148
  return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_17_1"))
4139
4149
 
4140
4150
  @jsii.python.classproperty
4141
4151
  @jsii.member(jsii_name="VER_17_2")
4142
4152
  def VER_17_2(cls) -> "AuroraPostgresEngineVersion":
4143
- '''Version "17.2".'''
4153
+ '''(deprecated) Version "17.2".
4154
+
4155
+ :deprecated: Version 17.2 is no longer supported by Amazon RDS.
4156
+
4157
+ :stability: deprecated
4158
+ '''
4144
4159
  return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_17_2"))
4145
4160
 
4161
+ @jsii.python.classproperty
4162
+ @jsii.member(jsii_name="VER_17_4")
4163
+ def VER_17_4(cls) -> "AuroraPostgresEngineVersion":
4164
+ '''Version "17.4".'''
4165
+ return typing.cast("AuroraPostgresEngineVersion", jsii.sget(cls, "VER_17_4"))
4166
+
4146
4167
  @jsii.python.classproperty
4147
4168
  @jsii.member(jsii_name="VER_9_6_11")
4148
4169
  def VER_9_6_11(cls) -> "AuroraPostgresEngineVersion":
@@ -5242,7 +5263,7 @@ class CfnDBCluster(
5242
5263
  :param id: Construct identifier for this resource (unique in its scope).
5243
5264
  :param allocated_storage: The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. Valid for Cluster Type: Multi-AZ DB clusters only This setting is required to create a Multi-AZ DB cluster.
5244
5265
  :param associated_roles: Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon Web Services on your behalf. Valid for: Aurora DB clusters and Multi-AZ DB clusters
5245
- :param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster
5266
+ :param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster. For more information about automatic minor version upgrades, see `Automatically upgrading the minor engine version <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades>`_ .
5246
5267
  :param availability_zones: A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see `Choosing the Regions and Availability Zones <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html>`_ in the *Amazon Aurora User Guide* . Valid for: Aurora DB clusters only
5247
5268
  :param backtrack_window: The target backtrack window, in seconds. To disable backtracking, set this value to ``0`` . Valid for Cluster Type: Aurora MySQL DB clusters only Default: ``0`` Constraints: - If specified, this value must be set to a number from 0 to 259,200 (72 hours).
5248
5269
  :param backup_retention_period: The number of days for which automated backups are retained. Default: 1 Constraints: - Must be a value from 1 to 35 Valid for: Aurora DB clusters and Multi-AZ DB clusters Default: - 1
@@ -7436,7 +7457,7 @@ class CfnDBClusterProps:
7436
7457
 
7437
7458
  :param allocated_storage: The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. Valid for Cluster Type: Multi-AZ DB clusters only This setting is required to create a Multi-AZ DB cluster.
7438
7459
  :param associated_roles: Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon Web Services on your behalf. Valid for: Aurora DB clusters and Multi-AZ DB clusters
7439
- :param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster
7460
+ :param auto_minor_version_upgrade: Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically. Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster. For more information about automatic minor version upgrades, see `Automatically upgrading the minor engine version <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades>`_ .
7440
7461
  :param availability_zones: A list of Availability Zones (AZs) where instances in the DB cluster can be created. For information on AWS Regions and Availability Zones, see `Choosing the Regions and Availability Zones <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html>`_ in the *Amazon Aurora User Guide* . Valid for: Aurora DB clusters only
7441
7462
  :param backtrack_window: The target backtrack window, in seconds. To disable backtracking, set this value to ``0`` . Valid for Cluster Type: Aurora MySQL DB clusters only Default: ``0`` Constraints: - If specified, this value must be set to a number from 0 to 259,200 (72 hours).
7442
7463
  :param backup_retention_period: The number of days for which automated backups are retained. Default: 1 Constraints: - Must be a value from 1 to 35 Valid for: Aurora DB clusters and Multi-AZ DB clusters Default: - 1
@@ -7799,7 +7820,9 @@ class CfnDBClusterProps:
7799
7820
 
7800
7821
  By default, minor engine upgrades are applied automatically.
7801
7822
 
7802
- Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster
7823
+ Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster.
7824
+
7825
+ For more information about automatic minor version upgrades, see `Automatically upgrading the minor engine version <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Upgrading.html#USER_UpgradeDBInstance.Upgrading.AutoMinorVersionUpgrades>`_ .
7803
7826
 
7804
7827
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html#cfn-rds-dbcluster-autominorversionupgrade
7805
7828
  '''
@@ -32962,6 +32985,12 @@ class MysqlEngineVersion(
32962
32985
  '''Version "8.0.41".'''
32963
32986
  return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_41"))
32964
32987
 
32988
+ @jsii.python.classproperty
32989
+ @jsii.member(jsii_name="VER_8_0_42")
32990
+ def VER_8_0_42(cls) -> "MysqlEngineVersion":
32991
+ '''Version "8.0.42".'''
32992
+ return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_0_42"))
32993
+
32965
32994
  @jsii.python.classproperty
32966
32995
  @jsii.member(jsii_name="VER_8_4_3")
32967
32996
  def VER_8_4_3(cls) -> "MysqlEngineVersion":
@@ -32974,6 +33003,12 @@ class MysqlEngineVersion(
32974
33003
  '''Version "8.4.4".'''
32975
33004
  return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_4_4"))
32976
33005
 
33006
+ @jsii.python.classproperty
33007
+ @jsii.member(jsii_name="VER_8_4_5")
33008
+ def VER_8_4_5(cls) -> "MysqlEngineVersion":
33009
+ '''Version "8.4.5".'''
33010
+ return typing.cast("MysqlEngineVersion", jsii.sget(cls, "VER_8_4_5"))
33011
+
32977
33012
  @builtins.property
32978
33013
  @jsii.member(jsii_name="mysqlFullVersion")
32979
33014
  def mysql_full_version(self) -> builtins.str:
@@ -9154,14 +9154,18 @@ class RecordTarget(
9154
9154
 
9155
9155
  Example::
9156
9156
 
9157
- import aws_cdk.aws_cloudfront as cloudfront
9157
+ from aws_cdk.region_info import RegionInfo
9158
9158
 
9159
- # my_zone: route53.HostedZone
9160
- # distribution: cloudfront.CloudFrontWebDistribution
9159
+ # zone: route53.HostedZone
9160
+ # ebs_environment_url: str
9161
9161
 
9162
- route53.AaaaRecord(self, "Alias",
9163
- zone=my_zone,
9164
- target=route53.RecordTarget.from_alias(targets.CloudFrontTarget(distribution))
9162
+
9163
+ route53.ARecord(self, "AliasRecord",
9164
+ zone=zone,
9165
+ target=route53.RecordTarget.from_alias(
9166
+ targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
9167
+ "hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
9168
+ }))
9165
9169
  )
9166
9170
  '''
9167
9171
 
@@ -10821,17 +10825,17 @@ class ARecord(
10821
10825
 
10822
10826
  Example::
10823
10827
 
10824
- import aws_cdk.aws_elasticloadbalancingv2 as elbv2
10828
+ from aws_cdk.region_info import RegionInfo
10825
10829
 
10826
10830
  # zone: route53.HostedZone
10827
- # lb: elbv2.ApplicationLoadBalancer
10831
+ # ebs_environment_url: str
10828
10832
 
10829
10833
 
10830
10834
  route53.ARecord(self, "AliasRecord",
10831
10835
  zone=zone,
10832
10836
  target=route53.RecordTarget.from_alias(
10833
- targets.LoadBalancerTarget(lb, {
10834
- "evaluate_target_health": True
10837
+ targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
10838
+ "hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
10835
10839
  }))
10836
10840
  )
10837
10841
  '''
@@ -11265,17 +11269,17 @@ class ARecordProps(RecordSetOptions):
11265
11269
 
11266
11270
  Example::
11267
11271
 
11268
- import aws_cdk.aws_elasticloadbalancingv2 as elbv2
11272
+ from aws_cdk.region_info import RegionInfo
11269
11273
 
11270
11274
  # zone: route53.HostedZone
11271
- # lb: elbv2.ApplicationLoadBalancer
11275
+ # ebs_environment_url: str
11272
11276
 
11273
11277
 
11274
11278
  route53.ARecord(self, "AliasRecord",
11275
11279
  zone=zone,
11276
11280
  target=route53.RecordTarget.from_alias(
11277
- targets.LoadBalancerTarget(lb, {
11278
- "evaluate_target_health": True
11281
+ targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
11282
+ "hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
11279
11283
  }))
11280
11284
  )
11281
11285
  '''
@@ -225,6 +225,47 @@ route53.ARecord(self, "AliasRecord",
225
225
  )
226
226
  ```
227
227
 
228
+ If Elastic Beanstalk environment URL is not avaiable at synth time, you can specify Hosted Zone ID of the target
229
+
230
+ ```python
231
+ from aws_cdk.region_info import RegionInfo
232
+
233
+ # zone: route53.HostedZone
234
+ # ebs_environment_url: str
235
+
236
+
237
+ route53.ARecord(self, "AliasRecord",
238
+ zone=zone,
239
+ target=route53.RecordTarget.from_alias(
240
+ targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
241
+ "hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
242
+ }))
243
+ )
244
+ ```
245
+
246
+ Or you can specify Stack region for CDK to generate the correct Hosted Zone ID.
247
+
248
+ ```python
249
+ from aws_cdk import App
250
+
251
+ # app: App
252
+ # zone: route53.HostedZone
253
+ # ebs_environment_url: str
254
+
255
+
256
+ stack = Stack(app, "my-stack",
257
+ env=Environment(
258
+ region="us-east-1"
259
+ )
260
+ )
261
+
262
+ route53.ARecord(stack, "AliasRecord",
263
+ zone=zone,
264
+ target=route53.RecordTarget.from_alias(
265
+ targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url))
266
+ )
267
+ ```
268
+
228
269
  See the documentation of `aws-cdk-lib/aws-route53` for more information.
229
270
  '''
230
271
  from pkgutil import extend_path
@@ -652,6 +693,8 @@ class ElasticBeanstalkEnvironmentEndpointTarget(
652
693
 
653
694
  Example::
654
695
 
696
+ from aws_cdk.region_info import RegionInfo
697
+
655
698
  # zone: route53.HostedZone
656
699
  # ebs_environment_url: str
657
700
 
@@ -660,7 +703,7 @@ class ElasticBeanstalkEnvironmentEndpointTarget(
660
703
  zone=zone,
661
704
  target=route53.RecordTarget.from_alias(
662
705
  targets.ElasticBeanstalkEnvironmentEndpointTarget(ebs_environment_url, {
663
- "evaluate_target_health": True
706
+ "hosted_zone_id": RegionInfo.get("us-east-1").ebs_env_endpoint_hosted_zone_id
664
707
  }))
665
708
  )
666
709
  '''
@@ -818,6 +861,15 @@ class IAliasRecordTargetProps(typing_extensions.Protocol):
818
861
  '''
819
862
  ...
820
863
 
864
+ @builtins.property
865
+ @jsii.member(jsii_name="hostedZoneId")
866
+ def hosted_zone_id(self) -> typing.Optional[builtins.str]:
867
+ '''Target Hosted zone ID.
868
+
869
+ :default: - hosted zone ID for the EBS endpoint will be retrieved based on the stack's region.
870
+ '''
871
+ ...
872
+
821
873
 
822
874
  class _IAliasRecordTargetPropsProxy:
823
875
  '''Properties the alias record target.'''
@@ -833,6 +885,15 @@ class _IAliasRecordTargetPropsProxy:
833
885
  '''
834
886
  return typing.cast(typing.Optional[builtins.bool], jsii.get(self, "evaluateTargetHealth"))
835
887
 
888
+ @builtins.property
889
+ @jsii.member(jsii_name="hostedZoneId")
890
+ def hosted_zone_id(self) -> typing.Optional[builtins.str]:
891
+ '''Target Hosted zone ID.
892
+
893
+ :default: - hosted zone ID for the EBS endpoint will be retrieved based on the stack's region.
894
+ '''
895
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "hostedZoneId"))
896
+
836
897
  # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
837
898
  typing.cast(typing.Any, IAliasRecordTargetProps).__jsii_proxy_class__ = lambda : _IAliasRecordTargetPropsProxy
838
899
 
@@ -714,7 +714,7 @@ class CfnProfileResourceAssociation(
714
714
  @builtins.property
715
715
  @jsii.member(jsii_name="attrResourceType")
716
716
  def attr_resource_type(self) -> builtins.str:
717
- '''Resource type, such as a private hosted zone, or DNS Firewall rule group.
717
+ '''Resource type, such as a private hosted zone, interface VPC endpoint, or DNS Firewall rule group.
718
718
 
719
719
  :cloudformationAttribute: ResourceType
720
720
  '''
@@ -173,7 +173,7 @@ class SnsDestination(
173
173
  @jsii.member(jsii_name="bind")
174
174
  def bind(
175
175
  self,
176
- _scope: _constructs_77d1e7e8.Construct,
176
+ scope: _constructs_77d1e7e8.Construct,
177
177
  bucket: _IBucket_42e086fd,
178
178
  ) -> _BucketNotificationDestinationConfig_a4c4f83d:
179
179
  '''Registers this resource to receive notifications for the specified bucket.
@@ -182,14 +182,14 @@ class SnsDestination(
182
182
  pair and the result will be cached, so there is no need to implement
183
183
  idempotency in each destination.
184
184
 
185
- :param _scope: -
185
+ :param scope: -
186
186
  :param bucket: -
187
187
  '''
188
188
  if __debug__:
189
189
  type_hints = typing.get_type_hints(_typecheckingstub__3553ece4b599ce7e526b55722477cb04771e1907840471521f08a9dbdea726a1)
190
- check_type(argname="argument _scope", value=_scope, expected_type=type_hints["_scope"])
190
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
191
191
  check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
192
- return typing.cast(_BucketNotificationDestinationConfig_a4c4f83d, jsii.invoke(self, "bind", [_scope, bucket]))
192
+ return typing.cast(_BucketNotificationDestinationConfig_a4c4f83d, jsii.invoke(self, "bind", [scope, bucket]))
193
193
 
194
194
 
195
195
  @jsii.implements(_IBucketNotificationDestination_ae5ca51a)
@@ -268,7 +268,7 @@ def _typecheckingstub__88bc302a2eb7b4d1c7dc00b1564ab4c536d2626942f2cec60d543582b
268
268
  pass
269
269
 
270
270
  def _typecheckingstub__3553ece4b599ce7e526b55722477cb04771e1907840471521f08a9dbdea726a1(
271
- _scope: _constructs_77d1e7e8.Construct,
271
+ scope: _constructs_77d1e7e8.Construct,
272
272
  bucket: _IBucket_42e086fd,
273
273
  ) -> None:
274
274
  """Type checking stubs"""