aws-cdk-lib 2.132.1__py3-none-any.whl → 2.134.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 +9 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.132.1.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -10
- aws_cdk/aws_apigatewayv2/__init__.py +112 -6
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
- aws_cdk/aws_appconfig/__init__.py +186 -8
- aws_cdk/aws_appintegrations/__init__.py +551 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -6
- aws_cdk/aws_appsync/__init__.py +71 -0
- aws_cdk/aws_autoscaling/__init__.py +10 -14
- aws_cdk/aws_b2bi/__init__.py +2 -42
- aws_cdk/aws_backup/__init__.py +23 -12
- aws_cdk/aws_batch/__init__.py +2150 -1078
- aws_cdk/aws_bedrock/__init__.py +197 -2
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +4 -4
- aws_cdk/aws_cloudtrail/__init__.py +44 -14
- aws_cdk/aws_cloudwatch/__init__.py +20 -4
- aws_cdk/aws_codeartifact/__init__.py +812 -2
- aws_cdk/aws_codebuild/__init__.py +32 -10
- aws_cdk/aws_codepipeline/__init__.py +33 -11
- aws_cdk/aws_cognito/__init__.py +49 -44
- aws_cdk/aws_connect/__init__.py +256 -0
- aws_cdk/aws_controltower/__init__.py +4 -4
- aws_cdk/aws_datasync/__init__.py +393 -13
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_docdbelastic/__init__.py +117 -0
- aws_cdk/aws_dynamodb/__init__.py +416 -5
- aws_cdk/aws_ec2/__init__.py +590 -134
- aws_cdk/aws_ecs/__init__.py +29 -20
- aws_cdk/aws_ecs_patterns/__init__.py +52 -12
- aws_cdk/aws_eks/__init__.py +27 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +363 -62
- aws_cdk/aws_emr/__init__.py +7 -4
- aws_cdk/aws_entityresolution/__init__.py +91 -64
- aws_cdk/aws_fsx/__init__.py +7 -7
- aws_cdk/aws_glue/__init__.py +137 -3
- aws_cdk/aws_iam/__init__.py +9 -10
- aws_cdk/aws_internetmonitor/__init__.py +85 -0
- aws_cdk/aws_iotsitewise/__init__.py +208 -198
- aws_cdk/aws_iotwireless/__init__.py +6 -5
- aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
- aws_cdk/aws_kendra/__init__.py +34 -24
- aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
- aws_cdk/aws_lambda/__init__.py +16 -16
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_opensearchservice/__init__.py +61 -18
- aws_cdk/aws_pinpoint/__init__.py +42 -0
- aws_cdk/aws_rds/__init__.py +1292 -216
- aws_cdk/aws_redshift/__init__.py +6 -3
- aws_cdk/aws_redshiftserverless/__init__.py +0 -157
- aws_cdk/aws_sagemaker/__init__.py +29 -9
- aws_cdk/aws_shield/__init__.py +7 -8
- aws_cdk/aws_ssm/__init__.py +15 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +476 -0
- aws_cdk/aws_synthetics/__init__.py +74 -14
- aws_cdk/aws_transfer/__init__.py +4 -3
- aws_cdk/aws_wafv2/__init__.py +516 -42
- aws_cdk/cx_api/__init__.py +34 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +69 -69
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_msk/__init__.py
CHANGED
|
@@ -4078,6 +4078,9 @@ class CfnReplicator(
|
|
|
4078
4078
|
copy_access_control_lists_for_topics=False,
|
|
4079
4079
|
copy_topic_configurations=False,
|
|
4080
4080
|
detect_and_copy_new_topics=False,
|
|
4081
|
+
starting_position=msk.CfnReplicator.ReplicationStartingPositionProperty(
|
|
4082
|
+
type="type"
|
|
4083
|
+
),
|
|
4081
4084
|
topics_to_exclude=["topicsToExclude"]
|
|
4082
4085
|
)
|
|
4083
4086
|
)],
|
|
@@ -4673,6 +4676,9 @@ class CfnReplicator(
|
|
|
4673
4676
|
copy_access_control_lists_for_topics=False,
|
|
4674
4677
|
copy_topic_configurations=False,
|
|
4675
4678
|
detect_and_copy_new_topics=False,
|
|
4679
|
+
starting_position=msk.CfnReplicator.ReplicationStartingPositionProperty(
|
|
4680
|
+
type="type"
|
|
4681
|
+
),
|
|
4676
4682
|
topics_to_exclude=["topicsToExclude"]
|
|
4677
4683
|
)
|
|
4678
4684
|
)
|
|
@@ -4756,6 +4762,57 @@ class CfnReplicator(
|
|
|
4756
4762
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4757
4763
|
)
|
|
4758
4764
|
|
|
4765
|
+
@jsii.data_type(
|
|
4766
|
+
jsii_type="aws-cdk-lib.aws_msk.CfnReplicator.ReplicationStartingPositionProperty",
|
|
4767
|
+
jsii_struct_bases=[],
|
|
4768
|
+
name_mapping={"type": "type"},
|
|
4769
|
+
)
|
|
4770
|
+
class ReplicationStartingPositionProperty:
|
|
4771
|
+
def __init__(self, *, type: typing.Optional[builtins.str] = None) -> None:
|
|
4772
|
+
'''Configuration for specifying the position in the topics to start replicating from.
|
|
4773
|
+
|
|
4774
|
+
:param type: The type of replication starting position.
|
|
4775
|
+
|
|
4776
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationstartingposition.html
|
|
4777
|
+
:exampleMetadata: fixture=_generated
|
|
4778
|
+
|
|
4779
|
+
Example::
|
|
4780
|
+
|
|
4781
|
+
# The code below shows an example of how to instantiate this type.
|
|
4782
|
+
# The values are placeholders you should change.
|
|
4783
|
+
from aws_cdk import aws_msk as msk
|
|
4784
|
+
|
|
4785
|
+
replication_starting_position_property = msk.CfnReplicator.ReplicationStartingPositionProperty(
|
|
4786
|
+
type="type"
|
|
4787
|
+
)
|
|
4788
|
+
'''
|
|
4789
|
+
if __debug__:
|
|
4790
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5867862d62f899b15989ba1bdfade827bc8239f7341776ead0babb821c344db7)
|
|
4791
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
4792
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
4793
|
+
if type is not None:
|
|
4794
|
+
self._values["type"] = type
|
|
4795
|
+
|
|
4796
|
+
@builtins.property
|
|
4797
|
+
def type(self) -> typing.Optional[builtins.str]:
|
|
4798
|
+
'''The type of replication starting position.
|
|
4799
|
+
|
|
4800
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-replicationstartingposition.html#cfn-msk-replicator-replicationstartingposition-type
|
|
4801
|
+
'''
|
|
4802
|
+
result = self._values.get("type")
|
|
4803
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4804
|
+
|
|
4805
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4806
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4807
|
+
|
|
4808
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4809
|
+
return not (rhs == self)
|
|
4810
|
+
|
|
4811
|
+
def __repr__(self) -> str:
|
|
4812
|
+
return "ReplicationStartingPositionProperty(%s)" % ", ".join(
|
|
4813
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4814
|
+
)
|
|
4815
|
+
|
|
4759
4816
|
@jsii.data_type(
|
|
4760
4817
|
jsii_type="aws-cdk-lib.aws_msk.CfnReplicator.TopicReplicationProperty",
|
|
4761
4818
|
jsii_struct_bases=[],
|
|
@@ -4764,6 +4821,7 @@ class CfnReplicator(
|
|
|
4764
4821
|
"copy_access_control_lists_for_topics": "copyAccessControlListsForTopics",
|
|
4765
4822
|
"copy_topic_configurations": "copyTopicConfigurations",
|
|
4766
4823
|
"detect_and_copy_new_topics": "detectAndCopyNewTopics",
|
|
4824
|
+
"starting_position": "startingPosition",
|
|
4767
4825
|
"topics_to_exclude": "topicsToExclude",
|
|
4768
4826
|
},
|
|
4769
4827
|
)
|
|
@@ -4775,6 +4833,7 @@ class CfnReplicator(
|
|
|
4775
4833
|
copy_access_control_lists_for_topics: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4776
4834
|
copy_topic_configurations: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4777
4835
|
detect_and_copy_new_topics: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
4836
|
+
starting_position: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnReplicator.ReplicationStartingPositionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4778
4837
|
topics_to_exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
4779
4838
|
) -> None:
|
|
4780
4839
|
'''
|
|
@@ -4782,6 +4841,7 @@ class CfnReplicator(
|
|
|
4782
4841
|
:param copy_access_control_lists_for_topics: Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.
|
|
4783
4842
|
:param copy_topic_configurations: Whether to periodically configure remote topics to match their corresponding upstream topics.
|
|
4784
4843
|
:param detect_and_copy_new_topics: Whether to periodically check for new topics and partitions.
|
|
4844
|
+
:param starting_position: Configuration for specifying the position in the topics to start replicating from.
|
|
4785
4845
|
:param topics_to_exclude: List of regular expression patterns indicating the topics that should not be replicated.
|
|
4786
4846
|
|
|
4787
4847
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-topicreplication.html
|
|
@@ -4800,6 +4860,9 @@ class CfnReplicator(
|
|
|
4800
4860
|
copy_access_control_lists_for_topics=False,
|
|
4801
4861
|
copy_topic_configurations=False,
|
|
4802
4862
|
detect_and_copy_new_topics=False,
|
|
4863
|
+
starting_position=msk.CfnReplicator.ReplicationStartingPositionProperty(
|
|
4864
|
+
type="type"
|
|
4865
|
+
),
|
|
4803
4866
|
topics_to_exclude=["topicsToExclude"]
|
|
4804
4867
|
)
|
|
4805
4868
|
'''
|
|
@@ -4809,6 +4872,7 @@ class CfnReplicator(
|
|
|
4809
4872
|
check_type(argname="argument copy_access_control_lists_for_topics", value=copy_access_control_lists_for_topics, expected_type=type_hints["copy_access_control_lists_for_topics"])
|
|
4810
4873
|
check_type(argname="argument copy_topic_configurations", value=copy_topic_configurations, expected_type=type_hints["copy_topic_configurations"])
|
|
4811
4874
|
check_type(argname="argument detect_and_copy_new_topics", value=detect_and_copy_new_topics, expected_type=type_hints["detect_and_copy_new_topics"])
|
|
4875
|
+
check_type(argname="argument starting_position", value=starting_position, expected_type=type_hints["starting_position"])
|
|
4812
4876
|
check_type(argname="argument topics_to_exclude", value=topics_to_exclude, expected_type=type_hints["topics_to_exclude"])
|
|
4813
4877
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4814
4878
|
"topics_to_replicate": topics_to_replicate,
|
|
@@ -4819,6 +4883,8 @@ class CfnReplicator(
|
|
|
4819
4883
|
self._values["copy_topic_configurations"] = copy_topic_configurations
|
|
4820
4884
|
if detect_and_copy_new_topics is not None:
|
|
4821
4885
|
self._values["detect_and_copy_new_topics"] = detect_and_copy_new_topics
|
|
4886
|
+
if starting_position is not None:
|
|
4887
|
+
self._values["starting_position"] = starting_position
|
|
4822
4888
|
if topics_to_exclude is not None:
|
|
4823
4889
|
self._values["topics_to_exclude"] = topics_to_exclude
|
|
4824
4890
|
|
|
@@ -4865,6 +4931,17 @@ class CfnReplicator(
|
|
|
4865
4931
|
result = self._values.get("detect_and_copy_new_topics")
|
|
4866
4932
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
4867
4933
|
|
|
4934
|
+
@builtins.property
|
|
4935
|
+
def starting_position(
|
|
4936
|
+
self,
|
|
4937
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnReplicator.ReplicationStartingPositionProperty"]]:
|
|
4938
|
+
'''Configuration for specifying the position in the topics to start replicating from.
|
|
4939
|
+
|
|
4940
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-msk-replicator-topicreplication.html#cfn-msk-replicator-topicreplication-startingposition
|
|
4941
|
+
'''
|
|
4942
|
+
result = self._values.get("starting_position")
|
|
4943
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnReplicator.ReplicationStartingPositionProperty"]], result)
|
|
4944
|
+
|
|
4868
4945
|
@builtins.property
|
|
4869
4946
|
def topics_to_exclude(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
4870
4947
|
'''List of regular expression patterns indicating the topics that should not be replicated.
|
|
@@ -4961,6 +5038,9 @@ class CfnReplicatorProps:
|
|
|
4961
5038
|
copy_access_control_lists_for_topics=False,
|
|
4962
5039
|
copy_topic_configurations=False,
|
|
4963
5040
|
detect_and_copy_new_topics=False,
|
|
5041
|
+
starting_position=msk.CfnReplicator.ReplicationStartingPositionProperty(
|
|
5042
|
+
type="type"
|
|
5043
|
+
),
|
|
4964
5044
|
topics_to_exclude=["topicsToExclude"]
|
|
4965
5045
|
)
|
|
4966
5046
|
)],
|
|
@@ -6648,12 +6728,20 @@ def _typecheckingstub__1dda95e7e04f4c21eabf1745c35859aeb7d3710c716f2649a23a1bda9
|
|
|
6648
6728
|
"""Type checking stubs"""
|
|
6649
6729
|
pass
|
|
6650
6730
|
|
|
6731
|
+
def _typecheckingstub__5867862d62f899b15989ba1bdfade827bc8239f7341776ead0babb821c344db7(
|
|
6732
|
+
*,
|
|
6733
|
+
type: typing.Optional[builtins.str] = None,
|
|
6734
|
+
) -> None:
|
|
6735
|
+
"""Type checking stubs"""
|
|
6736
|
+
pass
|
|
6737
|
+
|
|
6651
6738
|
def _typecheckingstub__0c30cafe96a0d51060e8bc61471dbbee1baf46133c8ecfbc997c5305121f3d6d(
|
|
6652
6739
|
*,
|
|
6653
6740
|
topics_to_replicate: typing.Sequence[builtins.str],
|
|
6654
6741
|
copy_access_control_lists_for_topics: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6655
6742
|
copy_topic_configurations: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6656
6743
|
detect_and_copy_new_topics: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
6744
|
+
starting_position: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnReplicator.ReplicationStartingPositionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6657
6745
|
topics_to_exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
6658
6746
|
) -> None:
|
|
6659
6747
|
"""Type checking stubs"""
|
|
@@ -387,6 +387,22 @@ domain = Domain(self, "Domain",
|
|
|
387
387
|
)
|
|
388
388
|
```
|
|
389
389
|
|
|
390
|
+
## Cold storage
|
|
391
|
+
|
|
392
|
+
Cold storage can be enabled on the domain. You must enable UltraWarm storage to enable cold storage.
|
|
393
|
+
|
|
394
|
+
```python
|
|
395
|
+
domain = Domain(self, "Domain",
|
|
396
|
+
version=EngineVersion.OPENSEARCH_1_0,
|
|
397
|
+
capacity=CapacityConfig(
|
|
398
|
+
master_nodes=2,
|
|
399
|
+
warm_nodes=2,
|
|
400
|
+
warm_instance_type="ultrawarm1.medium.search"
|
|
401
|
+
),
|
|
402
|
+
cold_storage_enabled=True
|
|
403
|
+
)
|
|
404
|
+
```
|
|
405
|
+
|
|
390
406
|
## Custom endpoint
|
|
391
407
|
|
|
392
408
|
Custom endpoints can be configured to reach the domain under a custom domain name.
|
|
@@ -732,10 +748,10 @@ class CapacityConfig:
|
|
|
732
748
|
|
|
733
749
|
:param data_node_instance_type: The instance type for your data nodes, such as ``m3.medium.search``. For valid values, see `Supported Instance Types <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html>`_ in the Amazon OpenSearch Service Developer Guide. Default: - r5.large.search
|
|
734
750
|
:param data_nodes: The number of data nodes (instances) to use in the Amazon OpenSearch Service domain. Default: - 1
|
|
735
|
-
:param master_node_instance_type: The hardware configuration of the computer that hosts the dedicated master node, such as ``m3.medium.search``. For valid values, see
|
|
751
|
+
:param master_node_instance_type: The hardware configuration of the computer that hosts the dedicated master node, such as ``m3.medium.search``. For valid values, see `Supported Instance Types <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html>`_ in the Amazon OpenSearch Service Developer Guide. Default: - r5.large.search
|
|
736
752
|
:param master_nodes: The number of instances to use for the master node. Default: - no dedicated master nodes
|
|
737
|
-
:param multi_az_with_standby_enabled: Indicates whether Multi-AZ with Standby deployment option is enabled. For more information, see
|
|
738
|
-
:param warm_instance_type: The instance type for your UltraWarm node, such as ``ultrawarm1.medium.search``. For valid values, see
|
|
753
|
+
:param multi_az_with_standby_enabled: Indicates whether Multi-AZ with Standby deployment option is enabled. For more information, see `Multi-AZ with Standby <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html#managedomains-za-standby>`_ Default: - no multi-az with standby
|
|
754
|
+
:param warm_instance_type: The instance type for your UltraWarm node, such as ``ultrawarm1.medium.search``. For valid values, see `UltraWarm Storage Limits <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#limits-ultrawarm>`_ in the Amazon OpenSearch Service Developer Guide. Default: - ultrawarm1.medium.search
|
|
739
755
|
:param warm_nodes: The number of UltraWarm nodes (instances) to use in the Amazon OpenSearch Service domain. Default: - no UltraWarm nodes
|
|
740
756
|
|
|
741
757
|
:exampleMetadata: infused
|
|
@@ -748,7 +764,8 @@ class CapacityConfig:
|
|
|
748
764
|
master_nodes=2,
|
|
749
765
|
warm_nodes=2,
|
|
750
766
|
warm_instance_type="ultrawarm1.medium.search"
|
|
751
|
-
)
|
|
767
|
+
),
|
|
768
|
+
cold_storage_enabled=True
|
|
752
769
|
)
|
|
753
770
|
'''
|
|
754
771
|
if __debug__:
|
|
@@ -796,7 +813,7 @@ class CapacityConfig:
|
|
|
796
813
|
|
|
797
814
|
@builtins.property
|
|
798
815
|
def master_node_instance_type(self) -> typing.Optional[builtins.str]:
|
|
799
|
-
'''The hardware configuration of the computer that hosts the dedicated master node, such as ``m3.medium.search``. For valid values, see
|
|
816
|
+
'''The hardware configuration of the computer that hosts the dedicated master node, such as ``m3.medium.search``. For valid values, see `Supported Instance Types <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html>`_ in the Amazon OpenSearch Service Developer Guide.
|
|
800
817
|
|
|
801
818
|
:default: - r5.large.search
|
|
802
819
|
'''
|
|
@@ -816,8 +833,8 @@ class CapacityConfig:
|
|
|
816
833
|
def multi_az_with_standby_enabled(self) -> typing.Optional[builtins.bool]:
|
|
817
834
|
'''Indicates whether Multi-AZ with Standby deployment option is enabled.
|
|
818
835
|
|
|
819
|
-
For more information, see
|
|
820
|
-
|
|
836
|
+
For more information, see `Multi-AZ with
|
|
837
|
+
Standby <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html#managedomains-za-standby>`_
|
|
821
838
|
|
|
822
839
|
:default: - no multi-az with standby
|
|
823
840
|
'''
|
|
@@ -826,7 +843,7 @@ class CapacityConfig:
|
|
|
826
843
|
|
|
827
844
|
@builtins.property
|
|
828
845
|
def warm_instance_type(self) -> typing.Optional[builtins.str]:
|
|
829
|
-
'''The instance type for your UltraWarm node, such as ``ultrawarm1.medium.search``. For valid values, see
|
|
846
|
+
'''The instance type for your UltraWarm node, such as ``ultrawarm1.medium.search``. For valid values, see `UltraWarm Storage Limits <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#limits-ultrawarm>`_ in the Amazon OpenSearch Service Developer Guide.
|
|
830
847
|
|
|
831
848
|
:default: - ultrawarm1.medium.search
|
|
832
849
|
'''
|
|
@@ -2675,7 +2692,7 @@ class CfnDomain(
|
|
|
2675
2692
|
) -> None:
|
|
2676
2693
|
'''Specifies information about the master user.
|
|
2677
2694
|
|
|
2678
|
-
Required if
|
|
2695
|
+
Required if ``InternalUserDatabaseEnabled`` is true in `AdvancedSecurityOptions <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html>`_ .
|
|
2679
2696
|
|
|
2680
2697
|
:param master_user_arn: Amazon Resource Name (ARN) for the master user. The ARN can point to an IAM user or role. This property is required for Amazon Cognito to work, and it must match the role configured for Cognito. Only specify if ``InternalUserDatabaseEnabled`` is false in `AdvancedSecurityOptionsInput <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html>`_ .
|
|
2681
2698
|
:param master_user_name: Username for the master user. Only specify if ``InternalUserDatabaseEnabled`` is true in `AdvancedSecurityOptionsInput <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchservice-domain-advancedsecurityoptionsinput.html>`_ . If you don't want to specify this value directly within the template, you can use a `dynamic reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html>`_ instead.
|
|
@@ -4372,6 +4389,7 @@ class DomainAttributes:
|
|
|
4372
4389
|
"automated_snapshot_start_hour": "automatedSnapshotStartHour",
|
|
4373
4390
|
"capacity": "capacity",
|
|
4374
4391
|
"cognito_dashboards_auth": "cognitoDashboardsAuth",
|
|
4392
|
+
"cold_storage_enabled": "coldStorageEnabled",
|
|
4375
4393
|
"custom_endpoint": "customEndpoint",
|
|
4376
4394
|
"domain_name": "domainName",
|
|
4377
4395
|
"ebs": "ebs",
|
|
@@ -4405,6 +4423,7 @@ class DomainProps:
|
|
|
4405
4423
|
automated_snapshot_start_hour: typing.Optional[jsii.Number] = None,
|
|
4406
4424
|
capacity: typing.Optional[typing.Union[CapacityConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4407
4425
|
cognito_dashboards_auth: typing.Optional[typing.Union[CognitoOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4426
|
+
cold_storage_enabled: typing.Optional[builtins.bool] = None,
|
|
4408
4427
|
custom_endpoint: typing.Optional[typing.Union[CustomEndpointOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4409
4428
|
domain_name: typing.Optional[builtins.str] = None,
|
|
4410
4429
|
ebs: typing.Optional[typing.Union["EbsOptions", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -4435,6 +4454,7 @@ class DomainProps:
|
|
|
4435
4454
|
:param automated_snapshot_start_hour: The hour in UTC during which the service takes an automated daily snapshot of the indices in the Amazon OpenSearch Service domain. Only applies for Elasticsearch versions below 5.3. Default: - Hourly automated snapshots not used
|
|
4436
4455
|
:param capacity: The cluster capacity configuration for the Amazon OpenSearch Service domain. Default: - 1 r5.large.search data node; no dedicated master nodes.
|
|
4437
4456
|
:param cognito_dashboards_auth: Configures Amazon OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards. Default: - Cognito not used for authentication to OpenSearch Dashboards.
|
|
4457
|
+
:param cold_storage_enabled: Whether to enable or disable cold storage on the domain. You must enable UltraWarm storage to enable cold storage. Default: - undefined
|
|
4438
4458
|
:param custom_endpoint: To configure a custom domain configure these options. If you specify a Route53 hosted zone it will create a CNAME record and use DNS validation for the certificate Default: - no custom domain endpoint will be configured
|
|
4439
4459
|
:param domain_name: Enforces a particular physical domain name. Default: - A name will be auto-generated.
|
|
4440
4460
|
:param ebs: The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon OpenSearch Service domain. Default: - 10 GiB General Purpose (SSD) volumes per node.
|
|
@@ -4499,6 +4519,7 @@ class DomainProps:
|
|
|
4499
4519
|
check_type(argname="argument automated_snapshot_start_hour", value=automated_snapshot_start_hour, expected_type=type_hints["automated_snapshot_start_hour"])
|
|
4500
4520
|
check_type(argname="argument capacity", value=capacity, expected_type=type_hints["capacity"])
|
|
4501
4521
|
check_type(argname="argument cognito_dashboards_auth", value=cognito_dashboards_auth, expected_type=type_hints["cognito_dashboards_auth"])
|
|
4522
|
+
check_type(argname="argument cold_storage_enabled", value=cold_storage_enabled, expected_type=type_hints["cold_storage_enabled"])
|
|
4502
4523
|
check_type(argname="argument custom_endpoint", value=custom_endpoint, expected_type=type_hints["custom_endpoint"])
|
|
4503
4524
|
check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
|
|
4504
4525
|
check_type(argname="argument ebs", value=ebs, expected_type=type_hints["ebs"])
|
|
@@ -4533,6 +4554,8 @@ class DomainProps:
|
|
|
4533
4554
|
self._values["capacity"] = capacity
|
|
4534
4555
|
if cognito_dashboards_auth is not None:
|
|
4535
4556
|
self._values["cognito_dashboards_auth"] = cognito_dashboards_auth
|
|
4557
|
+
if cold_storage_enabled is not None:
|
|
4558
|
+
self._values["cold_storage_enabled"] = cold_storage_enabled
|
|
4536
4559
|
if custom_endpoint is not None:
|
|
4537
4560
|
self._values["custom_endpoint"] = custom_endpoint
|
|
4538
4561
|
if domain_name is not None:
|
|
@@ -4637,6 +4660,19 @@ class DomainProps:
|
|
|
4637
4660
|
result = self._values.get("cognito_dashboards_auth")
|
|
4638
4661
|
return typing.cast(typing.Optional[CognitoOptions], result)
|
|
4639
4662
|
|
|
4663
|
+
@builtins.property
|
|
4664
|
+
def cold_storage_enabled(self) -> typing.Optional[builtins.bool]:
|
|
4665
|
+
'''Whether to enable or disable cold storage on the domain.
|
|
4666
|
+
|
|
4667
|
+
You must enable UltraWarm storage to enable cold storage.
|
|
4668
|
+
|
|
4669
|
+
:default: - undefined
|
|
4670
|
+
|
|
4671
|
+
:see: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/cold-storage.html
|
|
4672
|
+
'''
|
|
4673
|
+
result = self._values.get("cold_storage_enabled")
|
|
4674
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
4675
|
+
|
|
4640
4676
|
@builtins.property
|
|
4641
4677
|
def custom_endpoint(self) -> typing.Optional[CustomEndpointOptions]:
|
|
4642
4678
|
'''To configure a custom domain configure these options.
|
|
@@ -4921,14 +4957,13 @@ class EbsOptions:
|
|
|
4921
4957
|
'''The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon OpenSearch Service domain.
|
|
4922
4958
|
|
|
4923
4959
|
For more information, see
|
|
4924
|
-
|
|
4925
|
-
(https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html)
|
|
4960
|
+
`Amazon EBS <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html>`_
|
|
4926
4961
|
in the Amazon Elastic Compute Cloud Developer Guide.
|
|
4927
4962
|
|
|
4928
4963
|
:param enabled: Specifies whether Amazon EBS volumes are attached to data nodes in the Amazon OpenSearch Service domain. Default: - true
|
|
4929
4964
|
:param iops: The number of I/O operations per second (IOPS) that the volume supports. This property applies only to the gp3 and Provisioned IOPS (SSD) EBS volume type. Default: - iops are not set.
|
|
4930
4965
|
:param throughput: The throughput (in MiB/s) of the EBS volumes attached to data nodes. This property applies only to the gp3 volume type. Default: - throughput is not set.
|
|
4931
|
-
:param volume_size: The size (in GiB) of the EBS volume for each data node. The minimum and maximum size of an EBS volume depends on the EBS volume type and the instance type to which it is attached. For valid values, see
|
|
4966
|
+
:param volume_size: The size (in GiB) of the EBS volume for each data node. The minimum and maximum size of an EBS volume depends on the EBS volume type and the instance type to which it is attached. For valid values, see `EBS volume size limits <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#ebsresource>`_ in the Amazon OpenSearch Service Developer Guide. Default: 10
|
|
4932
4967
|
:param volume_type: The EBS volume type to use with the Amazon OpenSearch Service domain, such as standard, gp2, io1. Default: gp2
|
|
4933
4968
|
|
|
4934
4969
|
:exampleMetadata: infused
|
|
@@ -5005,8 +5040,7 @@ class EbsOptions:
|
|
|
5005
5040
|
The minimum and
|
|
5006
5041
|
maximum size of an EBS volume depends on the EBS volume type and the
|
|
5007
5042
|
instance type to which it is attached. For valid values, see
|
|
5008
|
-
|
|
5009
|
-
(https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#ebsresource)
|
|
5043
|
+
`EBS volume size limits <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/limits.html#ebsresource>`_
|
|
5010
5044
|
in the Amazon OpenSearch Service Developer Guide.
|
|
5011
5045
|
|
|
5012
5046
|
:default: 10
|
|
@@ -5304,7 +5338,12 @@ class EngineVersion(
|
|
|
5304
5338
|
@jsii.python.classproperty
|
|
5305
5339
|
@jsii.member(jsii_name="OPENSEARCH_2_10")
|
|
5306
5340
|
def OPENSEARCH_2_10(cls) -> "EngineVersion":
|
|
5307
|
-
'''AWS OpenSearch 2.10.
|
|
5341
|
+
'''(deprecated) AWS OpenSearch 2.10.
|
|
5342
|
+
|
|
5343
|
+
:deprecated: use latest version of the OpenSearch engine
|
|
5344
|
+
|
|
5345
|
+
:stability: deprecated
|
|
5346
|
+
'''
|
|
5308
5347
|
return typing.cast("EngineVersion", jsii.sget(cls, "OPENSEARCH_2_10"))
|
|
5309
5348
|
|
|
5310
5349
|
@jsii.python.classproperty
|
|
@@ -7207,7 +7246,7 @@ class ZoneAwarenessConfig:
|
|
|
7207
7246
|
'''Specifies zone awareness configuration options.
|
|
7208
7247
|
|
|
7209
7248
|
:param availability_zone_count: If you enabled multiple Availability Zones (AZs), the number of AZs that you want the domain to use. Valid values are 2 and 3. Default: - 2 if zone awareness is enabled.
|
|
7210
|
-
:param enabled: Indicates whether to enable zone awareness for the Amazon OpenSearch Service domain. When you enable zone awareness, Amazon OpenSearch Service allocates the nodes and replica index shards that belong to a cluster across two Availability Zones (AZs) in the same region to prevent data loss and minimize downtime in the event of node or data center failure. Don't enable zone awareness if your cluster has no replica index shards or is a single-node cluster. For more information, see
|
|
7249
|
+
:param enabled: Indicates whether to enable zone awareness for the Amazon OpenSearch Service domain. When you enable zone awareness, Amazon OpenSearch Service allocates the nodes and replica index shards that belong to a cluster across two Availability Zones (AZs) in the same region to prevent data loss and minimize downtime in the event of node or data center failure. Don't enable zone awareness if your cluster has no replica index shards or is a single-node cluster. For more information, see `Configuring a Multi-AZ Domain <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html>`_ in the Amazon OpenSearch Service Developer Guide. Default: - false
|
|
7211
7250
|
|
|
7212
7251
|
:exampleMetadata: infused
|
|
7213
7252
|
|
|
@@ -7260,8 +7299,7 @@ class ZoneAwarenessConfig:
|
|
|
7260
7299
|
in the same region to prevent data loss and minimize downtime in the event
|
|
7261
7300
|
of node or data center failure. Don't enable zone awareness if your cluster
|
|
7262
7301
|
has no replica index shards or is a single-node cluster. For more information,
|
|
7263
|
-
see
|
|
7264
|
-
(https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html)
|
|
7302
|
+
see `Configuring a Multi-AZ Domain <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-multiaz.html>`_
|
|
7265
7303
|
in the Amazon OpenSearch Service Developer Guide.
|
|
7266
7304
|
|
|
7267
7305
|
:default: - false
|
|
@@ -7317,6 +7355,7 @@ class Domain(
|
|
|
7317
7355
|
automated_snapshot_start_hour: typing.Optional[jsii.Number] = None,
|
|
7318
7356
|
capacity: typing.Optional[typing.Union[CapacityConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
7319
7357
|
cognito_dashboards_auth: typing.Optional[typing.Union[CognitoOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
7358
|
+
cold_storage_enabled: typing.Optional[builtins.bool] = None,
|
|
7320
7359
|
custom_endpoint: typing.Optional[typing.Union[CustomEndpointOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
7321
7360
|
domain_name: typing.Optional[builtins.str] = None,
|
|
7322
7361
|
ebs: typing.Optional[typing.Union[EbsOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -7348,6 +7387,7 @@ class Domain(
|
|
|
7348
7387
|
:param automated_snapshot_start_hour: The hour in UTC during which the service takes an automated daily snapshot of the indices in the Amazon OpenSearch Service domain. Only applies for Elasticsearch versions below 5.3. Default: - Hourly automated snapshots not used
|
|
7349
7388
|
:param capacity: The cluster capacity configuration for the Amazon OpenSearch Service domain. Default: - 1 r5.large.search data node; no dedicated master nodes.
|
|
7350
7389
|
:param cognito_dashboards_auth: Configures Amazon OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards. Default: - Cognito not used for authentication to OpenSearch Dashboards.
|
|
7390
|
+
:param cold_storage_enabled: Whether to enable or disable cold storage on the domain. You must enable UltraWarm storage to enable cold storage. Default: - undefined
|
|
7351
7391
|
:param custom_endpoint: To configure a custom domain configure these options. If you specify a Route53 hosted zone it will create a CNAME record and use DNS validation for the certificate Default: - no custom domain endpoint will be configured
|
|
7352
7392
|
:param domain_name: Enforces a particular physical domain name. Default: - A name will be auto-generated.
|
|
7353
7393
|
:param ebs: The configurations of Amazon Elastic Block Store (Amazon EBS) volumes that are attached to data nodes in the Amazon OpenSearch Service domain. Default: - 10 GiB General Purpose (SSD) volumes per node.
|
|
@@ -7381,6 +7421,7 @@ class Domain(
|
|
|
7381
7421
|
automated_snapshot_start_hour=automated_snapshot_start_hour,
|
|
7382
7422
|
capacity=capacity,
|
|
7383
7423
|
cognito_dashboards_auth=cognito_dashboards_auth,
|
|
7424
|
+
cold_storage_enabled=cold_storage_enabled,
|
|
7384
7425
|
custom_endpoint=custom_endpoint,
|
|
7385
7426
|
domain_name=domain_name,
|
|
7386
7427
|
ebs=ebs,
|
|
@@ -8755,6 +8796,7 @@ def _typecheckingstub__0435b5d94950ff07269642dd229e13535b70e6b92e19fbea5906bff08
|
|
|
8755
8796
|
automated_snapshot_start_hour: typing.Optional[jsii.Number] = None,
|
|
8756
8797
|
capacity: typing.Optional[typing.Union[CapacityConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
8757
8798
|
cognito_dashboards_auth: typing.Optional[typing.Union[CognitoOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
8799
|
+
cold_storage_enabled: typing.Optional[builtins.bool] = None,
|
|
8758
8800
|
custom_endpoint: typing.Optional[typing.Union[CustomEndpointOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
8759
8801
|
domain_name: typing.Optional[builtins.str] = None,
|
|
8760
8802
|
ebs: typing.Optional[typing.Union[EbsOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -8939,6 +8981,7 @@ def _typecheckingstub__3b55c263a445ddb2a2f58a555600f616a7f051ea1adc2ff24d3c1b949
|
|
|
8939
8981
|
automated_snapshot_start_hour: typing.Optional[jsii.Number] = None,
|
|
8940
8982
|
capacity: typing.Optional[typing.Union[CapacityConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
8941
8983
|
cognito_dashboards_auth: typing.Optional[typing.Union[CognitoOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
8984
|
+
cold_storage_enabled: typing.Optional[builtins.bool] = None,
|
|
8942
8985
|
custom_endpoint: typing.Optional[typing.Union[CustomEndpointOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
8943
8986
|
domain_name: typing.Optional[builtins.str] = None,
|
|
8944
8987
|
ebs: typing.Optional[typing.Union[EbsOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
aws_cdk/aws_pinpoint/__init__.py
CHANGED
|
@@ -8246,6 +8246,7 @@ class CfnEmailChannel(
|
|
|
8246
8246
|
# the properties below are optional
|
|
8247
8247
|
configuration_set="configurationSet",
|
|
8248
8248
|
enabled=False,
|
|
8249
|
+
orchestration_sending_role_arn="orchestrationSendingRoleArn",
|
|
8249
8250
|
role_arn="roleArn"
|
|
8250
8251
|
)
|
|
8251
8252
|
'''
|
|
@@ -8260,6 +8261,7 @@ class CfnEmailChannel(
|
|
|
8260
8261
|
identity: builtins.str,
|
|
8261
8262
|
configuration_set: typing.Optional[builtins.str] = None,
|
|
8262
8263
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8264
|
+
orchestration_sending_role_arn: typing.Optional[builtins.str] = None,
|
|
8263
8265
|
role_arn: typing.Optional[builtins.str] = None,
|
|
8264
8266
|
) -> None:
|
|
8265
8267
|
'''
|
|
@@ -8270,6 +8272,7 @@ class CfnEmailChannel(
|
|
|
8270
8272
|
:param identity: The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.
|
|
8271
8273
|
:param configuration_set: The `Amazon SES configuration set <https://docs.aws.amazon.com/ses/latest/APIReference/API_ConfigurationSet.html>`_ that you want to apply to messages that you send through the channel.
|
|
8272
8274
|
:param enabled: Specifies whether to enable the email channel for the application.
|
|
8275
|
+
:param orchestration_sending_role_arn:
|
|
8273
8276
|
:param role_arn: The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
|
|
8274
8277
|
'''
|
|
8275
8278
|
if __debug__:
|
|
@@ -8282,6 +8285,7 @@ class CfnEmailChannel(
|
|
|
8282
8285
|
identity=identity,
|
|
8283
8286
|
configuration_set=configuration_set,
|
|
8284
8287
|
enabled=enabled,
|
|
8288
|
+
orchestration_sending_role_arn=orchestration_sending_role_arn,
|
|
8285
8289
|
role_arn=role_arn,
|
|
8286
8290
|
)
|
|
8287
8291
|
|
|
@@ -8403,6 +8407,21 @@ class CfnEmailChannel(
|
|
|
8403
8407
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8404
8408
|
jsii.set(self, "enabled", value)
|
|
8405
8409
|
|
|
8410
|
+
@builtins.property
|
|
8411
|
+
@jsii.member(jsii_name="orchestrationSendingRoleArn")
|
|
8412
|
+
def orchestration_sending_role_arn(self) -> typing.Optional[builtins.str]:
|
|
8413
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "orchestrationSendingRoleArn"))
|
|
8414
|
+
|
|
8415
|
+
@orchestration_sending_role_arn.setter
|
|
8416
|
+
def orchestration_sending_role_arn(
|
|
8417
|
+
self,
|
|
8418
|
+
value: typing.Optional[builtins.str],
|
|
8419
|
+
) -> None:
|
|
8420
|
+
if __debug__:
|
|
8421
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aa8fbe3722fc02e373ab1dd1fbe9afea479c8117a0f4ca1a070a3963c4bdbfde)
|
|
8422
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8423
|
+
jsii.set(self, "orchestrationSendingRoleArn", value)
|
|
8424
|
+
|
|
8406
8425
|
@builtins.property
|
|
8407
8426
|
@jsii.member(jsii_name="roleArn")
|
|
8408
8427
|
def role_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -8426,6 +8445,7 @@ class CfnEmailChannel(
|
|
|
8426
8445
|
"identity": "identity",
|
|
8427
8446
|
"configuration_set": "configurationSet",
|
|
8428
8447
|
"enabled": "enabled",
|
|
8448
|
+
"orchestration_sending_role_arn": "orchestrationSendingRoleArn",
|
|
8429
8449
|
"role_arn": "roleArn",
|
|
8430
8450
|
},
|
|
8431
8451
|
)
|
|
@@ -8438,6 +8458,7 @@ class CfnEmailChannelProps:
|
|
|
8438
8458
|
identity: builtins.str,
|
|
8439
8459
|
configuration_set: typing.Optional[builtins.str] = None,
|
|
8440
8460
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
8461
|
+
orchestration_sending_role_arn: typing.Optional[builtins.str] = None,
|
|
8441
8462
|
role_arn: typing.Optional[builtins.str] = None,
|
|
8442
8463
|
) -> None:
|
|
8443
8464
|
'''Properties for defining a ``CfnEmailChannel``.
|
|
@@ -8447,6 +8468,7 @@ class CfnEmailChannelProps:
|
|
|
8447
8468
|
:param identity: The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.
|
|
8448
8469
|
:param configuration_set: The `Amazon SES configuration set <https://docs.aws.amazon.com/ses/latest/APIReference/API_ConfigurationSet.html>`_ that you want to apply to messages that you send through the channel.
|
|
8449
8470
|
:param enabled: Specifies whether to enable the email channel for the application.
|
|
8471
|
+
:param orchestration_sending_role_arn:
|
|
8450
8472
|
:param role_arn: The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
|
|
8451
8473
|
|
|
8452
8474
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html
|
|
@@ -8466,6 +8488,7 @@ class CfnEmailChannelProps:
|
|
|
8466
8488
|
# the properties below are optional
|
|
8467
8489
|
configuration_set="configurationSet",
|
|
8468
8490
|
enabled=False,
|
|
8491
|
+
orchestration_sending_role_arn="orchestrationSendingRoleArn",
|
|
8469
8492
|
role_arn="roleArn"
|
|
8470
8493
|
)
|
|
8471
8494
|
'''
|
|
@@ -8476,6 +8499,7 @@ class CfnEmailChannelProps:
|
|
|
8476
8499
|
check_type(argname="argument identity", value=identity, expected_type=type_hints["identity"])
|
|
8477
8500
|
check_type(argname="argument configuration_set", value=configuration_set, expected_type=type_hints["configuration_set"])
|
|
8478
8501
|
check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
|
|
8502
|
+
check_type(argname="argument orchestration_sending_role_arn", value=orchestration_sending_role_arn, expected_type=type_hints["orchestration_sending_role_arn"])
|
|
8479
8503
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
8480
8504
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
8481
8505
|
"application_id": application_id,
|
|
@@ -8486,6 +8510,8 @@ class CfnEmailChannelProps:
|
|
|
8486
8510
|
self._values["configuration_set"] = configuration_set
|
|
8487
8511
|
if enabled is not None:
|
|
8488
8512
|
self._values["enabled"] = enabled
|
|
8513
|
+
if orchestration_sending_role_arn is not None:
|
|
8514
|
+
self._values["orchestration_sending_role_arn"] = orchestration_sending_role_arn
|
|
8489
8515
|
if role_arn is not None:
|
|
8490
8516
|
self._values["role_arn"] = role_arn
|
|
8491
8517
|
|
|
@@ -8539,6 +8565,14 @@ class CfnEmailChannelProps:
|
|
|
8539
8565
|
result = self._values.get("enabled")
|
|
8540
8566
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
8541
8567
|
|
|
8568
|
+
@builtins.property
|
|
8569
|
+
def orchestration_sending_role_arn(self) -> typing.Optional[builtins.str]:
|
|
8570
|
+
'''
|
|
8571
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-orchestrationsendingrolearn
|
|
8572
|
+
'''
|
|
8573
|
+
result = self._values.get("orchestration_sending_role_arn")
|
|
8574
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8575
|
+
|
|
8542
8576
|
@builtins.property
|
|
8543
8577
|
def role_arn(self) -> typing.Optional[builtins.str]:
|
|
8544
8578
|
'''The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.
|
|
@@ -15503,6 +15537,7 @@ def _typecheckingstub__7abae51eb3b1f161941e50db5fbebe5cf3c749c2e815f973039ad6189
|
|
|
15503
15537
|
identity: builtins.str,
|
|
15504
15538
|
configuration_set: typing.Optional[builtins.str] = None,
|
|
15505
15539
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
15540
|
+
orchestration_sending_role_arn: typing.Optional[builtins.str] = None,
|
|
15506
15541
|
role_arn: typing.Optional[builtins.str] = None,
|
|
15507
15542
|
) -> None:
|
|
15508
15543
|
"""Type checking stubs"""
|
|
@@ -15550,6 +15585,12 @@ def _typecheckingstub__b6552928532890b0bb4451f89e36f2fd0599fa25332569a30589de6da
|
|
|
15550
15585
|
"""Type checking stubs"""
|
|
15551
15586
|
pass
|
|
15552
15587
|
|
|
15588
|
+
def _typecheckingstub__aa8fbe3722fc02e373ab1dd1fbe9afea479c8117a0f4ca1a070a3963c4bdbfde(
|
|
15589
|
+
value: typing.Optional[builtins.str],
|
|
15590
|
+
) -> None:
|
|
15591
|
+
"""Type checking stubs"""
|
|
15592
|
+
pass
|
|
15593
|
+
|
|
15553
15594
|
def _typecheckingstub__b91d75ea3a5bc3900bbc4b0958bbc0263a57362f325b830004dddc72b23dfe1b(
|
|
15554
15595
|
value: typing.Optional[builtins.str],
|
|
15555
15596
|
) -> None:
|
|
@@ -15563,6 +15604,7 @@ def _typecheckingstub__d31b287f2c5e7cfc3790c0eca9541325a73a2157dce8dbc1d3b7d9fa7
|
|
|
15563
15604
|
identity: builtins.str,
|
|
15564
15605
|
configuration_set: typing.Optional[builtins.str] = None,
|
|
15565
15606
|
enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
15607
|
+
orchestration_sending_role_arn: typing.Optional[builtins.str] = None,
|
|
15566
15608
|
role_arn: typing.Optional[builtins.str] = None,
|
|
15567
15609
|
) -> None:
|
|
15568
15610
|
"""Type checking stubs"""
|