aws-cdk-lib 2.218.0__py3-none-any.whl → 2.220.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 (65) hide show
  1. aws_cdk/__init__.py +31 -36
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.218.0.jsii.tgz → aws-cdk-lib@2.220.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +98 -87
  5. aws_cdk/aws_apigateway/__init__.py +39 -0
  6. aws_cdk/aws_applicationsignals/__init__.py +450 -2
  7. aws_cdk/aws_arcregionswitch/__init__.py +8 -0
  8. aws_cdk/aws_backup/__init__.py +29 -0
  9. aws_cdk/aws_batch/__init__.py +109 -7
  10. aws_cdk/aws_bcmdataexports/__init__.py +9 -0
  11. aws_cdk/aws_bedrock/__init__.py +384 -1
  12. aws_cdk/aws_bedrockagentcore/__init__.py +7862 -1568
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +4 -0
  14. aws_cdk/aws_cloudfront_origins/__init__.py +87 -6
  15. aws_cdk/aws_cloudwatch/__init__.py +5 -5
  16. aws_cdk/aws_codebuild/__init__.py +339 -62
  17. aws_cdk/aws_cognito/__init__.py +6 -4
  18. aws_cdk/aws_connect/__init__.py +9 -9
  19. aws_cdk/aws_cur/__init__.py +5 -3
  20. aws_cdk/aws_datasync/__init__.py +44 -22
  21. aws_cdk/aws_datazone/__init__.py +35 -33
  22. aws_cdk/aws_dax/__init__.py +12 -3
  23. aws_cdk/aws_dms/__init__.py +3 -5
  24. aws_cdk/aws_ec2/__init__.py +2721 -30
  25. aws_cdk/aws_ecs/__init__.py +2900 -90
  26. aws_cdk/aws_eks/__init__.py +114 -9
  27. aws_cdk/aws_entityresolution/__init__.py +18 -0
  28. aws_cdk/aws_fsx/__init__.py +4 -4
  29. aws_cdk/aws_greengrassv2/__init__.py +29 -0
  30. aws_cdk/aws_imagebuilder/__init__.py +397 -0
  31. aws_cdk/aws_iotsitewise/__init__.py +136 -80
  32. aws_cdk/aws_kinesis/__init__.py +95 -4
  33. aws_cdk/aws_lambda/__init__.py +43 -0
  34. aws_cdk/aws_lightsail/__init__.py +584 -0
  35. aws_cdk/aws_logs/__init__.py +57 -0
  36. aws_cdk/aws_lookoutmetrics/__init__.py +14 -2
  37. aws_cdk/aws_m2/__init__.py +59 -13
  38. aws_cdk/aws_medialive/__init__.py +108 -0
  39. aws_cdk/aws_msk/__init__.py +4 -2
  40. aws_cdk/aws_mwaa/__init__.py +5 -5
  41. aws_cdk/aws_neptune/__init__.py +133 -70
  42. aws_cdk/aws_networkfirewall/__init__.py +6 -2
  43. aws_cdk/aws_networkmanager/__init__.py +29 -0
  44. aws_cdk/aws_observabilityadmin/__init__.py +1227 -83
  45. aws_cdk/aws_omics/__init__.py +7 -1
  46. aws_cdk/aws_opensearchservice/__init__.py +64 -0
  47. aws_cdk/aws_opsworkscm/__init__.py +0 -29
  48. aws_cdk/aws_pcs/__init__.py +224 -33
  49. aws_cdk/aws_pinpoint/__init__.py +58 -0
  50. aws_cdk/aws_quicksight/__init__.py +118 -0
  51. aws_cdk/aws_rds/__init__.py +62 -37
  52. aws_cdk/aws_refactorspaces/__init__.py +18 -6
  53. aws_cdk/aws_route53/__init__.py +138 -8
  54. aws_cdk/aws_s3/__init__.py +29 -2
  55. aws_cdk/aws_s3objectlambda/__init__.py +44 -12
  56. aws_cdk/aws_servicecatalog/__init__.py +103 -106
  57. aws_cdk/aws_smsvoice/__init__.py +319 -0
  58. aws_cdk/aws_ssmquicksetup/__init__.py +3 -3
  59. aws_cdk/aws_synthetics/__init__.py +21 -1
  60. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/METADATA +2 -2
  61. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/RECORD +65 -65
  62. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/LICENSE +0 -0
  63. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/NOTICE +0 -0
  64. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/WHEEL +0 -0
  65. {aws_cdk_lib-2.218.0.dist-info → aws_cdk_lib-2.220.0.dist-info}/top_level.txt +0 -0
