aws-cdk-lib 2.165.0__py3-none-any.whl → 2.167.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.
- aws_cdk/__init__.py +1 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.165.0.jsii.tgz → aws-cdk-lib@2.167.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +9 -0
- aws_cdk/aws_appsync/__init__.py +2271 -359
- aws_cdk/aws_backup/__init__.py +57 -31
- aws_cdk/aws_bedrock/__init__.py +994 -197
- aws_cdk/aws_cleanrooms/__init__.py +66 -5
- aws_cdk/aws_cloudfront/__init__.py +21 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +59 -29
- aws_cdk/aws_codepipeline/__init__.py +98 -5
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +0 -8
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +60 -7
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +762 -0
- aws_cdk/aws_dynamodb/__init__.py +13 -8
- aws_cdk/aws_ec2/__init__.py +316 -11
- aws_cdk/aws_ecs/__init__.py +20 -7
- aws_cdk/aws_elasticache/__init__.py +16 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +73 -46
- aws_cdk/aws_emrserverless/__init__.py +35 -33
- aws_cdk/aws_events/__init__.py +25 -30
- aws_cdk/aws_gamelift/__init__.py +52 -40
- aws_cdk/aws_inspectorv2/__init__.py +6 -12
- aws_cdk/aws_kinesis/__init__.py +297 -1
- aws_cdk/aws_kms/__init__.py +2 -0
- aws_cdk/aws_lambda/__init__.py +339 -22
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_logs/__init__.py +214 -0
- aws_cdk/aws_m2/__init__.py +58 -58
- aws_cdk/aws_mediapackagev2/__init__.py +191 -0
- aws_cdk/aws_networkfirewall/__init__.py +14 -5
- aws_cdk/aws_nimblestudio/__init__.py +6 -103
- aws_cdk/aws_opensearchservice/__init__.py +969 -0
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +2 -0
- aws_cdk/aws_quicksight/__init__.py +481 -10
- aws_cdk/aws_rds/__init__.py +667 -16
- aws_cdk/aws_route53/__init__.py +38 -12
- aws_cdk/aws_s3_assets/__init__.py +37 -0
- aws_cdk/aws_s3_deployment/__init__.py +18 -7
- aws_cdk/aws_sagemaker/__init__.py +61 -25
- aws_cdk/aws_secretsmanager/__init__.py +2 -1
- aws_cdk/aws_servicecatalog/__init__.py +52 -4
- aws_cdk/aws_ses/__init__.py +22 -1
- aws_cdk/aws_sqs/__init__.py +12 -9
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_synthetics/__init__.py +133 -1
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_wisdom/__init__.py +2348 -54
- aws_cdk/triggers/__init__.py +3 -3
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/RECORD +60 -60
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_m2/__init__.py
CHANGED
|
@@ -89,14 +89,14 @@ class CfnApplication(
|
|
|
89
89
|
from aws_cdk import aws_m2 as m2
|
|
90
90
|
|
|
91
91
|
cfn_application = m2.CfnApplication(self, "MyCfnApplication",
|
|
92
|
-
definition=m2.CfnApplication.DefinitionProperty(
|
|
93
|
-
content="content",
|
|
94
|
-
s3_location="s3Location"
|
|
95
|
-
),
|
|
96
92
|
engine_type="engineType",
|
|
97
93
|
name="name",
|
|
98
94
|
|
|
99
95
|
# the properties below are optional
|
|
96
|
+
definition=m2.CfnApplication.DefinitionProperty(
|
|
97
|
+
content="content",
|
|
98
|
+
s3_location="s3Location"
|
|
99
|
+
),
|
|
100
100
|
description="description",
|
|
101
101
|
kms_key_id="kmsKeyId",
|
|
102
102
|
role_arn="roleArn",
|
|
@@ -111,9 +111,9 @@ class CfnApplication(
|
|
|
111
111
|
scope: _constructs_77d1e7e8.Construct,
|
|
112
112
|
id: builtins.str,
|
|
113
113
|
*,
|
|
114
|
-
definition: typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.DefinitionProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
115
114
|
engine_type: builtins.str,
|
|
116
115
|
name: builtins.str,
|
|
116
|
+
definition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.DefinitionProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
117
117
|
description: typing.Optional[builtins.str] = None,
|
|
118
118
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
119
119
|
role_arn: typing.Optional[builtins.str] = None,
|
|
@@ -122,9 +122,9 @@ class CfnApplication(
|
|
|
122
122
|
'''
|
|
123
123
|
:param scope: Scope in which this resource is defined.
|
|
124
124
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
125
|
-
:param definition: The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location. For information about application definitions, see the `AWS Mainframe Modernization User Guide <https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html>`_ .
|
|
126
125
|
:param engine_type: The type of the target platform for this application.
|
|
127
126
|
:param name: The name of the application.
|
|
127
|
+
:param definition: The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location. For information about application definitions, see the `AWS Mainframe Modernization User Guide <https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html>`_ .
|
|
128
128
|
:param description: The description of the application.
|
|
129
129
|
:param kms_key_id: The identifier of a customer managed key.
|
|
130
130
|
:param role_arn: The Amazon Resource Name (ARN) of the role associated with the application.
|
|
@@ -135,9 +135,9 @@ class CfnApplication(
|
|
|
135
135
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
136
136
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
137
137
|
props = CfnApplicationProps(
|
|
138
|
-
definition=definition,
|
|
139
138
|
engine_type=engine_type,
|
|
140
139
|
name=name,
|
|
140
|
+
definition=definition,
|
|
141
141
|
description=description,
|
|
142
142
|
kms_key_id=kms_key_id,
|
|
143
143
|
role_arn=role_arn,
|
|
@@ -205,27 +205,6 @@ class CfnApplication(
|
|
|
205
205
|
'''Tag Manager which manages the tags for this resource.'''
|
|
206
206
|
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "tags"))
|
|
207
207
|
|
|
208
|
-
@builtins.property
|
|
209
|
-
@jsii.member(jsii_name="definition")
|
|
210
|
-
def definition(
|
|
211
|
-
self,
|
|
212
|
-
) -> typing.Union[_IResolvable_da3f097b, "CfnApplication.DefinitionProperty"]:
|
|
213
|
-
'''The application definition for a particular application.
|
|
214
|
-
|
|
215
|
-
You can specify either inline JSON or an Amazon S3 bucket location.
|
|
216
|
-
'''
|
|
217
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnApplication.DefinitionProperty"], jsii.get(self, "definition"))
|
|
218
|
-
|
|
219
|
-
@definition.setter
|
|
220
|
-
def definition(
|
|
221
|
-
self,
|
|
222
|
-
value: typing.Union[_IResolvable_da3f097b, "CfnApplication.DefinitionProperty"],
|
|
223
|
-
) -> None:
|
|
224
|
-
if __debug__:
|
|
225
|
-
type_hints = typing.get_type_hints(_typecheckingstub__5a8ea13658af5ef1a7d26f032b47b28d17ab527b4ede05c82ee7c653b2de040f)
|
|
226
|
-
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
227
|
-
jsii.set(self, "definition", value) # pyright: ignore[reportArgumentType]
|
|
228
|
-
|
|
229
208
|
@builtins.property
|
|
230
209
|
@jsii.member(jsii_name="engineType")
|
|
231
210
|
def engine_type(self) -> builtins.str:
|
|
@@ -252,6 +231,27 @@ class CfnApplication(
|
|
|
252
231
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
253
232
|
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
254
233
|
|
|
234
|
+
@builtins.property
|
|
235
|
+
@jsii.member(jsii_name="definition")
|
|
236
|
+
def definition(
|
|
237
|
+
self,
|
|
238
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.DefinitionProperty"]]:
|
|
239
|
+
'''The application definition for a particular application.
|
|
240
|
+
|
|
241
|
+
You can specify either inline JSON or an Amazon S3 bucket location.
|
|
242
|
+
'''
|
|
243
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.DefinitionProperty"]], jsii.get(self, "definition"))
|
|
244
|
+
|
|
245
|
+
@definition.setter
|
|
246
|
+
def definition(
|
|
247
|
+
self,
|
|
248
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.DefinitionProperty"]],
|
|
249
|
+
) -> None:
|
|
250
|
+
if __debug__:
|
|
251
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5a8ea13658af5ef1a7d26f032b47b28d17ab527b4ede05c82ee7c653b2de040f)
|
|
252
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
253
|
+
jsii.set(self, "definition", value) # pyright: ignore[reportArgumentType]
|
|
254
|
+
|
|
255
255
|
@builtins.property
|
|
256
256
|
@jsii.member(jsii_name="description")
|
|
257
257
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -386,9 +386,9 @@ class CfnApplication(
|
|
|
386
386
|
jsii_type="aws-cdk-lib.aws_m2.CfnApplicationProps",
|
|
387
387
|
jsii_struct_bases=[],
|
|
388
388
|
name_mapping={
|
|
389
|
-
"definition": "definition",
|
|
390
389
|
"engine_type": "engineType",
|
|
391
390
|
"name": "name",
|
|
391
|
+
"definition": "definition",
|
|
392
392
|
"description": "description",
|
|
393
393
|
"kms_key_id": "kmsKeyId",
|
|
394
394
|
"role_arn": "roleArn",
|
|
@@ -399,9 +399,9 @@ class CfnApplicationProps:
|
|
|
399
399
|
def __init__(
|
|
400
400
|
self,
|
|
401
401
|
*,
|
|
402
|
-
definition: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.DefinitionProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
403
402
|
engine_type: builtins.str,
|
|
404
403
|
name: builtins.str,
|
|
404
|
+
definition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.DefinitionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
405
405
|
description: typing.Optional[builtins.str] = None,
|
|
406
406
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
407
407
|
role_arn: typing.Optional[builtins.str] = None,
|
|
@@ -409,9 +409,9 @@ class CfnApplicationProps:
|
|
|
409
409
|
) -> None:
|
|
410
410
|
'''Properties for defining a ``CfnApplication``.
|
|
411
411
|
|
|
412
|
-
:param definition: The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location. For information about application definitions, see the `AWS Mainframe Modernization User Guide <https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html>`_ .
|
|
413
412
|
:param engine_type: The type of the target platform for this application.
|
|
414
413
|
:param name: The name of the application.
|
|
414
|
+
:param definition: The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location. For information about application definitions, see the `AWS Mainframe Modernization User Guide <https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html>`_ .
|
|
415
415
|
:param description: The description of the application.
|
|
416
416
|
:param kms_key_id: The identifier of a customer managed key.
|
|
417
417
|
:param role_arn: The Amazon Resource Name (ARN) of the role associated with the application.
|
|
@@ -427,14 +427,14 @@ class CfnApplicationProps:
|
|
|
427
427
|
from aws_cdk import aws_m2 as m2
|
|
428
428
|
|
|
429
429
|
cfn_application_props = m2.CfnApplicationProps(
|
|
430
|
-
definition=m2.CfnApplication.DefinitionProperty(
|
|
431
|
-
content="content",
|
|
432
|
-
s3_location="s3Location"
|
|
433
|
-
),
|
|
434
430
|
engine_type="engineType",
|
|
435
431
|
name="name",
|
|
436
432
|
|
|
437
433
|
# the properties below are optional
|
|
434
|
+
definition=m2.CfnApplication.DefinitionProperty(
|
|
435
|
+
content="content",
|
|
436
|
+
s3_location="s3Location"
|
|
437
|
+
),
|
|
438
438
|
description="description",
|
|
439
439
|
kms_key_id="kmsKeyId",
|
|
440
440
|
role_arn="roleArn",
|
|
@@ -445,18 +445,19 @@ class CfnApplicationProps:
|
|
|
445
445
|
'''
|
|
446
446
|
if __debug__:
|
|
447
447
|
type_hints = typing.get_type_hints(_typecheckingstub__5ed1db61d31dff8aa8e94733976425175ee39f97b9a27b2b69f86017aa34d4b5)
|
|
448
|
-
check_type(argname="argument definition", value=definition, expected_type=type_hints["definition"])
|
|
449
448
|
check_type(argname="argument engine_type", value=engine_type, expected_type=type_hints["engine_type"])
|
|
450
449
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
450
|
+
check_type(argname="argument definition", value=definition, expected_type=type_hints["definition"])
|
|
451
451
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
452
452
|
check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
|
|
453
453
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
454
454
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
455
455
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
456
|
-
"definition": definition,
|
|
457
456
|
"engine_type": engine_type,
|
|
458
457
|
"name": name,
|
|
459
458
|
}
|
|
459
|
+
if definition is not None:
|
|
460
|
+
self._values["definition"] = definition
|
|
460
461
|
if description is not None:
|
|
461
462
|
self._values["description"] = description
|
|
462
463
|
if kms_key_id is not None:
|
|
@@ -466,20 +467,6 @@ class CfnApplicationProps:
|
|
|
466
467
|
if tags is not None:
|
|
467
468
|
self._values["tags"] = tags
|
|
468
469
|
|
|
469
|
-
@builtins.property
|
|
470
|
-
def definition(
|
|
471
|
-
self,
|
|
472
|
-
) -> typing.Union[_IResolvable_da3f097b, CfnApplication.DefinitionProperty]:
|
|
473
|
-
'''The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location.
|
|
474
|
-
|
|
475
|
-
For information about application definitions, see the `AWS Mainframe Modernization User Guide <https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html>`_ .
|
|
476
|
-
|
|
477
|
-
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-definition
|
|
478
|
-
'''
|
|
479
|
-
result = self._values.get("definition")
|
|
480
|
-
assert result is not None, "Required property 'definition' is missing"
|
|
481
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, CfnApplication.DefinitionProperty], result)
|
|
482
|
-
|
|
483
470
|
@builtins.property
|
|
484
471
|
def engine_type(self) -> builtins.str:
|
|
485
472
|
'''The type of the target platform for this application.
|
|
@@ -500,6 +487,19 @@ class CfnApplicationProps:
|
|
|
500
487
|
assert result is not None, "Required property 'name' is missing"
|
|
501
488
|
return typing.cast(builtins.str, result)
|
|
502
489
|
|
|
490
|
+
@builtins.property
|
|
491
|
+
def definition(
|
|
492
|
+
self,
|
|
493
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.DefinitionProperty]]:
|
|
494
|
+
'''The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location.
|
|
495
|
+
|
|
496
|
+
For information about application definitions, see the `AWS Mainframe Modernization User Guide <https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html>`_ .
|
|
497
|
+
|
|
498
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-definition
|
|
499
|
+
'''
|
|
500
|
+
result = self._values.get("definition")
|
|
501
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.DefinitionProperty]], result)
|
|
502
|
+
|
|
503
503
|
@builtins.property
|
|
504
504
|
def description(self) -> typing.Optional[builtins.str]:
|
|
505
505
|
'''The description of the application.
|
|
@@ -1478,9 +1478,9 @@ def _typecheckingstub__4d9f18e4c35f8dd6932a89aab0c7c8325ca5f0e480e78df5838e1e64d
|
|
|
1478
1478
|
scope: _constructs_77d1e7e8.Construct,
|
|
1479
1479
|
id: builtins.str,
|
|
1480
1480
|
*,
|
|
1481
|
-
definition: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.DefinitionProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1482
1481
|
engine_type: builtins.str,
|
|
1483
1482
|
name: builtins.str,
|
|
1483
|
+
definition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.DefinitionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1484
1484
|
description: typing.Optional[builtins.str] = None,
|
|
1485
1485
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
1486
1486
|
role_arn: typing.Optional[builtins.str] = None,
|
|
@@ -1501,20 +1501,20 @@ def _typecheckingstub__c0533659aa42d859aee8bd4e01b62d0756e88da8f0e83be9c1f372431
|
|
|
1501
1501
|
"""Type checking stubs"""
|
|
1502
1502
|
pass
|
|
1503
1503
|
|
|
1504
|
-
def
|
|
1505
|
-
value:
|
|
1504
|
+
def _typecheckingstub__8ba4f8f93c55dbcb042b32b8823b3acaab4fde77a6bdcad9a5ee86fb35a2686c(
|
|
1505
|
+
value: builtins.str,
|
|
1506
1506
|
) -> None:
|
|
1507
1507
|
"""Type checking stubs"""
|
|
1508
1508
|
pass
|
|
1509
1509
|
|
|
1510
|
-
def
|
|
1510
|
+
def _typecheckingstub__2ffbf95da1d1e51725779fb8b533d4d030b427cf5adffd8b2fc9a4f81ffacff7(
|
|
1511
1511
|
value: builtins.str,
|
|
1512
1512
|
) -> None:
|
|
1513
1513
|
"""Type checking stubs"""
|
|
1514
1514
|
pass
|
|
1515
1515
|
|
|
1516
|
-
def
|
|
1517
|
-
value:
|
|
1516
|
+
def _typecheckingstub__5a8ea13658af5ef1a7d26f032b47b28d17ab527b4ede05c82ee7c653b2de040f(
|
|
1517
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.DefinitionProperty]],
|
|
1518
1518
|
) -> None:
|
|
1519
1519
|
"""Type checking stubs"""
|
|
1520
1520
|
pass
|
|
@@ -1553,9 +1553,9 @@ def _typecheckingstub__e6a2c5ede257cc8f9ff5fc917afe31b9bf6e82d475e3a8dedebfee5db
|
|
|
1553
1553
|
|
|
1554
1554
|
def _typecheckingstub__5ed1db61d31dff8aa8e94733976425175ee39f97b9a27b2b69f86017aa34d4b5(
|
|
1555
1555
|
*,
|
|
1556
|
-
definition: typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.DefinitionProperty, typing.Dict[builtins.str, typing.Any]]],
|
|
1557
1556
|
engine_type: builtins.str,
|
|
1558
1557
|
name: builtins.str,
|
|
1558
|
+
definition: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.DefinitionProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1559
1559
|
description: typing.Optional[builtins.str] = None,
|
|
1560
1560
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
1561
1561
|
role_arn: typing.Optional[builtins.str] = None,
|