aws-cdk-lib 2.167.2__py3-none-any.whl → 2.168.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 (44) hide show
  1. aws_cdk/__init__.py +2081 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.168.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
  5. aws_cdk/aws_applicationinsights/__init__.py +41 -0
  6. aws_cdk/aws_applicationsignals/__init__.py +117 -0
  7. aws_cdk/aws_autoscaling/__init__.py +441 -6
  8. aws_cdk/aws_batch/__init__.py +202 -5
  9. aws_cdk/aws_bedrock/__init__.py +12 -12
  10. aws_cdk/aws_cleanrooms/__init__.py +17 -8
  11. aws_cdk/aws_cloudformation/__init__.py +2571 -492
  12. aws_cdk/aws_cloudfront/__init__.py +231 -0
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
  14. aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
  15. aws_cdk/aws_cloudtrail/__init__.py +52 -14
  16. aws_cdk/aws_codebuild/__init__.py +668 -2
  17. aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
  18. aws_cdk/aws_dynamodb/__init__.py +332 -11
  19. aws_cdk/aws_ec2/__init__.py +13 -4
  20. aws_cdk/aws_ecs/__init__.py +213 -0
  21. aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
  22. aws_cdk/aws_fis/__init__.py +495 -0
  23. aws_cdk/aws_gamelift/__init__.py +3101 -1135
  24. aws_cdk/aws_kinesisfirehose/__init__.py +696 -5
  25. aws_cdk/aws_lambda/__init__.py +634 -259
  26. aws_cdk/aws_lambda_destinations/__init__.py +73 -0
  27. aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
  28. aws_cdk/aws_location/__init__.py +18 -18
  29. aws_cdk/aws_mediastore/__init__.py +22 -10
  30. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  31. aws_cdk/aws_quicksight/__init__.py +35 -19
  32. aws_cdk/aws_rds/__init__.py +51 -3
  33. aws_cdk/aws_securityhub/__init__.py +11 -14
  34. aws_cdk/aws_ses/__init__.py +58 -5
  35. aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
  36. aws_cdk/aws_transfer/__init__.py +0 -8
  37. aws_cdk/aws_vpclattice/__init__.py +39 -0
  38. aws_cdk/aws_wisdom/__init__.py +134 -85
  39. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/METADATA +1 -1
  40. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/RECORD +44 -43
  41. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/LICENSE +0 -0
  42. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/NOTICE +0 -0
  43. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/WHEEL +0 -0
  44. {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.168.0.dist-info}/top_level.txt +0 -0
@@ -4238,8 +4238,8 @@ class CfnFindingAggregator(
4238
4238
  '''
4239
4239
  :param scope: Scope in which this resource is defined.
4240
4240
  :param id: Construct identifier for this resource (unique in its scope).
4241
- :param region_linking_mode: Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them. The selected option also determines how to use the Regions provided in the Regions list. The options are as follows: - ``ALL_REGIONS`` - Aggregates findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``ALL_REGIONS_EXCEPT_SPECIFIED`` - Aggregates findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the ``Regions`` parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``SPECIFIED_REGIONS`` - Aggregates findings only from the Regions listed in the ``Regions`` parameter. Security Hub does not automatically aggregate findings from new Regions. - ``NO_REGIONS`` - Aggregates no data because no Regions are selected as linked Regions.
4242
- :param regions: If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that don't replicate and send findings to the home Region. If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS`` , then this is a space-separated list of Regions that do replicate and send findings to the home Region. An ``InvalidInputException`` error results if you populate this field while ``RegionLinkingMode`` is ``NO_REGIONS`` .
4241
+ :param region_linking_mode: Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them. The selected option also determines how to use the Regions provided in the Regions list. In AWS CloudFormation , the options for this property are as follows: - ``ALL_REGIONS`` - Indicates to aggregate findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``ALL_REGIONS_EXCEPT_SPECIFIED`` - Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the ``Regions`` parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``SPECIFIED_REGIONS`` - Indicates to aggregate findings only from the Regions listed in the ``Regions`` parameter. Security Hub does not automatically aggregate findings from new Regions.
4242
+ :param regions: If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region. If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS`` , then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
4243
4243
  '''
4244
4244
  if __debug__:
4245
4245
  type_hints = typing.get_type_hints(_typecheckingstub__def955d28b5fec6358172b72efd12a764fe7f7be8d0ea9076bc99608ed72dd3c)
@@ -4324,7 +4324,7 @@ class CfnFindingAggregator(
4324
4324
  @builtins.property
4325
4325
  @jsii.member(jsii_name="regions")
4326
4326
  def regions(self) -> typing.Optional[typing.List[builtins.str]]:
4327
- '''If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that don't replicate and send findings to the home Region.'''
4327
+ '''If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.'''
4328
4328
  return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "regions"))