@@ -69,6 +69,7 @@ from .. import (
69
69
  IInspectable as _IInspectable_c2943556,
70
70
  IResolvable as _IResolvable_da3f097b,
71
71
  ITaggable as _ITaggable_36806126,
72
+ ITaggableV2 as _ITaggableV2_4e6798f8,
72
73
  TagManager as _TagManager_0a598cb3,
73
74
  TreeInspector as _TreeInspector_488e0dd5,
74
75
  )
@@ -1235,33 +1236,36 @@ class CfnDBSubnetGroupProps:
1235
1236
  jsii_type="aws-cdk-lib.aws_neptune.CfnEventSubscriptionProps",
1236
1237
  jsii_struct_bases=[],
1237
1238
  name_mapping={
1239
+ "sns_topic_arn": "snsTopicArn",
1238
1240
  "enabled": "enabled",
1239
1241
  "event_categories": "eventCategories",
1240
- "sns_topic_arn": "snsTopicArn",
1241
1242
  "source_ids": "sourceIds",
1242
1243
  "source_type": "sourceType",
1243
1244
  "subscription_name": "subscriptionName",
1245
+ "tags": "tags",
1244
1246
  },
1245
1247
  )
1246
1248
  class CfnEventSubscriptionProps:
1247
1249
  def __init__(
1248
1250
  self,
1249
1251
  *,
1252
+ sns_topic_arn: builtins.str,
1250
1253
  enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1251
1254
  event_categories: typing.Optional[typing.Sequence[builtins.str]] = None,
1252
- sns_topic_arn: typing.Optional[builtins.str] = None,
1253
1255
  source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
1254
1256
  source_type: typing.Optional[builtins.str] = None,
1255
1257
  subscription_name: typing.Optional[builtins.str] = None,
1258
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1256
1259
  ) -> None:
1257
1260
  '''Properties for defining a ``CfnEventSubscription``.
1258
1261
 
1259
- :param enabled: A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
1260
- :param event_categories:
1261
1262
  :param sns_topic_arn: The topic ARN of the event notification subscription.
1262
- :param source_ids:
1263
+ :param enabled: A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled. Default: - true
1264
+ :param event_categories: A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon Neptune User Guide or by using the DescribeEventCategories action.
1265
+ :param source_ids: The list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
1263
1266
  :param source_type: The source type for the event notification subscription.
1264
- :param subscription_name:
1267
+ :param subscription_name: The name of the subscription.
1268
+ :param tags: An array of key-value pairs to apply to this resource.
1265
1269
 
1266
1270
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html
1267
1271
  :exampleMetadata: fixture=_generated
@@ -1273,35 +1277,54 @@ class CfnEventSubscriptionProps:
1273
1277
  from aws_cdk import aws_neptune as neptune
1274
1278
 
1275
1279
  cfn_event_subscription_props = neptune.CfnEventSubscriptionProps(
1280
+ sns_topic_arn="snsTopicArn",
1281
+
1282
+ # the properties below are optional
1276
1283
  enabled=False,
1277
1284
  event_categories=["eventCategories"],
1278
- sns_topic_arn="snsTopicArn",
1279
1285
  source_ids=["sourceIds"],
1280
1286
  source_type="sourceType",
1281
- subscription_name="subscriptionName"
1287
+ subscription_name="subscriptionName",
1288
+ tags=[CfnTag(
1289
+ key="key",
1290
+ value="value"
1291
+ )]
1282
1292
  )
1283
1293
  '''
1284
1294
  if __debug__:
1285
1295
  type_hints = typing.get_type_hints(_typecheckingstub__be12afbc64d35614ba28986fc60eff385d7080e57aabefaff50d73a28f572237)
1296
+ check_type(argname="argument sns_topic_arn", value=sns_topic_arn, expected_type=type_hints["sns_topic_arn"])
1286
1297
  check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
