aws-cdk-lib 2.114.1__py3-none-any.whl → 2.115.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 (47) hide show
  1. aws_cdk/__init__.py +7 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.114.1.jsii.tgz → aws-cdk-lib@2.115.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +6 -0
  5. aws_cdk/aws_apigatewayv2/__init__.py +223 -574
  6. aws_cdk/aws_autoscaling/__init__.py +99 -86
  7. aws_cdk/aws_bedrock/__init__.py +355 -0
  8. aws_cdk/aws_billingconductor/__init__.py +41 -0
  9. aws_cdk/aws_cleanrooms/__init__.py +46 -20
  10. aws_cdk/aws_cloudformation/__init__.py +5 -1
  11. aws_cdk/aws_cloudtrail/__init__.py +89 -0
  12. aws_cdk/aws_codedeploy/__init__.py +233 -1
  13. aws_cdk/aws_connect/__init__.py +49 -2
  14. aws_cdk/aws_dlm/__init__.py +8 -11
  15. aws_cdk/aws_dms/__init__.py +3861 -1643
  16. aws_cdk/aws_ec2/__init__.py +91 -47
  17. aws_cdk/aws_ecs/__init__.py +18 -0
  18. aws_cdk/aws_efs/__init__.py +1 -1
  19. aws_cdk/aws_eks/__init__.py +26 -13
  20. aws_cdk/aws_elasticloadbalancingv2/__init__.py +110 -54
  21. aws_cdk/aws_emr/__init__.py +287 -18
  22. aws_cdk/aws_eventschemas/__init__.py +1 -1
  23. aws_cdk/aws_fis/__init__.py +466 -34
  24. aws_cdk/aws_iam/__init__.py +47 -35
  25. aws_cdk/aws_internetmonitor/__init__.py +10 -12
  26. aws_cdk/aws_lightsail/__init__.py +4 -2
  27. aws_cdk/aws_logs/__init__.py +5 -4
  28. aws_cdk/aws_opensearchservice/__init__.py +47 -0
  29. aws_cdk/aws_osis/__init__.py +272 -32
  30. aws_cdk/aws_rds/__init__.py +205 -87
  31. aws_cdk/aws_resiliencehub/__init__.py +9 -14
  32. aws_cdk/aws_rolesanywhere/__init__.py +41 -53
  33. aws_cdk/aws_route53/__init__.py +3 -3
  34. aws_cdk/aws_route53_targets/__init__.py +2 -2
  35. aws_cdk/aws_s3/__init__.py +2 -6
  36. aws_cdk/aws_s3express/__init__.py +3 -3
  37. aws_cdk/aws_sagemaker/__init__.py +82 -11
  38. aws_cdk/aws_sns/__init__.py +181 -0
  39. aws_cdk/aws_stepfunctions/__init__.py +16 -8
  40. aws_cdk/aws_stepfunctions_tasks/__init__.py +975 -139
  41. aws_cdk/aws_workspacesthinclient/__init__.py +44 -35
  42. {aws_cdk_lib-2.114.1.dist-info → aws_cdk_lib-2.115.0.dist-info}/METADATA +2 -2
  43. {aws_cdk_lib-2.114.1.dist-info → aws_cdk_lib-2.115.0.dist-info}/RECORD +47 -46
  44. {aws_cdk_lib-2.114.1.dist-info → aws_cdk_lib-2.115.0.dist-info}/LICENSE +0 -0
  45. {aws_cdk_lib-2.114.1.dist-info → aws_cdk_lib-2.115.0.dist-info}/NOTICE +0 -0
  46. {aws_cdk_lib-2.114.1.dist-info → aws_cdk_lib-2.115.0.dist-info}/WHEEL +0 -0
  47. {aws_cdk_lib-2.114.1.dist-info → aws_cdk_lib-2.115.0.dist-info}/top_level.txt +0 -0
