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

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

Potentially problematic release.


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

Files changed (44) hide show
  1. aws_cdk/__init__.py +11 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.176.0.jsii.tgz → aws-cdk-lib@2.177.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2_integrations/__init__.py +2 -2
  5. aws_cdk/aws_appsync/__init__.py +4 -3
  6. aws_cdk/aws_batch/__init__.py +4 -2
  7. aws_cdk/aws_bedrock/__init__.py +5395 -2508
  8. aws_cdk/aws_cloudfront/__init__.py +12 -2
  9. aws_cdk/aws_cloudfront_origins/__init__.py +33 -2
  10. aws_cdk/aws_codepipeline/__init__.py +35 -0
  11. aws_cdk/aws_cognito/__init__.py +162 -139
  12. aws_cdk/aws_customerprofiles/__init__.py +3 -3
  13. aws_cdk/aws_datazone/__init__.py +195 -125
  14. aws_cdk/aws_ec2/__init__.py +5 -3
  15. aws_cdk/aws_ecs/__init__.py +27 -8
  16. aws_cdk/aws_efs/__init__.py +5 -5
  17. aws_cdk/aws_eks/__init__.py +24 -3
  18. aws_cdk/aws_emrserverless/__init__.py +86 -0
  19. aws_cdk/aws_fms/__init__.py +42 -0
  20. aws_cdk/aws_gamelift/__init__.py +8 -10
  21. aws_cdk/aws_iam/__init__.py +8 -0
  22. aws_cdk/aws_imagebuilder/__init__.py +62 -48
  23. aws_cdk/aws_lambda/__init__.py +13 -0
  24. aws_cdk/aws_logs/__init__.py +59 -59
  25. aws_cdk/aws_notifications/__init__.py +1390 -0
  26. aws_cdk/aws_notificationscontacts/__init__.py +593 -0
  27. aws_cdk/aws_rds/__init__.py +16 -22
  28. aws_cdk/aws_redshift/__init__.py +9 -5
  29. aws_cdk/aws_route53/__init__.py +4 -4
  30. aws_cdk/aws_route53_targets/__init__.py +15 -15
  31. aws_cdk/aws_s3/__init__.py +789 -0
  32. aws_cdk/aws_s3_notifications/__init__.py +5 -5
  33. aws_cdk/aws_s3tables/__init__.py +2 -2
  34. aws_cdk/aws_sns/__init__.py +39 -0
  35. aws_cdk/aws_ssm/__init__.py +5 -5
  36. aws_cdk/aws_synthetics/__init__.py +105 -32
  37. aws_cdk/cloud_assembly_schema/__init__.py +63 -4
  38. aws_cdk/cx_api/__init__.py +44 -4
  39. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/METADATA +3 -3
  40. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/RECORD +44 -42
  41. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/LICENSE +0 -0
  42. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/NOTICE +0 -0
  43. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/WHEEL +0 -0
  44. {aws_cdk_lib-2.176.0.dist-info → aws_cdk_lib-2.177.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1390 @@
1
+ r'''
2
+ # AWS::Notifications 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_notifications as notifications
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 Notifications construct libraries](https://constructs.dev/search?q=notifications)
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::Notifications resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Notifications.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::Notifications](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Notifications.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)
83
+ class CfnChannelAssociation(
84
+ _CfnResource_9df397a6,
85
+ metaclass=jsii.JSIIMeta,
86
+ jsii_type="aws-cdk-lib.aws_notifications.CfnChannelAssociation",
87
+ ):
88
+ '''Definition of AWS::Notifications::ChannelAssociation Resource Type.
89
+
90
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-channelassociation.html
91
+ :cloudformationResource: AWS::Notifications::ChannelAssociation
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_notifications as notifications
99
+
100
+ cfn_channel_association = notifications.CfnChannelAssociation(self, "MyCfnChannelAssociation",
101
+ arn="arn",
102
+ notification_configuration_arn="notificationConfigurationArn"
103
+ )
104
+ '''
105
+
106
+ def __init__(
107
+ self,
108
+ scope: _constructs_77d1e7e8.Construct,
109
+ id: builtins.str,
110
+ *,
111
+ arn: builtins.str,
112
+ notification_configuration_arn: builtins.str,
113
+ ) -> None:
114
+ '''
115
+ :param scope: Scope in which this resource is defined.
116
+ :param id: Construct identifier for this resource (unique in its scope).
117
+ :param arn: ARN identifier of the channel. Example: arn:aws:chatbot::123456789012:chat-configuration/slack-channel/security-ops
118
+ :param notification_configuration_arn: ARN identifier of the NotificationConfiguration. Example: arn:aws:notifications::123456789012:configuration/a01jes88qxwkbj05xv9c967pgm1
119
+ '''
120
+ if __debug__:
121
+ type_hints = typing.get_type_hints(_typecheckingstub__96bfb9a9cbe4c6b38cb964bde4e63ccdb746cc48ac8dd61661a318886da6ba7f)
122
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
123
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
124
+ props = CfnChannelAssociationProps(
125
+ arn=arn, notification_configuration_arn=notification_configuration_arn
126
+ )
127
+
128
+ jsii.create(self.__class__, self, [scope, id, props])
129
+
130
+ @jsii.member(jsii_name="inspect")
131
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
132
+ '''Examines the CloudFormation resource and discloses attributes.
133
+
134
+ :param inspector: tree inspector to collect and process attributes.
135
+ '''
136
+ if __debug__:
137
+ type_hints = typing.get_type_hints(_typecheckingstub__a0ffcf7c83a3beb5a9feedb6bf40d486b1aa9bad41565ae2a782129cc7450e94)
138
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
139
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
140
+
141
+ @jsii.member(jsii_name="renderProperties")
142
+ def _render_properties(
143
+ self,
144
+ props: typing.Mapping[builtins.str, typing.Any],
145
+ ) -> typing.Mapping[builtins.str, typing.Any]:
146
+ '''
147
+ :param props: -
148
+ '''
149
+ if __debug__:
150
+ type_hints = typing.get_type_hints(_typecheckingstub__ad26b3aa74c912ac52ae9f4bfb186ae1996d8ffa2fff5b28d9a9dcb2f5ceffbf)
151
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
152
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
153
+
154
+ @jsii.python.classproperty
155
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
156
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
157
+ '''The CloudFormation resource type name for this resource class.'''
158
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
159
+
160
+ @builtins.property
161
+ @jsii.member(jsii_name="cfnProperties")
162
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
163
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
164
+
165
+ @builtins.property
166
+ @jsii.member(jsii_name="arn")
167
+ def arn(self) -> builtins.str:
168
+ '''ARN identifier of the channel.'''
169
+ return typing.cast(builtins.str, jsii.get(self, "arn"))
170
+
171
+ @arn.setter
172
+ def arn(self, value: builtins.str) -> None:
173
+ if __debug__:
174
+ type_hints = typing.get_type_hints(_typecheckingstub__02aa05d5cab2ed92674dea9fe8bfd20781091f494e9c3e3da3e1cedb24710ade)
175
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
176
+ jsii.set(self, "arn", value) # pyright: ignore[reportArgumentType]
177
+
178
+ @builtins.property
179
+ @jsii.member(jsii_name="notificationConfigurationArn")
180
+ def notification_configuration_arn(self) -> builtins.str:
181
+ '''ARN identifier of the NotificationConfiguration.'''
182
+ return typing.cast(builtins.str, jsii.get(self, "notificationConfigurationArn"))
183
+
184
+ @notification_configuration_arn.setter
185
+ def notification_configuration_arn(self, value: builtins.str) -> None:
186
+ if __debug__:
187
+ type_hints = typing.get_type_hints(_typecheckingstub__6b2d69598efa0d97ebfbcf163b7e00dfefacab9bb759efc23a009243fcbc29fc)
188
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
189
+ jsii.set(self, "notificationConfigurationArn", value) # pyright: ignore[reportArgumentType]
190
+
191
+
192
+ @jsii.data_type(
193
+ jsii_type="aws-cdk-lib.aws_notifications.CfnChannelAssociationProps",
194
+ jsii_struct_bases=[],
195
+ name_mapping={
196
+ "arn": "arn",
197
+ "notification_configuration_arn": "notificationConfigurationArn",
198
+ },
199
+ )
200
+ class CfnChannelAssociationProps:
201
+ def __init__(
202
+ self,
203
+ *,
204
+ arn: builtins.str,
205
+ notification_configuration_arn: builtins.str,
206
+ ) -> None:
207
+ '''Properties for defining a ``CfnChannelAssociation``.
208
+
209
+ :param arn: ARN identifier of the channel. Example: arn:aws:chatbot::123456789012:chat-configuration/slack-channel/security-ops
210
+ :param notification_configuration_arn: ARN identifier of the NotificationConfiguration. Example: arn:aws:notifications::123456789012:configuration/a01jes88qxwkbj05xv9c967pgm1
211
+
212
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-channelassociation.html
213
+ :exampleMetadata: fixture=_generated
214
+
215
+ Example::
216
+
217
+ # The code below shows an example of how to instantiate this type.
218
+ # The values are placeholders you should change.
219
+ from aws_cdk import aws_notifications as notifications
220
+
221
+ cfn_channel_association_props = notifications.CfnChannelAssociationProps(
222
+ arn="arn",
223
+ notification_configuration_arn="notificationConfigurationArn"
224
+ )
225
+ '''
226
+ if __debug__:
227
+ type_hints = typing.get_type_hints(_typecheckingstub__3df32ecb43a8f1e94c1f975e24a79631c45fd6739c1d7bea0e44c5c169b5137c)
228
+ check_type(argname="argument arn", value=arn, expected_type=type_hints["arn"])
229
+ check_type(argname="argument notification_configuration_arn", value=notification_configuration_arn, expected_type=type_hints["notification_configuration_arn"])
230
+ self._values: typing.Dict[builtins.str, typing.Any] = {
231
+ "arn": arn,
232
+ "notification_configuration_arn": notification_configuration_arn,
233
+ }
234
+
235
+ @builtins.property
236
+ def arn(self) -> builtins.str:
237
+ '''ARN identifier of the channel.
238
+
239
+ Example: arn:aws:chatbot::123456789012:chat-configuration/slack-channel/security-ops
240
+
241
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-channelassociation.html#cfn-notifications-channelassociation-arn
242
+ '''
243
+ result = self._values.get("arn")
244
+ assert result is not None, "Required property 'arn' is missing"
245
+ return typing.cast(builtins.str, result)
246
+
247
+ @builtins.property
248
+ def notification_configuration_arn(self) -> builtins.str:
249
+ '''ARN identifier of the NotificationConfiguration.
250
+
251
+ Example: arn:aws:notifications::123456789012:configuration/a01jes88qxwkbj05xv9c967pgm1
252
+
253
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-channelassociation.html#cfn-notifications-channelassociation-notificationconfigurationarn
254
+ '''
255
+ result = self._values.get("notification_configuration_arn")
256
+ assert result is not None, "Required property 'notification_configuration_arn' is missing"
257
+ return typing.cast(builtins.str, result)
258
+
259
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
260
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
261
+
262
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
263
+ return not (rhs == self)
264
+
265
+ def __repr__(self) -> str:
266
+ return "CfnChannelAssociationProps(%s)" % ", ".join(
267
+ k + "=" + repr(v) for k, v in self._values.items()
268
+ )
269
+
270
+
271
+ @jsii.implements(_IInspectable_c2943556)
272
+ class CfnEventRule(
273
+ _CfnResource_9df397a6,
274
+ metaclass=jsii.JSIIMeta,
275
+ jsii_type="aws-cdk-lib.aws_notifications.CfnEventRule",
276
+ ):
277
+ '''Definition of AWS::Notifications::EventRule Resource Type.
278
+
279
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-eventrule.html
280
+ :cloudformationResource: AWS::Notifications::EventRule
281
+ :exampleMetadata: fixture=_generated
282
+
283
+ Example::
284
+
285
+ # The code below shows an example of how to instantiate this type.
286
+ # The values are placeholders you should change.
287
+ from aws_cdk import aws_notifications as notifications
288
+
289
+ cfn_event_rule = notifications.CfnEventRule(self, "MyCfnEventRule",
290
+ event_type="eventType",
291
+ notification_configuration_arn="notificationConfigurationArn",
292
+ regions=["regions"],
293
+ source="source",
294
+
295
+ # the properties below are optional
296
+ event_pattern="eventPattern"
297
+ )
298
+ '''
299
+
300
+ def __init__(
301
+ self,
302
+ scope: _constructs_77d1e7e8.Construct,
303
+ id: builtins.str,
304
+ *,
305
+ event_type: builtins.str,
306
+ notification_configuration_arn: builtins.str,
307
+ regions: typing.Sequence[builtins.str],
308
+ source: builtins.str,
309
+ event_pattern: typing.Optional[builtins.str] = None,
310
+ ) -> None:
311
+ '''
312
+ :param scope: Scope in which this resource is defined.
313
+ :param id: Construct identifier for this resource (unique in its scope).
314
+ :param event_type:
315
+ :param notification_configuration_arn:
316
+ :param regions:
317
+ :param source:
318
+ :param event_pattern:
319
+ '''
320
+ if __debug__:
321
+ type_hints = typing.get_type_hints(_typecheckingstub__ec202e2ad7890be955535389c490f73db69e1ae4c0e2b9af79f33a0bb4e4dd47)
322
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
323
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
324
+ props = CfnEventRuleProps(
325
+ event_type=event_type,
326
+ notification_configuration_arn=notification_configuration_arn,
327
+ regions=regions,
328
+ source=source,
329
+ event_pattern=event_pattern,
330
+ )
331
+
332
+ jsii.create(self.__class__, self, [scope, id, props])
333
+
334
+ @jsii.member(jsii_name="inspect")
335
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
336
+ '''Examines the CloudFormation resource and discloses attributes.
337
+
338
+ :param inspector: tree inspector to collect and process attributes.
339
+ '''
340
+ if __debug__:
341
+ type_hints = typing.get_type_hints(_typecheckingstub__7c5fa74e0d9c81586c85ebd06110e66abfa6f3eca8a5c7b89fcce4d070b434dd)
342
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
343
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
344
+
345
+ @jsii.member(jsii_name="renderProperties")
346
+ def _render_properties(
347
+ self,
348
+ props: typing.Mapping[builtins.str, typing.Any],
349
+ ) -> typing.Mapping[builtins.str, typing.Any]:
350
+ '''
351
+ :param props: -
352
+ '''
353
+ if __debug__:
354
+ type_hints = typing.get_type_hints(_typecheckingstub__ed227bd8ca507740b963532ef2c249c436e3f1a0953bcfbfccc5dd84abff63b2)
355
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
356
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
357
+
358
+ @jsii.python.classproperty
359
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
360
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
361
+ '''The CloudFormation resource type name for this resource class.'''
362
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
363
+
364
+ @builtins.property
365
+ @jsii.member(jsii_name="attrArn")
366
+ def attr_arn(self) -> builtins.str:
367
+ '''
368
+ :cloudformationAttribute: Arn
369
+ '''
370
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
371
+
372
+ @builtins.property
373
+ @jsii.member(jsii_name="attrCreationTime")
374
+ def attr_creation_time(self) -> builtins.str:
375
+ '''
376
+ :cloudformationAttribute: CreationTime
377
+ '''
378
+ return typing.cast(builtins.str, jsii.get(self, "attrCreationTime"))
379
+
380
+ @builtins.property
381
+ @jsii.member(jsii_name="attrManagedRules")
382
+ def attr_managed_rules(self) -> typing.List[builtins.str]:
383
+ '''
384
+ :cloudformationAttribute: ManagedRules
385
+ '''
386
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "attrManagedRules"))
387
+
388
+ @builtins.property
389
+ @jsii.member(jsii_name="attrStatusSummaryByRegion")
390
+ def attr_status_summary_by_region(self) -> _IResolvable_da3f097b:
391
+ '''
392
+ :cloudformationAttribute: StatusSummaryByRegion
393
+ '''
394
+ return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrStatusSummaryByRegion"))
395
+
396
+ @builtins.property
397
+ @jsii.member(jsii_name="cfnProperties")
398
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
399
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
400
+
401
+ @builtins.property
402
+ @jsii.member(jsii_name="eventType")
403
+ def event_type(self) -> builtins.str:
404
+ return typing.cast(builtins.str, jsii.get(self, "eventType"))
405
+
406
+ @event_type.setter
407
+ def event_type(self, value: builtins.str) -> None:
408
+ if __debug__:
409
+ type_hints = typing.get_type_hints(_typecheckingstub__81d1b153a0905b2c5814e482bb87c0a8b11d3eff5d9c870657097be4c79e4804)
410
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
411
+ jsii.set(self, "eventType", value) # pyright: ignore[reportArgumentType]
412
+
413
+ @builtins.property
414
+ @jsii.member(jsii_name="notificationConfigurationArn")
415
+ def notification_configuration_arn(self) -> builtins.str:
416
+ return typing.cast(builtins.str, jsii.get(self, "notificationConfigurationArn"))
417
+
418
+ @notification_configuration_arn.setter
419
+ def notification_configuration_arn(self, value: builtins.str) -> None:
420
+ if __debug__:
421
+ type_hints = typing.get_type_hints(_typecheckingstub__6f6731a75b69e9828e94cd56f13e2484ab994f7e17e1fb8ce1e0518eb23853cf)
422
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
423
+ jsii.set(self, "notificationConfigurationArn", value) # pyright: ignore[reportArgumentType]
424
+
425
+ @builtins.property
426
+ @jsii.member(jsii_name="regions")
427
+ def regions(self) -> typing.List[builtins.str]:
428
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "regions"))
429
+
430
+ @regions.setter
431
+ def regions(self, value: typing.List[builtins.str]) -> None:
432
+ if __debug__:
433
+ type_hints = typing.get_type_hints(_typecheckingstub__89531f65574302c5ac9ea674da6b36a9b39096ba5050cb8e7e2a0da2b5d03e67)
434
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
435
+ jsii.set(self, "regions", value) # pyright: ignore[reportArgumentType]
436
+
437
+ @builtins.property
438
+ @jsii.member(jsii_name="source")
439
+ def source(self) -> builtins.str:
440
+ return typing.cast(builtins.str, jsii.get(self, "source"))
441
+
442
+ @source.setter
443
+ def source(self, value: builtins.str) -> None:
444
+ if __debug__:
445
+ type_hints = typing.get_type_hints(_typecheckingstub__d5f84ae06950218222a75646d0393c6dc744540c903f93356dc4cc8b58b9454b)
446
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
447
+ jsii.set(self, "source", value) # pyright: ignore[reportArgumentType]
448
+
449
+ @builtins.property
450
+ @jsii.member(jsii_name="eventPattern")
451
+ def event_pattern(self) -> typing.Optional[builtins.str]:
452
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "eventPattern"))
453
+
454
+ @event_pattern.setter
455
+ def event_pattern(self, value: typing.Optional[builtins.str]) -> None:
456
+ if __debug__:
457
+ type_hints = typing.get_type_hints(_typecheckingstub__9c9ba9ceb13f4bbb20d1fdcbc4db9f3bbd193000353fb7d213848faaf0dacf8d)
458
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
459
+ jsii.set(self, "eventPattern", value) # pyright: ignore[reportArgumentType]
460
+
461
+ @jsii.data_type(
462
+ jsii_type="aws-cdk-lib.aws_notifications.CfnEventRule.EventRuleStatusSummaryProperty",
463
+ jsii_struct_bases=[],
464
+ name_mapping={"reason": "reason", "status": "status"},
465
+ )
466
+ class EventRuleStatusSummaryProperty:
467
+ def __init__(self, *, reason: builtins.str, status: builtins.str) -> None:
468
+ '''
469
+ :param reason:
470
+ :param status:
471
+
472
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-eventrule-eventrulestatussummary.html
473
+ :exampleMetadata: fixture=_generated
474
+
475
+ Example::
476
+
477
+ # The code below shows an example of how to instantiate this type.
478
+ # The values are placeholders you should change.
479
+ from aws_cdk import aws_notifications as notifications
480
+
481
+ event_rule_status_summary_property = notifications.CfnEventRule.EventRuleStatusSummaryProperty(
482
+ reason="reason",
483
+ status="status"
484
+ )
485
+ '''
486
+ if __debug__:
487
+ type_hints = typing.get_type_hints(_typecheckingstub__0862e7de7e4f6b1de2036652d175c4ef1949f04dadc360833e7e4899191d6fea)
488
+ check_type(argname="argument reason", value=reason, expected_type=type_hints["reason"])
489
+ check_type(argname="argument status", value=status, expected_type=type_hints["status"])
490
+ self._values: typing.Dict[builtins.str, typing.Any] = {
491
+ "reason": reason,
492
+ "status": status,
493
+ }
494
+
495
+ @builtins.property
496
+ def reason(self) -> builtins.str:
497
+ '''
498
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-eventrule-eventrulestatussummary.html#cfn-notifications-eventrule-eventrulestatussummary-reason
499
+ '''
500
+ result = self._values.get("reason")
501
+ assert result is not None, "Required property 'reason' is missing"
502
+ return typing.cast(builtins.str, result)
503
+
504
+ @builtins.property
505
+ def status(self) -> builtins.str:
506
+ '''
507
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-eventrule-eventrulestatussummary.html#cfn-notifications-eventrule-eventrulestatussummary-status
508
+ '''
509
+ result = self._values.get("status")
510
+ assert result is not None, "Required property 'status' is missing"
511
+ return typing.cast(builtins.str, result)
512
+
513
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
514
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
515
+
516
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
517
+ return not (rhs == self)
518
+
519
+ def __repr__(self) -> str:
520
+ return "EventRuleStatusSummaryProperty(%s)" % ", ".join(
521
+ k + "=" + repr(v) for k, v in self._values.items()
522
+ )
523
+
524
+
525
+ @jsii.data_type(
526
+ jsii_type="aws-cdk-lib.aws_notifications.CfnEventRuleProps",
527
+ jsii_struct_bases=[],
528
+ name_mapping={
529
+ "event_type": "eventType",
530
+ "notification_configuration_arn": "notificationConfigurationArn",
531
+ "regions": "regions",
532
+ "source": "source",
533
+ "event_pattern": "eventPattern",
534
+ },
535
+ )
536
+ class CfnEventRuleProps:
537
+ def __init__(
538
+ self,
539
+ *,
540
+ event_type: builtins.str,
541
+ notification_configuration_arn: builtins.str,
542
+ regions: typing.Sequence[builtins.str],
543
+ source: builtins.str,
544
+ event_pattern: typing.Optional[builtins.str] = None,
545
+ ) -> None:
546
+ '''Properties for defining a ``CfnEventRule``.
547
+
548
+ :param event_type:
549
+ :param notification_configuration_arn:
550
+ :param regions:
551
+ :param source:
552
+ :param event_pattern:
553
+
554
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-eventrule.html
555
+ :exampleMetadata: fixture=_generated
556
+
557
+ Example::
558
+
559
+ # The code below shows an example of how to instantiate this type.
560
+ # The values are placeholders you should change.
561
+ from aws_cdk import aws_notifications as notifications
562
+
563
+ cfn_event_rule_props = notifications.CfnEventRuleProps(
564
+ event_type="eventType",
565
+ notification_configuration_arn="notificationConfigurationArn",
566
+ regions=["regions"],
567
+ source="source",
568
+
569
+ # the properties below are optional
570
+ event_pattern="eventPattern"
571
+ )
572
+ '''
573
+ if __debug__:
574
+ type_hints = typing.get_type_hints(_typecheckingstub__9518b7cf584ffb7ba5a4fb79f7584397ea33a005b8aebaa07c3bc5e5dc33bddb)
575
+ check_type(argname="argument event_type", value=event_type, expected_type=type_hints["event_type"])
576
+ check_type(argname="argument notification_configuration_arn", value=notification_configuration_arn, expected_type=type_hints["notification_configuration_arn"])
577
+ check_type(argname="argument regions", value=regions, expected_type=type_hints["regions"])
578
+ check_type(argname="argument source", value=source, expected_type=type_hints["source"])
579
+ check_type(argname="argument event_pattern", value=event_pattern, expected_type=type_hints["event_pattern"])
580
+ self._values: typing.Dict[builtins.str, typing.Any] = {
581
+ "event_type": event_type,
582
+ "notification_configuration_arn": notification_configuration_arn,
583
+ "regions": regions,
584
+ "source": source,
585
+ }
586
+ if event_pattern is not None:
587
+ self._values["event_pattern"] = event_pattern
588
+
589
+ @builtins.property
590
+ def event_type(self) -> builtins.str:
591
+ '''
592
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-eventrule.html#cfn-notifications-eventrule-eventtype
593
+ '''
594
+ result = self._values.get("event_type")
595
+ assert result is not None, "Required property 'event_type' is missing"
596
+ return typing.cast(builtins.str, result)
597
+
598
+ @builtins.property
599
+ def notification_configuration_arn(self) -> builtins.str:
600
+ '''
601
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-eventrule.html#cfn-notifications-eventrule-notificationconfigurationarn
602
+ '''
603
+ result = self._values.get("notification_configuration_arn")
604
+ assert result is not None, "Required property 'notification_configuration_arn' is missing"
605
+ return typing.cast(builtins.str, result)
606
+
607
+ @builtins.property
608
+ def regions(self) -> typing.List[builtins.str]:
609
+ '''
610
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-eventrule.html#cfn-notifications-eventrule-regions
611
+ '''
612
+ result = self._values.get("regions")
613
+ assert result is not None, "Required property 'regions' is missing"
614
+ return typing.cast(typing.List[builtins.str], result)
615
+
616
+ @builtins.property
617
+ def source(self) -> builtins.str:
618
+ '''
619
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-eventrule.html#cfn-notifications-eventrule-source
620
+ '''
621
+ result = self._values.get("source")
622
+ assert result is not None, "Required property 'source' is missing"
623
+ return typing.cast(builtins.str, result)
624
+
625
+ @builtins.property
626
+ def event_pattern(self) -> typing.Optional[builtins.str]:
627
+ '''
628
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-eventrule.html#cfn-notifications-eventrule-eventpattern
629
+ '''
630
+ result = self._values.get("event_pattern")
631
+ return typing.cast(typing.Optional[builtins.str], result)
632
+
633
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
634
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
635
+
636
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
637
+ return not (rhs == self)
638
+
639
+ def __repr__(self) -> str:
640
+ return "CfnEventRuleProps(%s)" % ", ".join(
641
+ k + "=" + repr(v) for k, v in self._values.items()
642
+ )
643
+
644
+
645
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
646
+ class CfnNotificationConfiguration(
647
+ _CfnResource_9df397a6,
648
+ metaclass=jsii.JSIIMeta,
649
+ jsii_type="aws-cdk-lib.aws_notifications.CfnNotificationConfiguration",
650
+ ):
651
+ '''Definition of AWS::Notifications::NotificationConfiguration Resource Type.
652
+
653
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationconfiguration.html
654
+ :cloudformationResource: AWS::Notifications::NotificationConfiguration
655
+ :exampleMetadata: fixture=_generated
656
+
657
+ Example::
658
+
659
+ # The code below shows an example of how to instantiate this type.
660
+ # The values are placeholders you should change.
661
+ from aws_cdk import aws_notifications as notifications
662
+
663
+ cfn_notification_configuration = notifications.CfnNotificationConfiguration(self, "MyCfnNotificationConfiguration",
664
+ description="description",
665
+ name="name",
666
+
667
+ # the properties below are optional
668
+ aggregation_duration="aggregationDuration",
669
+ tags=[CfnTag(
670
+ key="key",
671
+ value="value"
672
+ )]
673
+ )
674
+ '''
675
+
676
+ def __init__(
677
+ self,
678
+ scope: _constructs_77d1e7e8.Construct,
679
+ id: builtins.str,
680
+ *,
681
+ description: builtins.str,
682
+ name: builtins.str,
683
+ aggregation_duration: typing.Optional[builtins.str] = None,
684
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
685
+ ) -> None:
686
+ '''
687
+ :param scope: Scope in which this resource is defined.
688
+ :param id: Construct identifier for this resource (unique in its scope).
689
+ :param description:
690
+ :param name:
691
+ :param aggregation_duration:
692
+ :param tags: A list of tags that are attached to the role.
693
+ '''
694
+ if __debug__:
695
+ type_hints = typing.get_type_hints(_typecheckingstub__e5a1cf31f790937b5967ad78a42e8a6c98b04b21643bfcdd379cabb7f43b17f1)
696
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
697
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
698
+ props = CfnNotificationConfigurationProps(
699
+ description=description,
700
+ name=name,
701
+ aggregation_duration=aggregation_duration,
702
+ tags=tags,
703
+ )
704
+
705
+ jsii.create(self.__class__, self, [scope, id, props])
706
+
707
+ @jsii.member(jsii_name="inspect")
708
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
709
+ '''Examines the CloudFormation resource and discloses attributes.
710
+
711
+ :param inspector: tree inspector to collect and process attributes.
712
+ '''
713
+ if __debug__:
714
+ type_hints = typing.get_type_hints(_typecheckingstub__99c4c6bcfdad64190a4b003dd211cb1c28e0aed4b082d0cef3b986b4d46b4d0d)
715
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
716
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
717
+
718
+ @jsii.member(jsii_name="renderProperties")
719
+ def _render_properties(
720
+ self,
721
+ props: typing.Mapping[builtins.str, typing.Any],
722
+ ) -> typing.Mapping[builtins.str, typing.Any]:
723
+ '''
724
+ :param props: -
725
+ '''
726
+ if __debug__:
727
+ type_hints = typing.get_type_hints(_typecheckingstub__ed80b7239a03619bfe17128260c1ef875a0004bef6f44982a06bac0ca7dd24dd)
728
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
729
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
730
+
731
+ @jsii.python.classproperty
732
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
733
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
734
+ '''The CloudFormation resource type name for this resource class.'''
735
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
736
+
737
+ @builtins.property
738
+ @jsii.member(jsii_name="attrArn")
739
+ def attr_arn(self) -> builtins.str:
740
+ '''
741
+ :cloudformationAttribute: Arn
742
+ '''
743
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
744
+
745
+ @builtins.property
746
+ @jsii.member(jsii_name="attrCreationTime")
747
+ def attr_creation_time(self) -> builtins.str:
748
+ '''
749
+ :cloudformationAttribute: CreationTime
750
+ '''
751
+ return typing.cast(builtins.str, jsii.get(self, "attrCreationTime"))
752
+
753
+ @builtins.property
754
+ @jsii.member(jsii_name="attrStatus")
755
+ def attr_status(self) -> builtins.str:
756
+ '''
757
+ :cloudformationAttribute: Status
758
+ '''
759
+ return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
760
+
761
+ @builtins.property
762
+ @jsii.member(jsii_name="cdkTagManager")
763
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
764
+ '''Tag Manager which manages the tags for this resource.'''
765
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
766
+
767
+ @builtins.property
768
+ @jsii.member(jsii_name="cfnProperties")
769
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
770
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
771
+
772
+ @builtins.property
773
+ @jsii.member(jsii_name="description")
774
+ def description(self) -> builtins.str:
775
+ return typing.cast(builtins.str, jsii.get(self, "description"))
776
+
777
+ @description.setter
778
+ def description(self, value: builtins.str) -> None:
779
+ if __debug__:
780
+ type_hints = typing.get_type_hints(_typecheckingstub__3b56129db1bc5e2b088f2e953b3a5cadd65fbae6a6d2e9bff79548baba4e1c65)
781
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
782
+ jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
783
+
784
+ @builtins.property
785
+ @jsii.member(jsii_name="name")
786
+ def name(self) -> builtins.str:
787
+ return typing.cast(builtins.str, jsii.get(self, "name"))
788
+
789
+ @name.setter
790
+ def name(self, value: builtins.str) -> None:
791
+ if __debug__:
792
+ type_hints = typing.get_type_hints(_typecheckingstub__71e66aa92e41cd8989cfdac8332aacd83371fe96d00b1cfb8e4f8f6c74bdeefc)
793
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
794
+ jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
795
+
796
+ @builtins.property
797
+ @jsii.member(jsii_name="aggregationDuration")
798
+ def aggregation_duration(self) -> typing.Optional[builtins.str]:
799
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "aggregationDuration"))
800
+
801
+ @aggregation_duration.setter
802
+ def aggregation_duration(self, value: typing.Optional[builtins.str]) -> None:
803
+ if __debug__:
804
+ type_hints = typing.get_type_hints(_typecheckingstub__ce9aa4a245c055d6b2e72d9ea7585d89b52c50836000693cef5f09365372734c)
805
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
806
+ jsii.set(self, "aggregationDuration", value) # pyright: ignore[reportArgumentType]
807
+
808
+ @builtins.property
809
+ @jsii.member(jsii_name="tags")
810
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
811
+ '''A list of tags that are attached to the role.'''
812
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
813
+
814
+ @tags.setter
815
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
816
+ if __debug__:
817
+ type_hints = typing.get_type_hints(_typecheckingstub__d80fd02377dda29814fae801cf32c8200e2aa5b9ff4b7440916ad6d4efbeb00b)
818
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
819
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
820
+
821
+
822
+ @jsii.data_type(
823
+ jsii_type="aws-cdk-lib.aws_notifications.CfnNotificationConfigurationProps",
824
+ jsii_struct_bases=[],
825
+ name_mapping={
826
+ "description": "description",
827
+ "name": "name",
828
+ "aggregation_duration": "aggregationDuration",
829
+ "tags": "tags",
830
+ },
831
+ )
832
+ class CfnNotificationConfigurationProps:
833
+ def __init__(
834
+ self,
835
+ *,
836
+ description: builtins.str,
837
+ name: builtins.str,
838
+ aggregation_duration: typing.Optional[builtins.str] = None,
839
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
840
+ ) -> None:
841
+ '''Properties for defining a ``CfnNotificationConfiguration``.
842
+
843
+ :param description:
844
+ :param name:
845
+ :param aggregation_duration:
846
+ :param tags: A list of tags that are attached to the role.
847
+
848
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationconfiguration.html
849
+ :exampleMetadata: fixture=_generated
850
+
851
+ Example::
852
+
853
+ # The code below shows an example of how to instantiate this type.
854
+ # The values are placeholders you should change.
855
+ from aws_cdk import aws_notifications as notifications
856
+
857
+ cfn_notification_configuration_props = notifications.CfnNotificationConfigurationProps(
858
+ description="description",
859
+ name="name",
860
+
861
+ # the properties below are optional
862
+ aggregation_duration="aggregationDuration",
863
+ tags=[CfnTag(
864
+ key="key",
865
+ value="value"
866
+ )]
867
+ )
868
+ '''
869
+ if __debug__:
870
+ type_hints = typing.get_type_hints(_typecheckingstub__2533f954a13ead8ba0e86dbad3d4401450ff85451a17c80b370344cb112ae478)
871
+ check_type(argname="argument description", value=description, expected_type=type_hints["description"])
872
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
873
+ check_type(argname="argument aggregation_duration", value=aggregation_duration, expected_type=type_hints["aggregation_duration"])
874
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
875
+ self._values: typing.Dict[builtins.str, typing.Any] = {
876
+ "description": description,
877
+ "name": name,
878
+ }
879
+ if aggregation_duration is not None:
880
+ self._values["aggregation_duration"] = aggregation_duration
881
+ if tags is not None:
882
+ self._values["tags"] = tags
883
+
884
+ @builtins.property
885
+ def description(self) -> builtins.str:
886
+ '''
887
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationconfiguration.html#cfn-notifications-notificationconfiguration-description
888
+ '''
889
+ result = self._values.get("description")
890
+ assert result is not None, "Required property 'description' is missing"
891
+ return typing.cast(builtins.str, result)
892
+
893
+ @builtins.property
894
+ def name(self) -> builtins.str:
895
+ '''
896
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationconfiguration.html#cfn-notifications-notificationconfiguration-name
897
+ '''
898
+ result = self._values.get("name")
899
+ assert result is not None, "Required property 'name' is missing"
900
+ return typing.cast(builtins.str, result)
901
+
902
+ @builtins.property
903
+ def aggregation_duration(self) -> typing.Optional[builtins.str]:
904
+ '''
905
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationconfiguration.html#cfn-notifications-notificationconfiguration-aggregationduration
906
+ '''
907
+ result = self._values.get("aggregation_duration")
908
+ return typing.cast(typing.Optional[builtins.str], result)
909
+
910
+ @builtins.property
911
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
912
+ '''A list of tags that are attached to the role.
913
+
914
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationconfiguration.html#cfn-notifications-notificationconfiguration-tags
915
+ '''
916
+ result = self._values.get("tags")
917
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
918
+
919
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
920
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
921
+
922
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
923
+ return not (rhs == self)
924
+
925
+ def __repr__(self) -> str:
926
+ return "CfnNotificationConfigurationProps(%s)" % ", ".join(
927
+ k + "=" + repr(v) for k, v in self._values.items()
928
+ )
929
+
930
+
931
+ @jsii.implements(_IInspectable_c2943556)
932
+ class CfnNotificationHub(
933
+ _CfnResource_9df397a6,
934
+ metaclass=jsii.JSIIMeta,
935
+ jsii_type="aws-cdk-lib.aws_notifications.CfnNotificationHub",
936
+ ):
937
+ '''Definition of AWS::Notifications::NotificationHub Resource Type.
938
+
939
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationhub.html
940
+ :cloudformationResource: AWS::Notifications::NotificationHub
941
+ :exampleMetadata: fixture=_generated
942
+
943
+ Example::
944
+
945
+ # The code below shows an example of how to instantiate this type.
946
+ # The values are placeholders you should change.
947
+ from aws_cdk import aws_notifications as notifications
948
+
949
+ cfn_notification_hub = notifications.CfnNotificationHub(self, "MyCfnNotificationHub",
950
+ region="region"
951
+ )
952
+ '''
953
+
954
+ def __init__(
955
+ self,
956
+ scope: _constructs_77d1e7e8.Construct,
957
+ id: builtins.str,
958
+ *,
959
+ region: builtins.str,
960
+ ) -> None:
961
+ '''
962
+ :param scope: Scope in which this resource is defined.
963
+ :param id: Construct identifier for this resource (unique in its scope).
964
+ :param region: Region that NotificationHub is present in.
965
+ '''
966
+ if __debug__:
967
+ type_hints = typing.get_type_hints(_typecheckingstub__68d72929c95357a15821df7d24b28076913c2c16ae8caa651de92ab7110ee545)
968
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
969
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
970
+ props = CfnNotificationHubProps(region=region)
971
+
972
+ jsii.create(self.__class__, self, [scope, id, props])
973
+
974
+ @jsii.member(jsii_name="inspect")
975
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
976
+ '''Examines the CloudFormation resource and discloses attributes.
977
+
978
+ :param inspector: tree inspector to collect and process attributes.
979
+ '''
980
+ if __debug__:
981
+ type_hints = typing.get_type_hints(_typecheckingstub__567dd116772fd10bcdaf956ec536dc5810b4f3cc3f16ccd9a9d86db8519bb2ad)
982
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
983
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
984
+
985
+ @jsii.member(jsii_name="renderProperties")
986
+ def _render_properties(
987
+ self,
988
+ props: typing.Mapping[builtins.str, typing.Any],
989
+ ) -> typing.Mapping[builtins.str, typing.Any]:
990
+ '''
991
+ :param props: -
992
+ '''
993
+ if __debug__:
994
+ type_hints = typing.get_type_hints(_typecheckingstub__8cdcacace93e52a000661ec6fb6dc815044c226939c4984a920cbeabbad2c65d)
995
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
996
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
997
+
998
+ @jsii.python.classproperty
999
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
1000
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
1001
+ '''The CloudFormation resource type name for this resource class.'''
1002
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
1003
+
1004
+ @builtins.property
1005
+ @jsii.member(jsii_name="attrCreationTime")
1006
+ def attr_creation_time(self) -> builtins.str:
1007
+ '''
1008
+ :cloudformationAttribute: CreationTime
1009
+ '''
1010
+ return typing.cast(builtins.str, jsii.get(self, "attrCreationTime"))
1011
+
1012
+ @builtins.property
1013
+ @jsii.member(jsii_name="attrNotificationHubStatusSummary")
1014
+ def attr_notification_hub_status_summary(self) -> _IResolvable_da3f097b:
1015
+ '''
1016
+ :cloudformationAttribute: NotificationHubStatusSummary
1017
+ '''
1018
+ return typing.cast(_IResolvable_da3f097b, jsii.get(self, "attrNotificationHubStatusSummary"))
1019
+
1020
+ @builtins.property
1021
+ @jsii.member(jsii_name="cfnProperties")
1022
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
1023
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
1024
+
1025
+ @builtins.property
1026
+ @jsii.member(jsii_name="region")
1027
+ def region(self) -> builtins.str:
1028
+ '''Region that NotificationHub is present in.'''
1029
+ return typing.cast(builtins.str, jsii.get(self, "region"))
1030
+
1031
+ @region.setter
1032
+ def region(self, value: builtins.str) -> None:
1033
+ if __debug__:
1034
+ type_hints = typing.get_type_hints(_typecheckingstub__865411d5534fe323b415ed4cf0f3a74893e03d33d1ae33e8d515a71e49d41f82)
1035
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1036
+ jsii.set(self, "region", value) # pyright: ignore[reportArgumentType]
1037
+
1038
+ @jsii.data_type(
1039
+ jsii_type="aws-cdk-lib.aws_notifications.CfnNotificationHub.NotificationHubStatusSummaryProperty",
1040
+ jsii_struct_bases=[],
1041
+ name_mapping={
1042
+ "notification_hub_status": "notificationHubStatus",
1043
+ "notification_hub_status_reason": "notificationHubStatusReason",
1044
+ },
1045
+ )
1046
+ class NotificationHubStatusSummaryProperty:
1047
+ def __init__(
1048
+ self,
1049
+ *,
1050
+ notification_hub_status: builtins.str,
1051
+ notification_hub_status_reason: builtins.str,
1052
+ ) -> None:
1053
+ '''
1054
+ :param notification_hub_status:
1055
+ :param notification_hub_status_reason:
1056
+
1057
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-notificationhub-notificationhubstatussummary.html
1058
+ :exampleMetadata: fixture=_generated
1059
+
1060
+ Example::
1061
+
1062
+ # The code below shows an example of how to instantiate this type.
1063
+ # The values are placeholders you should change.
1064
+ from aws_cdk import aws_notifications as notifications
1065
+
1066
+ notification_hub_status_summary_property = notifications.CfnNotificationHub.NotificationHubStatusSummaryProperty(
1067
+ notification_hub_status="notificationHubStatus",
1068
+ notification_hub_status_reason="notificationHubStatusReason"
1069
+ )
1070
+ '''
1071
+ if __debug__:
1072
+ type_hints = typing.get_type_hints(_typecheckingstub__8aa8a0cc3749f69e28b77cefd47fc05557b9a1869a97350b92cdcb9f3438b543)
1073
+ check_type(argname="argument notification_hub_status", value=notification_hub_status, expected_type=type_hints["notification_hub_status"])
1074
+ check_type(argname="argument notification_hub_status_reason", value=notification_hub_status_reason, expected_type=type_hints["notification_hub_status_reason"])
1075
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1076
+ "notification_hub_status": notification_hub_status,
1077
+ "notification_hub_status_reason": notification_hub_status_reason,
1078
+ }
1079
+
1080
+ @builtins.property
1081
+ def notification_hub_status(self) -> builtins.str:
1082
+ '''
1083
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-notificationhub-notificationhubstatussummary.html#cfn-notifications-notificationhub-notificationhubstatussummary-notificationhubstatus
1084
+ '''
1085
+ result = self._values.get("notification_hub_status")
1086
+ assert result is not None, "Required property 'notification_hub_status' is missing"
1087
+ return typing.cast(builtins.str, result)
1088
+
1089
+ @builtins.property
1090
+ def notification_hub_status_reason(self) -> builtins.str:
1091
+ '''
1092
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notifications-notificationhub-notificationhubstatussummary.html#cfn-notifications-notificationhub-notificationhubstatussummary-notificationhubstatusreason
1093
+ '''
1094
+ result = self._values.get("notification_hub_status_reason")
1095
+ assert result is not None, "Required property 'notification_hub_status_reason' is missing"
1096
+ return typing.cast(builtins.str, result)
1097
+
1098
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1099
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1100
+
1101
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1102
+ return not (rhs == self)
1103
+
1104
+ def __repr__(self) -> str:
1105
+ return "NotificationHubStatusSummaryProperty(%s)" % ", ".join(
1106
+ k + "=" + repr(v) for k, v in self._values.items()
1107
+ )
1108
+
1109
+
1110
+ @jsii.data_type(
1111
+ jsii_type="aws-cdk-lib.aws_notifications.CfnNotificationHubProps",
1112
+ jsii_struct_bases=[],
1113
+ name_mapping={"region": "region"},
1114
+ )
1115
+ class CfnNotificationHubProps:
1116
+ def __init__(self, *, region: builtins.str) -> None:
1117
+ '''Properties for defining a ``CfnNotificationHub``.
1118
+
1119
+ :param region: Region that NotificationHub is present in.
1120
+
1121
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationhub.html
1122
+ :exampleMetadata: fixture=_generated
1123
+
1124
+ Example::
1125
+
1126
+ # The code below shows an example of how to instantiate this type.
1127
+ # The values are placeholders you should change.
1128
+ from aws_cdk import aws_notifications as notifications
1129
+
1130
+ cfn_notification_hub_props = notifications.CfnNotificationHubProps(
1131
+ region="region"
1132
+ )
1133
+ '''
1134
+ if __debug__:
1135
+ type_hints = typing.get_type_hints(_typecheckingstub__920924baa84f6463cdd237bcaa739a631a79dad627c4370064c68f1de8c3c630)
1136
+ check_type(argname="argument region", value=region, expected_type=type_hints["region"])
1137
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1138
+ "region": region,
1139
+ }
1140
+
1141
+ @builtins.property
1142
+ def region(self) -> builtins.str:
1143
+ '''Region that NotificationHub is present in.
1144
+
1145
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationhub.html#cfn-notifications-notificationhub-region
1146
+ '''
1147
+ result = self._values.get("region")
1148
+ assert result is not None, "Required property 'region' is missing"
1149
+ return typing.cast(builtins.str, result)
1150
+
1151
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1152
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1153
+
1154
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1155
+ return not (rhs == self)
1156
+
1157
+ def __repr__(self) -> str:
1158
+ return "CfnNotificationHubProps(%s)" % ", ".join(
1159
+ k + "=" + repr(v) for k, v in self._values.items()
1160
+ )
1161
+
1162
+
1163
+ __all__ = [
1164
+ "CfnChannelAssociation",
1165
+ "CfnChannelAssociationProps",
1166
+ "CfnEventRule",
1167
+ "CfnEventRuleProps",
1168
+ "CfnNotificationConfiguration",
1169
+ "CfnNotificationConfigurationProps",
1170
+ "CfnNotificationHub",
1171
+ "CfnNotificationHubProps",
1172
+ ]
1173
+
1174
+ publication.publish()
1175
+
1176
+ def _typecheckingstub__96bfb9a9cbe4c6b38cb964bde4e63ccdb746cc48ac8dd61661a318886da6ba7f(
1177
+ scope: _constructs_77d1e7e8.Construct,
1178
+ id: builtins.str,
1179
+ *,
1180
+ arn: builtins.str,
1181
+ notification_configuration_arn: builtins.str,
1182
+ ) -> None:
1183
+ """Type checking stubs"""
1184
+ pass
1185
+
1186
+ def _typecheckingstub__a0ffcf7c83a3beb5a9feedb6bf40d486b1aa9bad41565ae2a782129cc7450e94(
1187
+ inspector: _TreeInspector_488e0dd5,
1188
+ ) -> None:
1189
+ """Type checking stubs"""
1190
+ pass
1191
+
1192
+ def _typecheckingstub__ad26b3aa74c912ac52ae9f4bfb186ae1996d8ffa2fff5b28d9a9dcb2f5ceffbf(
1193
+ props: typing.Mapping[builtins.str, typing.Any],
1194
+ ) -> None:
1195
+ """Type checking stubs"""
1196
+ pass
1197
+
1198
+ def _typecheckingstub__02aa05d5cab2ed92674dea9fe8bfd20781091f494e9c3e3da3e1cedb24710ade(
1199
+ value: builtins.str,
1200
+ ) -> None:
1201
+ """Type checking stubs"""
1202
+ pass
1203
+
1204
+ def _typecheckingstub__6b2d69598efa0d97ebfbcf163b7e00dfefacab9bb759efc23a009243fcbc29fc(
1205
+ value: builtins.str,
1206
+ ) -> None:
1207
+ """Type checking stubs"""
1208
+ pass
1209
+
1210
+ def _typecheckingstub__3df32ecb43a8f1e94c1f975e24a79631c45fd6739c1d7bea0e44c5c169b5137c(
1211
+ *,
1212
+ arn: builtins.str,
1213
+ notification_configuration_arn: builtins.str,
1214
+ ) -> None:
1215
+ """Type checking stubs"""
1216
+ pass
1217
+
1218
+ def _typecheckingstub__ec202e2ad7890be955535389c490f73db69e1ae4c0e2b9af79f33a0bb4e4dd47(
1219
+ scope: _constructs_77d1e7e8.Construct,
1220
+ id: builtins.str,
1221
+ *,
1222
+ event_type: builtins.str,
1223
+ notification_configuration_arn: builtins.str,
1224
+ regions: typing.Sequence[builtins.str],
1225
+ source: builtins.str,
1226
+ event_pattern: typing.Optional[builtins.str] = None,
1227
+ ) -> None:
1228
+ """Type checking stubs"""
1229
+ pass
1230
+
1231
+ def _typecheckingstub__7c5fa74e0d9c81586c85ebd06110e66abfa6f3eca8a5c7b89fcce4d070b434dd(
1232
+ inspector: _TreeInspector_488e0dd5,
1233
+ ) -> None:
1234
+ """Type checking stubs"""
1235
+ pass
1236
+
1237
+ def _typecheckingstub__ed227bd8ca507740b963532ef2c249c436e3f1a0953bcfbfccc5dd84abff63b2(
1238
+ props: typing.Mapping[builtins.str, typing.Any],
1239
+ ) -> None:
1240
+ """Type checking stubs"""
1241
+ pass
1242
+
1243
+ def _typecheckingstub__81d1b153a0905b2c5814e482bb87c0a8b11d3eff5d9c870657097be4c79e4804(
1244
+ value: builtins.str,
1245
+ ) -> None:
1246
+ """Type checking stubs"""
1247
+ pass
1248
+
1249
+ def _typecheckingstub__6f6731a75b69e9828e94cd56f13e2484ab994f7e17e1fb8ce1e0518eb23853cf(
1250
+ value: builtins.str,
1251
+ ) -> None:
1252
+ """Type checking stubs"""
1253
+ pass
1254
+
1255
+ def _typecheckingstub__89531f65574302c5ac9ea674da6b36a9b39096ba5050cb8e7e2a0da2b5d03e67(
1256
+ value: typing.List[builtins.str],
1257
+ ) -> None:
1258
+ """Type checking stubs"""
1259
+ pass
1260
+
1261
+ def _typecheckingstub__d5f84ae06950218222a75646d0393c6dc744540c903f93356dc4cc8b58b9454b(
1262
+ value: builtins.str,
1263
+ ) -> None:
1264
+ """Type checking stubs"""
1265
+ pass
1266
+
1267
+ def _typecheckingstub__9c9ba9ceb13f4bbb20d1fdcbc4db9f3bbd193000353fb7d213848faaf0dacf8d(
1268
+ value: typing.Optional[builtins.str],
1269
+ ) -> None:
1270
+ """Type checking stubs"""
1271
+ pass
1272
+
1273
+ def _typecheckingstub__0862e7de7e4f6b1de2036652d175c4ef1949f04dadc360833e7e4899191d6fea(
1274
+ *,
1275
+ reason: builtins.str,
1276
+ status: builtins.str,
1277
+ ) -> None:
1278
+ """Type checking stubs"""
1279
+ pass
1280
+
1281
+ def _typecheckingstub__9518b7cf584ffb7ba5a4fb79f7584397ea33a005b8aebaa07c3bc5e5dc33bddb(
1282
+ *,
1283
+ event_type: builtins.str,
1284
+ notification_configuration_arn: builtins.str,
1285
+ regions: typing.Sequence[builtins.str],
1286
+ source: builtins.str,
1287
+ event_pattern: typing.Optional[builtins.str] = None,
1288
+ ) -> None:
1289
+ """Type checking stubs"""
1290
+ pass
1291
+
1292
+ def _typecheckingstub__e5a1cf31f790937b5967ad78a42e8a6c98b04b21643bfcdd379cabb7f43b17f1(
1293
+ scope: _constructs_77d1e7e8.Construct,
1294
+ id: builtins.str,
1295
+ *,
1296
+ description: builtins.str,
1297
+ name: builtins.str,
1298
+ aggregation_duration: typing.Optional[builtins.str] = None,
1299
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1300
+ ) -> None:
1301
+ """Type checking stubs"""
1302
+ pass
1303
+
1304
+ def _typecheckingstub__99c4c6bcfdad64190a4b003dd211cb1c28e0aed4b082d0cef3b986b4d46b4d0d(
1305
+ inspector: _TreeInspector_488e0dd5,
1306
+ ) -> None:
1307
+ """Type checking stubs"""
1308
+ pass
1309
+
1310
+ def _typecheckingstub__ed80b7239a03619bfe17128260c1ef875a0004bef6f44982a06bac0ca7dd24dd(
1311
+ props: typing.Mapping[builtins.str, typing.Any],
1312
+ ) -> None:
1313
+ """Type checking stubs"""
1314
+ pass
1315
+
1316
+ def _typecheckingstub__3b56129db1bc5e2b088f2e953b3a5cadd65fbae6a6d2e9bff79548baba4e1c65(
1317
+ value: builtins.str,
1318
+ ) -> None:
1319
+ """Type checking stubs"""
1320
+ pass
1321
+
1322
+ def _typecheckingstub__71e66aa92e41cd8989cfdac8332aacd83371fe96d00b1cfb8e4f8f6c74bdeefc(
1323
+ value: builtins.str,
1324
+ ) -> None:
1325
+ """Type checking stubs"""
1326
+ pass
1327
+
1328
+ def _typecheckingstub__ce9aa4a245c055d6b2e72d9ea7585d89b52c50836000693cef5f09365372734c(
1329
+ value: typing.Optional[builtins.str],
1330
+ ) -> None:
1331
+ """Type checking stubs"""
1332
+ pass
1333
+
1334
+ def _typecheckingstub__d80fd02377dda29814fae801cf32c8200e2aa5b9ff4b7440916ad6d4efbeb00b(
1335
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
1336
+ ) -> None:
1337
+ """Type checking stubs"""
1338
+ pass
1339
+
1340
+ def _typecheckingstub__2533f954a13ead8ba0e86dbad3d4401450ff85451a17c80b370344cb112ae478(
1341
+ *,
1342
+ description: builtins.str,
1343
+ name: builtins.str,
1344
+ aggregation_duration: typing.Optional[builtins.str] = None,
1345
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1346
+ ) -> None:
1347
+ """Type checking stubs"""
1348
+ pass
1349
+
1350
+ def _typecheckingstub__68d72929c95357a15821df7d24b28076913c2c16ae8caa651de92ab7110ee545(
1351
+ scope: _constructs_77d1e7e8.Construct,
1352
+ id: builtins.str,
1353
+ *,
1354
+ region: builtins.str,
1355
+ ) -> None:
1356
+ """Type checking stubs"""
1357
+ pass
1358
+
1359
+ def _typecheckingstub__567dd116772fd10bcdaf956ec536dc5810b4f3cc3f16ccd9a9d86db8519bb2ad(
1360
+ inspector: _TreeInspector_488e0dd5,
1361
+ ) -> None:
1362
+ """Type checking stubs"""
1363
+ pass
1364
+
1365
+ def _typecheckingstub__8cdcacace93e52a000661ec6fb6dc815044c226939c4984a920cbeabbad2c65d(
1366
+ props: typing.Mapping[builtins.str, typing.Any],
1367
+ ) -> None:
1368
+ """Type checking stubs"""
1369
+ pass
1370
+
1371
+ def _typecheckingstub__865411d5534fe323b415ed4cf0f3a74893e03d33d1ae33e8d515a71e49d41f82(
1372
+ value: builtins.str,
1373
+ ) -> None:
1374
+ """Type checking stubs"""
1375
+ pass
1376
+
1377
+ def _typecheckingstub__8aa8a0cc3749f69e28b77cefd47fc05557b9a1869a97350b92cdcb9f3438b543(
1378
+ *,
1379
+ notification_hub_status: builtins.str,
1380
+ notification_hub_status_reason: builtins.str,
1381
+ ) -> None:
1382
+ """Type checking stubs"""
1383
+ pass
1384
+
1385
+ def _typecheckingstub__920924baa84f6463cdd237bcaa739a631a79dad627c4370064c68f1de8c3c630(
1386
+ *,
1387
+ region: builtins.str,
1388
+ ) -> None:
1389
+ """Type checking stubs"""
1390
+ pass