1287
1298
  check_type(argname="argument event_categories", value=event_categories, expected_type=type_hints["event_categories"])
1288
- check_type(argname="argument sns_topic_arn", value=sns_topic_arn, expected_type=type_hints["sns_topic_arn"])
1289
1299
  check_type(argname="argument source_ids", value=source_ids, expected_type=type_hints["source_ids"])
1290
1300
  check_type(argname="argument source_type", value=source_type, expected_type=type_hints["source_type"])
1291
1301
  check_type(argname="argument subscription_name", value=subscription_name, expected_type=type_hints["subscription_name"])
1292
- self._values: typing.Dict[builtins.str, typing.Any] = {}
1302
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1303
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1304
+ "sns_topic_arn": sns_topic_arn,
1305
+ }
1293
1306
  if enabled is not None:
1294
1307
  self._values["enabled"] = enabled
1295
1308
  if event_categories is not None:
1296
1309
  self._values["event_categories"] = event_categories
1297
- if sns_topic_arn is not None:
1298
- self._values["sns_topic_arn"] = sns_topic_arn
1299
1310
  if source_ids is not None:
1300
1311
  self._values["source_ids"] = source_ids
1301
1312
  if source_type is not None:
1302
1313
  self._values["source_type"] = source_type
1303
1314
  if subscription_name is not None:
1304
1315
  self._values["subscription_name"] = subscription_name
1316
+ if tags is not None:
1317
+ self._values["tags"] = tags
1318
+
1319
+ @builtins.property
1320
+ def sns_topic_arn(self) -> builtins.str:
1321
+ '''The topic ARN of the event notification subscription.
1322
+
1323
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-snstopicarn
1324
+ '''
1325
+ result = self._values.get("sns_topic_arn")
1326
+ assert result is not None, "Required property 'sns_topic_arn' is missing"
1327
+ return typing.cast(builtins.str, result)
1305
1328
 
1306
1329
  @builtins.property
