aws-cdk-lib 2.137.0__py3-none-any.whl → 2.138.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 (56) hide show
  1. aws_cdk/__init__.py +8 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.137.0.jsii.tgz → aws-cdk-lib@2.138.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +29 -113
  5. aws_cdk/aws_appconfig/__init__.py +26 -33
  6. aws_cdk/aws_apprunner/__init__.py +5 -2
  7. aws_cdk/aws_appsync/__init__.py +400 -13
  8. aws_cdk/aws_aps/__init__.py +64 -47
  9. aws_cdk/aws_b2bi/__init__.py +2 -6
  10. aws_cdk/aws_backup/__init__.py +27 -23
  11. aws_cdk/aws_batch/__init__.py +103 -0
  12. aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
  13. aws_cdk/aws_chatbot/__init__.py +6 -4
  14. aws_cdk/aws_cleanrooms/__init__.py +526 -3
  15. aws_cdk/aws_cleanroomsml/__init__.py +960 -0
  16. aws_cdk/aws_cloudtrail/__init__.py +10 -10
  17. aws_cdk/aws_cloudwatch/__init__.py +124 -8
  18. aws_cdk/aws_codebuild/__init__.py +27 -22
  19. aws_cdk/aws_codeconnections/__init__.py +435 -0
  20. aws_cdk/aws_cognito/__init__.py +175 -79
  21. aws_cdk/aws_deadline/__init__.py +5394 -0
  22. aws_cdk/aws_ec2/__init__.py +279 -163
  23. aws_cdk/aws_ecs/__init__.py +240 -1
  24. aws_cdk/aws_efs/__init__.py +2 -2
  25. aws_cdk/aws_elasticache/__init__.py +86 -32
  26. aws_cdk/aws_elasticloadbalancingv2/__init__.py +52 -2
  27. aws_cdk/aws_emr/__init__.py +2 -2
  28. aws_cdk/aws_entityresolution/__init__.py +1982 -773
  29. aws_cdk/aws_globalaccelerator/__init__.py +443 -0
  30. aws_cdk/aws_iam/__init__.py +1 -2
  31. aws_cdk/aws_internetmonitor/__init__.py +14 -6
  32. aws_cdk/aws_ivs/__init__.py +1273 -71
  33. aws_cdk/aws_mediatailor/__init__.py +41 -0
  34. aws_cdk/aws_personalize/__init__.py +8 -6
  35. aws_cdk/aws_pinpoint/__init__.py +5 -3
  36. aws_cdk/aws_pipes/__init__.py +5 -1
  37. aws_cdk/aws_quicksight/__init__.py +12 -6
  38. aws_cdk/aws_rds/__init__.py +355 -85
  39. aws_cdk/aws_route53/__init__.py +587 -14
  40. aws_cdk/aws_sagemaker/__init__.py +233 -2
  41. aws_cdk/aws_securityhub/__init__.py +4940 -102
  42. aws_cdk/aws_securitylake/__init__.py +1237 -55
  43. aws_cdk/aws_sns/__init__.py +61 -4
  44. aws_cdk/aws_ssmcontacts/__init__.py +11 -4
  45. aws_cdk/aws_stepfunctions/__init__.py +8 -16
  46. aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
  47. aws_cdk/aws_transfer/__init__.py +4 -4
  48. aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
  49. aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
  50. aws_cdk/custom_resources/__init__.py +248 -26
  51. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/METADATA +3 -3
  52. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/RECORD +56 -52
  53. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/LICENSE +0 -0
  54. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/NOTICE +0 -0
  55. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/WHEEL +0 -0
  56. {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/top_level.txt +0 -0
@@ -782,7 +782,7 @@ class CfnEventDataStore(
782
782
  '''
783
783
  :param scope: Scope in which this resource is defined.
784
784
  :param id: Construct identifier for this resource (unique in its scope).
785
- :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.
785
+ :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/lake-eds-cli.html#lake-cli-create-eds-config>`_ in the CloudTrail User Guide. For more information about how to use advanced event selectors to include events outside of 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/lake-integrations-cli.html#lake-cli-create-integration>`_ in the CloudTrail User Guide.
786
786
  :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>`_ .
787
787
  :param federation_enabled: Indicates if `Lake query federation <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html>`_ is enabled. By default, Lake query federation is disabled. You cannot delete an event data store if Lake query federation is enabled.
788
788
  :param federation_role_arn: If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store. The federation role must exist in your account and provide the `required minimum permissions <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html#query-federation-permissions-role>`_ .
@@ -1814,7 +1814,7 @@ class CfnEventDataStoreProps:
1814
1814
  ) -> None:
1815
1815
  '''Properties for defining a ``CfnEventDataStore``.
1816
1816
 
1817
- :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.
1817
+ :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/lake-eds-cli.html#lake-cli-create-eds-config>`_ in the CloudTrail User Guide. For more information about how to use advanced event selectors to include events outside of 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/lake-integrations-cli.html#lake-cli-create-integration>`_ in the CloudTrail User Guide.
1818
1818
  :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>`_ .
1819
1819
  :param federation_enabled: Indicates if `Lake query federation <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html>`_ is enabled. By default, Lake query federation is disabled. You cannot delete an event data store if Lake query federation is enabled.
1820
1820
  :param federation_role_arn: If Lake query federation is enabled, provides the ARN of the federation role used to access the resources for the federated event data store. The federation role must exist in your account and provide the `required minimum permissions <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-federation.html#query-federation-permissions-role>`_ .
@@ -1931,9 +1931,9 @@ class CfnEventDataStoreProps:
1931
1931
 
1932
1932
  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.
1933
1933
 
1934
- 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.
1934
+ 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/lake-eds-cli.html#lake-cli-create-eds-config>`_ in the CloudTrail User Guide.
1935
1935
 
1936
- 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.
1936
+ For more information about how to use advanced event selectors to include events outside of 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/lake-integrations-cli.html#lake-cli-create-integration>`_ in the CloudTrail User Guide.
1937
1937
 
1938
1938
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-eventdatastore.html#cfn-cloudtrail-eventdatastore-advancedeventselectors
1939
1939
  '''
@@ -2417,7 +2417,7 @@ class CfnTrail(
2417
2417
  :param scope: Scope in which this resource is defined.
2418
2418
  :param id: Construct identifier for this resource (unique in its scope).
2419
2419
  :param is_logging: Whether the CloudTrail trail is currently logging AWS API calls.
2420
- :param s3_bucket_name: Specifies the name of the Amazon S3 bucket designated for publishing log files. See `Amazon S3 Bucket Naming Requirements <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html>`_ .
2420
+ :param s3_bucket_name: Specifies the name of the Amazon S3 bucket designated for publishing log files. See `Amazon S3 Bucket naming rules <https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html>`_ .
2421
2421
  :param advanced_event_selectors: Specifies the settings for advanced event selectors. You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. You can use either ``AdvancedEventSelectors`` or ``EventSelectors`` , but not both. If you apply ``AdvancedEventSelectors`` to a trail, any existing ``EventSelectors`` are overwritten. For more information about advanced event selectors, see `Logging data events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html>`_ in the *AWS CloudTrail User Guide* .
2422
2422
  :param cloud_watch_logs_log_group_arn: Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs are delivered. You must use a log group that exists in your account. Not required unless you specify ``CloudWatchLogsRoleArn`` .
2423
2423
  :param cloud_watch_logs_role_arn: Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. You must use a role that exists in your account.
@@ -2428,7 +2428,7 @@ class CfnTrail(
2428
2428
  :param is_multi_region_trail: Specifies whether the trail applies only to the current Region or to all Regions. The default is false. If the trail exists only in the current Region and this value is set to true, shadow trails (replications of the trail) will be created in the other Regions. If the trail exists in all Regions and this value is set to false, the trail will remain in the Region where it was created, and its shadow trails in other Regions will be deleted. As a best practice, consider using trails that log events in all Regions.
2429
2429
  :param is_organization_trail: Specifies whether the trail is applied to all accounts in an organization in AWS Organizations , or only for the current AWS account . The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the management account for an organization in AWS Organizations . If the trail is not an organization trail and this is set to ``true`` , the trail will be created in all AWS accounts that belong to the organization. If the trail is an organization trail and this is set to ``false`` , the trail will remain in the current AWS account but be deleted from all member accounts in the organization. .. epigraph:: Only the management account for the organization can convert an organization trail to a non-organization trail, or convert a non-organization trail to an organization trail.
2430
2430
  :param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
2431
- :param s3_key_prefix: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html>`_ . The maximum length is 200 characters.
2431
+ :param s3_key_prefix: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files>`_ . The maximum length is 200 characters.
2432
2432
  :param sns_topic_name: Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
2433
2433
  :param tags: A custom set of tags (key-value pairs) for this trail.
2434
2434
  :param trail_name: Specifies the name of the trail. The name must meet the following requirements:. - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) - Start with a letter or number, and end with a letter or number - Be between 3 and 128 characters - Have no adjacent periods, underscores or dashes. Names like ``my-_namespace`` and ``my--namespace`` are not valid. - Not be in IP address format (for example, 192.168.5.4)
@@ -3738,7 +3738,7 @@ class CfnTrailProps:
3738
3738
  '''Properties for defining a ``CfnTrail``.
3739
3739
 
3740
3740
  :param is_logging: Whether the CloudTrail trail is currently logging AWS API calls.
3741
- :param s3_bucket_name: Specifies the name of the Amazon S3 bucket designated for publishing log files. See `Amazon S3 Bucket Naming Requirements <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html>`_ .
3741
+ :param s3_bucket_name: Specifies the name of the Amazon S3 bucket designated for publishing log files. See `Amazon S3 Bucket naming rules <https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html>`_ .
3742
3742
  :param advanced_event_selectors: Specifies the settings for advanced event selectors. You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. You can use either ``AdvancedEventSelectors`` or ``EventSelectors`` , but not both. If you apply ``AdvancedEventSelectors`` to a trail, any existing ``EventSelectors`` are overwritten. For more information about advanced event selectors, see `Logging data events <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html>`_ in the *AWS CloudTrail User Guide* .
3743
3743
  :param cloud_watch_logs_log_group_arn: Specifies a log group name using an Amazon Resource Name (ARN), a unique identifier that represents the log group to which CloudTrail logs are delivered. You must use a log group that exists in your account. Not required unless you specify ``CloudWatchLogsRoleArn`` .
3744
3744
  :param cloud_watch_logs_role_arn: Specifies the role for the CloudWatch Logs endpoint to assume to write to a user's log group. You must use a role that exists in your account.
@@ -3749,7 +3749,7 @@ class CfnTrailProps:
3749
3749
  :param is_multi_region_trail: Specifies whether the trail applies only to the current Region or to all Regions. The default is false. If the trail exists only in the current Region and this value is set to true, shadow trails (replications of the trail) will be created in the other Regions. If the trail exists in all Regions and this value is set to false, the trail will remain in the Region where it was created, and its shadow trails in other Regions will be deleted. As a best practice, consider using trails that log events in all Regions.
3750
3750
  :param is_organization_trail: Specifies whether the trail is applied to all accounts in an organization in AWS Organizations , or only for the current AWS account . The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the management account for an organization in AWS Organizations . If the trail is not an organization trail and this is set to ``true`` , the trail will be created in all AWS accounts that belong to the organization. If the trail is an organization trail and this is set to ``false`` , the trail will remain in the current AWS account but be deleted from all member accounts in the organization. .. epigraph:: Only the management account for the organization can convert an organization trail to a non-organization trail, or convert a non-organization trail to an organization trail.
3751
3751
  :param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
3752
- :param s3_key_prefix: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html>`_ . The maximum length is 200 characters.
3752
+ :param s3_key_prefix: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files>`_ . The maximum length is 200 characters.
3753
3753
  :param sns_topic_name: Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
3754
3754
  :param tags: A custom set of tags (key-value pairs) for this trail.
3755
3755
  :param trail_name: Specifies the name of the trail. The name must meet the following requirements:. - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) - Start with a letter or number, and end with a letter or number - Be between 3 and 128 characters - Have no adjacent periods, underscores or dashes. Names like ``my-_namespace`` and ``my--namespace`` are not valid. - Not be in IP address format (for example, 192.168.5.4)
@@ -3879,7 +3879,7 @@ class CfnTrailProps:
3879
3879
  def s3_bucket_name(self) -> builtins.str:
3880
3880
  '''Specifies the name of the Amazon S3 bucket designated for publishing log files.
3881
3881
 
3882
- See `Amazon S3 Bucket Naming Requirements <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create_trail_naming_policy.html>`_ .
3882
+ See `Amazon S3 Bucket naming rules <https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html>`_ .
3883
3883
 
3884
3884
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-s3bucketname
3885
3885
  '''
@@ -4037,7 +4037,7 @@ class CfnTrailProps:
4037
4037
  def s3_key_prefix(self) -> typing.Optional[builtins.str]:
4038
4038
  '''Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery.
4039
4039
 
4040
- For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-find-log-files.html>`_ . The maximum length is 200 characters.
4040
+ For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files>`_ . The maximum length is 200 characters.
4041
4041
 
4042
4042
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html#cfn-cloudtrail-trail-s3keyprefix
4043
4043
  '''
@@ -959,6 +959,7 @@ from .. import (
959
959
  IResolvable as _IResolvable_da3f097b,
960
960
  IResource as _IResource_c80c4260,
961
961
  ITaggable as _ITaggable_36806126,
962
+ ITaggableV2 as _ITaggableV2_4e6798f8,
962
963
  Resource as _Resource_45bc6135,
963
964
  ResourceProps as _ResourceProps_15a65b4e,
964
965
  TagManager as _TagManager_0a598cb3,
@@ -1320,7 +1321,7 @@ class AlarmStatusWidgetSortBy(enum.Enum):
1320
1321
  '''
1321
1322
 
1322
1323
 
1323
- @jsii.implements(_IInspectable_c2943556)
1324
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
1324
1325
  class CfnAlarm(
1325
1326
  _CfnResource_9df397a6,
1326
1327
  metaclass=jsii.JSIIMeta,
@@ -1389,6 +1390,10 @@ class CfnAlarm(
1389
1390
  ok_actions=["okActions"],
1390
1391
  period=123,
1391
1392
  statistic="statistic",
1393
+ tags=[CfnTag(
1394
+ key="key",
1395
+ value="value"
1396
+ )],
1392
1397
  threshold=123,
1393
1398
  threshold_metric_id="thresholdMetricId",
1394
1399
  treat_missing_data="treatMissingData",
@@ -1418,6 +1423,7 @@ class CfnAlarm(
1418
1423
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
1419
1424
  period: typing.Optional[jsii.Number] = None,
1420
1425
  statistic: typing.Optional[builtins.str] = None,
1426
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1421
1427
  threshold: typing.Optional[jsii.Number] = None,
1422
1428
  threshold_metric_id: typing.Optional[builtins.str] = None,
1423
1429
  treat_missing_data: typing.Optional[builtins.str] = None,
@@ -1443,6 +1449,7 @@ class CfnAlarm(
1443
1449
  :param ok_actions: The actions to execute when this alarm transitions to the ``OK`` state from any other state. Each action is specified as an Amazon Resource Name (ARN).
1444
1450
  :param period: The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify ``Period`` , and instead you use the ``Metrics`` parameter. *Minimum:* 10
1445
1451
  :param statistic: The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ``ExtendedStatistic`` . For an alarm based on a metric, you must specify either ``Statistic`` or ``ExtendedStatistic`` but not both. For an alarm based on a math expression, you can't specify ``Statistic`` . Instead, you use ``Metrics`` .
1452
+ :param tags: A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
1446
1453
  :param threshold: The value to compare with the specified statistic.
1447
1454
  :param threshold_metric_id: In an alarm based on an anomaly detection model, this is the ID of the ``ANOMALY_DETECTION_BAND`` function used as the threshold for the alarm.
1448
1455
  :param treat_missing_data: Sets how this alarm is to handle missing data points. Valid values are ``breaching`` , ``notBreaching`` , ``ignore`` , and ``missing`` . For more information, see `Configuring How CloudWatch Alarms Treat Missing Data <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data>`_ in the *Amazon CloudWatch User Guide* . If you omit this parameter, the default behavior of ``missing`` is used.
@@ -1470,6 +1477,7 @@ class CfnAlarm(
1470
1477
  ok_actions=ok_actions,
1471
1478
  period=period,
1472
1479
  statistic=statistic,
1480
+ tags=tags,
1473
1481
  threshold=threshold,
1474
1482
  threshold_metric_id=threshold_metric_id,
1475
1483
  treat_missing_data=treat_missing_data,
@@ -1517,6 +1525,12 @@ class CfnAlarm(
1517
1525
  '''
1518
1526
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
1519
1527
 
1528
+ @builtins.property
1529
+ @jsii.member(jsii_name="cdkTagManager")
1530
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
1531
+ '''Tag Manager which manages the tags for this resource.'''
1532
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
1533
+
1520
1534
  @builtins.property
1521
1535
  @jsii.member(jsii_name="cfnProperties")
1522
1536
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -1770,6 +1784,19 @@ class CfnAlarm(
1770
1784
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1771
1785
  jsii.set(self, "statistic", value)
1772
1786
 
1787
+ @builtins.property
1788
+ @jsii.member(jsii_name="tags")
1789
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1790
+ '''A list of key-value pairs to associate with the alarm.'''
1791
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
1792
+
1793
+ @tags.setter
1794
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
1795
+ if __debug__:
1796
+ type_hints = typing.get_type_hints(_typecheckingstub__895712e62b896ed30b8848bddfdb970fd334934c19393e2eb8ad06392ecf8af9)
1797
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1798
+ jsii.set(self, "tags", value)
1799
+
1773
1800
  @builtins.property
1774
1801
  @jsii.member(jsii_name="threshold")
1775
1802
  def threshold(self) -> typing.Optional[jsii.Number]:
@@ -2337,6 +2364,7 @@ class CfnAlarm(
2337
2364
  "ok_actions": "okActions",
2338
2365
  "period": "period",
2339
2366
  "statistic": "statistic",
2367
+ "tags": "tags",
2340
2368
  "threshold": "threshold",
2341
2369
  "threshold_metric_id": "thresholdMetricId",
2342
2370
  "treat_missing_data": "treatMissingData",
@@ -2364,6 +2392,7 @@ class CfnAlarmProps:
2364
2392
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
2365
2393
  period: typing.Optional[jsii.Number] = None,
2366
2394
  statistic: typing.Optional[builtins.str] = None,
2395
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2367
2396
  threshold: typing.Optional[jsii.Number] = None,
2368
2397
  threshold_metric_id: typing.Optional[builtins.str] = None,
2369
2398
  treat_missing_data: typing.Optional[builtins.str] = None,
@@ -2388,6 +2417,7 @@ class CfnAlarmProps:
2388
2417
  :param ok_actions: The actions to execute when this alarm transitions to the ``OK`` state from any other state. Each action is specified as an Amazon Resource Name (ARN).
2389
2418
  :param period: The period, in seconds, over which the statistic is applied. This is required for an alarm based on a metric. Valid values are 10, 30, 60, and any multiple of 60. For an alarm based on a math expression, you can't specify ``Period`` , and instead you use the ``Metrics`` parameter. *Minimum:* 10
2390
2419
  :param statistic: The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ``ExtendedStatistic`` . For an alarm based on a metric, you must specify either ``Statistic`` or ``ExtendedStatistic`` but not both. For an alarm based on a math expression, you can't specify ``Statistic`` . Instead, you use ``Metrics`` .
2420
+ :param tags: A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
2391
2421
  :param threshold: The value to compare with the specified statistic.
2392
2422
  :param threshold_metric_id: In an alarm based on an anomaly detection model, this is the ID of the ``ANOMALY_DETECTION_BAND`` function used as the threshold for the alarm.
2393
2423
  :param treat_missing_data: Sets how this alarm is to handle missing data points. Valid values are ``breaching`` , ``notBreaching`` , ``ignore`` , and ``missing`` . For more information, see `Configuring How CloudWatch Alarms Treat Missing Data <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarms-and-missing-data>`_ in the *Amazon CloudWatch User Guide* . If you omit this parameter, the default behavior of ``missing`` is used.
@@ -2449,6 +2479,10 @@ class CfnAlarmProps:
2449
2479
  ok_actions=["okActions"],
2450
2480
  period=123,
2451
2481
  statistic="statistic",
2482
+ tags=[CfnTag(
2483
+ key="key",
2484
+ value="value"
2485
+ )],
2452
2486
  threshold=123,
2453
2487
  threshold_metric_id="thresholdMetricId",
2454
2488
  treat_missing_data="treatMissingData",
@@ -2474,6 +2508,7 @@ class CfnAlarmProps:
2474
2508
  check_type(argname="argument ok_actions", value=ok_actions, expected_type=type_hints["ok_actions"])
2475
2509
  check_type(argname="argument period", value=period, expected_type=type_hints["period"])
2476
2510
  check_type(argname="argument statistic", value=statistic, expected_type=type_hints["statistic"])
2511
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2477
2512
  check_type(argname="argument threshold", value=threshold, expected_type=type_hints["threshold"])
2478
2513
  check_type(argname="argument threshold_metric_id", value=threshold_metric_id, expected_type=type_hints["threshold_metric_id"])
2479
2514
  check_type(argname="argument treat_missing_data", value=treat_missing_data, expected_type=type_hints["treat_missing_data"])
@@ -2512,6 +2547,8 @@ class CfnAlarmProps:
2512
2547
  self._values["period"] = period
2513
2548
  if statistic is not None:
2514
2549
  self._values["statistic"] = statistic
2550
+ if tags is not None:
2551
+ self._values["tags"] = tags
2515
2552
  if threshold is not None:
2516
2553
  self._values["threshold"] = threshold
2517
2554
  if threshold_metric_id is not None:
@@ -2735,6 +2772,19 @@ class CfnAlarmProps:
2735
2772
  result = self._values.get("statistic")
2736
2773
  return typing.cast(typing.Optional[builtins.str], result)
2737
2774
 
2775
+ @builtins.property
2776
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
2777
+ '''A list of key-value pairs to associate with the alarm.
2778
+
2779
+ You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission.
2780
+
2781
+ Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
2782
+
2783
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-alarm.html#cfn-cloudwatch-alarm-tags
2784
+ '''
2785
+ result = self._values.get("tags")
2786
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
2787
+
2738
2788
  @builtins.property
2739
2789
  def threshold(self) -> typing.Optional[jsii.Number]:
2740
2790
  '''The value to compare with the specified statistic.
@@ -3846,7 +3896,7 @@ class CfnAnomalyDetector(
3846
3896
 
3847
3897
  If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.
3848
3898
 
3849
- :param account_id:
3899
+ :param account_id: If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here. If you omit this parameter, the current account is used.
3850
3900
  :param dimensions: The metric dimensions to create the anomaly detection model for.
3851
3901
  :param metric_name: The name of the metric to create the anomaly detection model for.
3852
3902
  :param namespace: The namespace of the metric to create the anomaly detection model for.
@@ -3893,7 +3943,10 @@ class CfnAnomalyDetector(
3893
3943
 
3894
3944
  @builtins.property
3895
3945
  def account_id(self) -> typing.Optional[builtins.str]:
3896
- '''
3946
+ '''If the CloudWatch metric that provides the time series that the anomaly detector uses as input is in another account, specify that account ID here.
3947
+
3948
+ If you omit this parameter, the current account is used.
3949
+
3897
3950
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-singlemetricanomalydetector.html#cfn-cloudwatch-anomalydetector-singlemetricanomalydetector-accountid
3898
3951
  '''
3899
3952
  result = self._values.get("account_id")
@@ -4159,7 +4212,7 @@ class CfnAnomalyDetectorProps:
4159
4212
  )
4160
4213
 
4161
4214
 
4162
- @jsii.implements(_IInspectable_c2943556)
4215
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
4163
4216
  class CfnCompositeAlarm(
4164
4217
  _CfnResource_9df397a6,
4165
4218
  metaclass=jsii.JSIIMeta,
@@ -4173,8 +4226,6 @@ class CfnCompositeAlarm(
4173
4226
 
4174
4227
  Using composite alarms can reduce alarm noise. You can create multiple metric alarms, and also create a composite alarm and set up alerts only for the composite alarm. For example, you could create a composite alarm that goes into ALARM state only when more than one of the underlying metric alarms are in ALARM state.
4175
4228
 
4176
- Currently, the only alarm actions that can be taken by composite alarms are notifying SNS topics.
4177
-
4178
4229
  When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. For a composite alarm, this initial time after creation is the only time that the alarm can be in INSUFFICIENT_DATA state.
4179
4230
 
4180
4231
  When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm.
@@ -4201,7 +4252,11 @@ class CfnCompositeAlarm(
4201
4252
  alarm_description="alarmDescription",
4202
4253
  alarm_name="alarmName",
4203
4254
  insufficient_data_actions=["insufficientDataActions"],
4204
- ok_actions=["okActions"]
4255
+ ok_actions=["okActions"],
4256
+ tags=[CfnTag(
4257
+ key="key",
4258
+ value="value"
4259
+ )]
4205
4260
  )
4206
4261
  '''
4207
4262
 
@@ -4220,6 +4275,7 @@ class CfnCompositeAlarm(
4220
4275
  alarm_name: typing.Optional[builtins.str] = None,
4221
4276
  insufficient_data_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
4222
4277
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
4278
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4223
4279
  ) -> None:
4224
4280
  '''
4225
4281
  :param scope: Scope in which this resource is defined.
@@ -4234,6 +4290,7 @@ class CfnCompositeAlarm(
4234
4290
  :param alarm_name: The name for the composite alarm. This name must be unique within your AWS account.
4235
4291
  :param insufficient_data_actions: The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see `PutCompositeAlarm <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html>`_ in the *Amazon CloudWatch API Reference* .
4236
4292
  :param ok_actions: The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see `PutCompositeAlarm <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html>`_ in the *Amazon CloudWatch API Reference* .
4293
+ :param tags: A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
4237
4294
  '''
4238
4295
  if __debug__:
4239
4296
  type_hints = typing.get_type_hints(_typecheckingstub__5c24d10326e3cd470724ecbde5d50ff23fdf44dc88f809d9a181a5cd867e5cf3)
@@ -4250,6 +4307,7 @@ class CfnCompositeAlarm(
4250
4307
  alarm_name=alarm_name,
4251
4308
  insufficient_data_actions=insufficient_data_actions,
4252
4309
  ok_actions=ok_actions,
4310
+ tags=tags,
4253
4311
  )
4254
4312
 
4255
4313
  jsii.create(self.__class__, self, [scope, id, props])
@@ -4293,6 +4351,12 @@ class CfnCompositeAlarm(
4293
4351
  '''
4294
4352
  return typing.cast(builtins.str, jsii.get(self, "attrArn"))
4295
4353
 
4354
+ @builtins.property
4355
+ @jsii.member(jsii_name="cdkTagManager")
4356
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
4357
+ '''Tag Manager which manages the tags for this resource.'''
4358
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
4359
+
4296
4360
  @builtins.property
4297
4361
  @jsii.member(jsii_name="cfnProperties")
4298
4362
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -4442,6 +4506,19 @@ class CfnCompositeAlarm(
4442
4506
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4443
4507
  jsii.set(self, "okActions", value)
4444
4508
 
4509
+ @builtins.property
4510
+ @jsii.member(jsii_name="tags")
4511
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
4512
+ '''A list of key-value pairs to associate with the alarm.'''
4513
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
4514
+
4515
+ @tags.setter
4516
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
4517
+ if __debug__:
4518
+ type_hints = typing.get_type_hints(_typecheckingstub__457680b612885bf2c4b88aebcb2510b437690fdf7d6235bf00d83846c1ee3452)
4519
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4520
+ jsii.set(self, "tags", value)
4521
+
4445
4522
 
4446
4523
  @jsii.data_type(
4447
4524
  jsii_type="aws-cdk-lib.aws_cloudwatch.CfnCompositeAlarmProps",
@@ -4457,6 +4534,7 @@ class CfnCompositeAlarm(
4457
4534
  "alarm_name": "alarmName",
4458
4535
  "insufficient_data_actions": "insufficientDataActions",
4459
4536
  "ok_actions": "okActions",
4537
+ "tags": "tags",
4460
4538
  },
4461
4539
  )
4462
4540
  class CfnCompositeAlarmProps:
@@ -4473,6 +4551,7 @@ class CfnCompositeAlarmProps:
4473
4551
  alarm_name: typing.Optional[builtins.str] = None,
4474
4552
  insufficient_data_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
4475
4553
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
4554
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4476
4555
  ) -> None:
4477
4556
  '''Properties for defining a ``CfnCompositeAlarm``.
4478
4557
 
@@ -4486,6 +4565,7 @@ class CfnCompositeAlarmProps:
4486
4565
  :param alarm_name: The name for the composite alarm. This name must be unique within your AWS account.
4487
4566
  :param insufficient_data_actions: The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see `PutCompositeAlarm <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html>`_ in the *Amazon CloudWatch API Reference* .
4488
4567
  :param ok_actions: The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). For more information about creating alarms and the actions that you can specify, see `PutCompositeAlarm <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutCompositeAlarm.html>`_ in the *Amazon CloudWatch API Reference* .
4568
+ :param tags: A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
4489
4569
 
4490
4570
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html
4491
4571
  :exampleMetadata: fixture=_generated
@@ -4508,7 +4588,11 @@ class CfnCompositeAlarmProps:
4508
4588
  alarm_description="alarmDescription",
4509
4589
  alarm_name="alarmName",
4510
4590
  insufficient_data_actions=["insufficientDataActions"],
4511
- ok_actions=["okActions"]
4591
+ ok_actions=["okActions"],
4592
+ tags=[CfnTag(
4593
+ key="key",
4594
+ value="value"
4595
+ )]
4512
4596
  )
4513
4597
  '''
4514
4598
  if __debug__:
@@ -4523,6 +4607,7 @@ class CfnCompositeAlarmProps:
4523
4607
  check_type(argname="argument alarm_name", value=alarm_name, expected_type=type_hints["alarm_name"])
4524
4608
  check_type(argname="argument insufficient_data_actions", value=insufficient_data_actions, expected_type=type_hints["insufficient_data_actions"])
4525
4609
  check_type(argname="argument ok_actions", value=ok_actions, expected_type=type_hints["ok_actions"])
4610
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
4526
4611
  self._values: typing.Dict[builtins.str, typing.Any] = {
4527
4612
  "alarm_rule": alarm_rule,
4528
4613
  }
@@ -4544,6 +4629,8 @@ class CfnCompositeAlarmProps:
4544
4629
  self._values["insufficient_data_actions"] = insufficient_data_actions
4545
4630
  if ok_actions is not None:
4546
4631
  self._values["ok_actions"] = ok_actions
4632
+ if tags is not None:
4633
+ self._values["tags"] = tags
4547
4634
 
4548
4635
  @builtins.property
4549
4636
  def alarm_rule(self) -> builtins.str:
@@ -4676,6 +4763,19 @@ class CfnCompositeAlarmProps:
4676
4763
  result = self._values.get("ok_actions")
4677
4764
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
4678
4765
 
4766
+ @builtins.property
4767
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
4768
+ '''A list of key-value pairs to associate with the alarm.
4769
+
4770
+ You can associate as many as 50 tags with an alarm. To be able to associate tags with the alarm when you create the alarm, you must have the ``cloudwatch:TagResource`` permission.
4771
+
4772
+ Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
4773
+
4774
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-tags
4775
+ '''
4776
+ result = self._values.get("tags")
4777
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
4778
+
4679
4779
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4680
4780
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4681
4781
 
@@ -14821,6 +14921,7 @@ def _typecheckingstub__5adc477b9cef758736625389f1a51dec08eb7b348be35f42b0e37d6d4
14821
14921
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
14822
14922
  period: typing.Optional[jsii.Number] = None,
14823
14923
  statistic: typing.Optional[builtins.str] = None,
14924
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
14824
14925
  threshold: typing.Optional[jsii.Number] = None,
14825
14926
  threshold_metric_id: typing.Optional[builtins.str] = None,
14826
14927
  treat_missing_data: typing.Optional[builtins.str] = None,
@@ -14943,6 +15044,12 @@ def _typecheckingstub__233ab7996f3717f1bae1d0b9c6063cfa83de67875ac91777906dbd686
14943
15044
  """Type checking stubs"""
14944
15045
  pass
14945
15046
 
15047
+ def _typecheckingstub__895712e62b896ed30b8848bddfdb970fd334934c19393e2eb8ad06392ecf8af9(
15048
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
15049
+ ) -> None:
15050
+ """Type checking stubs"""
15051
+ pass
15052
+
14946
15053
  def _typecheckingstub__5fbcb41a59e8a1cba566cf0b26b3129b32d1bb58de6d5fcb5045e9d2ddf908de(
14947
15054
  value: typing.Optional[jsii.Number],
14948
15055
  ) -> None:
@@ -15026,6 +15133,7 @@ def _typecheckingstub__bc643fb1b5f1f1f0e0d9896a5988171163c1f79adc28d1e921bdf85f1
15026
15133
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
15027
15134
  period: typing.Optional[jsii.Number] = None,
15028
15135
  statistic: typing.Optional[builtins.str] = None,
15136
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
15029
15137
  threshold: typing.Optional[jsii.Number] = None,
15030
15138
  threshold_metric_id: typing.Optional[builtins.str] = None,
15031
15139
  treat_missing_data: typing.Optional[builtins.str] = None,
@@ -15204,6 +15312,7 @@ def _typecheckingstub__5c24d10326e3cd470724ecbde5d50ff23fdf44dc88f809d9a181a5cd8
15204
15312
  alarm_name: typing.Optional[builtins.str] = None,
15205
15313
  insufficient_data_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
15206
15314
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
15315
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
15207
15316
  ) -> None:
15208
15317
  """Type checking stubs"""
15209
15318
  pass
@@ -15280,6 +15389,12 @@ def _typecheckingstub__f061adaf1332cbeeb6cedda66357d6a65aea2023583d23de2ed9b9c19
15280
15389
  """Type checking stubs"""
15281
15390
  pass
15282
15391
 
15392
+ def _typecheckingstub__457680b612885bf2c4b88aebcb2510b437690fdf7d6235bf00d83846c1ee3452(
15393
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
15394
+ ) -> None:
15395
+ """Type checking stubs"""
15396
+ pass
15397
+
15283
15398
  def _typecheckingstub__f61e2b790710dde8e1d3a57752c99da295b632afeb42e0870113583f0277be2c(
15284
15399
  *,
15285
15400
  alarm_rule: builtins.str,
@@ -15292,6 +15407,7 @@ def _typecheckingstub__f61e2b790710dde8e1d3a57752c99da295b632afeb42e0870113583f0
15292
15407
  alarm_name: typing.Optional[builtins.str] = None,
15293
15408
  insufficient_data_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
15294
15409
  ok_actions: typing.Optional[typing.Sequence[builtins.str]] = None,
15410
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
15295
15411
  ) -> None:
15296
15412
  """Type checking stubs"""
15297
15413
  pass