aws-cdk-lib 2.139.0__py3-none-any.whl → 2.140.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 +8 -0
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.139.0.jsii.tgz → aws-cdk-lib@2.140.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +70 -56
  5. aws_cdk/aws_apigateway/__init__.py +126 -53
  6. aws_cdk/aws_applicationautoscaling/__init__.py +1 -4
  7. aws_cdk/aws_arczonalshift/__init__.py +49 -44
  8. aws_cdk/aws_bedrock/__init__.py +2818 -146
  9. aws_cdk/aws_cloudfront/__init__.py +51 -9
  10. aws_cdk/aws_codecommit/__init__.py +72 -46
  11. aws_cdk/aws_connectcampaigns/__init__.py +34 -4
  12. aws_cdk/aws_datasync/__init__.py +47 -21
  13. aws_cdk/aws_dms/__init__.py +0 -269
  14. aws_cdk/aws_ec2/__init__.py +149 -44
  15. aws_cdk/aws_ecs/__init__.py +2 -4
  16. aws_cdk/aws_efs/__init__.py +16 -2
  17. aws_cdk/aws_eks/__init__.py +57 -0
  18. aws_cdk/aws_events/__init__.py +115 -0
  19. aws_cdk/aws_events_targets/__init__.py +15 -0
  20. aws_cdk/aws_fis/__init__.py +2 -1
  21. aws_cdk/aws_gamelift/__init__.py +1846 -70
  22. aws_cdk/aws_globalaccelerator/__init__.py +20 -16
  23. aws_cdk/aws_iam/__init__.py +2 -2
  24. aws_cdk/aws_kinesis/__init__.py +21 -0
  25. aws_cdk/aws_kinesisvideo/__init__.py +6 -4
  26. aws_cdk/aws_kms/__init__.py +22 -1
  27. aws_cdk/aws_lambda/__init__.py +0 -9
  28. aws_cdk/aws_medialive/__init__.py +444 -3
  29. aws_cdk/aws_paymentcryptography/__init__.py +1075 -0
  30. aws_cdk/aws_personalize/__init__.py +8 -2
  31. aws_cdk/aws_qbusiness/__init__.py +5257 -0
  32. aws_cdk/aws_quicksight/__init__.py +9996 -1446
  33. aws_cdk/aws_rds/__init__.py +42 -0
  34. aws_cdk/aws_redshiftserverless/__init__.py +13 -9
  35. aws_cdk/aws_route53/__init__.py +350 -0
  36. aws_cdk/aws_route53profiles/__init__.py +1048 -0
  37. aws_cdk/aws_s3/__init__.py +1 -1
  38. aws_cdk/aws_transfer/__init__.py +102 -37
  39. aws_cdk/aws_workspacesweb/__init__.py +92 -6
  40. aws_cdk/custom_resources/__init__.py +23 -2
  41. aws_cdk/cx_api/__init__.py +16 -0
  42. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/METADATA +2 -2
  43. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/RECORD +47 -44
  44. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/LICENSE +0 -0
  45. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/NOTICE +0 -0
  46. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/WHEEL +0 -0
  47. {aws_cdk_lib-2.139.0.dist-info → aws_cdk_lib-2.140.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1075 @@
1
+ '''
2
+ # AWS::PaymentCryptography 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_paymentcryptography as paymentcryptography
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 PaymentCryptography construct libraries](https://constructs.dev/search?q=paymentcryptography)
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::PaymentCryptography resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_PaymentCryptography.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::PaymentCryptography](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_PaymentCryptography.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
+ from typeguard import check_type
52
+
53
+ from .._jsii import *
54
+
55
+ import constructs as _constructs_77d1e7e8
56
+ from .. import (
57
+ CfnResource as _CfnResource_9df397a6,
58
+ CfnTag as _CfnTag_f6864754,
59
+ IInspectable as _IInspectable_c2943556,
60
+ IResolvable as _IResolvable_da3f097b,
61
+ ITaggableV2 as _ITaggableV2_4e6798f8,
62
+ TagManager as _TagManager_0a598cb3,
63
+ TreeInspector as _TreeInspector_488e0dd5,
64
+ )
65
+
66
+
67
+ @jsii.implements(_IInspectable_c2943556)
68
+ class CfnAlias(
69
+ _CfnResource_9df397a6,
70
+ metaclass=jsii.JSIIMeta,
71
+ jsii_type="aws-cdk-lib.aws_paymentcryptography.CfnAlias",
72
+ ):
73
+ '''Definition of AWS::PaymentCryptography::Alias Resource Type.
74
+
75
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html
76
+ :cloudformationResource: AWS::PaymentCryptography::Alias
77
+ :exampleMetadata: fixture=_generated
78
+
79
+ Example::
80
+
81
+ # The code below shows an example of how to instantiate this type.
82
+ # The values are placeholders you should change.
83
+ from aws_cdk import aws_paymentcryptography as paymentcryptography
84
+
85
+ cfn_alias = paymentcryptography.CfnAlias(self, "MyCfnAlias",
86
+ alias_name="aliasName",
87
+
88
+ # the properties below are optional
89
+ key_arn="keyArn"
90
+ )
91
+ '''
92
+
93
+ def __init__(
94
+ self,
95
+ scope: _constructs_77d1e7e8.Construct,
96
+ id: builtins.str,
97
+ *,
98
+ alias_name: builtins.str,
99
+ key_arn: typing.Optional[builtins.str] = None,
100
+ ) -> None:
101
+ '''
102
+ :param scope: Scope in which this resource is defined.
103
+ :param id: Construct identifier for this resource (unique in its scope).
104
+ :param alias_name:
105
+ :param key_arn:
106
+ '''
107
+ if __debug__:
108
+ type_hints = typing.get_type_hints(_typecheckingstub__03e3543c569149d753dcca4f9aa62f90766372bafcd1f94b89e73d5b425564e5)
109
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
110
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
111
+ props = CfnAliasProps(alias_name=alias_name, key_arn=key_arn)
112
+
113
+ jsii.create(self.__class__, self, [scope, id, props])
114
+
115
+ @jsii.member(jsii_name="inspect")
116
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
117
+ '''Examines the CloudFormation resource and discloses attributes.
118
+
119
+ :param inspector: tree inspector to collect and process attributes.
120
+ '''
121
+ if __debug__:
122
+ type_hints = typing.get_type_hints(_typecheckingstub__4ff200923cccd5fdae928ff708195bbced1ef4f7d50f668b5c73f249ed90f28f)
123
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
124
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
125
+
126
+ @jsii.member(jsii_name="renderProperties")
127
+ def _render_properties(
128
+ self,
129
+ props: typing.Mapping[builtins.str, typing.Any],
130
+ ) -> typing.Mapping[builtins.str, typing.Any]:
131
+ '''
132
+ :param props: -
133
+ '''
134
+ if __debug__:
135
+ type_hints = typing.get_type_hints(_typecheckingstub__b8f80ee3646838aabf7e90939e0251f8840c956ccf920965fde8a918b4cbf79b)
136
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
137
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
138
+
139
+ @jsii.python.classproperty
140
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
141
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
142
+ '''The CloudFormation resource type name for this resource class.'''
143
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
144
+
145
+ @builtins.property
146
+ @jsii.member(jsii_name="cfnProperties")
147
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
148
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
149
+
150
+ @builtins.property
151
+ @jsii.member(jsii_name="aliasName")
152
+ def alias_name(self) -> builtins.str:
153
+ return typing.cast(builtins.str, jsii.get(self, "aliasName"))
154
+
155
+ @alias_name.setter
156
+ def alias_name(self, value: builtins.str) -> None:
157
+ if __debug__:
158
+ type_hints = typing.get_type_hints(_typecheckingstub__dbda40ab380bdefcb4b1f97fbdfb383ed08815fcaf1d136e881314e872f7e42b)
159
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
160
+ jsii.set(self, "aliasName", value)
161
+
162
+ @builtins.property
163
+ @jsii.member(jsii_name="keyArn")
164
+ def key_arn(self) -> typing.Optional[builtins.str]:
165
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "keyArn"))
166
+
167
+ @key_arn.setter
168
+ def key_arn(self, value: typing.Optional[builtins.str]) -> None:
169
+ if __debug__:
170
+ type_hints = typing.get_type_hints(_typecheckingstub__fbafef3a7fe6a4ee77cdd86bde1df29b8df0e985f7099527ccce1ce9c0fb18d5)
171
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
172
+ jsii.set(self, "keyArn", value)
173
+
174
+
175
+ @jsii.data_type(
176
+ jsii_type="aws-cdk-lib.aws_paymentcryptography.CfnAliasProps",
177
+ jsii_struct_bases=[],
178
+ name_mapping={"alias_name": "aliasName", "key_arn": "keyArn"},
179
+ )
180
+ class CfnAliasProps:
181
+ def __init__(
182
+ self,
183
+ *,
184
+ alias_name: builtins.str,
185
+ key_arn: typing.Optional[builtins.str] = None,
186
+ ) -> None:
187
+ '''Properties for defining a ``CfnAlias``.
188
+
189
+ :param alias_name:
190
+ :param key_arn:
191
+
192
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html
193
+ :exampleMetadata: fixture=_generated
194
+
195
+ Example::
196
+
197
+ # The code below shows an example of how to instantiate this type.
198
+ # The values are placeholders you should change.
199
+ from aws_cdk import aws_paymentcryptography as paymentcryptography
200
+
201
+ cfn_alias_props = paymentcryptography.CfnAliasProps(
202
+ alias_name="aliasName",
203
+
204
+ # the properties below are optional
205
+ key_arn="keyArn"
206
+ )
207
+ '''
208
+ if __debug__:
209
+ type_hints = typing.get_type_hints(_typecheckingstub__0461ccf0903c4c242ef15c5e4bc2830b51a5cf5ebc2b326557f67cfef92bc428)
210
+ check_type(argname="argument alias_name", value=alias_name, expected_type=type_hints["alias_name"])
211
+ check_type(argname="argument key_arn", value=key_arn, expected_type=type_hints["key_arn"])
212
+ self._values: typing.Dict[builtins.str, typing.Any] = {
213
+ "alias_name": alias_name,
214
+ }
215
+ if key_arn is not None:
216
+ self._values["key_arn"] = key_arn
217
+
218
+ @builtins.property
219
+ def alias_name(self) -> builtins.str:
220
+ '''
221
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html#cfn-paymentcryptography-alias-aliasname
222
+ '''
223
+ result = self._values.get("alias_name")
224
+ assert result is not None, "Required property 'alias_name' is missing"
225
+ return typing.cast(builtins.str, result)
226
+
227
+ @builtins.property
228
+ def key_arn(self) -> typing.Optional[builtins.str]:
229
+ '''
230
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-alias.html#cfn-paymentcryptography-alias-keyarn
231
+ '''
232
+ result = self._values.get("key_arn")
233
+ return typing.cast(typing.Optional[builtins.str], result)
234
+
235
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
236
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
237
+
238
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
239
+ return not (rhs == self)
240
+
241
+ def __repr__(self) -> str:
242
+ return "CfnAliasProps(%s)" % ", ".join(
243
+ k + "=" + repr(v) for k, v in self._values.items()
244
+ )
245
+
246
+
247
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
248
+ class CfnKey(
249
+ _CfnResource_9df397a6,
250
+ metaclass=jsii.JSIIMeta,
251
+ jsii_type="aws-cdk-lib.aws_paymentcryptography.CfnKey",
252
+ ):
253
+ '''Definition of AWS::PaymentCryptography::Key Resource Type.
254
+
255
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html
256
+ :cloudformationResource: AWS::PaymentCryptography::Key
257
+ :exampleMetadata: fixture=_generated
258
+
259
+ Example::
260
+
261
+ # The code below shows an example of how to instantiate this type.
262
+ # The values are placeholders you should change.
263
+ from aws_cdk import aws_paymentcryptography as paymentcryptography
264
+
265
+ cfn_key = paymentcryptography.CfnKey(self, "MyCfnKey",
266
+ exportable=False,
267
+ key_attributes=paymentcryptography.CfnKey.KeyAttributesProperty(
268
+ key_algorithm="keyAlgorithm",
269
+ key_class="keyClass",
270
+ key_modes_of_use=paymentcryptography.CfnKey.KeyModesOfUseProperty(
271
+ decrypt=False,
272
+ derive_key=False,
273
+ encrypt=False,
274
+ generate=False,
275
+ no_restrictions=False,
276
+ sign=False,
277
+ unwrap=False,
278
+ verify=False,
279
+ wrap=False
280
+ ),
281
+ key_usage="keyUsage"
282
+ ),
283
+
284
+ # the properties below are optional
285
+ enabled=False,
286
+ key_check_value_algorithm="keyCheckValueAlgorithm",
287
+ tags=[CfnTag(
288
+ key="key",
289
+ value="value"
290
+ )]
291
+ )
292
+ '''
293
+
294
+ def __init__(
295
+ self,
296
+ scope: _constructs_77d1e7e8.Construct,
297
+ id: builtins.str,
298
+ *,
299
+ exportable: typing.Union[builtins.bool, _IResolvable_da3f097b],
300
+ key_attributes: typing.Union[_IResolvable_da3f097b, typing.Union["CfnKey.KeyAttributesProperty", typing.Dict[builtins.str, typing.Any]]],
301
+ enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
302
+ key_check_value_algorithm: typing.Optional[builtins.str] = None,
303
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
304
+ ) -> None:
305
+ '''
306
+ :param scope: Scope in which this resource is defined.
307
+ :param id: Construct identifier for this resource (unique in its scope).
308
+ :param exportable:
309
+ :param key_attributes:
310
+ :param enabled:
311
+ :param key_check_value_algorithm:
312
+ :param tags:
313
+ '''
314
+ if __debug__:
315
+ type_hints = typing.get_type_hints(_typecheckingstub__eae3f8af01ec3a496044e22e7d1ce2b96cf8f20736ded57ce899a918f81a9596)
316
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
317
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
318
+ props = CfnKeyProps(
319
+ exportable=exportable,
320
+ key_attributes=key_attributes,
321
+ enabled=enabled,
322
+ key_check_value_algorithm=key_check_value_algorithm,
323
+ tags=tags,
324
+ )
325
+
326
+ jsii.create(self.__class__, self, [scope, id, props])
327
+
328
+ @jsii.member(jsii_name="inspect")
329
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
330
+ '''Examines the CloudFormation resource and discloses attributes.
331
+
332
+ :param inspector: tree inspector to collect and process attributes.
333
+ '''
334
+ if __debug__:
335
+ type_hints = typing.get_type_hints(_typecheckingstub__3d0701d054ede99cce0d90b76ac7d1ff4eb40159e6fd502b56930a0b0a1cb63c)
336
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
337
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
338
+
339
+ @jsii.member(jsii_name="renderProperties")
340
+ def _render_properties(
341
+ self,
342
+ props: typing.Mapping[builtins.str, typing.Any],
343
+ ) -> typing.Mapping[builtins.str, typing.Any]:
344
+ '''
345
+ :param props: -
346
+ '''
347
+ if __debug__:
348
+ type_hints = typing.get_type_hints(_typecheckingstub__67d0864ea174d57204bcc36c049839be306d7849f2c1c3dc30e1a6292d6885fd)
349
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
350
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
351
+
352
+ @jsii.python.classproperty
353
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
354
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
355
+ '''The CloudFormation resource type name for this resource class.'''
356
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
357
+
358
+ @builtins.property
359
+ @jsii.member(jsii_name="attrKeyIdentifier")
360
+ def attr_key_identifier(self) -> builtins.str:
361
+ '''
362
+ :cloudformationAttribute: KeyIdentifier
363
+ '''
364
+ return typing.cast(builtins.str, jsii.get(self, "attrKeyIdentifier"))
365
+
366
+ @builtins.property
367
+ @jsii.member(jsii_name="attrKeyOrigin")
368
+ def attr_key_origin(self) -> builtins.str:
369
+ '''Defines the source of a key.
370
+
371
+ :cloudformationAttribute: KeyOrigin
372
+ '''
373
+ return typing.cast(builtins.str, jsii.get(self, "attrKeyOrigin"))
374
+
375
+ @builtins.property
376
+ @jsii.member(jsii_name="attrKeyState")
377
+ def attr_key_state(self) -> builtins.str:
378
+ '''Defines the state of a key.
379
+
380
+ :cloudformationAttribute: KeyState
381
+ '''
382
+ return typing.cast(builtins.str, jsii.get(self, "attrKeyState"))
383
+
384
+ @builtins.property
385
+ @jsii.member(jsii_name="cdkTagManager")
386
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
387
+ '''Tag Manager which manages the tags for this resource.'''
388
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
389
+
390
+ @builtins.property
391
+ @jsii.member(jsii_name="cfnProperties")
392
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
393
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
394
+
395
+ @builtins.property
396
+ @jsii.member(jsii_name="exportable")
397
+ def exportable(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
398
+ return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], jsii.get(self, "exportable"))
399
+
400
+ @exportable.setter
401
+ def exportable(
402
+ self,
403
+ value: typing.Union[builtins.bool, _IResolvable_da3f097b],
404
+ ) -> None:
405
+ if __debug__:
406
+ type_hints = typing.get_type_hints(_typecheckingstub__f21c25b942e06e9156561ac93e6371242b5b4ddbcb85077df885feaa89b2b2a6)
407
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
408
+ jsii.set(self, "exportable", value)
409
+
410
+ @builtins.property
411
+ @jsii.member(jsii_name="keyAttributes")
412
+ def key_attributes(
413
+ self,
414
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnKey.KeyAttributesProperty"]:
415
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnKey.KeyAttributesProperty"], jsii.get(self, "keyAttributes"))
416
+
417
+ @key_attributes.setter
418
+ def key_attributes(
419
+ self,
420
+ value: typing.Union[_IResolvable_da3f097b, "CfnKey.KeyAttributesProperty"],
421
+ ) -> None:
422
+ if __debug__:
423
+ type_hints = typing.get_type_hints(_typecheckingstub__509385bb900abd87d7e9680c46b008a76766e5f51864d21972df261f9db73156)
424
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
425
+ jsii.set(self, "keyAttributes", value)
426
+
427
+ @builtins.property
428
+ @jsii.member(jsii_name="enabled")
429
+ def enabled(
430
+ self,
431
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
432
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enabled"))
433
+
434
+ @enabled.setter
435
+ def enabled(
436
+ self,
437
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
438
+ ) -> None:
439
+ if __debug__:
440
+ type_hints = typing.get_type_hints(_typecheckingstub__1defb803536cf97ac83055a5760a6073dfc007fbfe2b34f9a774538091a30ef3)
441
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
442
+ jsii.set(self, "enabled", value)
443
+
444
+ @builtins.property
445
+ @jsii.member(jsii_name="keyCheckValueAlgorithm")
446
+ def key_check_value_algorithm(self) -> typing.Optional[builtins.str]:
447
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "keyCheckValueAlgorithm"))
448
+
449
+ @key_check_value_algorithm.setter
450
+ def key_check_value_algorithm(self, value: typing.Optional[builtins.str]) -> None:
451
+ if __debug__:
452
+ type_hints = typing.get_type_hints(_typecheckingstub__197ab67a28372d3c264e1414d929d0c2287a028faf7915197718c789307d1350)
453
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
454
+ jsii.set(self, "keyCheckValueAlgorithm", value)
455
+
456
+ @builtins.property
457
+ @jsii.member(jsii_name="tags")
458
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
459
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
460
+
461
+ @tags.setter
462
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
463
+ if __debug__:
464
+ type_hints = typing.get_type_hints(_typecheckingstub__78d5368ca44b0ca5acba26b914716e9d9e8bb1acb0511f4f2a701cf6fcdd968d)
465
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
466
+ jsii.set(self, "tags", value)
467
+
468
+ @jsii.data_type(
469
+ jsii_type="aws-cdk-lib.aws_paymentcryptography.CfnKey.KeyAttributesProperty",
470
+ jsii_struct_bases=[],
471
+ name_mapping={
472
+ "key_algorithm": "keyAlgorithm",
473
+ "key_class": "keyClass",
474
+ "key_modes_of_use": "keyModesOfUse",
475
+ "key_usage": "keyUsage",
476
+ },
477
+ )
478
+ class KeyAttributesProperty:
479
+ def __init__(
480
+ self,
481
+ *,
482
+ key_algorithm: builtins.str,
483
+ key_class: builtins.str,
484
+ key_modes_of_use: typing.Union[_IResolvable_da3f097b, typing.Union["CfnKey.KeyModesOfUseProperty", typing.Dict[builtins.str, typing.Any]]],
485
+ key_usage: builtins.str,
486
+ ) -> None:
487
+ '''
488
+ :param key_algorithm:
489
+ :param key_class:
490
+ :param key_modes_of_use:
491
+ :param key_usage:
492
+
493
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html
494
+ :exampleMetadata: fixture=_generated
495
+
496
+ Example::
497
+
498
+ # The code below shows an example of how to instantiate this type.
499
+ # The values are placeholders you should change.
500
+ from aws_cdk import aws_paymentcryptography as paymentcryptography
501
+
502
+ key_attributes_property = paymentcryptography.CfnKey.KeyAttributesProperty(
503
+ key_algorithm="keyAlgorithm",
504
+ key_class="keyClass",
505
+ key_modes_of_use=paymentcryptography.CfnKey.KeyModesOfUseProperty(
506
+ decrypt=False,
507
+ derive_key=False,
508
+ encrypt=False,
509
+ generate=False,
510
+ no_restrictions=False,
511
+ sign=False,
512
+ unwrap=False,
513
+ verify=False,
514
+ wrap=False
515
+ ),
516
+ key_usage="keyUsage"
517
+ )
518
+ '''
519
+ if __debug__:
520
+ type_hints = typing.get_type_hints(_typecheckingstub__0b75d16f6c2607cb760edf67dc96a26bed574dca4a5534dd5e3593befcc5f0a6)
521
+ check_type(argname="argument key_algorithm", value=key_algorithm, expected_type=type_hints["key_algorithm"])
522
+ check_type(argname="argument key_class", value=key_class, expected_type=type_hints["key_class"])
523
+ check_type(argname="argument key_modes_of_use", value=key_modes_of_use, expected_type=type_hints["key_modes_of_use"])
524
+ check_type(argname="argument key_usage", value=key_usage, expected_type=type_hints["key_usage"])
525
+ self._values: typing.Dict[builtins.str, typing.Any] = {
526
+ "key_algorithm": key_algorithm,
527
+ "key_class": key_class,
528
+ "key_modes_of_use": key_modes_of_use,
529
+ "key_usage": key_usage,
530
+ }
531
+
532
+ @builtins.property
533
+ def key_algorithm(self) -> builtins.str:
534
+ '''
535
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyalgorithm
536
+ '''
537
+ result = self._values.get("key_algorithm")
538
+ assert result is not None, "Required property 'key_algorithm' is missing"
539
+ return typing.cast(builtins.str, result)
540
+
541
+ @builtins.property
542
+ def key_class(self) -> builtins.str:
543
+ '''
544
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyclass
545
+ '''
546
+ result = self._values.get("key_class")
547
+ assert result is not None, "Required property 'key_class' is missing"
548
+ return typing.cast(builtins.str, result)
549
+
550
+ @builtins.property
551
+ def key_modes_of_use(
552
+ self,
553
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnKey.KeyModesOfUseProperty"]:
554
+ '''
555
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keymodesofuse
556
+ '''
557
+ result = self._values.get("key_modes_of_use")
558
+ assert result is not None, "Required property 'key_modes_of_use' is missing"
559
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnKey.KeyModesOfUseProperty"], result)
560
+
561
+ @builtins.property
562
+ def key_usage(self) -> builtins.str:
563
+ '''
564
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keyattributes.html#cfn-paymentcryptography-key-keyattributes-keyusage
565
+ '''
566
+ result = self._values.get("key_usage")
567
+ assert result is not None, "Required property 'key_usage' is missing"
568
+ return typing.cast(builtins.str, result)
569
+
570
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
571
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
572
+
573
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
574
+ return not (rhs == self)
575
+
576
+ def __repr__(self) -> str:
577
+ return "KeyAttributesProperty(%s)" % ", ".join(
578
+ k + "=" + repr(v) for k, v in self._values.items()
579
+ )
580
+
581
+ @jsii.data_type(
582
+ jsii_type="aws-cdk-lib.aws_paymentcryptography.CfnKey.KeyModesOfUseProperty",
583
+ jsii_struct_bases=[],
584
+ name_mapping={
585
+ "decrypt": "decrypt",
586
+ "derive_key": "deriveKey",
587
+ "encrypt": "encrypt",
588
+ "generate": "generate",
589
+ "no_restrictions": "noRestrictions",
590
+ "sign": "sign",
591
+ "unwrap": "unwrap",
592
+ "verify": "verify",
593
+ "wrap": "wrap",
594
+ },
595
+ )
596
+ class KeyModesOfUseProperty:
597
+ def __init__(
598
+ self,
599
+ *,
600
+ decrypt: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
601
+ derive_key: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
602
+ encrypt: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
603
+ generate: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
604
+ no_restrictions: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
605
+ sign: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
606
+ unwrap: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
607
+ verify: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
608
+ wrap: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
609
+ ) -> None:
610
+ '''
611
+ :param decrypt: Default: - false
612
+ :param derive_key: Default: - false
613
+ :param encrypt: Default: - false
614
+ :param generate: Default: - false
615
+ :param no_restrictions: Default: - false
616
+ :param sign: Default: - false
617
+ :param unwrap: Default: - false
618
+ :param verify: Default: - false
619
+ :param wrap: Default: - false
620
+
621
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html
622
+ :exampleMetadata: fixture=_generated
623
+
624
+ Example::
625
+
626
+ # The code below shows an example of how to instantiate this type.
627
+ # The values are placeholders you should change.
628
+ from aws_cdk import aws_paymentcryptography as paymentcryptography
629
+
630
+ key_modes_of_use_property = paymentcryptography.CfnKey.KeyModesOfUseProperty(
631
+ decrypt=False,
632
+ derive_key=False,
633
+ encrypt=False,
634
+ generate=False,
635
+ no_restrictions=False,
636
+ sign=False,
637
+ unwrap=False,
638
+ verify=False,
639
+ wrap=False
640
+ )
641
+ '''
642
+ if __debug__:
643
+ type_hints = typing.get_type_hints(_typecheckingstub__19bb5a67c0e2112fa91ea214bcd53a4406d0b3e006c09d38e9c0cd851824cb05)
644
+ check_type(argname="argument decrypt", value=decrypt, expected_type=type_hints["decrypt"])
645
+ check_type(argname="argument derive_key", value=derive_key, expected_type=type_hints["derive_key"])
646
+ check_type(argname="argument encrypt", value=encrypt, expected_type=type_hints["encrypt"])
647
+ check_type(argname="argument generate", value=generate, expected_type=type_hints["generate"])
648
+ check_type(argname="argument no_restrictions", value=no_restrictions, expected_type=type_hints["no_restrictions"])
649
+ check_type(argname="argument sign", value=sign, expected_type=type_hints["sign"])
650
+ check_type(argname="argument unwrap", value=unwrap, expected_type=type_hints["unwrap"])
651
+ check_type(argname="argument verify", value=verify, expected_type=type_hints["verify"])
652
+ check_type(argname="argument wrap", value=wrap, expected_type=type_hints["wrap"])
653
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
654
+ if decrypt is not None:
655
+ self._values["decrypt"] = decrypt
656
+ if derive_key is not None:
657
+ self._values["derive_key"] = derive_key
658
+ if encrypt is not None:
659
+ self._values["encrypt"] = encrypt
660
+ if generate is not None:
661
+ self._values["generate"] = generate
662
+ if no_restrictions is not None:
663
+ self._values["no_restrictions"] = no_restrictions
664
+ if sign is not None:
665
+ self._values["sign"] = sign
666
+ if unwrap is not None:
667
+ self._values["unwrap"] = unwrap
668
+ if verify is not None:
669
+ self._values["verify"] = verify
670
+ if wrap is not None:
671
+ self._values["wrap"] = wrap
672
+
673
+ @builtins.property
674
+ def decrypt(
675
+ self,
676
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
677
+ '''
678
+ :default: - false
679
+
680
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-decrypt
681
+ '''
682
+ result = self._values.get("decrypt")
683
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
684
+
685
+ @builtins.property
686
+ def derive_key(
687
+ self,
688
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
689
+ '''
690
+ :default: - false
691
+
692
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-derivekey
693
+ '''
694
+ result = self._values.get("derive_key")
695
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
696
+
697
+ @builtins.property
698
+ def encrypt(
699
+ self,
700
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
701
+ '''
702
+ :default: - false
703
+
704
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-encrypt
705
+ '''
706
+ result = self._values.get("encrypt")
707
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
708
+
709
+ @builtins.property
710
+ def generate(
711
+ self,
712
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
713
+ '''
714
+ :default: - false
715
+
716
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-generate
717
+ '''
718
+ result = self._values.get("generate")
719
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
720
+
721
+ @builtins.property
722
+ def no_restrictions(
723
+ self,
724
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
725
+ '''
726
+ :default: - false
727
+
728
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-norestrictions
729
+ '''
730
+ result = self._values.get("no_restrictions")
731
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
732
+
733
+ @builtins.property
734
+ def sign(
735
+ self,
736
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
737
+ '''
738
+ :default: - false
739
+
740
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-sign
741
+ '''
742
+ result = self._values.get("sign")
743
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
744
+
745
+ @builtins.property
746
+ def unwrap(
747
+ self,
748
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
749
+ '''
750
+ :default: - false
751
+
752
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-unwrap
753
+ '''
754
+ result = self._values.get("unwrap")
755
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
756
+
757
+ @builtins.property
758
+ def verify(
759
+ self,
760
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
761
+ '''
762
+ :default: - false
763
+
764
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-verify
765
+ '''
766
+ result = self._values.get("verify")
767
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
768
+
769
+ @builtins.property
770
+ def wrap(
771
+ self,
772
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
773
+ '''
774
+ :default: - false
775
+
776
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-paymentcryptography-key-keymodesofuse.html#cfn-paymentcryptography-key-keymodesofuse-wrap
777
+ '''
778
+ result = self._values.get("wrap")
779
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
780
+
781
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
782
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
783
+
784
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
785
+ return not (rhs == self)
786
+
787
+ def __repr__(self) -> str:
788
+ return "KeyModesOfUseProperty(%s)" % ", ".join(
789
+ k + "=" + repr(v) for k, v in self._values.items()
790
+ )
791
+
792
+
793
+ @jsii.data_type(
794
+ jsii_type="aws-cdk-lib.aws_paymentcryptography.CfnKeyProps",
795
+ jsii_struct_bases=[],
796
+ name_mapping={
797
+ "exportable": "exportable",
798
+ "key_attributes": "keyAttributes",
799
+ "enabled": "enabled",
800
+ "key_check_value_algorithm": "keyCheckValueAlgorithm",
801
+ "tags": "tags",
802
+ },
803
+ )
804
+ class CfnKeyProps:
805
+ def __init__(
806
+ self,
807
+ *,
808
+ exportable: typing.Union[builtins.bool, _IResolvable_da3f097b],
809
+ key_attributes: typing.Union[_IResolvable_da3f097b, typing.Union[CfnKey.KeyAttributesProperty, typing.Dict[builtins.str, typing.Any]]],
810
+ enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
811
+ key_check_value_algorithm: typing.Optional[builtins.str] = None,
812
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
813
+ ) -> None:
814
+ '''Properties for defining a ``CfnKey``.
815
+
816
+ :param exportable:
817
+ :param key_attributes:
818
+ :param enabled:
819
+ :param key_check_value_algorithm:
820
+ :param tags:
821
+
822
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html
823
+ :exampleMetadata: fixture=_generated
824
+
825
+ Example::
826
+
827
+ # The code below shows an example of how to instantiate this type.
828
+ # The values are placeholders you should change.
829
+ from aws_cdk import aws_paymentcryptography as paymentcryptography
830
+
831
+ cfn_key_props = paymentcryptography.CfnKeyProps(
832
+ exportable=False,
833
+ key_attributes=paymentcryptography.CfnKey.KeyAttributesProperty(
834
+ key_algorithm="keyAlgorithm",
835
+ key_class="keyClass",
836
+ key_modes_of_use=paymentcryptography.CfnKey.KeyModesOfUseProperty(
837
+ decrypt=False,
838
+ derive_key=False,
839
+ encrypt=False,
840
+ generate=False,
841
+ no_restrictions=False,
842
+ sign=False,
843
+ unwrap=False,
844
+ verify=False,
845
+ wrap=False
846
+ ),
847
+ key_usage="keyUsage"
848
+ ),
849
+
850
+ # the properties below are optional
851
+ enabled=False,
852
+ key_check_value_algorithm="keyCheckValueAlgorithm",
853
+ tags=[CfnTag(
854
+ key="key",
855
+ value="value"
856
+ )]
857
+ )
858
+ '''
859
+ if __debug__:
860
+ type_hints = typing.get_type_hints(_typecheckingstub__1ba44ca0d377189c3fde668037b0b7a8a9ee19fc052286d570ba26e888b2cf78)
861
+ check_type(argname="argument exportable", value=exportable, expected_type=type_hints["exportable"])
862
+ check_type(argname="argument key_attributes", value=key_attributes, expected_type=type_hints["key_attributes"])
863
+ check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
864
+ check_type(argname="argument key_check_value_algorithm", value=key_check_value_algorithm, expected_type=type_hints["key_check_value_algorithm"])
865
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
866
+ self._values: typing.Dict[builtins.str, typing.Any] = {
867
+ "exportable": exportable,
868
+ "key_attributes": key_attributes,
869
+ }
870
+ if enabled is not None:
871
+ self._values["enabled"] = enabled
872
+ if key_check_value_algorithm is not None:
873
+ self._values["key_check_value_algorithm"] = key_check_value_algorithm
874
+ if tags is not None:
875
+ self._values["tags"] = tags
876
+
877
+ @builtins.property
878
+ def exportable(self) -> typing.Union[builtins.bool, _IResolvable_da3f097b]:
879
+ '''
880
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-exportable
881
+ '''
882
+ result = self._values.get("exportable")
883
+ assert result is not None, "Required property 'exportable' is missing"
884
+ return typing.cast(typing.Union[builtins.bool, _IResolvable_da3f097b], result)
885
+
886
+ @builtins.property
887
+ def key_attributes(
888
+ self,
889
+ ) -> typing.Union[_IResolvable_da3f097b, CfnKey.KeyAttributesProperty]:
890
+ '''
891
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keyattributes
892
+ '''
893
+ result = self._values.get("key_attributes")
894
+ assert result is not None, "Required property 'key_attributes' is missing"
895
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnKey.KeyAttributesProperty], result)
896
+
897
+ @builtins.property
898
+ def enabled(
899
+ self,
900
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
901
+ '''
902
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-enabled
903
+ '''
904
+ result = self._values.get("enabled")
905
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
906
+
907
+ @builtins.property
908
+ def key_check_value_algorithm(self) -> typing.Optional[builtins.str]:
909
+ '''
910
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-keycheckvaluealgorithm
911
+ '''
912
+ result = self._values.get("key_check_value_algorithm")
913
+ return typing.cast(typing.Optional[builtins.str], result)
914
+
915
+ @builtins.property
916
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
917
+ '''
918
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-paymentcryptography-key.html#cfn-paymentcryptography-key-tags
919
+ '''
920
+ result = self._values.get("tags")
921
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
922
+
923
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
924
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
925
+
926
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
927
+ return not (rhs == self)
928
+
929
+ def __repr__(self) -> str:
930
+ return "CfnKeyProps(%s)" % ", ".join(
931
+ k + "=" + repr(v) for k, v in self._values.items()
932
+ )
933
+
934
+
935
+ __all__ = [
936
+ "CfnAlias",
937
+ "CfnAliasProps",
938
+ "CfnKey",
939
+ "CfnKeyProps",
940
+ ]
941
+
942
+ publication.publish()
943
+
944
+ def _typecheckingstub__03e3543c569149d753dcca4f9aa62f90766372bafcd1f94b89e73d5b425564e5(
945
+ scope: _constructs_77d1e7e8.Construct,
946
+ id: builtins.str,
947
+ *,
948
+ alias_name: builtins.str,
949
+ key_arn: typing.Optional[builtins.str] = None,
950
+ ) -> None:
951
+ """Type checking stubs"""
952
+ pass
953
+
954
+ def _typecheckingstub__4ff200923cccd5fdae928ff708195bbced1ef4f7d50f668b5c73f249ed90f28f(
955
+ inspector: _TreeInspector_488e0dd5,
956
+ ) -> None:
957
+ """Type checking stubs"""
958
+ pass
959
+
960
+ def _typecheckingstub__b8f80ee3646838aabf7e90939e0251f8840c956ccf920965fde8a918b4cbf79b(
961
+ props: typing.Mapping[builtins.str, typing.Any],
962
+ ) -> None:
963
+ """Type checking stubs"""
964
+ pass
965
+
966
+ def _typecheckingstub__dbda40ab380bdefcb4b1f97fbdfb383ed08815fcaf1d136e881314e872f7e42b(
967
+ value: builtins.str,
968
+ ) -> None:
969
+ """Type checking stubs"""
970
+ pass
971
+
972
+ def _typecheckingstub__fbafef3a7fe6a4ee77cdd86bde1df29b8df0e985f7099527ccce1ce9c0fb18d5(
973
+ value: typing.Optional[builtins.str],
974
+ ) -> None:
975
+ """Type checking stubs"""
976
+ pass
977
+
978
+ def _typecheckingstub__0461ccf0903c4c242ef15c5e4bc2830b51a5cf5ebc2b326557f67cfef92bc428(
979
+ *,
980
+ alias_name: builtins.str,
981
+ key_arn: typing.Optional[builtins.str] = None,
982
+ ) -> None:
983
+ """Type checking stubs"""
984
+ pass
985
+
986
+ def _typecheckingstub__eae3f8af01ec3a496044e22e7d1ce2b96cf8f20736ded57ce899a918f81a9596(
987
+ scope: _constructs_77d1e7e8.Construct,
988
+ id: builtins.str,
989
+ *,
990
+ exportable: typing.Union[builtins.bool, _IResolvable_da3f097b],
991
+ key_attributes: typing.Union[_IResolvable_da3f097b, typing.Union[CfnKey.KeyAttributesProperty, typing.Dict[builtins.str, typing.Any]]],
992
+ enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
993
+ key_check_value_algorithm: typing.Optional[builtins.str] = None,
994
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
995
+ ) -> None:
996
+ """Type checking stubs"""
997
+ pass
998
+
999
+ def _typecheckingstub__3d0701d054ede99cce0d90b76ac7d1ff4eb40159e6fd502b56930a0b0a1cb63c(
1000
+ inspector: _TreeInspector_488e0dd5,
1001
+ ) -> None:
1002
+ """Type checking stubs"""
1003
+ pass
1004
+
1005
+ def _typecheckingstub__67d0864ea174d57204bcc36c049839be306d7849f2c1c3dc30e1a6292d6885fd(
1006
+ props: typing.Mapping[builtins.str, typing.Any],
1007
+ ) -> None:
1008
+ """Type checking stubs"""
1009
+ pass
1010
+
1011
+ def _typecheckingstub__f21c25b942e06e9156561ac93e6371242b5b4ddbcb85077df885feaa89b2b2a6(
1012
+ value: typing.Union[builtins.bool, _IResolvable_da3f097b],
1013
+ ) -> None:
1014
+ """Type checking stubs"""
1015
+ pass
1016
+
1017
+ def _typecheckingstub__509385bb900abd87d7e9680c46b008a76766e5f51864d21972df261f9db73156(
1018
+ value: typing.Union[_IResolvable_da3f097b, CfnKey.KeyAttributesProperty],
1019
+ ) -> None:
1020
+ """Type checking stubs"""
1021
+ pass
1022
+
1023
+ def _typecheckingstub__1defb803536cf97ac83055a5760a6073dfc007fbfe2b34f9a774538091a30ef3(
1024
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
1025
+ ) -> None:
1026
+ """Type checking stubs"""
1027
+ pass
1028
+
1029
+ def _typecheckingstub__197ab67a28372d3c264e1414d929d0c2287a028faf7915197718c789307d1350(
1030
+ value: typing.Optional[builtins.str],
1031
+ ) -> None:
1032
+ """Type checking stubs"""
1033
+ pass
1034
+
1035
+ def _typecheckingstub__78d5368ca44b0ca5acba26b914716e9d9e8bb1acb0511f4f2a701cf6fcdd968d(
1036
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
1037
+ ) -> None:
1038
+ """Type checking stubs"""
1039
+ pass
1040
+
1041
+ def _typecheckingstub__0b75d16f6c2607cb760edf67dc96a26bed574dca4a5534dd5e3593befcc5f0a6(
1042
+ *,
1043
+ key_algorithm: builtins.str,
1044
+ key_class: builtins.str,
1045
+ key_modes_of_use: typing.Union[_IResolvable_da3f097b, typing.Union[CfnKey.KeyModesOfUseProperty, typing.Dict[builtins.str, typing.Any]]],
1046
+ key_usage: builtins.str,
1047
+ ) -> None:
1048
+ """Type checking stubs"""
1049
+ pass
1050
+
1051
+ def _typecheckingstub__19bb5a67c0e2112fa91ea214bcd53a4406d0b3e006c09d38e9c0cd851824cb05(
1052
+ *,
1053
+ decrypt: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1054
+ derive_key: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1055
+ encrypt: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1056
+ generate: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1057
+ no_restrictions: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1058
+ sign: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1059
+ unwrap: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1060
+ verify: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1061
+ wrap: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1062
+ ) -> None:
1063
+ """Type checking stubs"""
1064
+ pass
1065
+
1066
+ def _typecheckingstub__1ba44ca0d377189c3fde668037b0b7a8a9ee19fc052286d570ba26e888b2cf78(
1067
+ *,
1068
+ exportable: typing.Union[builtins.bool, _IResolvable_da3f097b],
1069
+ key_attributes: typing.Union[_IResolvable_da3f097b, typing.Union[CfnKey.KeyAttributesProperty, typing.Dict[builtins.str, typing.Any]]],
1070
+ enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1071
+ key_check_value_algorithm: typing.Optional[builtins.str] = None,
1072
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1073
+ ) -> None:
1074
+ """Type checking stubs"""
1075
+ pass