4329
4329
 
4330
4330
  @regions.setter
@@ -4349,8 +4349,8 @@ class CfnFindingAggregatorProps:
4349
4349
  ) -> None:
4350
4350
  '''Properties for defining a ``CfnFindingAggregator``.
4351
4351
 
4352
- :param region_linking_mode: Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them. The selected option also determines how to use the Regions provided in the Regions list. The options are as follows: - ``ALL_REGIONS`` - Aggregates findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``ALL_REGIONS_EXCEPT_SPECIFIED`` - Aggregates findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the ``Regions`` parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``SPECIFIED_REGIONS`` - Aggregates findings only from the Regions listed in the ``Regions`` parameter. Security Hub does not automatically aggregate findings from new Regions. - ``NO_REGIONS`` - Aggregates no data because no Regions are selected as linked Regions.
4353
- :param regions: If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that don't replicate and send findings to the home Region. If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS`` , then this is a space-separated list of Regions that do replicate and send findings to the home Region. An ``InvalidInputException`` error results if you populate this field while ``RegionLinkingMode`` is ``NO_REGIONS`` .
4352
+ :param region_linking_mode: Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them. The selected option also determines how to use the Regions provided in the Regions list. In AWS CloudFormation , the options for this property are as follows: - ``ALL_REGIONS`` - Indicates to aggregate findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``ALL_REGIONS_EXCEPT_SPECIFIED`` - Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the ``Regions`` parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. - ``SPECIFIED_REGIONS`` - Indicates to aggregate findings only from the Regions listed in the ``Regions`` parameter. Security Hub does not automatically aggregate findings from new Regions.
4353
+ :param regions: If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region. If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS`` , then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
4354
4354
 
4355
4355
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-findingaggregator.html
4356
4356
  :exampleMetadata: fixture=_generated
@@ -4386,12 +4386,11 @@ class CfnFindingAggregatorProps:
4386
4386
 
4387
4387
  The selected option also determines how to use the Regions provided in the Regions list.
4388
4388
 
4389
- The options are as follows:
4389
+ In AWS CloudFormation , the options for this property are as follows:
4390
4390
 
4391
- - ``ALL_REGIONS`` - Aggregates findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.
4392
- - ``ALL_REGIONS_EXCEPT_SPECIFIED`` - Aggregates findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the ``Regions`` parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.
4393
- - ``SPECIFIED_REGIONS`` - Aggregates findings only from the Regions listed in the ``Regions`` parameter. Security Hub does not automatically aggregate findings from new Regions.
4394
- - ``NO_REGIONS`` - Aggregates no data because no Regions are selected as linked Regions.
4391
+ - ``ALL_REGIONS`` - Indicates to aggregate findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.
4392
+ - ``ALL_REGIONS_EXCEPT_SPECIFIED`` - Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the ``Regions`` parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.
4393
+ - ``SPECIFIED_REGIONS`` - Indicates to aggregate findings only from the Regions listed in the ``Regions`` parameter. Security Hub does not automatically aggregate findings from new Regions.
4395
4394
 
4396
4395
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-findingaggregator.html#cfn-securityhub-findingaggregator-regionlinkingmode
4397
4396
  '''
@@ -4401,11 +4400,9 @@ class CfnFindingAggregatorProps:
4401
4400
 
4402
4401
  @builtins.property
4403
4402
  def regions(self) -> typing.Optional[typing.List[builtins.str]]:
4404
- '''If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that don't replicate and send findings to the home Region.
4403
+ '''If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.
4405
4404
 
4406
- If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS`` , then this is a space-separated list of Regions that do replicate and send findings to the home Region.
4407
-
4408
- An ``InvalidInputException`` error results if you populate this field while ``RegionLinkingMode`` is ``NO_REGIONS`` .
4405
+ If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS`` , then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
4409
4406
 