1307
1330
  def enabled(
@@ -1311,6 +1334,8 @@ class CfnEventSubscriptionProps:
1311
1334
 
1312
1335
  True indicates the subscription is enabled.
1313
1336
 
1337
+ :default: - true
1338
+
1314
1339
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-enabled
1315
1340
  '''
1316
1341
  result = self._values.get("enabled")
@@ -1318,24 +1343,21 @@ class CfnEventSubscriptionProps:
1318
1343
 
1319
1344
  @builtins.property
1320
1345
  def event_categories(self) -> typing.Optional[typing.List[builtins.str]]:
1321
- '''
1346
+ '''A list of event categories for a SourceType that you want to subscribe to.
1347
+
1348
+ You can see a list of the categories for a given SourceType in the Events topic in the Amazon Neptune User Guide or by using the DescribeEventCategories action.
1349
+
1322
1350
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-eventcategories
1323
1351
  '''
1324
1352
  result = self._values.get("event_categories")
1325
1353
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
1326
1354
 
1327
1355
  @builtins.property
1328
- def sns_topic_arn(self) -> typing.Optional[builtins.str]:
1329
- '''The topic ARN of the event notification subscription.
1356
+ def source_ids(self) -> typing.Optional[typing.List[builtins.str]]:
1357
+ '''The list of identifiers of the event sources for which events will be returned.
1330
1358
 
1331
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-snstopicarn
1332
- '''
1333
- result = self._values.get("sns_topic_arn")
1334
- return typing.cast(typing.Optional[builtins.str], result)
1359
+ If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
1335
1360
 
1336
- @builtins.property
1337
- def source_ids(self) -> typing.Optional[typing.List[builtins.str]]:
1338
- '''
1339
1361
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-sourceids
1340
1362
  '''
1341
1363
  result = self._values.get("source_ids")
@@ -1352,12 +1374,22 @@ class CfnEventSubscriptionProps:
1352
1374
 
1353
1375
  @builtins.property
1354
1376
  def subscription_name(self) -> typing.Optional[builtins.str]:
1355
- '''
1377
+ '''The name of the subscription.
1378
+
1356
1379
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-subscriptionname
1357
1380
  '''
1358
1381
  result = self._values.get("subscription_name")
1359
1382
  return typing.cast(typing.Optional[builtins.str], result)
1360
1383
 
1384
+ @builtins.property
1385
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1386
+ '''An array of key-value pairs to apply to this resource.
1387
+
1388
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-neptune-eventsubscription.html#cfn-neptune-eventsubscription-tags
1389
+ '''
1390
+ result = self._values.get("tags")
1391
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
1392
+
1361
1393
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1362
1394
  return isinstance(rhs, self.__class__) and rhs._values == self._values
1363
1395
 
@@ -1618,13 +1650,13 @@ class DBSubnetGroupReference:
1618
1650
  @jsii.data_type(
1619
1651
  jsii_type="aws-cdk-lib.aws_neptune.EventSubscriptionReference",
1620
1652
  jsii_struct_bases=[],
1621
- name_mapping={"event_subscription_id": "eventSubscriptionId"},
1653
+ name_mapping={"subscription_name": "subscriptionName"},
1622
1654
  )
1623
1655
  class EventSubscriptionReference:
1624
- def __init__(self, *, event_subscription_id: builtins.str) -> None:
1656
+ def __init__(self, *, subscription_name: builtins.str) -> None:
1625
1657
  '''A reference to a EventSubscription resource.
1626
1658
 
1627
- :param event_subscription_id: The Id of the EventSubscription resource.
1659
+ :param subscription_name: The SubscriptionName of the EventSubscription resource.
1628
1660
 
1629
1661
  :exampleMetadata: fixture=_generated
1630
1662
 
@@ -1635,21 +1667,21 @@ class EventSubscriptionReference:
1635
1667
  from aws_cdk import aws_neptune as neptune
1636
1668
 
1637
1669
  event_subscription_reference = neptune.EventSubscriptionReference(
1638
- event_subscription_id="eventSubscriptionId"
1670
+ subscription_name="subscriptionName"
1639
1671
  )
1640
1672
  '''
1641
1673
  if __debug__:
1642
1674
  type_hints = typing.get_type_hints(_typecheckingstub__82b5674c3fe56fb8b208f294a807c06b9f34ac1ed903e1591540674a53b02cdb)
1643
- check_type(argname="argument event_subscription_id", value=event_subscription_id, expected_type=type_hints["event_subscription_id"])
1675
+ check_type(argname="argument subscription_name", value=subscription_name, expected_type=type_hints["subscription_name"])
1644
1676
  self._values: typing.Dict[builtins.str, typing.Any] = {
1645
- "event_subscription_id": event_subscription_id,
1677
+ "subscription_name": subscription_name,
1646
1678
  }
1647
1679
 
1648
1680
  @builtins.property
1649
- def event_subscription_id(self) -> builtins.str:
1650
- '''The Id of the EventSubscription resource.'''
1651
- result = self._values.get("event_subscription_id")
1652
- assert result is not None, "Required property 'event_subscription_id' is missing"
1681
+ def subscription_name(self) -> builtins.str:
1682
+ '''The SubscriptionName of the EventSubscription resource.'''
1683
+ result = self._values.get("subscription_name")
1684
+ assert result is not None, "Required property 'subscription_name' is missing"
1653
1685
  return typing.cast(builtins.str, result)
1654
1686
 
1655
1687
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
@@ -3579,7 +3611,7 @@ class CfnDBSubnetGroup(
3579
3611
  jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
3580
3612
 
3581
3613
 
3582
- @jsii.implements(_IInspectable_c2943556, IEventSubscriptionRef)
3614
+ @jsii.implements(_IInspectable_c2943556, IEventSubscriptionRef, _ITaggableV2_4e6798f8)
3583
3615
  class CfnEventSubscription(
3584
3616
  _CfnResource_9df397a6,
3585
3617
  metaclass=jsii.JSIIMeta,
@@ -3604,12 +3636,18 @@ class CfnEventSubscription(
3604
3636
  from aws_cdk import aws_neptune as neptune
3605
3637
 
3606
3638
  cfn_event_subscription = neptune.CfnEventSubscription(self, "MyCfnEventSubscription",
3639
+ sns_topic_arn="snsTopicArn",
3640
+
3641
+ # the properties below are optional
3607
3642
  enabled=False,
3608
3643
  event_categories=["eventCategories"],
3609
- sns_topic_arn="snsTopicArn",
3610
3644
  source_ids=["sourceIds"],
3611
3645
  source_type="sourceType",
3612
- subscription_name="subscriptionName"
3646
+ subscription_name="subscriptionName",
3647
+ tags=[CfnTag(
3648
+ key="key",
3649
+ value="value"
3650
+ )]
3613
3651
  )
3614
3652
  '''
3615
3653
 
@@ -3618,34 +3656,37 @@ class CfnEventSubscription(
3618
3656
  scope: _constructs_77d1e7e8.Construct,
3619
3657
  id: builtins.str,
3620
3658
  *,
3659
+ sns_topic_arn: builtins.str,
3621
3660
  enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3622
3661
  event_categories: typing.Optional[typing.Sequence[builtins.str]] = None,
3623
- sns_topic_arn: typing.Optional[builtins.str] = None,
3624
3662
  source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3625
3663
  source_type: typing.Optional[builtins.str] = None,
3626
3664
  subscription_name: typing.Optional[builtins.str] = None,
3665
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3627
3666
  ) -> None:
3628
3667
  '''
3629
3668
  :param scope: Scope in which this resource is defined.
3630
3669
  :param id: Construct identifier for this resource (unique in its scope).
3631
- :param enabled: A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.
3632
- :param event_categories:
3633
3670
  :param sns_topic_arn: The topic ARN of the event notification subscription.
3634
- :param source_ids:
3671
+ :param enabled: A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled. Default: - true
3672
+ :param event_categories: A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType in the Events topic in the Amazon Neptune User Guide or by using the DescribeEventCategories action.
3673
+ :param source_ids: The list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it cannot end with a hyphen or contain two consecutive hyphens.
3635
3674
  :param source_type: The source type for the event notification subscription.
3636
- :param subscription_name:
3675
+ :param subscription_name: The name of the subscription.
3676
+ :param tags: An array of key-value pairs to apply to this resource.
3637
3677
  '''
3638
3678
  if __debug__:
3639
3679
  type_hints = typing.get_type_hints(_typecheckingstub__4853d81bb6e17fc63404c1d9d1bd303b3e043850ca95ab4456a810f0cc64fe78)
3640
3680
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3641
3681
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3642
3682
  props = CfnEventSubscriptionProps(
3683
+ sns_topic_arn=sns_topic_arn,
3643
3684
  enabled=enabled,
3644
3685
  event_categories=event_categories,
3645
- sns_topic_arn=sns_topic_arn,
3646
3686
  source_ids=source_ids,
3647
3687
  source_type=source_type,
3648
3688
  subscription_name=subscription_name,
3689
+ tags=tags,
3649
3690
  )
3650
3691
 
3651
3692
  jsii.create(self.__class__, self, [scope, id, props])
@@ -3681,12 +3722,10 @@ class CfnEventSubscription(
3681
3722
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
3682
3723
 
3683
3724
  @builtins.property
3684
- @jsii.member(jsii_name="attrId")
3685
- def attr_id(self) -> builtins.str:
3686
- '''
3687
- :cloudformationAttribute: Id
3688
- '''
3689
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
3725
+ @jsii.member(jsii_name="cdkTagManager")
3726
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
3727
+ '''Tag Manager which manages the tags for this resource.'''
3728
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
3690
3729
 
3691
3730
  @builtins.property
3692
3731
  @jsii.member(jsii_name="cfnProperties")
@@ -3699,6 +3738,19 @@ class CfnEventSubscription(
3699
3738
  '''A reference to a EventSubscription resource.'''
3700
3739
  return typing.cast(EventSubscriptionReference, jsii.get(self, "eventSubscriptionRef"))
3701
3740
 
3741
+ @builtins.property
3742
+ @jsii.member(jsii_name="snsTopicArn")
3743
+ def sns_topic_arn(self) -> builtins.str:
3744
+ '''The topic ARN of the event notification subscription.'''
3745
+ return typing.cast(builtins.str, jsii.get(self, "snsTopicArn"))
3746
+
3747
+ @sns_topic_arn.setter
3748
+ def sns_topic_arn(self, value: builtins.str) -> None:
3749
+ if __debug__:
3750
+ type_hints = typing.get_type_hints(_typecheckingstub__52fb458cc4803abc3d472f5ca4edf22c2f9a84d5d6055ac52d01dea8a313e013)
3751
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3752
+ jsii.set(self, "snsTopicArn", value) # pyright: ignore[reportArgumentType]
3753
+
3702
3754
  @builtins.property
3703
3755
  @jsii.member(jsii_name="enabled")
3704
3756
  def enabled(
@@ -3720,6 +3772,7 @@ class CfnEventSubscription(
3720
3772
  @builtins.property
3721
3773
  @jsii.member(jsii_name="eventCategories")
3722
3774
  def event_categories(self) -> typing.Optional[typing.List[builtins.str]]:
3775
+ '''A list of event categories for a SourceType that you want to subscribe to.'''
3723
3776
  return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "eventCategories"))
3724
3777
 
3725
3778
  @event_categories.setter
@@ -3732,22 +3785,10 @@ class CfnEventSubscription(
3732
3785
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3733
3786
  jsii.set(self, "eventCategories", value) # pyright: ignore[reportArgumentType]
3734
3787
 
3735
- @builtins.property
3736
- @jsii.member(jsii_name="snsTopicArn")
3737
- def sns_topic_arn(self) -> typing.Optional[builtins.str]:
3738
- '''The topic ARN of the event notification subscription.'''
3739
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "snsTopicArn"))
3740
-
3741
- @sns_topic_arn.setter
3742
- def sns_topic_arn(self, value: typing.Optional[builtins.str]) -> None:
3743
- if __debug__:
3744
- type_hints = typing.get_type_hints(_typecheckingstub__52fb458cc4803abc3d472f5ca4edf22c2f9a84d5d6055ac52d01dea8a313e013)
3745
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3746
- jsii.set(self, "snsTopicArn", value) # pyright: ignore[reportArgumentType]
3747
-
3748
3788
  @builtins.property
3749
3789
  @jsii.member(jsii_name="sourceIds")
3750
3790
  def source_ids(self) -> typing.Optional[typing.List[builtins.str]]:
3791
+ '''The list of identifiers of the event sources for which events will be returned.'''
3751
3792
  return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "sourceIds"))
3752
3793
 
3753
3794
  @source_ids.setter
@@ -3773,6 +3814,7 @@ class CfnEventSubscription(
3773
3814
  @builtins.property
3774
3815
  @jsii.member(jsii_name="subscriptionName")
3775
3816
  def subscription_name(self) -> typing.Optional[builtins.str]:
3817
+ '''The name of the subscription.'''
3776
3818
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "subscriptionName"))
3777
3819
 
3778
3820
  @subscription_name.setter
@@ -3782,6 +3824,19 @@ class CfnEventSubscription(
3782
3824
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3783
3825
  jsii.set(self, "subscriptionName", value) # pyright: ignore[reportArgumentType]
3784
3826
 
3827
+ @builtins.property
3828
+ @jsii.member(jsii_name="tags")
3829
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
3830
+ '''An array of key-value pairs to apply to this resource.'''
3831
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
3832
+
3833
+ @tags.setter
3834
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
3835
+ if __debug__:
3836
+ type_hints = typing.get_type_hints(_typecheckingstub__1a2214e33715f7b8a810325132d1442eca1b2f768a72caf683442503561e8b4c)
3837
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3838
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
3839
+
3785
3840
 
3786
3841
  __all__ = [
3787
3842
  "CfnDBCluster",
@@ -3894,12 +3949,13 @@ def _typecheckingstub__82ebea6599fb4b541844cf24f7d771410b52af442a682c2ccec51eabe
3894
3949
 
3895
3950
  def _typecheckingstub__be12afbc64d35614ba28986fc60eff385d7080e57aabefaff50d73a28f572237(
3896
3951
  *,
3952
+ sns_topic_arn: builtins.str,
3897
3953
  enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
3898
3954
  event_categories: typing.Optional[typing.Sequence[builtins.str]] = None,
3899
- sns_topic_arn: typing.Optional[builtins.str] = None,
3900
3955
  source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
3901
3956
  source_type: typing.Optional[builtins.str] = None,
3902
3957
  subscription_name: typing.Optional[builtins.str] = None,
3958
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3903
3959
  ) -> None:
3904
3960
  """Type checking stubs"""
3905
3961
  pass
@@ -3941,7 +3997,7 @@ def _typecheckingstub__11cc2e22e338c9dcf751a93d0dfba7f8355a95ed3b014cdbdf09696ce
3941
3997
 
3942
3998
  def _typecheckingstub__82b5674c3fe56fb8b208f294a807c06b9f34ac1ed903e1591540674a53b02cdb(
3943
3999
  *,
3944
- event_subscription_id: builtins.str,
4000
+ subscription_name: builtins.str,
3945
4001
  ) -> None:
3946
4002
  """Type checking stubs"""
3947
4003
  pass
@@ -4416,12 +4472,13 @@ def _typecheckingstub__4853d81bb6e17fc63404c1d9d1bd303b3e043850ca95ab4456a810f0c
4416
4472
  scope: _constructs_77d1e7e8.Construct,
4417
4473
  id: builtins.str,
4418
4474
  *,
4475
+ sns_topic_arn: builtins.str,
4419
4476
  enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4420
4477
  event_categories: typing.Optional[typing.Sequence[builtins.str]] = None,
4421
- sns_topic_arn: typing.Optional[builtins.str] = None,
4422
4478
  source_ids: typing.Optional[typing.Sequence[builtins.str]] = None,
4423
4479
  source_type: typing.Optional[builtins.str] = None,
4424
4480
  subscription_name: typing.Optional[builtins.str] = None,
4481
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4425
4482
  ) -> None:
4426
4483
  """Type checking stubs"""
4427
4484
  pass
@@ -4438,20 +4495,20 @@ def _typecheckingstub__1019778da33af7ffea07d0dcfdddf9f4e6bab96359db115e025cbeb9f
4438
4495
  """Type checking stubs"""
4439
4496
  pass
4440
4497
 
4441
- def _typecheckingstub__2ef5fdcd4988a6fa95d4be96d80a0234938bc2612ec11dbfcc406afee49f7d89(
4442
- value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
4498
+ def _typecheckingstub__52fb458cc4803abc3d472f5ca4edf22c2f9a84d5d6055ac52d01dea8a313e013(
4499
+ value: builtins.str,
4443
4500
  ) -> None:
4444
4501
  """Type checking stubs"""
4445
4502
  pass
4446
4503
 
4447
- def _typecheckingstub__111e4034140f86ff26410f58eebe254ec0df2120150f6443532c2f1053082699(
4448
- value: typing.Optional[typing.List[builtins.str]],
4504
+ def _typecheckingstub__2ef5fdcd4988a6fa95d4be96d80a0234938bc2612ec11dbfcc406afee49f7d89(
4505
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
4449
4506
  ) -> None:
4450
4507
  """Type checking stubs"""
4451
4508
  pass
4452
4509
 
4453
- def _typecheckingstub__52fb458cc4803abc3d472f5ca4edf22c2f9a84d5d6055ac52d01dea8a313e013(
4454
- value: typing.Optional[builtins.str],
4510
+ def _typecheckingstub__111e4034140f86ff26410f58eebe254ec0df2120150f6443532c2f1053082699(
4511
+ value: typing.Optional[typing.List[builtins.str]],
4455
4512
  ) -> None:
4456
4513
  """Type checking stubs"""
4457
4514
  pass
@@ -4473,3 +4530,9 @@ def _typecheckingstub__093da317650d77ec45933024165e4f9a2676b7fdeca4b47386fba06b2
4473
4530
  ) -> None:
4474
4531
  """Type checking stubs"""
4475
4532
  pass
4533
+
4534
+ def _typecheckingstub__1a2214e33715f7b8a810325132d1442eca1b2f768a72caf683442503561e8b4c(
4535
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
4536
+ ) -> None:
4537
+ """Type checking stubs"""
4538
+ pass
@@ -5795,7 +5795,7 @@ class CfnRuleGroup(
5795
5795
 
5796
5796
  By default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the ``HOME_NET`` rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see ``RuleVariables`` in this guide and `Stateful domain list rule groups in AWS Network Firewall <https://docs.aws.amazon.com/network-firewall/latest/developerguide/stateful-rule-groups-domain-names.html>`_ in the *Network Firewall Developer Guide*
5797
5797
 
5798
- :param generated_rules_type: Whether you want to allow or deny access to the domains in your target list.
5798
+ :param generated_rules_type: Whether you want to apply allow, reject, alert, or drop behavior to the domains in your target list. .. epigraph:: When logging is enabled and you choose Alert, traffic that matches the domain specifications generates an alert in the firewall's logs. Then, traffic either passes, is rejected, or drops based on other rules in the firewall policy.
5799
5799
  :param targets: The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:. - Explicit names. For example, ``abc.example.com`` matches only the domain ``abc.example.com`` . - Names that use a domain wildcard, which you indicate with an initial ' ``.`` '. For example, ``.example.com`` matches ``example.com`` and matches all subdomains of ``example.com`` , such as ``abc.example.com`` and ``www.example.com`` .
5800
5800
  :param target_types: The types of targets to inspect for. Valid values are ``TLS_SNI`` and ``HTTP_HOST`` .
5801
5801
 
@@ -5827,7 +5827,11 @@ class CfnRuleGroup(
5827
5827
 
5828
5828
  @builtins.property
5829
5829
  def generated_rules_type(self) -> builtins.str:
5830
- '''Whether you want to allow or deny access to the domains in your target list.
5830
+ '''Whether you want to apply allow, reject, alert, or drop behavior to the domains in your target list.
5831
+
5832
+ .. epigraph::
5833
+
5834
+ When logging is enabled and you choose Alert, traffic that matches the domain specifications generates an alert in the firewall's logs. Then, traffic either passes, is rejected, or drops based on other rules in the firewall policy.
5831
5835
 
5832
5836
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-rulessourcelist.html#cfn-networkfirewall-rulegroup-rulessourcelist-generatedrulestype
5833
5837
  '''
@@ -3909,6 +3909,27 @@ class CfnConnectAttachment(
3909
3909
 
3910
3910
  jsii.create(self.__class__, self, [scope, id, props])
3911
3911
 
3912
+ @jsii.member(jsii_name="fromAttachmentId")
3913
+ @builtins.classmethod
3914
+ def from_attachment_id(
3915
+ cls,
3916
+ scope: _constructs_77d1e7e8.Construct,
3917
+ id: builtins.str,
3918
+ attachment_id: builtins.str,
3919
+ ) -> IConnectAttachmentRef:
3920
+ '''Creates a new IConnectAttachmentRef from a attachmentId.
3921
+
3922
+ :param scope: -
3923
+ :param id: -
3924
+ :param attachment_id: -
3925
+ '''
3926
+ if __debug__:
3927
+ type_hints = typing.get_type_hints(_typecheckingstub__9e037d8713710ba9021433de3be9ec51641f433285ddda8f6ffd832125cf10a0)
3928
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3929
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3930
+ check_type(argname="argument attachment_id", value=attachment_id, expected_type=type_hints["attachment_id"])
3931
+ return typing.cast(IConnectAttachmentRef, jsii.sinvoke(cls, "fromAttachmentId", [scope, id, attachment_id]))
3932
+
3912
3933
  @jsii.member(jsii_name="inspect")
3913
3934
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3914
3935
  '''Examines the CloudFormation resource and discloses attributes.
@@ -10185,6 +10206,14 @@ def _typecheckingstub__d7415843def493b65c590878e3897c27e4c459f5d736fb5ee9738e5a1
10185
10206
  """Type checking stubs"""
10186
10207
  pass
10187
10208
 
10209
+ def _typecheckingstub__9e037d8713710ba9021433de3be9ec51641f433285ddda8f6ffd832125cf10a0(
10210
+ scope: _constructs_77d1e7e8.Construct,
10211
+ id: builtins.str,
10212
+ attachment_id: builtins.str,
10213
+ ) -> None:
10214
+ """Type checking stubs"""
10215
+ pass
10216
+
10188
10217
  def _typecheckingstub__44665bf65f06575cd3323d1c866a2dc00c17092a359aac8101e622ad9bf92f5c(
10189
10218
  inspector: _TreeInspector_488e0dd5,
10190
10219
  ) -> None: