aws-cdk-lib 2.176.0__py3-none-any.whl → 2.178.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (120) hide show
  1. aws_cdk/__init__.py +106 -62
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.176.0.jsii.tgz → aws-cdk-lib@2.178.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplifyuibuilder/__init__.py +8 -8
  5. aws_cdk/aws_apigateway/__init__.py +97 -97
  6. aws_cdk/aws_apigatewayv2/__init__.py +35 -10
  7. aws_cdk/aws_apigatewayv2_integrations/__init__.py +2 -2
  8. aws_cdk/aws_appconfig/__init__.py +10 -10
  9. aws_cdk/aws_appflow/__init__.py +20 -20
  10. aws_cdk/aws_applicationsignals/__init__.py +8 -8
  11. aws_cdk/aws_appmesh/__init__.py +8 -8
  12. aws_cdk/aws_appsync/__init__.py +10387 -7038
  13. aws_cdk/aws_apptest/__init__.py +4 -4
  14. aws_cdk/aws_aps/__init__.py +135 -0
  15. aws_cdk/aws_athena/__init__.py +10 -10
  16. aws_cdk/aws_backup/__init__.py +14 -14
  17. aws_cdk/aws_batch/__init__.py +189 -24
  18. aws_cdk/aws_bcmdataexports/__init__.py +4 -4
  19. aws_cdk/aws_bedrock/__init__.py +5494 -2518
  20. aws_cdk/aws_certificatemanager/__init__.py +15 -14
  21. aws_cdk/aws_chatbot/__init__.py +4 -4
  22. aws_cdk/aws_cloudformation/__init__.py +22 -18
  23. aws_cdk/aws_cloudfront/__init__.py +686 -9
  24. aws_cdk/aws_cloudfront_origins/__init__.py +73 -2
  25. aws_cdk/aws_cloudtrail/__init__.py +4 -4
  26. aws_cdk/aws_cloudwatch/__init__.py +53 -53
  27. aws_cdk/aws_codedeploy/__init__.py +2 -2
  28. aws_cdk/aws_codepipeline/__init__.py +59 -6
  29. aws_cdk/aws_codepipeline_actions/__init__.py +2 -2
  30. aws_cdk/aws_cognito/__init__.py +204 -159
  31. aws_cdk/aws_connect/__init__.py +4 -4
  32. aws_cdk/aws_customerprofiles/__init__.py +6 -4
  33. aws_cdk/aws_databrew/__init__.py +16 -16
  34. aws_cdk/aws_datasync/__init__.py +14 -11
  35. aws_cdk/aws_datazone/__init__.py +199 -129
  36. aws_cdk/aws_dms/__init__.py +4 -4
  37. aws_cdk/aws_dynamodb/__init__.py +267 -25
  38. aws_cdk/aws_ec2/__init__.py +1142 -184
  39. aws_cdk/aws_ecs/__init__.py +767 -124
  40. aws_cdk/aws_ecs_patterns/__init__.py +49 -0
  41. aws_cdk/aws_efs/__init__.py +8 -8
  42. aws_cdk/aws_eks/__init__.py +55 -35
  43. aws_cdk/aws_elasticache/__init__.py +10 -10
  44. aws_cdk/aws_elasticloadbalancingv2/__init__.py +47 -18
  45. aws_cdk/aws_elasticsearch/__init__.py +10 -10
  46. aws_cdk/aws_emr/__init__.py +16 -16
  47. aws_cdk/aws_emrserverless/__init__.py +93 -4
  48. aws_cdk/aws_entityresolution/__init__.py +31 -17
  49. aws_cdk/aws_events/__init__.py +12 -12
  50. aws_cdk/aws_fis/__init__.py +16 -16
  51. aws_cdk/aws_fms/__init__.py +46 -0
  52. aws_cdk/aws_gamelift/__init__.py +8 -10
  53. aws_cdk/aws_glue/__init__.py +1326 -7
  54. aws_cdk/aws_greengrassv2/__init__.py +8 -8
  55. aws_cdk/aws_guardduty/__init__.py +521 -0
  56. aws_cdk/aws_healthlake/__init__.py +10 -2
  57. aws_cdk/aws_iam/__init__.py +8 -0
  58. aws_cdk/aws_imagebuilder/__init__.py +88 -74
  59. aws_cdk/aws_iot/__init__.py +40 -40
  60. aws_cdk/aws_iotanalytics/__init__.py +4 -4
  61. aws_cdk/aws_iotfleetwise/__init__.py +424 -10
  62. aws_cdk/aws_iotsitewise/__init__.py +84 -13
  63. aws_cdk/aws_iottwinmaker/__init__.py +18 -18
  64. aws_cdk/aws_iotwireless/__init__.py +4 -4
  65. aws_cdk/aws_kafkaconnect/__init__.py +10 -10
  66. aws_cdk/aws_kendra/__init__.py +0 -10
  67. aws_cdk/aws_kinesisanalytics/__init__.py +4 -4
  68. aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -4
  69. aws_cdk/aws_kinesisfirehose/__init__.py +4544 -183
  70. aws_cdk/aws_kms/__init__.py +11 -10
  71. aws_cdk/aws_lambda/__init__.py +47 -4
  72. aws_cdk/aws_lambda_nodejs/__init__.py +24 -5
  73. aws_cdk/aws_launchwizard/__init__.py +10 -10
  74. aws_cdk/aws_logs/__init__.py +78 -74
  75. aws_cdk/aws_mediaconnect/__init__.py +509 -12
  76. aws_cdk/aws_medialive/__init__.py +16 -16
  77. aws_cdk/aws_mediatailor/__init__.py +10 -10
  78. aws_cdk/aws_networkfirewall/__init__.py +12 -12
  79. aws_cdk/aws_notifications/__init__.py +1927 -0
  80. aws_cdk/aws_notificationscontacts/__init__.py +593 -0
  81. aws_cdk/aws_omics/__init__.py +4 -4
  82. aws_cdk/aws_opensearchservice/__init__.py +10 -10
  83. aws_cdk/aws_opsworks/__init__.py +58 -58
  84. aws_cdk/aws_personalize/__init__.py +8 -8
  85. aws_cdk/aws_pipes/__init__.py +20 -20
  86. aws_cdk/aws_qbusiness/__init__.py +119 -0
  87. aws_cdk/aws_quicksight/__init__.py +247 -92
  88. aws_cdk/aws_rds/__init__.py +37 -37
  89. aws_cdk/aws_redshift/__init__.py +19 -15
  90. aws_cdk/aws_resiliencehub/__init__.py +0 -41
  91. aws_cdk/aws_route53/__init__.py +10 -4
  92. aws_cdk/aws_route53_targets/__init__.py +15 -15
  93. aws_cdk/aws_rum/__init__.py +4 -4
  94. aws_cdk/aws_s3/__init__.py +801 -2
  95. aws_cdk/aws_s3_notifications/__init__.py +5 -5
  96. aws_cdk/aws_s3tables/__init__.py +2 -2
  97. aws_cdk/aws_sagemaker/__init__.py +84 -60
  98. aws_cdk/aws_sam/__init__.py +48 -48
  99. aws_cdk/aws_secretsmanager/__init__.py +30 -14
  100. aws_cdk/aws_securityhub/__init__.py +12 -12
  101. aws_cdk/aws_sns/__init__.py +137 -12
  102. aws_cdk/aws_ssm/__init__.py +5 -5
  103. aws_cdk/aws_ssmquicksetup/__init__.py +10 -10
  104. aws_cdk/aws_stepfunctions/__init__.py +13207 -4740
  105. aws_cdk/aws_stepfunctions_tasks/__init__.py +77615 -22817
  106. aws_cdk/aws_synthetics/__init__.py +109 -36
  107. aws_cdk/aws_timestream/__init__.py +41 -0
  108. aws_cdk/aws_transfer/__init__.py +9 -10
  109. aws_cdk/aws_wafv2/__init__.py +24 -22
  110. aws_cdk/aws_wisdom/__init__.py +8 -8
  111. aws_cdk/aws_workspacesweb/__init__.py +60 -60
  112. aws_cdk/aws_xray/__init__.py +8 -8
  113. aws_cdk/cloud_assembly_schema/__init__.py +63 -4
  114. aws_cdk/cx_api/__init__.py +62 -4
  115. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/METADATA +3 -3
  116. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/RECORD +120 -118
  117. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/LICENSE +0 -0
  118. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/NOTICE +0 -0
  119. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/WHEEL +0 -0
  120. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.178.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,593 @@