4410
4407
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-findingaggregator.html#cfn-securityhub-findingaggregator-regions
4411
4408
  '''
@@ -131,6 +131,8 @@ set to an email, all of the rules in that configuration set are applied to the e
131
131
  Use the `ConfigurationSet` construct to create a configuration set:
132
132
 
133
133
  ```python
134
+ from aws_cdk import Duration
135
+
134
136
  # my_pool: ses.IDedicatedIpPool
135
137
 
136
138
 
@@ -138,7 +140,11 @@ ses.ConfigurationSet(self, "ConfigurationSet",
138
140
  custom_tracking_redirect_domain="track.cdk.dev",
139
141
  suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY,
140
142
  tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE,
141
- dedicated_ip_pool=my_pool
143
+ dedicated_ip_pool=my_pool,
144
+ # Specify maximum delivery time
145
+ # This configuration can be useful in such cases as time-sensitive emails (like those containing a one-time-password),
146
+ # transactional emails, and email that you want to ensure isn't delivered during non-business hours.
147
+ max_delivery_duration=Duration.minutes(10)
142
148
  )
143
149
  ```
144
150
 
@@ -292,6 +298,7 @@ import constructs as _constructs_77d1e7e8
292
298
  from .. import (
293
299
  CfnResource as _CfnResource_9df397a6,
294
300
  CfnTag as _CfnTag_f6864754,
301
+ Duration as _Duration_4839e8c3,
295
302
  IInspectable as _IInspectable_c2943556,
296
303
  IResolvable as _IResolvable_da3f097b,
297
304
  IResource as _IResource_c80c4260,
@@ -12560,6 +12567,7 @@ class ConfigurationSetEventDestinationProps(ConfigurationSetEventDestinationOpti
12560
12567
  "configuration_set_name": "configurationSetName",
12561
12568
  "custom_tracking_redirect_domain": "customTrackingRedirectDomain",
12562
12569
  "dedicated_ip_pool": "dedicatedIpPool",
12570
+ "max_delivery_duration": "maxDeliveryDuration",
12563
12571
  "reputation_metrics": "reputationMetrics",
12564
12572
  "sending_enabled": "sendingEnabled",
12565
12573
  "suppression_reasons": "suppressionReasons",
@@ -12574,6 +12582,7 @@ class ConfigurationSetProps:
12574
12582
  configuration_set_name: typing.Optional[builtins.str] = None,
12575
12583
  custom_tracking_redirect_domain: typing.Optional[builtins.str] = None,
12576
12584
  dedicated_ip_pool: typing.Optional["IDedicatedIpPool"] = None,
12585
+ max_delivery_duration: typing.Optional[_Duration_4839e8c3] = None,
12577
12586
  reputation_metrics: typing.Optional[builtins.bool] = None,
12578
12587
  sending_enabled: typing.Optional[builtins.bool] = None,
12579
12588
  suppression_reasons: typing.Optional["SuppressionReasons"] = None,
@@ -12585,6 +12594,7 @@ class ConfigurationSetProps:
12585
12594
  :param configuration_set_name: A name for the configuration set. Default: - a CloudFormation generated name
12586
12595
  :param custom_tracking_redirect_domain: The custom subdomain that is used to redirect email recipients to the Amazon SES event tracking domain. Default: - use the default awstrack.me domain
12587
12596
  :param dedicated_ip_pool: The dedicated IP pool to associate with the configuration set. Default: - do not use a dedicated IP pool
12597
+ :param max_delivery_duration: The maximum amount of time that Amazon SES API v2 will attempt delivery of email. This value must be greater than or equal to 5 minutes and less than or equal to 14 hours. Default: undefined - SES defaults to 14 hours
12588
12598
  :param reputation_metrics: Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. Default: true
12589
12599
  :param sending_enabled: Whether email sending is enabled. Default: true
12590
12600
  :param suppression_reasons: The reasons for which recipient email addresses should be automatically added to your account's suppression list. Default: - use account level settings
@@ -12595,6 +12605,8 @@ class ConfigurationSetProps:
12595
12605
 
12596
12606
  Example::
12597
12607
 
12608
+ from aws_cdk import Duration
12609
+
12598
12610
  # my_pool: ses.IDedicatedIpPool
12599
12611
 
12600
12612
 
@@ -12602,7 +12614,11 @@ class ConfigurationSetProps:
12602
12614
  custom_tracking_redirect_domain="track.cdk.dev",
12603
12615
  suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY,
12604
12616
  tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE,
12605
- dedicated_ip_pool=my_pool
12617
+ dedicated_ip_pool=my_pool,
12618
+ # Specify maximum delivery time
12619
+ # This configuration can be useful in such cases as time-sensitive emails (like those containing a one-time-password),
12620
+ # transactional emails, and email that you want to ensure isn't delivered during non-business hours.
12621
+ max_delivery_duration=Duration.minutes(10)
12606
12622
  )
12607
12623
  '''
12608
12624
  if isinstance(vdm_options, dict):
@@ -12612,6 +12628,7 @@ class ConfigurationSetProps:
12612
12628
  check_type(argname="argument configuration_set_name", value=configuration_set_name, expected_type=type_hints["configuration_set_name"])
