aws-cdk-lib 2.187.0__py3-none-any.whl → 2.189.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 (60) hide show
  1. aws_cdk/__init__.py +24 -3
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.187.0.jsii.tgz → aws-cdk-lib@2.189.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +21 -9
  5. aws_cdk/aws_apigateway/__init__.py +27 -19
  6. aws_cdk/aws_apigatewayv2/__init__.py +170 -0
  7. aws_cdk/aws_appconfig/__init__.py +30 -14
  8. aws_cdk/aws_arczonalshift/__init__.py +4 -4
  9. aws_cdk/aws_batch/__init__.py +2 -0
  10. aws_cdk/aws_bedrock/__init__.py +629 -32
  11. aws_cdk/aws_budgets/__init__.py +8 -8
  12. aws_cdk/aws_cassandra/__init__.py +3 -1
  13. aws_cdk/aws_ce/__init__.py +2 -2
  14. aws_cdk/aws_cloudformation/__init__.py +3 -3
  15. aws_cdk/aws_codebuild/__init__.py +23 -1
  16. aws_cdk/aws_codepipeline/__init__.py +47 -32
  17. aws_cdk/aws_codepipeline_actions/__init__.py +2786 -1042
  18. aws_cdk/aws_codestarnotifications/__init__.py +16 -16
  19. aws_cdk/aws_cognito/__init__.py +8 -2
  20. aws_cdk/aws_dsql/__init__.py +366 -0
  21. aws_cdk/aws_dynamodb/__init__.py +4 -4
  22. aws_cdk/aws_ec2/__init__.py +2130 -237
  23. aws_cdk/aws_eks/__init__.py +112 -10
  24. aws_cdk/aws_events_targets/__init__.py +136 -0
  25. aws_cdk/aws_fsx/__init__.py +2 -8
  26. aws_cdk/aws_gamelift/__init__.py +140 -14
  27. aws_cdk/aws_groundstation/__init__.py +4 -2
  28. aws_cdk/aws_iam/__init__.py +6 -4
  29. aws_cdk/aws_identitystore/__init__.py +15 -13
  30. aws_cdk/aws_kinesisfirehose/__init__.py +38 -0
  31. aws_cdk/aws_lambda_event_sources/__init__.py +22 -22
  32. aws_cdk/aws_lex/__init__.py +21 -17
  33. aws_cdk/aws_logs/__init__.py +18 -0
  34. aws_cdk/aws_logs_destinations/__init__.py +146 -0
  35. aws_cdk/aws_notifications/__init__.py +4 -4
  36. aws_cdk/aws_omics/__init__.py +9 -1
  37. aws_cdk/aws_opensearchserverless/__init__.py +31 -23
  38. aws_cdk/aws_organizations/__init__.py +1 -1
  39. aws_cdk/aws_paymentcryptography/__init__.py +6 -2
  40. aws_cdk/aws_pcaconnectorad/__init__.py +3 -2
  41. aws_cdk/aws_quicksight/__init__.py +35 -22
  42. aws_cdk/aws_rds/__init__.py +84 -0
  43. aws_cdk/aws_redshiftserverless/__init__.py +166 -0
  44. aws_cdk/aws_route53/__init__.py +3 -3
  45. aws_cdk/aws_route53recoverycontrol/__init__.py +4 -6
  46. aws_cdk/aws_rum/__init__.py +13 -10
  47. aws_cdk/aws_s3/__init__.py +3 -6
  48. aws_cdk/aws_sagemaker/__init__.py +41 -0
  49. aws_cdk/aws_ssmincidents/__init__.py +10 -10
  50. aws_cdk/aws_systemsmanagersap/__init__.py +17 -7
  51. aws_cdk/aws_transfer/__init__.py +19 -10
  52. aws_cdk/aws_wafv2/__init__.py +80 -35
  53. aws_cdk/cx_api/__init__.py +23 -2
  54. aws_cdk/pipelines/__init__.py +71 -1
  55. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/METADATA +1 -1
  56. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/RECORD +60 -59
  57. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/LICENSE +0 -0
  58. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/NOTICE +0 -0
  59. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/WHEEL +0 -0
  60. {aws_cdk_lib-2.187.0.dist-info → aws_cdk_lib-2.189.0.dist-info}/top_level.txt +0 -0
@@ -123,7 +123,7 @@ class CfnNotificationRule(
123
123
  ):
124
124
  '''Creates a notification rule for a resource.
125
125
 
126
- The rule specifies the events you want notifications about and the targets (such as Amazon Simple Notification Service topics or AWS Chatbot clients configured for Slack) where you want to receive them.
126
+ The rule specifies the events you want notifications about and the targets (such as Amazon Simple Notification Service topics or clients configured for Slack) where you want to receive them.
127
127
 
128
128
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html
129
129
  :cloudformationResource: AWS::CodeStarNotifications::NotificationRule
@@ -179,12 +179,12 @@ class CfnNotificationRule(
179
179
  :param event_type_ids: A list of event types associated with this notification rule. For a complete list of event types and IDs, see `Notification concepts <https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api>`_ in the *Developer Tools Console User Guide* .
180
180
  :param name: The name for the notification rule. Notification rule names must be unique in your AWS account .
181
181
  :param resource: The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline , repositories in AWS CodeCommit , and build projects in AWS CodeBuild .
182
- :param targets: A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.
182
+ :param targets: A list of Amazon Resource Names (ARNs) of Amazon SNS topics and clients to associate with the notification rule.
183
183
  :param created_by: The name or email alias of the person who created the notification rule.
184
184
  :param event_type_id: The event type associated with this notification rule. For a complete list of event types and IDs, see `Notification concepts <https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api>`_ in the *Developer Tools Console User Guide* .
185
185
  :param status: The status of the notification rule. The default value is ``ENABLED`` . If the status is set to ``DISABLED`` , notifications aren't sent for the notification rule.
186
186
  :param tags: A list of tags to apply to this notification rule. Key names cannot start with " ``aws`` ".
187
- :param target_address: The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.
187
+ :param target_address: The Amazon Resource Name (ARN) of the Amazon SNS topic or client.
188
188
  '''
189
189
  if __debug__:
190
190
  type_hints = typing.get_type_hints(_typecheckingstub__724996b7b605c1ccec7fc232a8e933db042d262c4932936112f67cf6c1086ace)