@@ -802,7 +802,7 @@ class CfnCollaboration(
802
802
  :param members: A list of initial members, not including the creator. This list is immutable.
803
803
  :param name: A human-readable identifier provided by the collaboration owner. Display names are not unique.
804
804
  :param query_log_status: An indicator as to whether query logging has been enabled or disabled for the collaboration.
805
- :param creator_payment_configuration:
805
+ :param creator_payment_configuration: An object representing the collaboration member's payment responsibilities set by the collaboration creator.
806
806
  :param data_encryption_metadata: The settings for client-side encryption for cryptographic computing.
807
807
  :param tags: An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
808
808
  '''
@@ -969,6 +969,7 @@ class CfnCollaboration(
969
969
  def creator_payment_configuration(
970
970
  self,
971
971
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.PaymentConfigurationProperty"]]:
972
+ '''An object representing the collaboration member's payment responsibilities set by the collaboration creator.'''
972
973
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.PaymentConfigurationProperty"]], jsii.get(self, "creatorPaymentConfiguration"))
973
974
 
974
975
  @creator_payment_configuration.setter
@@ -1146,7 +1147,7 @@ class CfnCollaboration(
1146
1147
  :param account_id: The identifier used to reference members of the collaboration. Currently only supports AWS account ID.
1147
1148
  :param display_name: The member's display name.
1148
1149
  :param member_abilities: The abilities granted to the collaboration member. *Allowed Values* : ``CAN_QUERY`` | ``CAN_RECEIVE_RESULTS``
1149
- :param payment_configuration:
1150
+ :param payment_configuration: The collaboration member's payment responsibilities set by the collaboration creator. If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer.
1150
1151
 
1151
1152
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html
1152
1153
  :exampleMetadata: fixture=_generated
@@ -1222,7 +1223,10 @@ class CfnCollaboration(
1222
1223
  def payment_configuration(
1223
1224
  self,
1224
1225
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnCollaboration.PaymentConfigurationProperty"]]:
1225
- '''
1226
+ '''The collaboration member's payment responsibilities set by the collaboration creator.
1227
+
1228
+ If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer.
1229
+
1226
1230
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-memberspecification.html#cfn-cleanrooms-collaboration-memberspecification-paymentconfiguration
1227
1231
  '''
1228
1232
  result = self._values.get("payment_configuration")
@@ -1250,8 +1254,9 @@ class CfnCollaboration(
1250
1254
  *,
1251
1255
  query_compute: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCollaboration.QueryComputePaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]],
1252
1256
  ) -> None:
1253
- '''
1254
- :param query_compute:
1257
+ '''An object representing the collaboration member's payment responsibilities set by the collaboration creator.
1258
+
1259
+ :param query_compute: The collaboration member's payment responsibilities set by the collaboration creator for query compute costs.
1255
1260
 
1256
1261
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-paymentconfiguration.html
1257
1262
  :exampleMetadata: fixture=_generated
@@ -1279,7 +1284,8 @@ class CfnCollaboration(
1279
1284
  def query_compute(
1280
1285
  self,
1281
1286
  ) -> typing.Union[_IResolvable_da3f097b, "CfnCollaboration.QueryComputePaymentConfigProperty"]:
1282
- '''
1287
+ '''The collaboration member's payment responsibilities set by the collaboration creator for query compute costs.
1288
+
1283
1289
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-paymentconfiguration.html#cfn-cleanrooms-collaboration-paymentconfiguration-querycompute
1284
1290
  '''
1285
1291
  result = self._values.get("query_compute")
@@ -1308,8 +1314,9 @@ class CfnCollaboration(
1308
1314
  *,
1309
1315
  is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
1310
1316
  ) -> None:
1311
- '''
1312
- :param is_responsible:
1317
+ '''An object representing the collaboration member's payment responsibilities set by the collaboration creator for query compute costs.
1318
+
1319
+ :param is_responsible: Indicates whether the collaboration creator has configured the collaboration member to pay for query compute costs ( ``TRUE`` ) or has not configured the collaboration member to pay for query compute costs ( ``FALSE`` ). Exactly one member can be configured to pay for query compute costs. An error is returned if the collaboration creator sets a ``TRUE`` value for more than one member in the collaboration. If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a ``FALSE`` value for the member who can query.
1313
1320
 
1314
1321
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-querycomputepaymentconfig.html
1315
1322
  :exampleMetadata: fixture=_generated
@@ -1333,7 +1340,12 @@ class CfnCollaboration(
1333
1340
 
1334
1341
  @builtins.property
1335
1342
  def is_responsible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
1336
- '''
1343
+ '''Indicates whether the collaboration creator has configured the collaboration member to pay for query compute costs ( ``TRUE`` ) or has not configured the collaboration member to pay for query compute costs ( ``FALSE`` ).
1344
+
1345
+ Exactly one member can be configured to pay for query compute costs. An error is returned if the collaboration creator sets a ``TRUE`` value for more than one member in the collaboration.
1346
+
1347
+ If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a ``FALSE`` value for the member who can query.
1348
+
1337
1349
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-querycomputepaymentconfig.html#cfn-cleanrooms-collaboration-querycomputepaymentconfig-isresponsible
1338
1350
  '''
1339
1351
  result = self._values.get("is_responsible")
@@ -1389,7 +1401,7 @@ class CfnCollaborationProps:
1389
1401
  :param members: A list of initial members, not including the creator. This list is immutable.
1390
1402
  :param name: A human-readable identifier provided by the collaboration owner. Display names are not unique.
1391
1403
  :param query_log_status: An indicator as to whether query logging has been enabled or disabled for the collaboration.
1392
- :param creator_payment_configuration:
1404
+ :param creator_payment_configuration: An object representing the collaboration member's payment responsibilities set by the collaboration creator.
1393
1405
  :param data_encryption_metadata: The settings for client-side encryption for cryptographic computing.
1394
1406
  :param tags: An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
1395
1407
 
@@ -1537,7 +1549,8 @@ class CfnCollaborationProps:
1537
1549
  def creator_payment_configuration(
1538
1550
  self,
1539
1551
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnCollaboration.PaymentConfigurationProperty]]:
1540
- '''
1552
+ '''An object representing the collaboration member's payment responsibilities set by the collaboration creator.
1553
+
1541
1554
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html#cfn-cleanrooms-collaboration-creatorpaymentconfiguration
1542
1555
  '''
1543
1556
  result = self._values.get("creator_payment_configuration")
@@ -3452,7 +3465,7 @@ class CfnMembership(
3452
3465
  :param collaboration_identifier: The unique ID for the associated collaboration.
3453
3466
  :param query_log_status: An indicator as to whether query logging has been enabled or disabled for the membership.
3454
3467
  :param default_result_configuration: The default protected query result configuration as specified by the member who can receive results.
3455
- :param payment_configuration:
3468
+ :param payment_configuration: The payment responsibilities accepted by the collaboration member.
3456
3469
  :param tags: An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
3457
3470
  '''
3458
3471
  if __debug__:
@@ -3597,6 +3610,7 @@ class CfnMembership(
3597
3610
  def payment_configuration(
3598
3611
  self,
3599
3612
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipPaymentConfigurationProperty"]]:
3613
+ '''The payment responsibilities accepted by the collaboration member.'''
3600
3614
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipPaymentConfigurationProperty"]], jsii.get(self, "paymentConfiguration"))
3601
3615
 
3602
3616
  @payment_configuration.setter
@@ -3633,8 +3647,9 @@ class CfnMembership(
3633
3647
  *,
3634
3648
  query_compute: typing.Union[_IResolvable_da3f097b, typing.Union["CfnMembership.MembershipQueryComputePaymentConfigProperty", typing.Dict[builtins.str, typing.Any]]],
3635
3649
  ) -> None:
3636
- '''
3637
- :param query_compute:
3650
+ '''An object representing the payment responsibilities accepted by the collaboration member.
3651
+
3652
+ :param query_compute: The payment responsibilities accepted by the collaboration member for query compute costs.
3638
3653
 
3639
3654
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershippaymentconfiguration.html
3640
3655
  :exampleMetadata: fixture=_generated
@@ -3662,7 +3677,8 @@ class CfnMembership(
3662
3677
  def query_compute(
3663
3678
  self,
3664
3679
  ) -> typing.Union[_IResolvable_da3f097b, "CfnMembership.MembershipQueryComputePaymentConfigProperty"]:
3665
- '''
3680
+ '''The payment responsibilities accepted by the collaboration member for query compute costs.
3681
+
3666
3682
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershippaymentconfiguration.html#cfn-cleanrooms-membership-membershippaymentconfiguration-querycompute
3667
3683
  '''
3668
3684
  result = self._values.get("query_compute")
@@ -3841,8 +3857,9 @@ class CfnMembership(
3841
3857
  *,
3842
3858
  is_responsible: typing.Union[builtins.bool, _IResolvable_da3f097b],
3843
3859
  ) -> None:
3844
- '''
3845
- :param is_responsible:
3860
+ '''An object representing the payment responsibilities accepted by the collaboration member for query compute costs.
3861
+
3862
+ :param is_responsible: Indicates whether the collaboration member has accepted to pay for query compute costs ( ``TRUE`` ) or has not accepted to pay for query compute costs ( ``FALSE`` ). If the collaboration creator has not specified anyone to pay for query compute costs, then the member who can query is the default payer. An error message is returned for the following reasons: - If you set the value to ``FALSE`` but you are responsible to pay for query compute costs. - If you set the value to ``TRUE`` but you are not responsible to pay for query compute costs.
3846
3863
 
3847
3864
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipquerycomputepaymentconfig.html
3848
3865
  :exampleMetadata: fixture=_generated
@@ -3866,7 +3883,15 @@ class CfnMembership(
3866
3883
 
3867
3884
  @builtins.property
3868
3885
  def is_responsible(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
3869
- '''
3886
+ '''Indicates whether the collaboration member has accepted to pay for query compute costs ( ``TRUE`` ) or has not accepted to pay for query compute costs ( ``FALSE`` ).
3887
+
3888
+ If the collaboration creator has not specified anyone to pay for query compute costs, then the member who can query is the default payer.
3889
+
3890
+ An error message is returned for the following reasons:
3891
+
3892
+ - If you set the value to ``FALSE`` but you are responsible to pay for query compute costs.
3893
+ - If you set the value to ``TRUE`` but you are not responsible to pay for query compute costs.
3894
+
3870
3895
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipquerycomputepaymentconfig.html#cfn-cleanrooms-membership-membershipquerycomputepaymentconfig-isresponsible
3871
3896
  '''
3872
3897
  result = self._values.get("is_responsible")
@@ -4003,7 +4028,7 @@ class CfnMembershipProps:
4003
4028
  :param collaboration_identifier: The unique ID for the associated collaboration.
4004
4029
  :param query_log_status: An indicator as to whether query logging has been enabled or disabled for the membership.
4005
4030
  :param default_result_configuration: The default protected query result configuration as specified by the member who can receive results.
4006
- :param payment_configuration:
4031
+ :param payment_configuration: The payment responsibilities accepted by the collaboration member.
4007
4032
  :param tags: An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
4008
4033
 
4009
4034
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html
@@ -4098,7 +4123,8 @@ class CfnMembershipProps:
4098
4123
  def payment_configuration(
4099
4124
  self,
4100
4125
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnMembership.MembershipPaymentConfigurationProperty]]:
4101
- '''
4126
+ '''The payment responsibilities accepted by the collaboration member.
4127
+
4102
4128
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html#cfn-cleanrooms-membership-paymentconfiguration
4103
4129
  '''
4104
4130
  result = self._values.get("payment_configuration")
@@ -4454,7 +4454,7 @@ class CfnStackSet(
4454
4454
  :param max_concurrent_count: The maximum number of accounts in which to perform this operation at one time. This is dependent on the value of ``FailureToleranceCount`` . ``MaxConcurrentCount`` is at most one more than the ``FailureToleranceCount`` . Note that this setting lets you specify the *maximum* for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. Conditional: You must specify either ``MaxConcurrentCount`` or ``MaxConcurrentPercentage`` , but not both.
4455
4455
  :param max_concurrent_percentage: The maximum percentage of accounts in which to perform this operation at one time. When calculating the number of accounts based on the specified percentage, AWS CloudFormation rounds down to the next whole number. This is true except in cases where rounding down would result is zero. In this case, CloudFormation sets the number as one instead. Note that this setting lets you specify the *maximum* for operations. For large deployments, under certain circumstances the actual number of accounts acted upon concurrently may be lower due to service throttling. Conditional: You must specify either ``MaxConcurrentCount`` or ``MaxConcurrentPercentage`` , but not both.
4456
4456
  :param region_concurrency_type: The concurrency type of deploying StackSets operations in Regions, could be in parallel or one Region at a time.
4457
- :param region_order: The order of the Regions where you want to perform the stack operation.
4457
+ :param region_order: The order of the Regions where you want to perform the stack operation. .. epigraph:: ``RegionOrder`` isn't followed if ``AutoDeployment`` is enabled.
4458
4458
 
4459
4459
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-operationpreferences.html
4460
4460
  :exampleMetadata: fixture=_generated
@@ -4567,6 +4567,10 @@ class CfnStackSet(
4567
4567
  def region_order(self) -> typing.Optional[typing.List[builtins.str]]:
4568
4568
  '''The order of the Regions where you want to perform the stack operation.
4569
4569
 
4570
+ .. epigraph::
4571
+
4572
+ ``RegionOrder`` isn't followed if ``AutoDeployment`` is enabled.
4573
+
4570
4574
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-stackset-operationpreferences.html#cfn-cloudformation-stackset-operationpreferences-regionorder
4571
4575
  '''
4572
4576
  result = self._values.get("region_order")
@@ -736,6 +736,8 @@ class CfnEventDataStore(
736
736
  name="name"
737
737
  )],
738
738
  billing_mode="billingMode",
739
+ federation_enabled=False,
740
+ federation_role_arn="federationRoleArn",
739
741
  ingestion_enabled=False,
740
742
  insights_destination="insightsDestination",
741
743
  insight_selectors=[cloudtrail.CfnEventDataStore.InsightSelectorProperty(
@@ -761,6 +763,8 @@ class CfnEventDataStore(
761
763
  *,
762
764
  advanced_event_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventDataStore.AdvancedEventSelectorProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
763
765
  billing_mode: typing.Optional[builtins.str] = None,
766
+ federation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
767
+ federation_role_arn: typing.Optional[builtins.str] = None,
764
768
  ingestion_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
765
769
  insights_destination: typing.Optional[builtins.str] = None,
766
770
  insight_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventDataStore.InsightSelectorProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -777,6 +781,8 @@ class CfnEventDataStore(
777
781
  :param id: Construct identifier for this resource (unique in its scope).
778
782
  :param advanced_event_selectors: The advanced event selectors to use to select the events for the data store. You can configure up to five advanced event selectors for each event data store. For more information about how to use advanced event selectors to log CloudTrail events, see `Log events by using advanced event selectors <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced>`_ in the CloudTrail User Guide. For more information about how to use advanced event selectors to include AWS Config configuration items in your event data store, see `Create an event data store for AWS Config configuration items <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-eds-config>`_ in the CloudTrail User Guide. For more information about how to use advanced event selectors to include non- AWS events in your event data store, see `Create an integration to log events from outside AWS <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-integration>`_ in the CloudTrail User Guide.
779
783
  :param billing_mode: The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store. The following are the possible values: - ``EXTENDABLE_RETENTION_PRICING`` - This billing mode is generally recommended if you want a flexible retention period of up to 3653 days (about 10 years). The default retention period for this billing mode is 366 days. - ``FIXED_RETENTION_PRICING`` - This billing mode is recommended if you expect to ingest more than 25 TB of event data per month and need a retention period of up to 2557 days (about 7 years). The default retention period for this billing mode is 2557 days. The default value is ``EXTENDABLE_RETENTION_PRICING`` . For more information about CloudTrail pricing, see `AWS CloudTrail Pricing <https://docs.aws.amazon.com/cloudtrail/pricing/>`_ and `Managing CloudTrail Lake costs <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html>`_ .
784
+ :param federation_enabled: Indicates whether federation is enabled on an event data store.
785
+ :param federation_role_arn: The ARN of the role used for event data store federation.
780
786
  :param ingestion_enabled: Specifies whether the event data store should start ingesting live events. The default is true.
781
787
  :param insights_destination: The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. For more information, see `Create an event data store for CloudTrail Insights events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store-insights.html>`_ .
782
788
  :param insight_selectors: A JSON string that contains the Insights types you want to log on an event data store. ``ApiCallRateInsight`` and ``ApiErrorRateInsight`` are valid Insight types. The ``ApiCallRateInsight`` Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ``ApiErrorRateInsight`` Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
@@ -795,6 +801,8 @@ class CfnEventDataStore(
795
801
  props = CfnEventDataStoreProps(
796
802
  advanced_event_selectors=advanced_event_selectors,
797
803
  billing_mode=billing_mode,
804
+ federation_enabled=federation_enabled,
805
+ federation_role_arn=federation_role_arn,
798
806
  ingestion_enabled=ingestion_enabled,
799
807
  insights_destination=insights_destination,
800
808
  insight_selectors=insight_selectors,
@@ -917,6 +925,37 @@ class CfnEventDataStore(
917
925
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
918
926
  jsii.set(self, "billingMode", value)
919
927
 
928
+ @builtins.property
929
+ @jsii.member(jsii_name="federationEnabled")
930
+ def federation_enabled(
931
+ self,
932
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
933
+ '''Indicates whether federation is enabled on an event data store.'''
934
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "federationEnabled"))
935
+
936
+ @federation_enabled.setter
937
+ def federation_enabled(
938
+ self,
939
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
940
+ ) -> None:
941
+ if __debug__:
942
+ type_hints = typing.get_type_hints(_typecheckingstub__765513d5a073b76962f766e5dc1a967c4ad42a5bb2200d9f880aac945789b35d)
943
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
944
+ jsii.set(self, "federationEnabled", value)
945
+
946
+ @builtins.property
947
+ @jsii.member(jsii_name="federationRoleArn")
948
+ def federation_role_arn(self) -> typing.Optional[builtins.str]:
949
+ '''The ARN of the role used for event data store federation.'''
950
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "federationRoleArn"))
951
+
952
+ @federation_role_arn.setter
953
+ def federation_role_arn(self, value: typing.Optional[builtins.str]) -> None:
954
+ if __debug__:
955
+ type_hints = typing.get_type_hints(_typecheckingstub__02d5876fb281f125b4a84c7554b6ae992b9b7433cab839d402d60601a9872704)
956
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
957
+ jsii.set(self, "federationRoleArn", value)
958
+
920
959
  @builtins.property
921
960
  @jsii.member(jsii_name="ingestionEnabled")
922
961
  def ingestion_enabled(
@@ -1611,6 +1650,8 @@ class CfnEventDataStore(
1611
1650
  name_mapping={
1612
1651
  "advanced_event_selectors": "advancedEventSelectors",
1613
1652
  "billing_mode": "billingMode",
1653
+ "federation_enabled": "federationEnabled",
1654
+ "federation_role_arn": "federationRoleArn",
1614
1655
  "ingestion_enabled": "ingestionEnabled",
1615
1656
  "insights_destination": "insightsDestination",
1616
1657
  "insight_selectors": "insightSelectors",
@@ -1629,6 +1670,8 @@ class CfnEventDataStoreProps:
1629
1670
  *,
1630
1671
  advanced_event_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.AdvancedEventSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
1631
1672
  billing_mode: typing.Optional[builtins.str] = None,
1673
+ federation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1674
+ federation_role_arn: typing.Optional[builtins.str] = None,
1632
1675
  ingestion_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1633
1676
  insights_destination: typing.Optional[builtins.str] = None,
1634
1677
  insight_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.InsightSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -1644,6 +1687,8 @@ class CfnEventDataStoreProps:
1644
1687
 
1645
1688
  :param advanced_event_selectors: The advanced event selectors to use to select the events for the data store. You can configure up to five advanced event selectors for each event data store. For more information about how to use advanced event selectors to log CloudTrail events, see `Log events by using advanced event selectors <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced>`_ in the CloudTrail User Guide. For more information about how to use advanced event selectors to include AWS Config configuration items in your event data store, see `Create an event data store for AWS Config configuration items <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-eds-config>`_ in the CloudTrail User Guide. For more information about how to use advanced event selectors to include non- AWS events in your event data store, see `Create an integration to log events from outside AWS <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-lake-cli.html#lake-cli-create-integration>`_ in the CloudTrail User Guide.
1646
1689
  :param billing_mode: The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store. The following are the possible values: - ``EXTENDABLE_RETENTION_PRICING`` - This billing mode is generally recommended if you want a flexible retention period of up to 3653 days (about 10 years). The default retention period for this billing mode is 366 days. - ``FIXED_RETENTION_PRICING`` - This billing mode is recommended if you expect to ingest more than 25 TB of event data per month and need a retention period of up to 2557 days (about 7 years). The default retention period for this billing mode is 2557 days. The default value is ``EXTENDABLE_RETENTION_PRICING`` . For more information about CloudTrail pricing, see `AWS CloudTrail Pricing <https://docs.aws.amazon.com/cloudtrail/pricing/>`_ and `Managing CloudTrail Lake costs <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-lake-manage-costs.html>`_ .
1690
+ :param federation_enabled: Indicates whether federation is enabled on an event data store.
1691
+ :param federation_role_arn: The ARN of the role used for event data store federation.
1647
1692
  :param ingestion_enabled: Specifies whether the event data store should start ingesting live events. The default is true.
1648
1693
  :param insights_destination: The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. For more information, see `Create an event data store for CloudTrail Insights events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store-insights.html>`_ .
1649
1694
  :param insight_selectors: A JSON string that contains the Insights types you want to log on an event data store. ``ApiCallRateInsight`` and ``ApiErrorRateInsight`` are valid Insight types. The ``ApiCallRateInsight`` Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ``ApiErrorRateInsight`` Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.
@@ -1682,6 +1727,8 @@ class CfnEventDataStoreProps:
1682
1727
  name="name"
1683
1728
  )],
1684
1729
  billing_mode="billingMode",
1730
+ federation_enabled=False,
1731
+ federation_role_arn="federationRoleArn",
1685
1732
  ingestion_enabled=False,
1686
1733
  insights_destination="insightsDestination",
1687
1734
  insight_selectors=[cloudtrail.CfnEventDataStore.InsightSelectorProperty(
@@ -1703,6 +1750,8 @@ class CfnEventDataStoreProps:
1703
1750
  type_hints = typing.get_type_hints(_typecheckingstub__bc172d8375a6bcb019f0df4a0d571d671956c64545dc03fc01f9ad66e38ac10e)
1704
1751
  check_type(argname="argument advanced_event_selectors", value=advanced_event_selectors, expected_type=type_hints["advanced_event_selectors"])
1705
1752
  check_type(argname="argument billing_mode", value=billing_mode, expected_type=type_hints["billing_mode"])
1753
+ check_type(argname="argument federation_enabled", value=federation_enabled, expected_type=type_hints["federation_enabled"])
1754
+ check_type(argname="argument federation_role_arn", value=federation_role_arn, expected_type=type_hints["federation_role_arn"])
1706
1755
  check_type(argname="argument ingestion_enabled", value=ingestion_enabled, expected_type=type_hints["ingestion_enabled"])
1707
1756
  check_type(argname="argument insights_destination", value=insights_destination, expected_type=type_hints["insights_destination"])
1708
1757
  check_type(argname="argument insight_selectors", value=insight_selectors, expected_type=type_hints["insight_selectors"])
@@ -1718,6 +1767,10 @@ class CfnEventDataStoreProps:
1718
1767
  self._values["advanced_event_selectors"] = advanced_event_selectors
1719
1768
  if billing_mode is not None:
1720
1769
  self._values["billing_mode"] = billing_mode
1770
+ if federation_enabled is not None:
1771
+ self._values["federation_enabled"] = federation_enabled
1772
+ if federation_role_arn is not None:
1773
+ self._values["federation_role_arn"] = federation_role_arn
1721
1774
  if ingestion_enabled is not None:
1722
1775
  self._values["ingestion_enabled"] = ingestion_enabled
1723
1776
  if insights_destination is not None:
@@ -1776,6 +1829,26 @@ class CfnEventDataStoreProps:
1776
1829
  result = self._values.get("billing_mode")
1777
1830
  return typing.cast(typing.Optional[builtins.str], result)
1778
1831
 
1832
+ @builtins.property
1833
+ def federation_enabled(
1834
+ self,
1835
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
1836
+ '''Indicates whether federation is enabled on an event data store.
1837
+
1838
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-eventdatastore.html#cfn-cloudtrail-eventdatastore-federationenabled
1839
+ '''
1840
+ result = self._values.get("federation_enabled")
1841
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
1842
+
1843
+ @builtins.property
1844
+ def federation_role_arn(self) -> typing.Optional[builtins.str]:
1845
+ '''The ARN of the role used for event data store federation.
1846
+
1847
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-eventdatastore.html#cfn-cloudtrail-eventdatastore-federationrolearn
1848
+ '''
1849
+ result = self._values.get("federation_role_arn")
1850
+ return typing.cast(typing.Optional[builtins.str], result)
1851
+
1779
1852
  @builtins.property
1780
1853
  def ingestion_enabled(
1781
1854
  self,
@@ -4667,6 +4740,8 @@ def _typecheckingstub__058a94222b13ad44b4607ad5932ec9b6a2defcb250ff436576e6e8976
4667
4740
  *,
4668
4741
  advanced_event_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.AdvancedEventSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
4669
4742
  billing_mode: typing.Optional[builtins.str] = None,
4743
+ federation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4744
+ federation_role_arn: typing.Optional[builtins.str] = None,
4670
4745
  ingestion_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4671
4746
  insights_destination: typing.Optional[builtins.str] = None,
4672
4747
  insight_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.InsightSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
@@ -4705,6 +4780,18 @@ def _typecheckingstub__106939491635761bff083d6af3ca26d1723f9df71ec433399c5746554
4705
4780
  """Type checking stubs"""
4706
4781
  pass
4707
4782
 
4783
+ def _typecheckingstub__765513d5a073b76962f766e5dc1a967c4ad42a5bb2200d9f880aac945789b35d(
4784
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
4785
+ ) -> None:
4786
+ """Type checking stubs"""
4787
+ pass
4788
+
4789
+ def _typecheckingstub__02d5876fb281f125b4a84c7554b6ae992b9b7433cab839d402d60601a9872704(
4790
+ value: typing.Optional[builtins.str],
4791
+ ) -> None:
4792
+ """Type checking stubs"""
4793
+ pass
4794
+
4708
4795
  def _typecheckingstub__3120b4fc57c151f577843e6f55242684964162de4d4061991c82480a0fae581b(
4709
4796
  value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
4710
4797
  ) -> None:
@@ -4797,6 +4884,8 @@ def _typecheckingstub__bc172d8375a6bcb019f0df4a0d571d671956c64545dc03fc01f9ad66e
4797
4884
  *,
4798
4885
  advanced_event_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.AdvancedEventSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
4799
4886
  billing_mode: typing.Optional[builtins.str] = None,
4887
+ federation_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4888
+ federation_role_arn: typing.Optional[builtins.str] = None,
4800
4889
  ingestion_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4801
4890
  insights_destination: typing.Optional[builtins.str] = None,
4802
4891
  insight_selectors: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventDataStore.InsightSelectorProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,