12613
12629
  check_type(argname="argument custom_tracking_redirect_domain", value=custom_tracking_redirect_domain, expected_type=type_hints["custom_tracking_redirect_domain"])
12614
12630
  check_type(argname="argument dedicated_ip_pool", value=dedicated_ip_pool, expected_type=type_hints["dedicated_ip_pool"])
12631
+ check_type(argname="argument max_delivery_duration", value=max_delivery_duration, expected_type=type_hints["max_delivery_duration"])
12615
12632
  check_type(argname="argument reputation_metrics", value=reputation_metrics, expected_type=type_hints["reputation_metrics"])
12616
12633
  check_type(argname="argument sending_enabled", value=sending_enabled, expected_type=type_hints["sending_enabled"])
12617
12634
  check_type(argname="argument suppression_reasons", value=suppression_reasons, expected_type=type_hints["suppression_reasons"])
@@ -12624,6 +12641,8 @@ class ConfigurationSetProps:
12624
12641
  self._values["custom_tracking_redirect_domain"] = custom_tracking_redirect_domain
12625
12642
  if dedicated_ip_pool is not None:
12626
12643
  self._values["dedicated_ip_pool"] = dedicated_ip_pool
12644
+ if max_delivery_duration is not None:
12645
+ self._values["max_delivery_duration"] = max_delivery_duration
12627
12646
  if reputation_metrics is not None:
12628
12647
  self._values["reputation_metrics"] = reputation_metrics
12629
12648
  if sending_enabled is not None:
@@ -12662,6 +12681,17 @@ class ConfigurationSetProps:
12662
12681
  result = self._values.get("dedicated_ip_pool")
12663
12682
  return typing.cast(typing.Optional["IDedicatedIpPool"], result)
12664
12683
 
12684
+ @builtins.property
12685
+ def max_delivery_duration(self) -> typing.Optional[_Duration_4839e8c3]:
12686
+ '''The maximum amount of time that Amazon SES API v2 will attempt delivery of email.
12687
+
12688
+ This value must be greater than or equal to 5 minutes and less than or equal to 14 hours.
12689
+
12690
+ :default: undefined - SES defaults to 14 hours
12691
+ '''
12692
+ result = self._values.get("max_delivery_duration")
12693
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
12694
+
12665
12695
  @builtins.property
12666
12696
  def reputation_metrics(self) -> typing.Optional[builtins.bool]:
12667
12697
  '''Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
@@ -12727,6 +12757,8 @@ class ConfigurationSetTlsPolicy(enum.Enum):
12727
12757
 
12728
12758
  Example::
12729
12759
 
12760
+ from aws_cdk import Duration
12761
+
12730
12762
  # my_pool: ses.IDedicatedIpPool
12731
12763
 
12732
12764
 
@@ -12734,7 +12766,11 @@ class ConfigurationSetTlsPolicy(enum.Enum):
12734
12766
  custom_tracking_redirect_domain="track.cdk.dev",
12735
12767
  suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY,
12736
12768
  tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE,
12737
- dedicated_ip_pool=my_pool
12769
+ dedicated_ip_pool=my_pool,
12770
+ # Specify maximum delivery time
12771
+ # This configuration can be useful in such cases as time-sensitive emails (like those containing a one-time-password),
12772
+ # transactional emails, and email that you want to ensure isn't delivered during non-business hours.
12773
+ max_delivery_duration=Duration.minutes(10)
12738
12774
  )
12739
12775
  '''
12740
12776
 
@@ -15351,6 +15387,8 @@ class SuppressionReasons(enum.Enum):
15351
15387
 
15352
15388
  Example::
15353
15389
 
15390
+ from aws_cdk import Duration
15391
+
15354
15392
  # my_pool: ses.IDedicatedIpPool
15355
15393
 
15356
15394
 
@@ -15358,7 +15396,11 @@ class SuppressionReasons(enum.Enum):
15358
15396
  custom_tracking_redirect_domain="track.cdk.dev",
15359
15397
  suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY,
15360
15398
  tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE,
15361
- dedicated_ip_pool=my_pool
15399
+ dedicated_ip_pool=my_pool,
15400
+ # Specify maximum delivery time
15401
+ # This configuration can be useful in such cases as time-sensitive emails (like those containing a one-time-password),
15402
+ # transactional emails, and email that you want to ensure isn't delivered during non-business hours.
15403
+ max_delivery_duration=Duration.minutes(10)
15362
15404
  )