@@ -312,7 +312,7 @@ class CfnNotificationRule(
312
312
  def targets(
313
313
  self,
314
314
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnNotificationRule.TargetProperty"]]]:
315
- '''A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.'''
315
+ '''A list of Amazon Resource Names (ARNs) of Amazon SNS topics and clients to associate with the notification rule.'''
316
316
  return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnNotificationRule.TargetProperty"]]], jsii.get(self, "targets"))
317
317
 
318
318
  @targets.setter
@@ -383,7 +383,7 @@ class CfnNotificationRule(
383
383
  @builtins.property
384
384
  @jsii.member(jsii_name="targetAddress")
385
385
  def target_address(self) -> typing.Optional[builtins.str]:
386
- '''The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.'''
386
+ '''The Amazon Resource Name (ARN) of the Amazon SNS topic or client.'''
387
387
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "targetAddress"))
388
388
 
389
389
  @target_address.setter
@@ -405,10 +405,10 @@ class CfnNotificationRule(
405
405
  target_address: builtins.str,
406
406
  target_type: builtins.str,
407
407
  ) -> None:
408
- '''Information about the AWS Chatbot topics or AWS Chatbot clients associated with a notification rule.
408
+ '''Information about the topics or clients associated with a notification rule.
409
409
 
410
- :param target_address: The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client.
411
- :param target_type: The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client. - Amazon Simple Notification Service topics are specified as ``SNS`` . - AWS Chatbot clients are specified as ``AWSChatbotSlack`` . - AWS Chatbot clients for Microsoft Teams are specified as ``AWSChatbotMicrosoftTeams`` .
410
+ :param target_address: The Amazon Resource Name (ARN) of the topic or client.
411
+ :param target_type: The target type. Can be an Amazon Simple Notification Service topic or client. - Amazon Simple Notification Service topics are specified as ``SNS`` . - clients are specified as ``AWSChatbotSlack`` . - clients for Microsoft Teams are specified as ``AWSChatbotMicrosoftTeams`` .
412
412
 
413
413
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestarnotifications-notificationrule-target.html
414
414
  :exampleMetadata: fixture=_generated
@@ -435,7 +435,7 @@ class CfnNotificationRule(
435
435
 
436
436
  @builtins.property
437
437
  def target_address(self) -> builtins.str:
438
- '''The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client.
438
+ '''The Amazon Resource Name (ARN) of the topic or client.
439
439
 
440
440
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestarnotifications-notificationrule-target.html#cfn-codestarnotifications-notificationrule-target-targetaddress
441
441
  '''
@@ -445,11 +445,11 @@ class CfnNotificationRule(
445
445
 
446
446
  @builtins.property
447
447
  def target_type(self) -> builtins.str:
448
- '''The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client.
448
+ '''The target type. Can be an Amazon Simple Notification Service topic or client.
449
449
 
450
450
  - Amazon Simple Notification Service topics are specified as ``SNS`` .
451
- - AWS Chatbot clients are specified as ``AWSChatbotSlack`` .
452
- - AWS Chatbot clients for Microsoft Teams are specified as ``AWSChatbotMicrosoftTeams`` .
451
+ - clients are specified as ``AWSChatbotSlack`` .
452
+ - clients for Microsoft Teams are specified as ``AWSChatbotMicrosoftTeams`` .
453
453
 
454
454
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestarnotifications-notificationrule-target.html#cfn-codestarnotifications-notificationrule-target-targettype
455
455
  '''
@@ -506,12 +506,12 @@ class CfnNotificationRuleProps:
506
506
  :param event_type_ids: A list of event types associated with this notification rule. For a complete list of event types and IDs, see `Notification concepts <https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api>`_ in the *Developer Tools Console User Guide* .
507
507
  :param name: The name for the notification rule. Notification rule names must be unique in your AWS account .
508
508
  :param resource: The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline , repositories in AWS CodeCommit , and build projects in AWS CodeBuild .
509
- :param targets: A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.
509
+ :param targets: A list of Amazon Resource Names (ARNs) of Amazon SNS topics and clients to associate with the notification rule.
510
510
  :param created_by: The name or email alias of the person who created the notification rule.
511
511
  :param event_type_id: The event type associated with this notification rule. For a complete list of event types and IDs, see `Notification concepts <https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api>`_ in the *Developer Tools Console User Guide* .
512
512
  :param status: The status of the notification rule. The default value is ``ENABLED`` . If the status is set to ``DISABLED`` , notifications aren't sent for the notification rule.
513
513
  :param tags: A list of tags to apply to this notification rule. Key names cannot start with " ``aws`` ".
514
- :param target_address: The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.
514
+ :param target_address: The Amazon Resource Name (ARN) of the Amazon SNS topic or client.
515
515
 
516
516
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html
517
517
  :exampleMetadata: fixture=_generated
@@ -624,7 +624,7 @@ class CfnNotificationRuleProps:
624
624
  def targets(
625
625
  self,
626
626
  ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnNotificationRule.TargetProperty]]]:
627
- '''A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.
627
+ '''A list of Amazon Resource Names (ARNs) of Amazon SNS topics and clients to associate with the notification rule.
628
628
 
629
629
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-targets
630
630
  '''
@@ -676,7 +676,7 @@ class CfnNotificationRuleProps:
676
676
 
677
677
  @builtins.property
678
678
  def target_address(self) -> typing.Optional[builtins.str]:
679
- '''The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.
679
+ '''The Amazon Resource Name (ARN) of the Amazon SNS topic or client.
680
680
 
681
681
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-targetaddress
682
682
  '''
@@ -615,7 +615,8 @@ userpool.add_trigger(cognito.UserPoolOperation.USER_MIGRATION, lambda_.Function(
615
615
  ))
616
616
  ```
617
617
 
618
- Additionally, only the pre token generation Lambda trigger supports trigger events with lambda version V2.0:
618
+ Additionally, only the pre token generation Lambda trigger supports trigger events with lambda version V2.0 or V3.0.
619
+ For details, see [Pre Token Generation Lambda Trigger](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html).
619
620
 
620
621
  ```python
621
622
  # userpool: cognito.UserPool
@@ -14958,6 +14959,11 @@ class LambdaVersion(enum.Enum):
14958
14959
 
14959
14960
  This is supported only for PRE_TOKEN_GENERATION trigger.
