aws-cdk-lib 2.167.2__py3-none-any.whl → 2.169.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 +2083 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.167.2.jsii.tgz → aws-cdk-lib@2.169.0.jsii.tgz} +0 -0
- aws_cdk/aws_accessanalyzer/__init__.py +244 -13
- aws_cdk/aws_applicationautoscaling/__init__.py +1691 -95
- aws_cdk/aws_applicationinsights/__init__.py +41 -0
- aws_cdk/aws_applicationsignals/__init__.py +124 -0
- aws_cdk/aws_autoscaling/__init__.py +743 -7
- aws_cdk/aws_batch/__init__.py +202 -5
- aws_cdk/aws_bedrock/__init__.py +12 -12
- aws_cdk/aws_cleanrooms/__init__.py +17 -8
- aws_cdk/aws_cloudformation/__init__.py +2571 -492
- aws_cdk/aws_cloudfront/__init__.py +281 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +714 -132
- aws_cdk/aws_cloudtrail/__init__.py +52 -14
- aws_cdk/aws_codebuild/__init__.py +670 -4
- aws_cdk/aws_connect/__init__.py +378 -0
- aws_cdk/aws_connectcampaignsv2/__init__.py +3376 -0
- aws_cdk/aws_customerprofiles/__init__.py +44 -0
- aws_cdk/aws_deadline/__init__.py +299 -6
- aws_cdk/aws_dynamodb/__init__.py +359 -16
- aws_cdk/aws_ec2/__init__.py +19 -6
- aws_cdk/aws_ecs/__init__.py +231 -12
- aws_cdk/aws_efs/__init__.py +61 -4
- aws_cdk/aws_eks/__init__.py +116 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +160 -11
- aws_cdk/aws_fis/__init__.py +495 -0
- aws_cdk/aws_gamelift/__init__.py +3204 -1104
- aws_cdk/aws_iot/__init__.py +209 -0
- aws_cdk/aws_iotfleetwise/__init__.py +550 -0
- aws_cdk/aws_iotsitewise/__init__.py +6 -3
- aws_cdk/aws_ivs/__init__.py +458 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +756 -8
- aws_cdk/aws_lambda/__init__.py +634 -259
- aws_cdk/aws_lambda_destinations/__init__.py +73 -0
- aws_cdk/aws_lambda_event_sources/__init__.py +102 -2
- aws_cdk/aws_location/__init__.py +18 -18
- aws_cdk/aws_mediastore/__init__.py +22 -10
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +35 -19
- aws_cdk/aws_rbin/__init__.py +902 -0
- aws_cdk/aws_rds/__init__.py +166 -3
- aws_cdk/aws_route53resolver/__init__.py +76 -19
- aws_cdk/aws_sagemaker/__init__.py +32 -0
- aws_cdk/aws_securityhub/__init__.py +11 -14
- aws_cdk/aws_ses/__init__.py +58 -5
- aws_cdk/aws_sns/__init__.py +593 -8
- aws_cdk/aws_sns_subscriptions/__init__.py +68 -22
- aws_cdk/aws_stepfunctions_tasks/__init__.py +1601 -8
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_transfer/__init__.py +0 -8
- aws_cdk/aws_vpclattice/__init__.py +157 -2
- aws_cdk/aws_wisdom/__init__.py +113 -69
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/RECORD +60 -58
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.167.2.dist-info → aws_cdk_lib-2.169.0.dist-info}/top_level.txt +0 -0
|
@@ -1543,6 +1543,10 @@ class CfnCluster(
|
|
|
1543
1543
|
)
|
|
1544
1544
|
)],
|
|
1545
1545
|
on_start_deep_health_checks=["onStartDeepHealthChecks"],
|
|
1546
|
+
override_vpc_config=sagemaker.CfnCluster.VpcConfigProperty(
|
|
1547
|
+
security_group_ids=["securityGroupIds"],
|
|
1548
|
+
subnets=["subnets"]
|
|
1549
|
+
),
|
|
1546
1550
|
threads_per_core=123
|
|
1547
1551
|
)],
|
|
1548
1552
|
|
|
@@ -1843,6 +1847,7 @@ class CfnCluster(
|
|
|
1843
1847
|
"current_count": "currentCount",
|
|
1844
1848
|
"instance_storage_configs": "instanceStorageConfigs",
|
|
1845
1849
|
"on_start_deep_health_checks": "onStartDeepHealthChecks",
|
|
1850
|
+
"override_vpc_config": "overrideVpcConfig",
|
|
1846
1851
|
"threads_per_core": "threadsPerCore",
|
|
1847
1852
|
},
|
|
1848
1853
|
)
|
|
@@ -1858,6 +1863,7 @@ class CfnCluster(
|
|
|
1858
1863
|
current_count: typing.Optional[jsii.Number] = None,
|
|
1859
1864
|
instance_storage_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.ClusterInstanceStorageConfigProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
1860
1865
|
on_start_deep_health_checks: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1866
|
+
override_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCluster.VpcConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1861
1867
|
threads_per_core: typing.Optional[jsii.Number] = None,
|
|
1862
1868
|
) -> None:
|
|
1863
1869
|
'''The configuration information of the instance group within the HyperPod cluster.
|
|
@@ -1870,6 +1876,7 @@ class CfnCluster(
|
|
|
1870
1876
|
:param current_count: The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
|
|
1871
1877
|
:param instance_storage_configs: The configurations of additional storage specified to the instance group where the instance (node) is launched.
|
|
1872
1878
|
:param on_start_deep_health_checks: A flag indicating whether deep health checks should be performed when the HyperPod cluster instance group is created or updated. Deep health checks are comprehensive, invasive tests that validate the health of the underlying hardware and infrastructure components.
|
|
1879
|
+
:param override_vpc_config: Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC.
|
|
1873
1880
|
:param threads_per_core: The number of threads per CPU core you specified under ``CreateCluster`` .
|
|
1874
1881
|
|
|
1875
1882
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html
|
|
@@ -1899,6 +1906,10 @@ class CfnCluster(
|
|
|
1899
1906
|
)
|
|
1900
1907
|
)],
|
|
1901
1908
|
on_start_deep_health_checks=["onStartDeepHealthChecks"],
|
|
1909
|
+
override_vpc_config=sagemaker.CfnCluster.VpcConfigProperty(
|
|
1910
|
+
security_group_ids=["securityGroupIds"],
|
|
1911
|
+
subnets=["subnets"]
|
|
1912
|
+
),
|
|
1902
1913
|
threads_per_core=123
|
|
1903
1914
|
)
|
|
1904
1915
|
'''
|
|
@@ -1912,6 +1923,7 @@ class CfnCluster(
|
|
|
1912
1923
|
check_type(argname="argument current_count", value=current_count, expected_type=type_hints["current_count"])
|
|
1913
1924
|
check_type(argname="argument instance_storage_configs", value=instance_storage_configs, expected_type=type_hints["instance_storage_configs"])
|
|
1914
1925
|
check_type(argname="argument on_start_deep_health_checks", value=on_start_deep_health_checks, expected_type=type_hints["on_start_deep_health_checks"])
|
|
1926
|
+
check_type(argname="argument override_vpc_config", value=override_vpc_config, expected_type=type_hints["override_vpc_config"])
|
|
1915
1927
|
check_type(argname="argument threads_per_core", value=threads_per_core, expected_type=type_hints["threads_per_core"])
|
|
1916
1928
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1917
1929
|
"execution_role": execution_role,
|
|
@@ -1926,6 +1938,8 @@ class CfnCluster(
|
|
|
1926
1938
|
self._values["instance_storage_configs"] = instance_storage_configs
|
|
1927
1939
|
if on_start_deep_health_checks is not None:
|
|
1928
1940
|
self._values["on_start_deep_health_checks"] = on_start_deep_health_checks
|
|
1941
|
+
if override_vpc_config is not None:
|
|
1942
|
+
self._values["override_vpc_config"] = override_vpc_config
|
|
1929
1943
|
if threads_per_core is not None:
|
|
1930
1944
|
self._values["threads_per_core"] = threads_per_core
|
|
1931
1945
|
|
|
@@ -2014,6 +2028,19 @@ class CfnCluster(
|
|
|
2014
2028
|
result = self._values.get("on_start_deep_health_checks")
|
|
2015
2029
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
2016
2030
|
|
|
2031
|
+
@builtins.property
|
|
2032
|
+
def override_vpc_config(
|
|
2033
|
+
self,
|
|
2034
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConfigProperty"]]:
|
|
2035
|
+
'''Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to.
|
|
2036
|
+
|
|
2037
|
+
You can control access to and from your resources by configuring a VPC.
|
|
2038
|
+
|
|
2039
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html#cfn-sagemaker-cluster-clusterinstancegroup-overridevpcconfig
|
|
2040
|
+
'''
|
|
2041
|
+
result = self._values.get("override_vpc_config")
|
|
2042
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCluster.VpcConfigProperty"]], result)
|
|
2043
|
+
|
|
2017
2044
|
@builtins.property
|
|
2018
2045
|
def threads_per_core(self) -> typing.Optional[jsii.Number]:
|
|
2019
2046
|
'''The number of threads per CPU core you specified under ``CreateCluster`` .
|
|
@@ -2426,6 +2453,10 @@ class CfnClusterProps:
|
|
|
2426
2453
|
)
|
|
2427
2454
|
)],
|
|
2428
2455
|
on_start_deep_health_checks=["onStartDeepHealthChecks"],
|
|
2456
|
+
override_vpc_config=sagemaker.CfnCluster.VpcConfigProperty(
|
|
2457
|
+
security_group_ids=["securityGroupIds"],
|
|
2458
|
+
subnets=["subnets"]
|
|
2459
|
+
),
|
|
2429
2460
|
threads_per_core=123
|
|
2430
2461
|
)],
|
|
2431
2462
|
|
|
@@ -48377,6 +48408,7 @@ def _typecheckingstub__3a19719ba9f3f785eebfbcc6ee996f6178944dfe9cbd5d5cdf73341bd
|
|
|
48377
48408
|
current_count: typing.Optional[jsii.Number] = None,
|
|
48378
48409
|
instance_storage_configs: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.ClusterInstanceStorageConfigProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
48379
48410
|
on_start_deep_health_checks: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
48411
|
+
override_vpc_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCluster.VpcConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
48380
48412
|
threads_per_core: typing.Optional[jsii.Number] = None,
|
|
48381
48413
|
) -> None:
|
|
48382
48414
|
"""Type checking stubs"""
|
|
@@ -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.
|
|
4242
|
-
:param regions: If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that
|
|
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
|
|
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.
|
|
4353
|
-
:param regions: If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED`` , then this is a space-separated list of Regions that
|
|
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
|
-
|
|
4389
|
+
In AWS CloudFormation , the options for this property are as follows:
|
|
4390
4390
|
|
|
4391
|
-
- ``ALL_REGIONS`` -
|
|
4392
|
-
- ``ALL_REGIONS_EXCEPT_SPECIFIED`` -
|
|
4393
|
-
- ``SPECIFIED_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
|
|
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
|
|
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
|
'''
|
aws_cdk/aws_ses/__init__.py
CHANGED
|
@@ -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,
|