aws-cdk.cx-api 2.159.1__tar.gz → 2.161.0__tar.gz
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.cx-api might be problematic. Click here for more details.
- {aws_cdk_cx_api-2.159.1/src/aws_cdk.cx_api.egg-info → aws_cdk_cx_api-2.161.0}/PKG-INFO +68 -2
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/README.md +66 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/setup.py +3 -3
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/src/aws_cdk/cx_api/__init__.py +129 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/src/aws_cdk/cx_api/_jsii/__init__.py +1 -1
- aws_cdk_cx_api-2.161.0/src/aws_cdk/cx_api/_jsii/cx-api@2.161.0.jsii.tgz +0 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0/src/aws_cdk.cx_api.egg-info}/PKG-INFO +68 -2
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/src/aws_cdk.cx_api.egg-info/SOURCES.txt +1 -1
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/src/aws_cdk.cx_api.egg-info/requires.txt +1 -1
- aws_cdk_cx_api-2.159.1/src/aws_cdk/cx_api/_jsii/cx-api@2.159.1.jsii.tgz +0 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/LICENSE +0 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/MANIFEST.in +0 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/NOTICE +0 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/pyproject.toml +0 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/setup.cfg +0 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/src/aws_cdk/cx_api/py.typed +0 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/src/aws_cdk.cx_api.egg-info/dependency_links.txt +0 -0
- {aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/src/aws_cdk.cx_api.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk.cx-api
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.161.0
|
|
4
4
|
Summary: Cloud executable protocol
|
|
5
5
|
Home-page: https://github.com/aws/aws-cdk
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -23,7 +23,7 @@ Requires-Python: ~=3.8
|
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE
|
|
25
25
|
License-File: NOTICE
|
|
26
|
-
Requires-Dist: aws-cdk.cloud-assembly-schema<
|
|
26
|
+
Requires-Dist: aws-cdk.cloud-assembly-schema<39.0.0,>=38.0.0
|
|
27
27
|
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
28
28
|
Requires-Dist: publication>=0.0.3
|
|
29
29
|
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
|
@@ -439,3 +439,69 @@ When this feature flag is enabled, we will only grant the necessary permissions
|
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
```
|
|
442
|
+
|
|
443
|
+
* `@aws-cdk/aws-ec2:ec2SumTImeoutEnabled`
|
|
444
|
+
|
|
445
|
+
Currently is both initOptions.timeout and resourceSignalTimeout are both specified in the options for creating an EC2 Instance, only the value from 'resourceSignalTimeout' will be used.
|
|
446
|
+
|
|
447
|
+
When this feature flag is enabled, if both initOptions.timeout and resourceSignalTimeout are specified, the values will to be summed together.
|
|
448
|
+
|
|
449
|
+
*cdk.json*
|
|
450
|
+
|
|
451
|
+
```json
|
|
452
|
+
{
|
|
453
|
+
"context": {
|
|
454
|
+
"@aws-cdk/aws-ec2:ec2SumTImeoutEnabled": true
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
```
|
|
458
|
+
|
|
459
|
+
* `@aws-cdk/aws-appsync:appSyncGraphQLAPIScopeLambdaPermission`
|
|
460
|
+
|
|
461
|
+
Currently, when using a Lambda authorizer with an AppSync GraphQL API, the AWS CDK automatically generates the necessary AWS::Lambda::Permission to allow the AppSync API to invoke the Lambda authorizer. This permission is overly permissive because it lacks a SourceArn, meaning it allows invocations from any source.
|
|
462
|
+
|
|
463
|
+
When this feature flag is enabled, the AWS::Lambda::Permission will be properly scoped with the SourceArn corresponding to the specific AppSync GraphQL API.
|
|
464
|
+
|
|
465
|
+
*cdk.json*
|
|
466
|
+
|
|
467
|
+
```json
|
|
468
|
+
{
|
|
469
|
+
"context": {
|
|
470
|
+
"@aws-cdk/aws-ec2:appSyncGraphQLAPIScopeLambdaPermission": true
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
```
|
|
474
|
+
|
|
475
|
+
* `@aws-cdk/aws-rds:setCorrectValueForDatabaseInstanceReadReplicaInstanceResourceId`
|
|
476
|
+
|
|
477
|
+
When enabled, the value of property `instanceResourceId` in construct `DatabaseInstanceReadReplica` will be set to the correct value which is `DbiResourceId` instead of currently `DbInstanceArn`* (fix)
|
|
478
|
+
|
|
479
|
+
When this feature flag is enabled, the value of that property will be as expected set to `DbiResourceId` attribute, and that will fix the grantConnect method.
|
|
480
|
+
|
|
481
|
+
*cdk.json*
|
|
482
|
+
|
|
483
|
+
```json
|
|
484
|
+
{
|
|
485
|
+
"context": {
|
|
486
|
+
"@aws-cdk/aws-rds:setCorrectValueForDatabaseInstanceReadReplicaInstanceResourceId": true
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
* `@aws-cdk/aws-lambda-nodejs:sdkV3ExcludeSmithyPackages`
|
|
492
|
+
|
|
493
|
+
Currently, when bundling Lambda functions with the non-latest runtime that supports AWS SDK JavaScript (v3), only the `@aws-sdk/*` packages are excluded by default.
|
|
494
|
+
However, this can cause version mismatches between the `@aws-sdk/*` and `@smithy/*` packages, as they are tightly coupled dependencies in AWS SDK v3.
|
|
495
|
+
|
|
496
|
+
When this feature flag is enabled, both `@aws-sdk/*` and `@smithy/*` packages will be excluded during the bundling process. This ensures that no mismatches
|
|
497
|
+
occur between these tightly coupled dependencies when using the AWS SDK v3 in Lambda functions.
|
|
498
|
+
|
|
499
|
+
*cdk.json*
|
|
500
|
+
|
|
501
|
+
```json
|
|
502
|
+
{
|
|
503
|
+
"context": {
|
|
504
|
+
"@aws-cdk/aws-lambda-nodejs:sdkV3ExcludeSmithyPackages": true
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
```
|
|
@@ -409,3 +409,69 @@ When this feature flag is enabled, we will only grant the necessary permissions
|
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
```
|
|
412
|
+
|
|
413
|
+
* `@aws-cdk/aws-ec2:ec2SumTImeoutEnabled`
|
|
414
|
+
|
|
415
|
+
Currently is both initOptions.timeout and resourceSignalTimeout are both specified in the options for creating an EC2 Instance, only the value from 'resourceSignalTimeout' will be used.
|
|
416
|
+
|
|
417
|
+
When this feature flag is enabled, if both initOptions.timeout and resourceSignalTimeout are specified, the values will to be summed together.
|
|
418
|
+
|
|
419
|
+
*cdk.json*
|
|
420
|
+
|
|
421
|
+
```json
|
|
422
|
+
{
|
|
423
|
+
"context": {
|
|
424
|
+
"@aws-cdk/aws-ec2:ec2SumTImeoutEnabled": true
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
* `@aws-cdk/aws-appsync:appSyncGraphQLAPIScopeLambdaPermission`
|
|
430
|
+
|
|
431
|
+
Currently, when using a Lambda authorizer with an AppSync GraphQL API, the AWS CDK automatically generates the necessary AWS::Lambda::Permission to allow the AppSync API to invoke the Lambda authorizer. This permission is overly permissive because it lacks a SourceArn, meaning it allows invocations from any source.
|
|
432
|
+
|
|
433
|
+
When this feature flag is enabled, the AWS::Lambda::Permission will be properly scoped with the SourceArn corresponding to the specific AppSync GraphQL API.
|
|
434
|
+
|
|
435
|
+
*cdk.json*
|
|
436
|
+
|
|
437
|
+
```json
|
|
438
|
+
{
|
|
439
|
+
"context": {
|
|
440
|
+
"@aws-cdk/aws-ec2:appSyncGraphQLAPIScopeLambdaPermission": true
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
* `@aws-cdk/aws-rds:setCorrectValueForDatabaseInstanceReadReplicaInstanceResourceId`
|
|
446
|
+
|
|
447
|
+
When enabled, the value of property `instanceResourceId` in construct `DatabaseInstanceReadReplica` will be set to the correct value which is `DbiResourceId` instead of currently `DbInstanceArn`* (fix)
|
|
448
|
+
|
|
449
|
+
When this feature flag is enabled, the value of that property will be as expected set to `DbiResourceId` attribute, and that will fix the grantConnect method.
|
|
450
|
+
|
|
451
|
+
*cdk.json*
|
|
452
|
+
|
|
453
|
+
```json
|
|
454
|
+
{
|
|
455
|
+
"context": {
|
|
456
|
+
"@aws-cdk/aws-rds:setCorrectValueForDatabaseInstanceReadReplicaInstanceResourceId": true
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
* `@aws-cdk/aws-lambda-nodejs:sdkV3ExcludeSmithyPackages`
|
|
462
|
+
|
|
463
|
+
Currently, when bundling Lambda functions with the non-latest runtime that supports AWS SDK JavaScript (v3), only the `@aws-sdk/*` packages are excluded by default.
|
|
464
|
+
However, this can cause version mismatches between the `@aws-sdk/*` and `@smithy/*` packages, as they are tightly coupled dependencies in AWS SDK v3.
|
|
465
|
+
|
|
466
|
+
When this feature flag is enabled, both `@aws-sdk/*` and `@smithy/*` packages will be excluded during the bundling process. This ensures that no mismatches
|
|
467
|
+
occur between these tightly coupled dependencies when using the AWS SDK v3 in Lambda functions.
|
|
468
|
+
|
|
469
|
+
*cdk.json*
|
|
470
|
+
|
|
471
|
+
```json
|
|
472
|
+
{
|
|
473
|
+
"context": {
|
|
474
|
+
"@aws-cdk/aws-lambda-nodejs:sdkV3ExcludeSmithyPackages": true
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
```
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-cdk.cx-api",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.161.0",
|
|
9
9
|
"description": "Cloud executable protocol",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/aws/aws-cdk",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"aws_cdk.cx_api._jsii": [
|
|
29
|
-
"cx-api@2.
|
|
29
|
+
"cx-api@2.161.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_cdk.cx_api": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,7 +34,7 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.8",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"aws-cdk.cloud-assembly-schema>=
|
|
37
|
+
"aws-cdk.cloud-assembly-schema>=38.0.0, <39.0.0",
|
|
38
38
|
"jsii>=1.103.1, <2.0.0",
|
|
39
39
|
"publication>=0.0.3",
|
|
40
40
|
"typeguard>=2.13.3,<5.0.0"
|
|
@@ -410,6 +410,72 @@ When this feature flag is enabled, we will only grant the necessary permissions
|
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
```
|
|
413
|
+
|
|
414
|
+
* `@aws-cdk/aws-ec2:ec2SumTImeoutEnabled`
|
|
415
|
+
|
|
416
|
+
Currently is both initOptions.timeout and resourceSignalTimeout are both specified in the options for creating an EC2 Instance, only the value from 'resourceSignalTimeout' will be used.
|
|
417
|
+
|
|
418
|
+
When this feature flag is enabled, if both initOptions.timeout and resourceSignalTimeout are specified, the values will to be summed together.
|
|
419
|
+
|
|
420
|
+
*cdk.json*
|
|
421
|
+
|
|
422
|
+
```json
|
|
423
|
+
{
|
|
424
|
+
"context": {
|
|
425
|
+
"@aws-cdk/aws-ec2:ec2SumTImeoutEnabled": true
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
* `@aws-cdk/aws-appsync:appSyncGraphQLAPIScopeLambdaPermission`
|
|
431
|
+
|
|
432
|
+
Currently, when using a Lambda authorizer with an AppSync GraphQL API, the AWS CDK automatically generates the necessary AWS::Lambda::Permission to allow the AppSync API to invoke the Lambda authorizer. This permission is overly permissive because it lacks a SourceArn, meaning it allows invocations from any source.
|
|
433
|
+
|
|
434
|
+
When this feature flag is enabled, the AWS::Lambda::Permission will be properly scoped with the SourceArn corresponding to the specific AppSync GraphQL API.
|
|
435
|
+
|
|
436
|
+
*cdk.json*
|
|
437
|
+
|
|
438
|
+
```json
|
|
439
|
+
{
|
|
440
|
+
"context": {
|
|
441
|
+
"@aws-cdk/aws-ec2:appSyncGraphQLAPIScopeLambdaPermission": true
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
* `@aws-cdk/aws-rds:setCorrectValueForDatabaseInstanceReadReplicaInstanceResourceId`
|
|
447
|
+
|
|
448
|
+
When enabled, the value of property `instanceResourceId` in construct `DatabaseInstanceReadReplica` will be set to the correct value which is `DbiResourceId` instead of currently `DbInstanceArn`* (fix)
|
|
449
|
+
|
|
450
|
+
When this feature flag is enabled, the value of that property will be as expected set to `DbiResourceId` attribute, and that will fix the grantConnect method.
|
|
451
|
+
|
|
452
|
+
*cdk.json*
|
|
453
|
+
|
|
454
|
+
```json
|
|
455
|
+
{
|
|
456
|
+
"context": {
|
|
457
|
+
"@aws-cdk/aws-rds:setCorrectValueForDatabaseInstanceReadReplicaInstanceResourceId": true
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
* `@aws-cdk/aws-lambda-nodejs:sdkV3ExcludeSmithyPackages`
|
|
463
|
+
|
|
464
|
+
Currently, when bundling Lambda functions with the non-latest runtime that supports AWS SDK JavaScript (v3), only the `@aws-sdk/*` packages are excluded by default.
|
|
465
|
+
However, this can cause version mismatches between the `@aws-sdk/*` and `@smithy/*` packages, as they are tightly coupled dependencies in AWS SDK v3.
|
|
466
|
+
|
|
467
|
+
When this feature flag is enabled, both `@aws-sdk/*` and `@smithy/*` packages will be excluded during the bundling process. This ensures that no mismatches
|
|
468
|
+
occur between these tightly coupled dependencies when using the AWS SDK v3 in Lambda functions.
|
|
469
|
+
|
|
470
|
+
*cdk.json*
|
|
471
|
+
|
|
472
|
+
```json
|
|
473
|
+
{
|
|
474
|
+
"context": {
|
|
475
|
+
"@aws-cdk/aws-lambda-nodejs:sdkV3ExcludeSmithyPackages": true
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
```
|
|
413
479
|
'''
|
|
414
480
|
from pkgutil import extend_path
|
|
415
481
|
__path__ = extend_path(__path__, __name__)
|
|
@@ -629,6 +695,7 @@ class CloudArtifact(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudArt
|
|
|
629
695
|
import aws_cdk.cloud_assembly_schema as cloud_assembly_schema
|
|
630
696
|
import aws_cdk.cx_api as cx_api
|
|
631
697
|
|
|
698
|
+
# assume_role_additional_options: Any
|
|
632
699
|
# cloud_assembly: cx_api.CloudAssembly
|
|
633
700
|
|
|
634
701
|
cloud_artifact = cx_api.CloudArtifact.from_manifest(cloud_assembly, "MyCloudArtifact",
|
|
@@ -651,6 +718,9 @@ class CloudArtifact(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudArt
|
|
|
651
718
|
template_file="templateFile",
|
|
652
719
|
|
|
653
720
|
# the properties below are optional
|
|
721
|
+
assume_role_additional_options={
|
|
722
|
+
"assume_role_additional_options_key": assume_role_additional_options
|
|
723
|
+
},
|
|
654
724
|
assume_role_arn="assumeRoleArn",
|
|
655
725
|
assume_role_external_id="assumeRoleExternalId",
|
|
656
726
|
bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
|
|
@@ -659,10 +729,14 @@ class CloudArtifact(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/cx-api.CloudArt
|
|
|
659
729
|
arn="arn",
|
|
660
730
|
|
|
661
731
|
# the properties below are optional
|
|
732
|
+
assume_role_additional_options={
|
|
733
|
+
"assume_role_additional_options_key": assume_role_additional_options
|
|
734
|
+
},
|
|
662
735
|
assume_role_external_id="assumeRoleExternalId",
|
|
663
736
|
bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
|
|
664
737
|
requires_bootstrap_stack_version=123
|
|
665
738
|
),
|
|
739
|
+
notification_arns=["notificationArns"],
|
|
666
740
|
parameters={
|
|
667
741
|
"parameters_key": "parameters"
|
|
668
742
|
},
|
|
@@ -1246,6 +1320,7 @@ class CloudFormationStackArtifact(
|
|
|
1246
1320
|
import aws_cdk.cloud_assembly_schema as cloud_assembly_schema
|
|
1247
1321
|
import aws_cdk.cx_api as cx_api
|
|
1248
1322
|
|
|
1323
|
+
# assume_role_additional_options: Any
|
|
1249
1324
|
# cloud_assembly: cx_api.CloudAssembly
|
|
1250
1325
|
|
|
1251
1326
|
cloud_formation_stack_artifact = cx_api.CloudFormationStackArtifact(cloud_assembly, "artifactId",
|
|
@@ -1268,6 +1343,9 @@ class CloudFormationStackArtifact(
|
|
|
1268
1343
|
template_file="templateFile",
|
|
1269
1344
|
|
|
1270
1345
|
# the properties below are optional
|
|
1346
|
+
assume_role_additional_options={
|
|
1347
|
+
"assume_role_additional_options_key": assume_role_additional_options
|
|
1348
|
+
},
|
|
1271
1349
|
assume_role_arn="assumeRoleArn",
|
|
1272
1350
|
assume_role_external_id="assumeRoleExternalId",
|
|
1273
1351
|
bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
|
|
@@ -1276,10 +1354,14 @@ class CloudFormationStackArtifact(
|
|
|
1276
1354
|
arn="arn",
|
|
1277
1355
|
|
|
1278
1356
|
# the properties below are optional
|
|
1357
|
+
assume_role_additional_options={
|
|
1358
|
+
"assume_role_additional_options_key": assume_role_additional_options
|
|
1359
|
+
},
|
|
1279
1360
|
assume_role_external_id="assumeRoleExternalId",
|
|
1280
1361
|
bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
|
|
1281
1362
|
requires_bootstrap_stack_version=123
|
|
1282
1363
|
),
|
|
1364
|
+
notification_arns=["notificationArns"],
|
|
1283
1365
|
parameters={
|
|
1284
1366
|
"parameters_key": "parameters"
|
|
1285
1367
|
},
|
|
@@ -1395,6 +1477,12 @@ class CloudFormationStackArtifact(
|
|
|
1395
1477
|
'''
|
|
1396
1478
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
1397
1479
|
|
|
1480
|
+
@builtins.property
|
|
1481
|
+
@jsii.member(jsii_name="notificationArns")
|
|
1482
|
+
def notification_arns(self) -> typing.List[builtins.str]:
|
|
1483
|
+
'''SNS Topics that will receive stack events.'''
|
|
1484
|
+
return typing.cast(typing.List[builtins.str], jsii.get(self, "notificationArns"))
|
|
1485
|
+
|
|
1398
1486
|
@builtins.property
|
|
1399
1487
|
@jsii.member(jsii_name="originalName")
|
|
1400
1488
|
def original_name(self) -> builtins.str:
|
|
@@ -1437,6 +1525,23 @@ class CloudFormationStackArtifact(
|
|
|
1437
1525
|
'''Full path to the template file.'''
|
|
1438
1526
|
return typing.cast(builtins.str, jsii.get(self, "templateFullPath"))
|
|
1439
1527
|
|
|
1528
|
+
@builtins.property
|
|
1529
|
+
@jsii.member(jsii_name="assumeRoleAdditionalOptions")
|
|
1530
|
+
def assume_role_additional_options(
|
|
1531
|
+
self,
|
|
1532
|
+
) -> typing.Optional[typing.Mapping[builtins.str, typing.Any]]:
|
|
1533
|
+
'''Additional options to pass to STS when assuming the role for cloudformation deployments.
|
|
1534
|
+
|
|
1535
|
+
- ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead.
|
|
1536
|
+
- ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead.
|
|
1537
|
+
- ``TransitiveTagKeys`` defaults to use all keys (if any) specified in ``Tags``. E.g, all tags are transitive by default.
|
|
1538
|
+
|
|
1539
|
+
:default: - No additional options.
|
|
1540
|
+
|
|
1541
|
+
:see: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property
|
|
1542
|
+
'''
|
|
1543
|
+
return typing.cast(typing.Optional[typing.Mapping[builtins.str, typing.Any]], jsii.get(self, "assumeRoleAdditionalOptions"))
|
|
1544
|
+
|
|
1440
1545
|
@builtins.property
|
|
1441
1546
|
@jsii.member(jsii_name="assumeRoleArn")
|
|
1442
1547
|
def assume_role_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -2521,6 +2626,7 @@ class NestedCloudAssemblyArtifact(
|
|
|
2521
2626
|
import aws_cdk.cloud_assembly_schema as cloud_assembly_schema
|
|
2522
2627
|
import aws_cdk.cx_api as cx_api
|
|
2523
2628
|
|
|
2629
|
+
# assume_role_additional_options: Any
|
|
2524
2630
|
# cloud_assembly: cx_api.CloudAssembly
|
|
2525
2631
|
|
|
2526
2632
|
nested_cloud_assembly_artifact = cx_api.NestedCloudAssemblyArtifact(cloud_assembly, "name",
|
|
@@ -2543,6 +2649,9 @@ class NestedCloudAssemblyArtifact(
|
|
|
2543
2649
|
template_file="templateFile",
|
|
2544
2650
|
|
|
2545
2651
|
# the properties below are optional
|
|
2652
|
+
assume_role_additional_options={
|
|
2653
|
+
"assume_role_additional_options_key": assume_role_additional_options
|
|
2654
|
+
},
|
|
2546
2655
|
assume_role_arn="assumeRoleArn",
|
|
2547
2656
|
assume_role_external_id="assumeRoleExternalId",
|
|
2548
2657
|
bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
|
|
@@ -2551,10 +2660,14 @@ class NestedCloudAssemblyArtifact(
|
|
|
2551
2660
|
arn="arn",
|
|
2552
2661
|
|
|
2553
2662
|
# the properties below are optional
|
|
2663
|
+
assume_role_additional_options={
|
|
2664
|
+
"assume_role_additional_options_key": assume_role_additional_options
|
|
2665
|
+
},
|
|
2554
2666
|
assume_role_external_id="assumeRoleExternalId",
|
|
2555
2667
|
bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
|
|
2556
2668
|
requires_bootstrap_stack_version=123
|
|
2557
2669
|
),
|
|
2670
|
+
notification_arns=["notificationArns"],
|
|
2558
2671
|
parameters={
|
|
2559
2672
|
"parameters_key": "parameters"
|
|
2560
2673
|
},
|
|
@@ -2896,6 +3009,7 @@ class TreeCloudArtifact(
|
|
|
2896
3009
|
import aws_cdk.cloud_assembly_schema as cloud_assembly_schema
|
|
2897
3010
|
import aws_cdk.cx_api as cx_api
|
|
2898
3011
|
|
|
3012
|
+
# assume_role_additional_options: Any
|
|
2899
3013
|
# cloud_assembly: cx_api.CloudAssembly
|
|
2900
3014
|
|
|
2901
3015
|
tree_cloud_artifact = cx_api.TreeCloudArtifact(cloud_assembly, "name",
|
|
@@ -2918,6 +3032,9 @@ class TreeCloudArtifact(
|
|
|
2918
3032
|
template_file="templateFile",
|
|
2919
3033
|
|
|
2920
3034
|
# the properties below are optional
|
|
3035
|
+
assume_role_additional_options={
|
|
3036
|
+
"assume_role_additional_options_key": assume_role_additional_options
|
|
3037
|
+
},
|
|
2921
3038
|
assume_role_arn="assumeRoleArn",
|
|
2922
3039
|
assume_role_external_id="assumeRoleExternalId",
|
|
2923
3040
|
bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
|
|
@@ -2926,10 +3043,14 @@ class TreeCloudArtifact(
|
|
|
2926
3043
|
arn="arn",
|
|
2927
3044
|
|
|
2928
3045
|
# the properties below are optional
|
|
3046
|
+
assume_role_additional_options={
|
|
3047
|
+
"assume_role_additional_options_key": assume_role_additional_options
|
|
3048
|
+
},
|
|
2929
3049
|
assume_role_external_id="assumeRoleExternalId",
|
|
2930
3050
|
bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
|
|
2931
3051
|
requires_bootstrap_stack_version=123
|
|
2932
3052
|
),
|
|
3053
|
+
notification_arns=["notificationArns"],
|
|
2933
3054
|
parameters={
|
|
2934
3055
|
"parameters_key": "parameters"
|
|
2935
3056
|
},
|
|
@@ -3548,6 +3669,7 @@ class AssetManifestArtifact(
|
|
|
3548
3669
|
import aws_cdk.cloud_assembly_schema as cloud_assembly_schema
|
|
3549
3670
|
import aws_cdk.cx_api as cx_api
|
|
3550
3671
|
|
|
3672
|
+
# assume_role_additional_options: Any
|
|
3551
3673
|
# cloud_assembly: cx_api.CloudAssembly
|
|
3552
3674
|
|
|
3553
3675
|
asset_manifest_artifact = cx_api.AssetManifestArtifact(cloud_assembly, "name",
|
|
@@ -3570,6 +3692,9 @@ class AssetManifestArtifact(
|
|
|
3570
3692
|
template_file="templateFile",
|
|
3571
3693
|
|
|
3572
3694
|
# the properties below are optional
|
|
3695
|
+
assume_role_additional_options={
|
|
3696
|
+
"assume_role_additional_options_key": assume_role_additional_options
|
|
3697
|
+
},
|
|
3573
3698
|
assume_role_arn="assumeRoleArn",
|
|
3574
3699
|
assume_role_external_id="assumeRoleExternalId",
|
|
3575
3700
|
bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
|
|
@@ -3578,10 +3703,14 @@ class AssetManifestArtifact(
|
|
|
3578
3703
|
arn="arn",
|
|
3579
3704
|
|
|
3580
3705
|
# the properties below are optional
|
|
3706
|
+
assume_role_additional_options={
|
|
3707
|
+
"assume_role_additional_options_key": assume_role_additional_options
|
|
3708
|
+
},
|
|
3581
3709
|
assume_role_external_id="assumeRoleExternalId",
|
|
3582
3710
|
bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
|
|
3583
3711
|
requires_bootstrap_stack_version=123
|
|
3584
3712
|
),
|
|
3713
|
+
notification_arns=["notificationArns"],
|
|
3585
3714
|
parameters={
|
|
3586
3715
|
"parameters_key": "parameters"
|
|
3587
3716
|
},
|
|
@@ -31,7 +31,7 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
|
31
31
|
import aws_cdk.cloud_assembly_schema._jsii
|
|
32
32
|
|
|
33
33
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
34
|
-
"@aws-cdk/cx-api", "2.
|
|
34
|
+
"@aws-cdk/cx-api", "2.161.0", __name__[0:-6], "cx-api@2.161.0.jsii.tgz"
|
|
35
35
|
)
|
|
36
36
|
|
|
37
37
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk.cx-api
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.161.0
|
|
4
4
|
Summary: Cloud executable protocol
|
|
5
5
|
Home-page: https://github.com/aws/aws-cdk
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -23,7 +23,7 @@ Requires-Python: ~=3.8
|
|
|
23
23
|
Description-Content-Type: text/markdown
|
|
24
24
|
License-File: LICENSE
|
|
25
25
|
License-File: NOTICE
|
|
26
|
-
Requires-Dist: aws-cdk.cloud-assembly-schema<
|
|
26
|
+
Requires-Dist: aws-cdk.cloud-assembly-schema<39.0.0,>=38.0.0
|
|
27
27
|
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
28
28
|
Requires-Dist: publication>=0.0.3
|
|
29
29
|
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
|
@@ -439,3 +439,69 @@ When this feature flag is enabled, we will only grant the necessary permissions
|
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
```
|
|
442
|
+
|
|
443
|
+
* `@aws-cdk/aws-ec2:ec2SumTImeoutEnabled`
|
|
444
|
+
|
|
445
|
+
Currently is both initOptions.timeout and resourceSignalTimeout are both specified in the options for creating an EC2 Instance, only the value from 'resourceSignalTimeout' will be used.
|
|
446
|
+
|
|
447
|
+
When this feature flag is enabled, if both initOptions.timeout and resourceSignalTimeout are specified, the values will to be summed together.
|
|
448
|
+
|
|
449
|
+
*cdk.json*
|
|
450
|
+
|
|
451
|
+
```json
|
|
452
|
+
{
|
|
453
|
+
"context": {
|
|
454
|
+
"@aws-cdk/aws-ec2:ec2SumTImeoutEnabled": true
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
```
|
|
458
|
+
|
|
459
|
+
* `@aws-cdk/aws-appsync:appSyncGraphQLAPIScopeLambdaPermission`
|
|
460
|
+
|
|
461
|
+
Currently, when using a Lambda authorizer with an AppSync GraphQL API, the AWS CDK automatically generates the necessary AWS::Lambda::Permission to allow the AppSync API to invoke the Lambda authorizer. This permission is overly permissive because it lacks a SourceArn, meaning it allows invocations from any source.
|
|
462
|
+
|
|
463
|
+
When this feature flag is enabled, the AWS::Lambda::Permission will be properly scoped with the SourceArn corresponding to the specific AppSync GraphQL API.
|
|
464
|
+
|
|
465
|
+
*cdk.json*
|
|
466
|
+
|
|
467
|
+
```json
|
|
468
|
+
{
|
|
469
|
+
"context": {
|
|
470
|
+
"@aws-cdk/aws-ec2:appSyncGraphQLAPIScopeLambdaPermission": true
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
```
|
|
474
|
+
|
|
475
|
+
* `@aws-cdk/aws-rds:setCorrectValueForDatabaseInstanceReadReplicaInstanceResourceId`
|
|
476
|
+
|
|
477
|
+
When enabled, the value of property `instanceResourceId` in construct `DatabaseInstanceReadReplica` will be set to the correct value which is `DbiResourceId` instead of currently `DbInstanceArn`* (fix)
|
|
478
|
+
|
|
479
|
+
When this feature flag is enabled, the value of that property will be as expected set to `DbiResourceId` attribute, and that will fix the grantConnect method.
|
|
480
|
+
|
|
481
|
+
*cdk.json*
|
|
482
|
+
|
|
483
|
+
```json
|
|
484
|
+
{
|
|
485
|
+
"context": {
|
|
486
|
+
"@aws-cdk/aws-rds:setCorrectValueForDatabaseInstanceReadReplicaInstanceResourceId": true
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
* `@aws-cdk/aws-lambda-nodejs:sdkV3ExcludeSmithyPackages`
|
|
492
|
+
|
|
493
|
+
Currently, when bundling Lambda functions with the non-latest runtime that supports AWS SDK JavaScript (v3), only the `@aws-sdk/*` packages are excluded by default.
|
|
494
|
+
However, this can cause version mismatches between the `@aws-sdk/*` and `@smithy/*` packages, as they are tightly coupled dependencies in AWS SDK v3.
|
|
495
|
+
|
|
496
|
+
When this feature flag is enabled, both `@aws-sdk/*` and `@smithy/*` packages will be excluded during the bundling process. This ensures that no mismatches
|
|
497
|
+
occur between these tightly coupled dependencies when using the AWS SDK v3 in Lambda functions.
|
|
498
|
+
|
|
499
|
+
*cdk.json*
|
|
500
|
+
|
|
501
|
+
```json
|
|
502
|
+
{
|
|
503
|
+
"context": {
|
|
504
|
+
"@aws-cdk/aws-lambda-nodejs:sdkV3ExcludeSmithyPackages": true
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
```
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aws_cdk_cx_api-2.159.1 → aws_cdk_cx_api-2.161.0}/src/aws_cdk.cx_api.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|