1
+ r'''
2
+ # AWS::NotificationsContacts Construct Library
3
+
4
+ <!--BEGIN STABILITY BANNER-->---
5
+
6
+
7
+ ![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
8
+
9
+ > All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
10
+
11
+ ---
12
+ <!--END STABILITY BANNER-->
13
+
14
+ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
15
+
16
+ ```python
17
+ import aws_cdk.aws_notificationscontacts as notificationscontacts
18
+ ```
19
+
20
+ <!--BEGIN CFNONLY DISCLAIMER-->
21
+
22
+ There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
23
+
24
+ * Search [Construct Hub for NotificationsContacts construct libraries](https://constructs.dev/search?q=notificationscontacts)
25
+ * Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::NotificationsContacts resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_NotificationsContacts.html) directly.
26
+
27
+ <!--BEGIN CFNONLY DISCLAIMER-->
28
+
29
+ There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
30
+ However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
31
+
32
+ For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::NotificationsContacts](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_NotificationsContacts.html).
33
+
34
+ (Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
35
+
36
+ <!--END CFNONLY DISCLAIMER-->
37
+ '''
38
+ from pkgutil import extend_path
39
+ __path__ = extend_path(__path__, __name__)
40
+
41
+ import abc
42
+ import builtins
43
+ import datetime
44
+ import enum
45
+ import typing
46
+
47
+ import jsii
48
+ import publication
49
+ import typing_extensions
50
+
51
+ import typeguard
52
+ from importlib.metadata import version as _metadata_package_version
53
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
54
+
55
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
56
+ if TYPEGUARD_MAJOR_VERSION <= 2:
57
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
58
+ else:
59
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
60
+ pass
61
+ else:
62
+ if TYPEGUARD_MAJOR_VERSION == 3:
63
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
64
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
65
+ else:
66
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
67
+
68
+ from .._jsii import *
69
+
70
+ import constructs as _constructs_77d1e7e8
71
+ from .. import (
72
+ CfnResource as _CfnResource_9df397a6,
73
+ CfnTag as _CfnTag_f6864754,
74
+ IInspectable as _IInspectable_c2943556,
75
+ IResolvable as _IResolvable_da3f097b,
76
+ ITaggableV2 as _ITaggableV2_4e6798f8,
77
+ TagManager as _TagManager_0a598cb3,
78
+ TreeInspector as _TreeInspector_488e0dd5,
79
+ )
80
+
81
+
82
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
83
+ class CfnEmailContact(
84
+ _CfnResource_9df397a6,
85
+ metaclass=jsii.JSIIMeta,
86
+ jsii_type="aws-cdk-lib.aws_notificationscontacts.CfnEmailContact",
87
+ ):
88
+ '''Configures email contacts for AWS User Notifications .
89
+
90
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html
91
+ :cloudformationResource: AWS::NotificationsContacts::EmailContact
92
+ :exampleMetadata: fixture=_generated
93
+
94
+ Example::
95
+
96
+ # The code below shows an example of how to instantiate this type.
97
+ # The values are placeholders you should change.
98
+ from aws_cdk import aws_notificationscontacts as notificationscontacts
99
+
100
+ cfn_email_contact = notificationscontacts.CfnEmailContact(self, "MyCfnEmailContact",
101
+ email_address="emailAddress",
102
+ name="name",
103
+
104
+ # the properties below are optional
105
+ tags=[CfnTag(
106
+ key="key",
107
+ value="value"
108
+ )]
109
+ )
110
+ '''
111
+
112
+ def __init__(
113
+ self,
114
+ scope: _constructs_77d1e7e8.Construct,
115
+ id: builtins.str,
116
+ *,
117
+ email_address: builtins.str,
118
+ name: builtins.str,
119
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
120
+ ) -> None:
121
+ '''
122
+ :param scope: Scope in which this resource is defined.
123
+ :param id: Construct identifier for this resource (unique in its scope).
124
+ :param email_address: The email address of the contact. The activation and notification emails are sent here.
125
+ :param name: The name of the contact.
126
+ :param tags: A list of tags to apply to the email contact.
127
+ '''
128
+ if __debug__:
129
+ type_hints = typing.get_type_hints(_typecheckingstub__1de25815cbc5e561d0f90c0eee8ffe57e0f8551698ba5a811da29f445a3d211b)
130
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
131
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
132
+ props = CfnEmailContactProps(email_address=email_address, name=name, tags=tags)
133
+
134
+ jsii.create(self.__class__, self, [scope, id, props])
135
+
136
+ @jsii.member(jsii_name="inspect")
137
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
138
+ '''Examines the CloudFormation resource and discloses attributes.
139
+
140
+ :param inspector: tree inspector to collect and process attributes.
141
+ '''
142
+ if __debug__:
143
+ type_hints = typing.get_type_hints(_typecheckingstub__b6bae88336d9a51f69c3fc86da9d85ddead25993d2bc29fd415fa7b87726d0e7)
144
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
145
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
146
+
147
+ @jsii.member(jsii_name="renderProperties")
148
+ def _render_properties(
149
+ self,
150
+ props: typing.Mapping[builtins.str, typing.Any],
151
+ ) -> typing.Mapping[builtins.str, typing.Any]:
152
+ '''
153
+ :param props: -
154
+ '''
155
+ if __debug__:
156
+ type_hints = typing.get_type_hints(_typecheckingstub__49a0a2d04984c43f3c80eb33fad944cd8b49b1fb73b667140e24f4f9a81d76ae)
157
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
158
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
159
+
160
+ @jsii.python.classproperty
161
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
162
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
163
+ '''The CloudFormation resource type name for this resource class.'''
164
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
165
+
166
+ @builtins.property
167
+ @jsii.member(jsii_name="attrArn")
168
+ def attr_arn(self) -> builtins.str:
169
+ '''Returns the ARN of the contact.
170
+
171
+ :cloudformationAttribute: Arn
172
+ '''
173
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
174
+
175
+ @builtins.property
176
+ @jsii.member(jsii_name="attrEmailContact")
177
+ def attr_email_contact(self) -> _IResolvable_da3f097b:
178
+ '''
179
+ :cloudformationAttribute: EmailContact
180
+ '''
181
+ return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrEmailContact"))
182
+
183
+ @builtins.property
184
+ @jsii.member(jsii_name="attrEmailContactAddress")
185
+ def attr_email_contact_address(self) -> builtins.str:
186
+ '''The email address of the contact.
187
+
188
+ :cloudformationAttribute: EmailContact.Address
189
+ '''
190
+ return typing.cast(builtins.str, jsii.get(self, "attrEmailContactAddress"))
191
+
192
+ @builtins.property
193
+ @jsii.member(jsii_name="attrEmailContactArn")
194
+ def attr_email_contact_arn(self) -> builtins.str:
195
+ '''The Amazon Resource Name (ARN) of the contact.
196
+
197
+ :cloudformationAttribute: EmailContact.Arn
198
+ '''
199
+ return typing.cast(builtins.str, jsii.get(self, "attrEmailContactArn"))
200
+
201
+ @builtins.property
202
+ @jsii.member(jsii_name="attrEmailContactCreationTime")
203
+ def attr_email_contact_creation_time(self) -> builtins.str:
204
+ '''The creation time of the ``EmailContact`` .
205
+
206
+ :cloudformationAttribute: EmailContact.CreationTime
207
+ '''
208
+ return typing.cast(builtins.str, jsii.get(self, "attrEmailContactCreationTime"))
209
+
210
+ @builtins.property
211
+ @jsii.member(jsii_name="attrEmailContactName")
212
+ def attr_email_contact_name(self) -> builtins.str:
213
+ '''The name of the contact.
214
+
215
+ :cloudformationAttribute: EmailContact.Name
216
+ '''
217
+ return typing.cast(builtins.str, jsii.get(self, "attrEmailContactName"))
218
+
219
+ @builtins.property
220
+ @jsii.member(jsii_name="attrEmailContactStatus")
221
+ def attr_email_contact_status(self) -> builtins.str:
222
+ '''The status of the contact.
223
+
224
+ Only activated contacts receive emails.
225
+
226
+ :cloudformationAttribute: EmailContact.Status
227
+ '''
228
+ return typing.cast(builtins.str, jsii.get(self, "attrEmailContactStatus"))
229
+
230
+ @builtins.property
231
+ @jsii.member(jsii_name="attrEmailContactUpdateTime")
232
+ def attr_email_contact_update_time(self) -> builtins.str:
233
+ '''The time the ``EmailContact`` was last updated.
234
+
235
+ :cloudformationAttribute: EmailContact.UpdateTime
236
+ '''
237
+ return typing.cast(builtins.str, jsii.get(self, "attrEmailContactUpdateTime"))
238
+
239
+ @builtins.property
240
+ @jsii.member(jsii_name="cdkTagManager")
241
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
242
+ '''Tag Manager which manages the tags for this resource.'''
243
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
244
+
245
+ @builtins.property
246
+ @jsii.member(jsii_name="cfnProperties")
247
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
248
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
249
+
250
+ @builtins.property
251
+ @jsii.member(jsii_name="emailAddress")
252
+ def email_address(self) -> builtins.str:
253
+ '''The email address of the contact.'''
254
+ return typing.cast(builtins.str, jsii.get(self, "emailAddress"))
255
+
256
+ @email_address.setter
257
+ def email_address(self, value: builtins.str) -> None:
258
+ if __debug__:
259
+ type_hints = typing.get_type_hints(_typecheckingstub__ad40c0465cbabf41bb2abf49dcce2989a3b42139c67d0d593acc1d1d67028e58)
260
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
261
+ jsii.set(self, "emailAddress", value) # pyright: ignore[reportArgumentType]
262
+
263
+ @builtins.property
264
+ @jsii.member(jsii_name="name")
265
+ def name(self) -> builtins.str:
266
+ '''The name of the contact.'''
267
+ return typing.cast(builtins.str, jsii.get(self, "name"))
268
+
269
+ @name.setter
270
+ def name(self, value: builtins.str) -> None:
271
+ if __debug__:
272
+ type_hints = typing.get_type_hints(_typecheckingstub__71ded19921304e3a6ee545520c16e2621065bcf6a576b5305f984c994ac9fe5b)
273
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
274
+ jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
275
+
276
+ @builtins.property
277
+ @jsii.member(jsii_name="tags")
278
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
279
+ '''A list of tags to apply to the email contact.'''
280
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
281
+
282
+ @tags.setter
283
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
284
+ if __debug__:
285
+ type_hints = typing.get_type_hints(_typecheckingstub__6155552227ec0ef011be7e784ffc90ecfddac06545f4d44a087256c3ef2ee22b)
286
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
287
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
288
+
289
+ @jsii.data_type(
290
+ jsii_type="aws-cdk-lib.aws_notificationscontacts.CfnEmailContact.EmailContactProperty",
291
+ jsii_struct_bases=[],
292
+ name_mapping={
293
+ "address": "address",
294
+ "arn": "arn",
295
+ "creation_time": "creationTime",
296
+ "name": "name",
297
+ "status": "status",
298
+ "update_time": "updateTime",
299
+ },
300
+ )
301
+ class EmailContactProperty:
302
+ def __init__(
303
+ self,
304
+ *,
305
+ address: builtins.str,
306
+ arn: builtins.str,
307
+ creation_time: builtins.str,
308
+ name: builtins.str,
309
+ status: builtins.str,
310
+ update_time: builtins.str,
311
+ ) -> None:
312
+ '''Configures email contacts for AWS User Notifications .
313
+
314
+ You must activate the email contact using the activation token that you will receive when the email contact is set up.
315
+
316
+ :param address: The email address of the contact.
317
+ :param arn: The Amazon Resource Name (ARN) of the contact.
318
+ :param creation_time: The creation time of the ``EmailContact`` .
319
+ :param name: The name of the contact.
320
+ :param status: The status of the contact. Only activated contacts receive emails.
321
+ :param update_time: The time the ``EmailContact`` was last updated.
322
+
323
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html
324
+ :exampleMetadata: fixture=_generated
325
+
326
+ Example::
327
+
328
+ # The code below shows an example of how to instantiate this type.
329
+ # The values are placeholders you should change.
330
+ from aws_cdk import aws_notificationscontacts as notificationscontacts
331
+
332
+ email_contact_property = notificationscontacts.CfnEmailContact.EmailContactProperty(
333
+ address="address",
334
+ arn="arn",
335
+ creation_time="creationTime",
336
+ name="name",
337
+ status="status",
338
+ update_time="updateTime"
339
+ )
340
+ '''
341
+ if __debug__:
342
+ type_hints = typing.get_type_hints(_typecheckingstub__48f41a7ff86bdb3f6536168c36c8ddd6876c1a2bfcd36169b53af9ce364e0eff)
343
+ check_type(argname="argument address", value=address, expected_type=type_hints["address"])
344
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
345
+ check_type(argname="argument creation_time", value=creation_time, expected_type=type_hints["creation_time"])
346
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
347
+ check_type(argname="argument status", value=status, expected_type=type_hints["status"])
348
+ check_type(argname="argument update_time", value=update_time, expected_type=type_hints["update_time"])
349
+ self._values: typing.Dict[builtins.str, typing.Any] = {
350
+ "address": address,
351
+ "arn": arn,
352
+ "creation_time": creation_time,
353
+ "name": name,
354
+ "status": status,
355
+ "update_time": update_time,
356
+ }
357
+
358
+ @builtins.property
359
+ def address(self) -> builtins.str:
360
+ '''The email address of the contact.
361
+
362
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-address
363
+ '''
364
+ result = self._values.get("address")
365
+ assert result is not None, "Required property 'address' is missing"
366
+ return typing.cast(builtins.str, result)
367
+
368
+ @builtins.property
369
+ def arn(self) -> builtins.str:
370
+ '''The Amazon Resource Name (ARN) of the contact.
371
+
372
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-arn
373
+ '''
374
+ result = self._values.get("arn")
375
+ assert result is not None, "Required property 'arn' is missing"
376
+ return typing.cast(builtins.str, result)
377
+
378
+ @builtins.property
379
+ def creation_time(self) -> builtins.str:
380
+ '''The creation time of the ``EmailContact`` .
381
+
382
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-creationtime
383
+ '''
384
+ result = self._values.get("creation_time")
385
+ assert result is not None, "Required property 'creation_time' is missing"
386
+ return typing.cast(builtins.str, result)
387
+
388
+ @builtins.property
389
+ def name(self) -> builtins.str:
390
+ '''The name of the contact.
391
+
392
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-name
393
+ '''
394
+ result = self._values.get("name")
395
+ assert result is not None, "Required property 'name' is missing"
396
+ return typing.cast(builtins.str, result)
397
+
398
+ @builtins.property
399
+ def status(self) -> builtins.str:
400
+ '''The status of the contact.
401
+
402
+ Only activated contacts receive emails.
403
+
404
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-status
405
+ '''
406
+ result = self._values.get("status")
407
+ assert result is not None, "Required property 'status' is missing"
408
+ return typing.cast(builtins.str, result)
409
+
410
+ @builtins.property
411
+ def update_time(self) -> builtins.str:
412
+ '''The time the ``EmailContact`` was last updated.
413
+
414
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontact.html#cfn-notificationscontacts-emailcontact-emailcontact-updatetime
415
+ '''
416
+ result = self._values.get("update_time")
417
+ assert result is not None, "Required property 'update_time' is missing"
418
+ return typing.cast(builtins.str, result)
419
+
420
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
421
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
422
+
423
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
424
+ return not (rhs == self)
425
+
426
+ def __repr__(self) -> str:
427
+ return "EmailContactProperty(%s)" % ", ".join(
428
+ k + "=" + repr(v) for k, v in self._values.items()
429
+ )
430
+
431
+
432
+ @jsii.data_type(
433
+ jsii_type="aws-cdk-lib.aws_notificationscontacts.CfnEmailContactProps",
434
+ jsii_struct_bases=[],
435
+ name_mapping={"email_address": "emailAddress", "name": "name", "tags": "tags"},
436
+ )
437
+ class CfnEmailContactProps:
438
+ def __init__(
439
+ self,
440
+ *,
441
+ email_address: builtins.str,
442
+ name: builtins.str,
443
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
444
+ ) -> None:
445
+ '''Properties for defining a ``CfnEmailContact``.
446
+
447
+ :param email_address: The email address of the contact. The activation and notification emails are sent here.
448
+ :param name: The name of the contact.
449
+ :param tags: A list of tags to apply to the email contact.
450
+
451
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html
452
+ :exampleMetadata: fixture=_generated
453
+
454
+ Example::
455
+
456
+ # The code below shows an example of how to instantiate this type.
457
+ # The values are placeholders you should change.
458
+ from aws_cdk import aws_notificationscontacts as notificationscontacts
459
+
460
+ cfn_email_contact_props = notificationscontacts.CfnEmailContactProps(
461
+ email_address="emailAddress",
462
+ name="name",
463
+
464
+ # the properties below are optional
465
+ tags=[CfnTag(
466
+ key="key",
467
+ value="value"
468
+ )]
469
+ )
470
+ '''
471
+ if __debug__:
472
+ type_hints = typing.get_type_hints(_typecheckingstub__e7543e8bd10495fcc6c9e64b34fe84fba884f90162406e82ddba641f72f545e8)
473
+ check_type(argname="argument email_address", value=email_address, expected_type=type_hints["email_address"])
474
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
475
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
476
+ self._values: typing.Dict[builtins.str, typing.Any] = {
477
+ "email_address": email_address,
478
+ "name": name,
479
+ }
480
+ if tags is not None:
481
+ self._values["tags"] = tags
482
+
483
+ @builtins.property
484
+ def email_address(self) -> builtins.str:
485
+ '''The email address of the contact.
486
+
487
+ The activation and notification emails are sent here.
488
+
489
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html#cfn-notificationscontacts-emailcontact-emailaddress
490
+ '''
491
+ result = self._values.get("email_address")
492
+ assert result is not None, "Required property 'email_address' is missing"
493
+ return typing.cast(builtins.str, result)
494
+
495
+ @builtins.property
496
+ def name(self) -> builtins.str:
497
+ '''The name of the contact.
498
+
499
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html#cfn-notificationscontacts-emailcontact-name
500
+ '''
501
+ result = self._values.get("name")
502
+ assert result is not None, "Required property 'name' is missing"
503
+ return typing.cast(builtins.str, result)
504
+
505
+ @builtins.property
506
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
507
+ '''A list of tags to apply to the email contact.
508
+
509
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html#cfn-notificationscontacts-emailcontact-tags
510
+ '''
511
+ result = self._values.get("tags")
512
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
513
+
514
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
515
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
516
+
517
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
518
+ return not (rhs == self)
519
+
520
+ def __repr__(self) -> str:
521
+ return "CfnEmailContactProps(%s)" % ", ".join(
522
+ k + "=" + repr(v) for k, v in self._values.items()
523
+ )
524
+
525
+
526
+ __all__ = [
527
+ "CfnEmailContact",
528
+ "CfnEmailContactProps",
529
+ ]
530
+
531
+ publication.publish()
532
+
533
+ def _typecheckingstub__1de25815cbc5e561d0f90c0eee8ffe57e0f8551698ba5a811da29f445a3d211b(
534
+ scope: _constructs_77d1e7e8.Construct,
535
+ id: builtins.str,
536
+ *,
537
+ email_address: builtins.str,
538
+ name: builtins.str,
539
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
540
+ ) -> None:
541
+ """Type checking stubs"""
542
+ pass
543
+
544
+ def _typecheckingstub__b6bae88336d9a51f69c3fc86da9d85ddead25993d2bc29fd415fa7b87726d0e7(
545
+ inspector: _TreeInspector_488e0dd5,
546
+ ) -> None:
547
+ """Type checking stubs"""
548
+ pass
549
+
550
+ def _typecheckingstub__49a0a2d04984c43f3c80eb33fad944cd8b49b1fb73b667140e24f4f9a81d76ae(
551
+ props: typing.Mapping[builtins.str, typing.Any],
552
+ ) -> None:
553
+ """Type checking stubs"""
554
+ pass
555
+
556
+ def _typecheckingstub__ad40c0465cbabf41bb2abf49dcce2989a3b42139c67d0d593acc1d1d67028e58(
557
+ value: builtins.str,
558
+ ) -> None:
559
+ """Type checking stubs"""
560
+ pass
561
+
562
+ def _typecheckingstub__71ded19921304e3a6ee545520c16e2621065bcf6a576b5305f984c994ac9fe5b(
563
+ value: builtins.str,
564
+ ) -> None:
565
+ """Type checking stubs"""
566
+ pass
567
+
568
+ def _typecheckingstub__6155552227ec0ef011be7e784ffc90ecfddac06545f4d44a087256c3ef2ee22b(
569
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
570
+ ) -> None:
571
+ """Type checking stubs"""
572
+ pass
573
+
574
+ def _typecheckingstub__48f41a7ff86bdb3f6536168c36c8ddd6876c1a2bfcd36169b53af9ce364e0eff(
575
+ *,
576
+ address: builtins.str,
577
+ arn: builtins.str,
578
+ creation_time: builtins.str,
579
+ name: builtins.str,
580
+ status: builtins.str,
581
+ update_time: builtins.str,
582
+ ) -> None:
583
+ """Type checking stubs"""
584
+ pass
585
+
586
+ def _typecheckingstub__e7543e8bd10495fcc6c9e64b34fe84fba884f90162406e82ddba641f72f545e8(
587
+ *,
588
+ email_address: builtins.str,
589
+ name: builtins.str,
590
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
591
+ ) -> None:
592
+ """Type checking stubs"""
593
+ pass
@@ -576,7 +576,7 @@ class CfnAnnotationStore(
576
576
  self,
577
577
  *,
578
578
  annotation_type: typing.Optional[builtins.str] = None,
579
- format_to_header: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
579
+ format_to_header: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
580
580
  schema: typing.Any = None,
581
581
  ) -> None:
582
582
  '''The store's parsing options.
@@ -629,13 +629,13 @@ class CfnAnnotationStore(
629
629
  @builtins.property
630
630
  def format_to_header(
631
631
  self,
632
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
632
+ ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
633
633
  '''The store's header key to column name mapping.
634
634
 
635
635
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-annotationstore-tsvstoreoptions.html#cfn-omics-annotationstore-tsvstoreoptions-formattoheader
636
636
  '''
637
637
  result = self._values.get("format_to_header")
638
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
638
+ return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
639
639
 
640
640
  @builtins.property
641
641
  def schema(self) -> typing.Any:
@@ -3189,7 +3189,7 @@ def _typecheckingstub__68b9968e466757cfc2e4ee7eb053201b466a44d185aa6082edce78e85
3189
3189
  def _typecheckingstub__14b0c73be5d34083c239713770a8134020bc8cab75d4b0a1a82a28463074bb3d(
3190
3190
  *,
3191
3191
  annotation_type: typing.Optional[builtins.str] = None,
3192
- format_to_header: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
3192
+ format_to_header: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
3193
3193
  schema: typing.Any = None,
3194
3194
  ) -> None:
3195
3195
  """Type checking stubs"""