aws-cdk-lib 2.171.1__py3-none-any.whl → 2.172.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.
- aws_cdk/__init__.py +471 -161
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.172.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +1314 -124
- aws_cdk/aws_appsync/__init__.py +159 -136
- aws_cdk/aws_autoscaling/__init__.py +81 -24
- aws_cdk/aws_bedrock/__init__.py +48 -0
- aws_cdk/aws_chatbot/__init__.py +775 -0
- aws_cdk/aws_cloudformation/__init__.py +240 -159
- aws_cdk/aws_cloudfront/__init__.py +11 -5
- aws_cdk/aws_cloudtrail/__init__.py +753 -0
- aws_cdk/aws_cognito/__init__.py +825 -4
- aws_cdk/aws_connect/__init__.py +429 -0
- aws_cdk/aws_customerprofiles/__init__.py +3148 -0
- aws_cdk/aws_ec2/__init__.py +872 -5
- aws_cdk/aws_ecs/__init__.py +12 -7
- aws_cdk/aws_eks/__init__.py +709 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +309 -55
- aws_cdk/aws_events/__init__.py +515 -8
- aws_cdk/aws_iot/__init__.py +42 -4
- aws_cdk/aws_iotfleetwise/__init__.py +510 -0
- aws_cdk/aws_iotsitewise/__init__.py +156 -0
- aws_cdk/aws_lambda/__init__.py +14 -8
- aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
- aws_cdk/aws_m2/__init__.py +289 -0
- aws_cdk/aws_mwaa/__init__.py +6 -6
- aws_cdk/aws_opensearchserverless/__init__.py +249 -1
- aws_cdk/aws_pipes/__init__.py +14 -30
- aws_cdk/aws_qbusiness/__init__.py +3 -1
- aws_cdk/aws_quicksight/__init__.py +8270 -10
- aws_cdk/aws_rbin/__init__.py +53 -34
- aws_cdk/aws_rds/__init__.py +140 -8
- aws_cdk/aws_resourcegroups/__init__.py +349 -0
- aws_cdk/aws_route53_targets/__init__.py +82 -0
- aws_cdk/aws_route53resolver/__init__.py +15 -6
- aws_cdk/aws_s3express/__init__.py +403 -2
- aws_cdk/aws_sagemaker/__init__.py +124 -112
- aws_cdk/aws_ses/__init__.py +79 -41
- aws_cdk/aws_wisdom/__init__.py +4713 -172
- aws_cdk/aws_workspacesweb/__init__.py +1024 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/RECORD +47 -47
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.172.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ses/__init__.py
CHANGED
|
@@ -138,7 +138,6 @@ from aws_cdk import Duration
|
|
|
138
138
|
|
|
139
139
|
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
140
140
|
custom_tracking_redirect_domain="track.cdk.dev",
|
|
141
|
-
suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY,
|
|
142
141
|
tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE,
|
|
143
142
|
dedicated_ip_pool=my_pool,
|
|
144
143
|
# Specify maximum delivery time
|
|
@@ -160,6 +159,42 @@ my_configuration_set.add_event_destination("ToSns",
|
|
|
160
159
|
)
|
|
161
160
|
```
|
|
162
161
|
|
|
162
|
+
### Override account-level suppression list settings
|
|
163
|
+
|
|
164
|
+
You can customize account-level suppression list separately for different configuration sets by overriding it
|
|
165
|
+
with configuration set-level suppression.
|
|
166
|
+
|
|
167
|
+
For details, see [Using configuration set-level suppression to override your account-level suppression list](https://docs.aws.amazon.com/ses/latest/dg/sending-email-suppression-list-config-level.html).
|
|
168
|
+
|
|
169
|
+
By default, the configuration set uses your account-level suppression list settings.
|
|
170
|
+
|
|
171
|
+
You can disable account-level suppression list by specifying `disableSuppressionList` to true. Email sent with this configuration set will not use any suppression settings at all.
|
|
172
|
+
|
|
173
|
+
```python
|
|
174
|
+
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
175
|
+
disable_suppression_list=True
|
|
176
|
+
)
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
You can also override account level settings with configuration set-level suppression enabled. Email sent with this configuration set will only use the suppression conditions you enabled for it (bounces, complaints, or bounces and complaints) - regardless of what your account-level suppression list settings are, it will override them.
|
|
180
|
+
|
|
181
|
+
```python
|
|
182
|
+
# Only bounces will be suppressed.
|
|
183
|
+
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
184
|
+
suppression_reasons=ses.SuppressionReasons.BOUNCES_ONLY
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
# Only complaints will be suppressed.
|
|
188
|
+
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
189
|
+
suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
# Both bounces and complaints will be suppressed.
|
|
193
|
+
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
194
|
+
suppression_reasons=ses.SuppressionReasons.BOUNCES_AND_COMPLAINTS
|
|
195
|
+
)
|
|
196
|
+
```
|
|
197
|
+
|
|
163
198
|
### Email identity
|
|
164
199
|
|
|
165
200
|
In Amazon SES, a verified identity is a domain or email address that you use to send or receive email. Before you
|
|
@@ -12567,6 +12602,7 @@ class ConfigurationSetEventDestinationProps(ConfigurationSetEventDestinationOpti
|
|
|
12567
12602
|
"configuration_set_name": "configurationSetName",
|
|
12568
12603
|
"custom_tracking_redirect_domain": "customTrackingRedirectDomain",
|
|
12569
12604
|
"dedicated_ip_pool": "dedicatedIpPool",
|
|
12605
|
+
"disable_suppression_list": "disableSuppressionList",
|
|
12570
12606
|
"max_delivery_duration": "maxDeliveryDuration",
|
|
12571
12607
|
"reputation_metrics": "reputationMetrics",
|
|
12572
12608
|
"sending_enabled": "sendingEnabled",
|
|
@@ -12582,6 +12618,7 @@ class ConfigurationSetProps:
|
|
|
12582
12618
|
configuration_set_name: typing.Optional[builtins.str] = None,
|
|
12583
12619
|
custom_tracking_redirect_domain: typing.Optional[builtins.str] = None,
|
|
12584
12620
|
dedicated_ip_pool: typing.Optional["IDedicatedIpPool"] = None,
|
|
12621
|
+
disable_suppression_list: typing.Optional[builtins.bool] = None,
|
|
12585
12622
|
max_delivery_duration: typing.Optional[_Duration_4839e8c3] = None,
|
|
12586
12623
|
reputation_metrics: typing.Optional[builtins.bool] = None,
|
|
12587
12624
|
sending_enabled: typing.Optional[builtins.bool] = None,
|
|
@@ -12594,6 +12631,7 @@ class ConfigurationSetProps:
|
|
|
12594
12631
|
:param configuration_set_name: A name for the configuration set. Default: - a CloudFormation generated name
|
|
12595
12632
|
: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
|
|
12596
12633
|
:param dedicated_ip_pool: The dedicated IP pool to associate with the configuration set. Default: - do not use a dedicated IP pool
|
|
12634
|
+
:param disable_suppression_list: If true, account-level suppression list is disabled; email sent with this configuration set will not use any suppression settings at all Default: false
|
|
12597
12635
|
: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
|
|
12598
12636
|
:param reputation_metrics: Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. Default: true
|
|
12599
12637
|
:param sending_enabled: Whether email sending is enabled. Default: true
|
|
@@ -12605,20 +12643,11 @@ class ConfigurationSetProps:
|
|
|
12605
12643
|
|
|
12606
12644
|
Example::
|
|
12607
12645
|
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
12614
|
-
custom_tracking_redirect_domain="track.cdk.dev",
|
|
12615
|
-
suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY,
|
|
12616
|
-
tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE,
|
|
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)
|
|
12646
|
+
ses.ConfigurationSet(self, "ConfigurationSetWithVdmOptions",
|
|
12647
|
+
vdm_options=ses.VdmOptions(
|
|
12648
|
+
engagement_metrics=True,
|
|
12649
|
+
optimized_shared_delivery=True
|
|
12650
|
+
)
|
|
12622
12651
|
)
|
|
12623
12652
|
'''
|
|
12624
12653
|
if isinstance(vdm_options, dict):
|
|
@@ -12628,6 +12657,7 @@ class ConfigurationSetProps:
|
|
|
12628
12657
|
check_type(argname="argument configuration_set_name", value=configuration_set_name, expected_type=type_hints["configuration_set_name"])
|
|
12629
12658
|
check_type(argname="argument custom_tracking_redirect_domain", value=custom_tracking_redirect_domain, expected_type=type_hints["custom_tracking_redirect_domain"])
|
|
12630
12659
|
check_type(argname="argument dedicated_ip_pool", value=dedicated_ip_pool, expected_type=type_hints["dedicated_ip_pool"])
|
|
12660
|
+
check_type(argname="argument disable_suppression_list", value=disable_suppression_list, expected_type=type_hints["disable_suppression_list"])
|
|
12631
12661
|
check_type(argname="argument max_delivery_duration", value=max_delivery_duration, expected_type=type_hints["max_delivery_duration"])
|
|
12632
12662
|
check_type(argname="argument reputation_metrics", value=reputation_metrics, expected_type=type_hints["reputation_metrics"])
|
|
12633
12663
|
check_type(argname="argument sending_enabled", value=sending_enabled, expected_type=type_hints["sending_enabled"])
|
|
@@ -12641,6 +12671,8 @@ class ConfigurationSetProps:
|
|
|
12641
12671
|
self._values["custom_tracking_redirect_domain"] = custom_tracking_redirect_domain
|
|
12642
12672
|
if dedicated_ip_pool is not None:
|
|
12643
12673
|
self._values["dedicated_ip_pool"] = dedicated_ip_pool
|
|
12674
|
+
if disable_suppression_list is not None:
|
|
12675
|
+
self._values["disable_suppression_list"] = disable_suppression_list
|
|
12644
12676
|
if max_delivery_duration is not None:
|
|
12645
12677
|
self._values["max_delivery_duration"] = max_delivery_duration
|
|
12646
12678
|
if reputation_metrics is not None:
|
|
@@ -12681,6 +12713,18 @@ class ConfigurationSetProps:
|
|
|
12681
12713
|
result = self._values.get("dedicated_ip_pool")
|
|
12682
12714
|
return typing.cast(typing.Optional["IDedicatedIpPool"], result)
|
|
12683
12715
|
|
|
12716
|
+
@builtins.property
|
|
12717
|
+
def disable_suppression_list(self) -> typing.Optional[builtins.bool]:
|
|
12718
|
+
'''If true, account-level suppression list is disabled;
|
|
12719
|
+
|
|
12720
|
+
email sent with this configuration set
|
|
12721
|
+
will not use any suppression settings at all
|
|
12722
|
+
|
|
12723
|
+
:default: false
|
|
12724
|
+
'''
|
|
12725
|
+
result = self._values.get("disable_suppression_list")
|
|
12726
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
12727
|
+
|
|
12684
12728
|
@builtins.property
|
|
12685
12729
|
def max_delivery_duration(self) -> typing.Optional[_Duration_4839e8c3]:
|
|
12686
12730
|
'''The maximum amount of time that Amazon SES API v2 will attempt delivery of email.
|
|
@@ -12764,7 +12808,6 @@ class ConfigurationSetTlsPolicy(enum.Enum):
|
|
|
12764
12808
|
|
|
12765
12809
|
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
12766
12810
|
custom_tracking_redirect_domain="track.cdk.dev",
|
|
12767
|
-
suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY,
|
|
12768
12811
|
tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE,
|
|
12769
12812
|
dedicated_ip_pool=my_pool,
|
|
12770
12813
|
# Specify maximum delivery time
|
|
@@ -15387,20 +15430,19 @@ class SuppressionReasons(enum.Enum):
|
|
|
15387
15430
|
|
|
15388
15431
|
Example::
|
|
15389
15432
|
|
|
15390
|
-
|
|
15391
|
-
|
|
15392
|
-
|
|
15433
|
+
# Only bounces will be suppressed.
|
|
15434
|
+
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
15435
|
+
suppression_reasons=ses.SuppressionReasons.BOUNCES_ONLY
|
|
15436
|
+
)
|
|
15393
15437
|
|
|
15438
|
+
# Only complaints will be suppressed.
|
|
15439
|
+
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
15440
|
+
suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY
|
|
15441
|
+
)
|
|
15394
15442
|
|
|
15443
|
+
# Both bounces and complaints will be suppressed.
|
|
15395
15444
|
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
15396
|
-
|
|
15397
|
-
suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY,
|
|
15398
|
-
tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE,
|
|
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)
|
|
15445
|
+
suppression_reasons=ses.SuppressionReasons.BOUNCES_AND_COMPLAINTS
|
|
15404
15446
|
)
|
|
15405
15447
|
'''
|
|
15406
15448
|
|
|
@@ -15731,20 +15773,11 @@ class ConfigurationSet(
|
|
|
15731
15773
|
|
|
15732
15774
|
Example::
|
|
15733
15775
|
|
|
15734
|
-
|
|
15735
|
-
|
|
15736
|
-
|
|
15737
|
-
|
|
15738
|
-
|
|
15739
|
-
ses.ConfigurationSet(self, "ConfigurationSet",
|
|
15740
|
-
custom_tracking_redirect_domain="track.cdk.dev",
|
|
15741
|
-
suppression_reasons=ses.SuppressionReasons.COMPLAINTS_ONLY,
|
|
15742
|
-
tls_policy=ses.ConfigurationSetTlsPolicy.REQUIRE,
|
|
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)
|
|
15776
|
+
ses.ConfigurationSet(self, "ConfigurationSetWithVdmOptions",
|
|
15777
|
+
vdm_options=ses.VdmOptions(
|
|
15778
|
+
engagement_metrics=True,
|
|
15779
|
+
optimized_shared_delivery=True
|
|
15780
|
+
)
|
|
15748
15781
|
)
|
|
15749
15782
|
'''
|
|
15750
15783
|
|
|
@@ -15756,6 +15789,7 @@ class ConfigurationSet(
|
|
|
15756
15789
|
configuration_set_name: typing.Optional[builtins.str] = None,
|
|
15757
15790
|
custom_tracking_redirect_domain: typing.Optional[builtins.str] = None,
|
|
15758
15791
|
dedicated_ip_pool: typing.Optional[IDedicatedIpPool] = None,
|
|
15792
|
+
disable_suppression_list: typing.Optional[builtins.bool] = None,
|
|
15759
15793
|
max_delivery_duration: typing.Optional[_Duration_4839e8c3] = None,
|
|
15760
15794
|
reputation_metrics: typing.Optional[builtins.bool] = None,
|
|
15761
15795
|
sending_enabled: typing.Optional[builtins.bool] = None,
|
|
@@ -15769,6 +15803,7 @@ class ConfigurationSet(
|
|
|
15769
15803
|
:param configuration_set_name: A name for the configuration set. Default: - a CloudFormation generated name
|
|
15770
15804
|
: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
|
|
15771
15805
|
:param dedicated_ip_pool: The dedicated IP pool to associate with the configuration set. Default: - do not use a dedicated IP pool
|
|
15806
|
+
:param disable_suppression_list: If true, account-level suppression list is disabled; email sent with this configuration set will not use any suppression settings at all Default: false
|
|
15772
15807
|
: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
|
|
15773
15808
|
:param reputation_metrics: Whether to publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. Default: true
|
|
15774
15809
|
:param sending_enabled: Whether email sending is enabled. Default: true
|
|
@@ -15784,6 +15819,7 @@ class ConfigurationSet(
|
|
|
15784
15819
|
configuration_set_name=configuration_set_name,
|
|
15785
15820
|
custom_tracking_redirect_domain=custom_tracking_redirect_domain,
|
|
15786
15821
|
dedicated_ip_pool=dedicated_ip_pool,
|
|
15822
|
+
disable_suppression_list=disable_suppression_list,
|
|
15787
15823
|
max_delivery_duration=max_delivery_duration,
|
|
15788
15824
|
reputation_metrics=reputation_metrics,
|
|
15789
15825
|
sending_enabled=sending_enabled,
|
|
@@ -18035,6 +18071,7 @@ def _typecheckingstub__fb010161f6c1e40b88122d9cb7754dae093e9cbe5bbfc72b19737729a
|
|
|
18035
18071
|
configuration_set_name: typing.Optional[builtins.str] = None,
|
|
18036
18072
|
custom_tracking_redirect_domain: typing.Optional[builtins.str] = None,
|
|
18037
18073
|
dedicated_ip_pool: typing.Optional[IDedicatedIpPool] = None,
|
|
18074
|
+
disable_suppression_list: typing.Optional[builtins.bool] = None,
|
|
18038
18075
|
max_delivery_duration: typing.Optional[_Duration_4839e8c3] = None,
|
|
18039
18076
|
reputation_metrics: typing.Optional[builtins.bool] = None,
|
|
18040
18077
|
sending_enabled: typing.Optional[builtins.bool] = None,
|
|
@@ -18391,6 +18428,7 @@ def _typecheckingstub__52b42851a408d3eb2b07399f2b34603200cef443be5e9f913f4a1d80a
|
|
|
18391
18428
|
configuration_set_name: typing.Optional[builtins.str] = None,
|
|
18392
18429
|
custom_tracking_redirect_domain: typing.Optional[builtins.str] = None,
|
|
18393
18430
|
dedicated_ip_pool: typing.Optional[IDedicatedIpPool] = None,
|
|
18431
|
+
disable_suppression_list: typing.Optional[builtins.bool] = None,
|
|
18394
18432
|
max_delivery_duration: typing.Optional[_Duration_4839e8c3] = None,
|
|
18395
18433
|
reputation_metrics: typing.Optional[builtins.bool] = None,
|
|
18396
18434
|
sending_enabled: typing.Optional[builtins.bool] = None,
|