15363
15405
  '''
15364
15406
 
@@ -15689,6 +15731,8 @@ class ConfigurationSet(
15689
15731
 
15690
15732
  Example::
15691
15733
 
15734
+ from aws_cdk import Duration
15735
+
15692
15736
  # my_pool: ses.IDedicatedIpPool
15693
15737
 
15694
15738
 
@@ -15696,7 +15740,11 @@ class ConfigurationSet(
15696
15740
  custom_tracking_redirect_domain="track.cdk.dev",
15697
15741
  suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY,
15698
15742
  tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE,
15699
- dedicated_ip_pool=my_pool
15743
+ dedicated_ip_pool=my_pool,
15744
+ # Specify maximum delivery time
15745
+ # This configuration can be useful in such cases as time-sensitive emails (like those containing a one-time-password),
15746
+ # transactional emails, and email that you want to ensure isn't delivered during non-business hours.
15747
+ max_delivery_duration=Duration.minutes(10)
15700
15748
  )
15701
15749
  '''
15702
15750
 
@@ -15708,6 +15756,7 @@ class ConfigurationSet(
15708
15756
  configuration_set_name: typing.Optional[builtins.str] = None,
15709
15757
  custom_tracking_redirect_domain: typing.Optional[builtins.str] = None,
15710
15758
  dedicated_ip_pool: typing.Optional[IDedicatedIpPool] = None,
15759
+ max_delivery_duration: typing.Optional[_Duration_4839e8c3] = None,
15711
15760
  reputation_metrics: typing.Optional[builtins.bool] = None,
15712
15761
  sending_enabled: typing.Optional[builtins.bool] = None,
15713
15762
  suppression_reasons: typing.Optional[SuppressionReasons] = None,
@@ -15720,6 +15769,7 @@ class ConfigurationSet(
15720
15769
  :param configuration_set_name: A name for the configuration set. Default: - a CloudFormation generated name
15721
15770
  :param custom_tracking_redirect_domain: The custom subdomain that is used to redirect email recipients to the Amazon SES event tracking domain. Default: - use the default awstrack.me domain
15722
15771
  :param dedicated_ip_pool: The dedicated IP pool to associate with the configuration set. Default: - do not use a dedicated IP pool
15772
+ :param max_delivery_duration: The maximum amount of time that Amazon SES API v2 will attempt delivery of email. This value must be greater than or equal to 5 minutes and less than or equal to 14 hours. Default: undefined - SES defaults to 14 hours
15723
15773
  :param reputation_metrics: Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. Default: true
15724
15774
  :param sending_enabled: Whether email sending is enabled. Default: true
15725
15775
  :param suppression_reasons: The reasons for which recipient email addresses should be automatically added to your account's suppression list. Default: - use account level settings
@@ -15734,6 +15784,7 @@ class ConfigurationSet(
15734
15784
  configuration_set_name=configuration_set_name,
15735
15785
  custom_tracking_redirect_domain=custom_tracking_redirect_domain,
15736
15786
  dedicated_ip_pool=dedicated_ip_pool,
15787
+ max_delivery_duration=max_delivery_duration,
15737
15788
  reputation_metrics=reputation_metrics,
15738
15789
  sending_enabled=sending_enabled,
15739
15790
  suppression_reasons=suppression_reasons,
@@ -17984,6 +18035,7 @@ def _typecheckingstub__fb010161f6c1e40b88122d9cb7754dae093e9cbe5bbfc72b19737729a
17984
18035
  configuration_set_name: typing.Optional[builtins.str] = None,
17985
18036
  custom_tracking_redirect_domain: typing.Optional[builtins.str] = None,
17986
18037
  dedicated_ip_pool: typing.Optional[IDedicatedIpPool] = None,
18038
+ max_delivery_duration: typing.Optional[_Duration_4839e8c3] = None,
17987
18039
  reputation_metrics: typing.Optional[builtins.bool] = None,
17988
18040
  sending_enabled: typing.Optional[builtins.bool] = None,
17989
18041
  suppression_reasons: typing.Optional[SuppressionReasons] = None,
@@ -18339,6 +18391,7 @@ def _typecheckingstub__52b42851a408d3eb2b07399f2b34603200cef443be5e9f913f4a1d80a
18339
18391
  configuration_set_name: typing.Optional[builtins.str] = None,
18340
18392
  custom_tracking_redirect_domain: typing.Optional[builtins.str] = None,
18341
18393
  dedicated_ip_pool: typing.Optional[IDedicatedIpPool] = None,
18394
+ max_delivery_duration: typing.Optional[_Duration_4839e8c3] = None,
18342
18395
  reputation_metrics: typing.Optional[builtins.bool] = None,
18343
18396
  sending_enabled: typing.Optional[builtins.bool] = None,
18344
18397
  suppression_reasons: typing.Optional[SuppressionReasons] = None,