14960
14961
  '''
14962
+ V3_0 = "V3_0"
14963
+ '''V3_0 trigger.
14964
+
14965
+ This is supported only for PRE_TOKEN_GENERATION trigger.
14966
+ '''
14961
14967
 
14962
14968
 
14963
14969
  @jsii.enum(jsii_type="aws-cdk-lib.aws_cognito.ManagedLoginVersion")
@@ -21153,7 +21159,7 @@ class UserPoolOperation(
21153
21159
  @jsii.python.classproperty
21154
21160
  @jsii.member(jsii_name="PRE_TOKEN_GENERATION_CONFIG")
21155
21161
  def PRE_TOKEN_GENERATION_CONFIG(cls) -> "UserPoolOperation":
21156
- '''Add or remove attributes in Id tokens.
21162
+ '''Add or remove attributes in Id tokens and Access tokens.
21157
21163
 
21158
21164
  :see: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html
21159
21165
  '''
@@ -0,0 +1,366 @@
1
+ r'''
2
+ # AWS::DSQL Construct Library
3
+
4
+ <!--BEGIN STABILITY BANNER-->---
5
+
6
+
7
+ ![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
8
+
9
+ > All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
10
+
11
+ ---
12
+ <!--END STABILITY BANNER-->
13
+
14
+ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.
15
+
16
+ ```python
17
+ import aws_cdk.aws_dsql as dsql
18
+ ```
19
+
20
+ <!--BEGIN CFNONLY DISCLAIMER-->
21
+
22
+ There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:
23
+
24
+ * Search [Construct Hub for DSQL construct libraries](https://constructs.dev/search?q=dsql)
25
+ * Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::DSQL resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_DSQL.html) directly.
26
+
27
+ <!--BEGIN CFNONLY DISCLAIMER-->
28
+
29
+ There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
30
+ However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.
31
+
32
+ For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::DSQL](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_DSQL.html).
33
+
34
+ (Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)
35
+
36
+ <!--END CFNONLY DISCLAIMER-->
37
+ '''
38
+ from pkgutil import extend_path
39
+ __path__ = extend_path(__path__, __name__)
40
+
41
+ import abc
42
+ import builtins
43
+ import datetime
44
+ import enum
45
+ import typing
46
+
47
+ import jsii
48
+ import publication
49
+ import typing_extensions
50
+
51
+ import typeguard
52
+ from importlib.metadata import version as _metadata_package_version
53
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
54
+
55
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
56
+ if TYPEGUARD_MAJOR_VERSION <= 2:
57
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
58
+ else:
59
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
60
+ pass
61
+ else:
62
+ if TYPEGUARD_MAJOR_VERSION == 3:
63
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
64
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
65
+ else:
66
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
67
+
68
+ from .._jsii import *
69
+
70
+ import constructs as _constructs_77d1e7e8
71
+ from .. import (
72
+ CfnResource as _CfnResource_9df397a6,
73
+ CfnTag as _CfnTag_f6864754,
74
+ IInspectable as _IInspectable_c2943556,
75
+ IResolvable as _IResolvable_da3f097b,
76
+ ITaggableV2 as _ITaggableV2_4e6798f8,
77
+ TagManager as _TagManager_0a598cb3,
78
+ TreeInspector as _TreeInspector_488e0dd5,
79
+ )
80
+
81
+
82
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
83
+ class CfnCluster(
84
+ _CfnResource_9df397a6,
85
+ metaclass=jsii.JSIIMeta,
86
+ jsii_type="aws-cdk-lib.aws_dsql.CfnCluster",
87
+ ):
88
+ '''Resource Type definition for AWS::DSQL::Cluster.
89
+
90
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html
91
+ :cloudformationResource: AWS::DSQL::Cluster
92
+ :exampleMetadata: fixture=_generated
93
+
94
+ Example::
95
+
96
+ # The code below shows an example of how to instantiate this type.
97
+ # The values are placeholders you should change.
98
+ from aws_cdk import aws_dsql as dsql
99
+
100
+ cfn_cluster = dsql.CfnCluster(self, "MyCfnCluster",
101
+ deletion_protection_enabled=False,
102
+ tags=[CfnTag(
103
+ key="key",
104
+ value="value"
105
+ )]
106
+ )
107
+ '''
108
+
109
+ def __init__(
110
+ self,
111
+ scope: _constructs_77d1e7e8.Construct,
112
+ id: builtins.str,
113
+ *,
114
+ deletion_protection_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
115
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
116
+ ) -> None:
117
+ '''
118
+ :param scope: Scope in which this resource is defined.
119
+ :param id: Construct identifier for this resource (unique in its scope).
120
+ :param deletion_protection_enabled: Whether deletion protection is enabled in this cluster.
121
+ :param tags:
122
+ '''
123
+ if __debug__:
124
+ type_hints = typing.get_type_hints(_typecheckingstub__b82b76673b1942e60f823768c857e13a61b0491cdd1ca21c1f2a574e980d253e)
125
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
126
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
127
+ props = CfnClusterProps(
128
+ deletion_protection_enabled=deletion_protection_enabled, tags=tags
129
+ )
130
+
131
+ jsii.create(self.__class__, self, [scope, id, props])
132
+
133
+ @jsii.member(jsii_name="inspect")
134
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
135
+ '''Examines the CloudFormation resource and discloses attributes.
136
+
137
+ :param inspector: tree inspector to collect and process attributes.
138
+ '''
139
+ if __debug__:
140
+ type_hints = typing.get_type_hints(_typecheckingstub__b05414cc6a0a47d76a5604395b89b41d7f04f08f9b28ec25471d8d9dfd914483)
141
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
142
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
143
+
144
+ @jsii.member(jsii_name="renderProperties")
145
+ def _render_properties(
146
+ self,
147
+ props: typing.Mapping[builtins.str, typing.Any],
148
+ ) -> typing.Mapping[builtins.str, typing.Any]:
149
+ '''
150
+ :param props: -
151
+ '''
152
+ if __debug__:
153
+ type_hints = typing.get_type_hints(_typecheckingstub__89daa5d24060578a1ef99b50292d70f5dc9e43d808d9f1f6ce09b7a3dac27778)
154
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
155
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
156
+
157
+ @jsii.python.classproperty
158
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
159
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
160
+ '''The CloudFormation resource type name for this resource class.'''
161
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
162
+
163
+ @builtins.property
164
+ @jsii.member(jsii_name="attrCreationTime")
165
+ def attr_creation_time(self) -> builtins.str:
166
+ '''The time of when the cluster was created in ISO-8601 format.
167
+
168
+ :cloudformationAttribute: CreationTime
169
+ '''
170
+ return typing.cast(builtins.str, jsii.get(self, "attrCreationTime"))
171
+
172
+ @builtins.property
173
+ @jsii.member(jsii_name="attrIdentifier")
174
+ def attr_identifier(self) -> builtins.str:
175
+ '''The ID of the created cluster.
176
+
177
+ :cloudformationAttribute: Identifier
178
+ '''
179
+ return typing.cast(builtins.str, jsii.get(self, "attrIdentifier"))
180
+
181
+ @builtins.property
182
+ @jsii.member(jsii_name="attrResourceArn")
183
+ def attr_resource_arn(self) -> builtins.str:
184
+ '''The Amazon Resource Name (ARN) for the cluster.
185
+
186
+ :cloudformationAttribute: ResourceArn
187
+ '''
188
+ return typing.cast(builtins.str, jsii.get(self, "attrResourceArn"))
189
+
190
+ @builtins.property
191
+ @jsii.member(jsii_name="attrStatus")
192
+ def attr_status(self) -> builtins.str:
193
+ '''The status of the cluster.
194
+
195
+ :cloudformationAttribute: Status
196
+ '''
197
+ return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
198
+
199
+ @builtins.property
200
+ @jsii.member(jsii_name="cdkTagManager")
201
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
202
+ '''Tag Manager which manages the tags for this resource.'''
203
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
204
+
205
+ @builtins.property
206
+ @jsii.member(jsii_name="cfnProperties")
207
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
208
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
209
+
210
+ @builtins.property
211
+ @jsii.member(jsii_name="deletionProtectionEnabled")
212
+ def deletion_protection_enabled(
213
+ self,
214
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
215
+ '''Whether deletion protection is enabled in this cluster.'''
216
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "deletionProtectionEnabled"))
217
+
218
+ @deletion_protection_enabled.setter
219
+ def deletion_protection_enabled(
220
+ self,
221
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
222
+ ) -> None:
223
+ if __debug__:
224
+ type_hints = typing.get_type_hints(_typecheckingstub__393f500a888707295be5db6ececab65a69f1c1889e02c7043d1d8ad0ec5e7636)
225
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
226
+ jsii.set(self, "deletionProtectionEnabled", value) # pyright: ignore[reportArgumentType]
227
+
228
+ @builtins.property
229
+ @jsii.member(jsii_name="tags")
230
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
231
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
232
+
233
+ @tags.setter
234
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
235
+ if __debug__:
236
+ type_hints = typing.get_type_hints(_typecheckingstub__c9eb2f89b2e4104fba43d8d14808715e2f3435951317df69258fecf9b606d598)
237
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
238
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
239
+
240
+
241
+ @jsii.data_type(
242
+ jsii_type="aws-cdk-lib.aws_dsql.CfnClusterProps",
243
+ jsii_struct_bases=[],
244
+ name_mapping={
245
+ "deletion_protection_enabled": "deletionProtectionEnabled",
246
+ "tags": "tags",
247
+ },
248
+ )
249
+ class CfnClusterProps:
250
+ def __init__(
251
+ self,
252
+ *,
253
+ deletion_protection_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
254
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
255
+ ) -> None:
256
+ '''Properties for defining a ``CfnCluster``.
257
+
258
+ :param deletion_protection_enabled: Whether deletion protection is enabled in this cluster.
259
+ :param tags:
260
+
261
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html
262
+ :exampleMetadata: fixture=_generated
263
+
264
+ Example::
265
+
266
+ # The code below shows an example of how to instantiate this type.
267
+ # The values are placeholders you should change.
268
+ from aws_cdk import aws_dsql as dsql
269
+
270
+ cfn_cluster_props = dsql.CfnClusterProps(
271
+ deletion_protection_enabled=False,
272
+ tags=[CfnTag(
273
+ key="key",
274
+ value="value"
275
+ )]
276
+ )
277
+ '''
278
+ if __debug__:
279
+ type_hints = typing.get_type_hints(_typecheckingstub__c99b78beafe41f2e25cbcc0b8a8aff58ff66a77464bef06dbf9128ff75ebd08c)
280
+ check_type(argname="argument deletion_protection_enabled", value=deletion_protection_enabled, expected_type=type_hints["deletion_protection_enabled"])
281
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
282
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
283
+ if deletion_protection_enabled is not None:
284
+ self._values["deletion_protection_enabled"] = deletion_protection_enabled
285
+ if tags is not None:
286
+ self._values["tags"] = tags
287
+
288
+ @builtins.property
289
+ def deletion_protection_enabled(
290
+ self,
291
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
292
+ '''Whether deletion protection is enabled in this cluster.
293
+
294
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html#cfn-dsql-cluster-deletionprotectionenabled
295
+ '''
296
+ result = self._values.get("deletion_protection_enabled")
297
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
298
+
299
+ @builtins.property
300
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
301
+ '''
302
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html#cfn-dsql-cluster-tags
303
+ '''
304
+ result = self._values.get("tags")
305
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
306
+
307
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
308
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
309
+
310
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
311
+ return not (rhs == self)
312
+
313
+ def __repr__(self) -> str:
314
+ return "CfnClusterProps(%s)" % ", ".join(
315
+ k + "=" + repr(v) for k, v in self._values.items()
316
+ )
317
+
318
+
319
+ __all__ = [
320
+ "CfnCluster",
321
+ "CfnClusterProps",
322
+ ]
323
+
324
+ publication.publish()
325
+
326
+ def _typecheckingstub__b82b76673b1942e60f823768c857e13a61b0491cdd1ca21c1f2a574e980d253e(
327
+ scope: _constructs_77d1e7e8.Construct,
328
+ id: builtins.str,
329
+ *,
330
+ deletion_protection_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
331
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
332
+ ) -> None:
333
+ """Type checking stubs"""
334
+ pass
335
+
336
+ def _typecheckingstub__b05414cc6a0a47d76a5604395b89b41d7f04f08f9b28ec25471d8d9dfd914483(
337
+ inspector: _TreeInspector_488e0dd5,
338
+ ) -> None:
339
+ """Type checking stubs"""
340
+ pass
341
+
342
+ def _typecheckingstub__89daa5d24060578a1ef99b50292d70f5dc9e43d808d9f1f6ce09b7a3dac27778(
343
+ props: typing.Mapping[builtins.str, typing.Any],
344
+ ) -> None:
345
+ """Type checking stubs"""
346
+ pass
347
+
348
+ def _typecheckingstub__393f500a888707295be5db6ececab65a69f1c1889e02c7043d1d8ad0ec5e7636(
349
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
350
+ ) -> None:
351
+ """Type checking stubs"""
352
+ pass
353
+
354
+ def _typecheckingstub__c9eb2f89b2e4104fba43d8d14808715e2f3435951317df69258fecf9b606d598(
355
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
356
+ ) -> None:
357
+ """Type checking stubs"""
358
+ pass
359
+
360
+ def _typecheckingstub__c99b78beafe41f2e25cbcc0b8a8aff58ff66a77464bef06dbf9128ff75ebd08c(
361
+ *,
362
+ deletion_protection_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
363
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
364
+ ) -> None:
365
+ """Type checking stubs"""
366
+ pass
@@ -2872,7 +2872,7 @@ class CfnGlobalTable(
2872
2872
 
2873
2873
  These are in addition to the primary key attributes and index key attributes, which are automatically projected.
2874
2874
 
2875
- :param non_key_attributes: Represents the non-key attribute names which will be projected into the index. For local secondary indexes, the total count of ``NonKeyAttributes`` summed across all of the local secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
2875
+ :param non_key_attributes: Represents the non-key attribute names which will be projected into the index. For global and local secondary indexes, the total count of ``NonKeyAttributes`` summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. This limit only applies when you specify the ProjectionType of ``INCLUDE`` . You still can specify the ProjectionType of ``ALL`` to project all attributes from the source table, even if the table has more than 100 attributes.
2876
2876
  :param projection_type: The set of attributes that are projected into the index:. - ``KEYS_ONLY`` - Only the index and primary keys are projected into the index. - ``INCLUDE`` - In addition to the attributes described in ``KEYS_ONLY`` , the secondary index will include other non-key attributes that you specify. - ``ALL`` - All of the table attributes are projected into the index. When using the DynamoDB console, ``ALL`` is selected by default.
2877
2877
 
2878
2878
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-projection.html
@@ -2903,7 +2903,7 @@ class CfnGlobalTable(
2903
2903
  def non_key_attributes(self) -> typing.Optional[typing.List[builtins.str]]:
2904
2904
  '''Represents the non-key attribute names which will be projected into the index.
2905
2905
 
2906
- For local secondary indexes, the total count of ``NonKeyAttributes`` summed across all of the local secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
2906
+ For global and local secondary indexes, the total count of ``NonKeyAttributes`` summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. This limit only applies when you specify the ProjectionType of ``INCLUDE`` . You still can specify the ProjectionType of ``ALL`` to project all attributes from the source table, even if the table has more than 100 attributes.
2907
2907
 
2908
2908
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-projection.html#cfn-dynamodb-globaltable-projection-nonkeyattributes
2909
2909
  '''
@@ -6493,7 +6493,7 @@ class CfnTable(
6493
6493
 
6494
6494
  These are in addition to the primary key attributes and index key attributes, which are automatically projected.
6495
6495
 
6496
- :param non_key_attributes: Represents the non-key attribute names which will be projected into the index. For local secondary indexes, the total count of ``NonKeyAttributes`` summed across all of the local secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
6496
+ :param non_key_attributes: Represents the non-key attribute names which will be projected into the index. For global and local secondary indexes, the total count of ``NonKeyAttributes`` summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. This limit only applies when you specify the ProjectionType of ``INCLUDE`` . You still can specify the ProjectionType of ``ALL`` to project all attributes from the source table, even if the table has more than 100 attributes.
6497
6497
  :param projection_type: The set of attributes that are projected into the index:. - ``KEYS_ONLY`` - Only the index and primary keys are projected into the index. - ``INCLUDE`` - In addition to the attributes described in ``KEYS_ONLY`` , the secondary index will include other non-key attributes that you specify. - ``ALL`` - All of the table attributes are projected into the index. When using the DynamoDB console, ``ALL`` is selected by default.
6498
6498
 
6499
6499
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-projection.html
@@ -6524,7 +6524,7 @@ class CfnTable(
6524
6524
  def non_key_attributes(self) -> typing.Optional[typing.List[builtins.str]]:
6525
6525
  '''Represents the non-key attribute names which will be projected into the index.
6526
6526
 
6527
- For local secondary indexes, the total count of ``NonKeyAttributes`` summed across all of the local secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.
6527
+ For global and local secondary indexes, the total count of ``NonKeyAttributes`` summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total. This limit only applies when you specify the ProjectionType of ``INCLUDE`` . You still can specify the ProjectionType of ``ALL`` to project all attributes from the source table, even if the table has more than 100 attributes.
6528
6528
 
6529
6529
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-projection.html#cfn-dynamodb-table-projection-nonkeyattributes
6530
6530
  '''