aws-cdk-lib 2.160.0__py3-none-any.whl → 2.161.1__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 +21 -14
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.160.0.jsii.tgz → aws-cdk-lib@2.161.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigatewayv2/__init__.py +13 -14
- aws_cdk/aws_autoscaling/__init__.py +2 -2
- aws_cdk/aws_b2bi/__init__.py +2283 -672
- aws_cdk/aws_batch/__init__.py +9 -5
- aws_cdk/aws_bedrock/__init__.py +52 -20
- aws_cdk/aws_cloudformation/__init__.py +9 -9
- aws_cdk/aws_cloudtrail/__init__.py +97 -183
- aws_cdk/aws_cloudwatch/__init__.py +38 -42
- aws_cdk/aws_datasync/__init__.py +1 -1
- aws_cdk/aws_ec2/__init__.py +114 -8
- aws_cdk/aws_ecs/__init__.py +513 -2
- aws_cdk/aws_eks/__init__.py +118 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +5 -3
- aws_cdk/aws_glue/__init__.py +386 -0
- aws_cdk/aws_iotfleetwise/__init__.py +49 -49
- aws_cdk/aws_iottwinmaker/__init__.py +4 -4
- aws_cdk/aws_iotwireless/__init__.py +2 -1
- aws_cdk/aws_kinesisfirehose/__init__.py +52 -76
- aws_cdk/aws_lambda/__init__.py +383 -244
- aws_cdk/aws_logs/__init__.py +431 -3
- aws_cdk/aws_mediaconnect/__init__.py +6 -4
- aws_cdk/aws_medialive/__init__.py +36 -0
- aws_cdk/aws_organizations/__init__.py +4 -3
- aws_cdk/aws_pipes/__init__.py +2 -2
- aws_cdk/aws_quicksight/__init__.py +1086 -6
- aws_cdk/aws_rds/__init__.py +158 -3
- aws_cdk/aws_route53resolver/__init__.py +3 -17
- aws_cdk/aws_s3/__init__.py +20 -11
- aws_cdk/aws_s3_deployment/__init__.py +45 -0
- aws_cdk/aws_s3express/__init__.py +314 -4
- aws_cdk/aws_sagemaker/__init__.py +44 -4
- aws_cdk/aws_secretsmanager/__init__.py +14 -7
- aws_cdk/aws_securityhub/__init__.py +16 -14
- aws_cdk/aws_ses/__init__.py +52 -18
- aws_cdk/aws_sqs/__init__.py +16 -14
- aws_cdk/aws_ssm/__init__.py +6 -2
- aws_cdk/aws_synthetics/__init__.py +46 -0
- aws_cdk/aws_waf/__init__.py +33 -22
- aws_cdk/aws_wafregional/__init__.py +36 -24
- aws_cdk/aws_workspacesweb/__init__.py +54 -3
- aws_cdk/cloudformation_include/__init__.py +28 -0
- aws_cdk/cx_api/__init__.py +50 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/RECORD +51 -51
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.1.dist-info}/top_level.txt +0 -0
|
@@ -233,11 +233,12 @@ class CfnByteMatchSet(
|
|
|
233
233
|
) -> None:
|
|
234
234
|
'''.. epigraph::
|
|
235
235
|
|
|
236
|
-
|
|
236
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
237
237
|
|
|
238
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
239
238
|
.. epigraph::
|
|
240
239
|
|
|
240
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
241
|
+
|
|
241
242
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
242
243
|
|
|
243
244
|
The bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings.
|
|
@@ -463,11 +464,12 @@ class CfnByteMatchSet(
|
|
|
463
464
|
) -> None:
|
|
464
465
|
'''.. epigraph::
|
|
465
466
|
|
|
466
|
-
|
|
467
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
467
468
|
|
|
468
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
469
469
|
.. epigraph::
|
|
470
470
|
|
|
471
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
472
|
+
|
|
471
473
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
472
474
|
|
|
473
475
|
Specifies where in a web request to look for ``TargetString`` .
|
|
@@ -647,11 +649,12 @@ class CfnGeoMatchSet(
|
|
|
647
649
|
):
|
|
648
650
|
'''.. epigraph::
|
|
649
651
|
|
|
650
|
-
|
|
652
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
651
653
|
|
|
652
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
653
654
|
.. epigraph::
|
|
654
655
|
|
|
656
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
657
|
+
|
|
655
658
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
656
659
|
|
|
657
660
|
Contains one or more countries that AWS WAF will search for.
|
|
@@ -784,11 +787,12 @@ class CfnGeoMatchSet(
|
|
|
784
787
|
def __init__(self, *, type: builtins.str, value: builtins.str) -> None:
|
|
785
788
|
'''.. epigraph::
|
|
786
789
|
|
|
787
|
-
|
|
790
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
788
791
|
|
|
789
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
790
792
|
.. epigraph::
|
|
791
793
|
|
|
794
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
795
|
+
|
|
792
796
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
793
797
|
|
|
794
798
|
The country from which web requests originate that you want AWS WAF to search for.
|
|
@@ -942,11 +946,12 @@ class CfnIPSet(
|
|
|
942
946
|
):
|
|
943
947
|
'''.. epigraph::
|
|
944
948
|
|
|
945
|
-
|
|
949
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
946
950
|
|
|
947
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
948
951
|
.. epigraph::
|
|
949
952
|
|
|
953
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
954
|
+
|
|
950
955
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
951
956
|
|
|
952
957
|
Contains one or more IP addresses or blocks of IP addresses specified in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128.
|
|
@@ -1079,11 +1084,12 @@ class CfnIPSet(
|
|
|
1079
1084
|
def __init__(self, *, type: builtins.str, value: builtins.str) -> None:
|
|
1080
1085
|
'''.. epigraph::
|
|
1081
1086
|
|
|
1082
|
-
|
|
1087
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
1083
1088
|
|
|
1084
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
1085
1089
|
.. epigraph::
|
|
1086
1090
|
|
|
1091
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
1092
|
+
|
|
1087
1093
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
1088
1094
|
|
|
1089
1095
|
Specifies the IP address type ( ``IPV4`` or ``IPV6`` ) and the IP address range (in CIDR format) that web requests originate from.
|
|
@@ -2223,11 +2229,12 @@ class CfnSizeConstraintSet(
|
|
|
2223
2229
|
):
|
|
2224
2230
|
'''.. epigraph::
|
|
2225
2231
|
|
|
2226
|
-
|
|
2232
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
2227
2233
|
|
|
2228
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
2229
2234
|
.. epigraph::
|
|
2230
2235
|
|
|
2236
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
2237
|
+
|
|
2231
2238
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
2232
2239
|
|
|
2233
2240
|
A complex type that contains ``SizeConstraint`` objects, which specify the parts of web requests that you want AWS WAF to inspect the size of. If a ``SizeConstraintSet`` contains more than one ``SizeConstraint`` object, a request only needs to match one constraint to be considered a match.
|
|
@@ -2466,11 +2473,12 @@ class CfnSizeConstraintSet(
|
|
|
2466
2473
|
) -> None:
|
|
2467
2474
|
'''.. epigraph::
|
|
2468
2475
|
|
|
2469
|
-
|
|
2476
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
2470
2477
|
|
|
2471
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
2472
2478
|
.. epigraph::
|
|
2473
2479
|
|
|
2480
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
2481
|
+
|
|
2474
2482
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
2475
2483
|
|
|
2476
2484
|
Specifies a constraint on the size of a part of the web request. AWS WAF uses the ``Size`` , ``ComparisonOperator`` , and ``FieldToMatch`` to build an expression in the form of " ``Size`` ``ComparisonOperator`` size in bytes of ``FieldToMatch`` ". If that expression is true, the ``SizeConstraint`` is considered to match.
|
|
@@ -2734,11 +2742,12 @@ class CfnSqlInjectionMatchSet(
|
|
|
2734
2742
|
):
|
|
2735
2743
|
'''.. epigraph::
|
|
2736
2744
|
|
|
2737
|
-
|
|
2745
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
2738
2746
|
|
|
2739
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
2740
2747
|
.. epigraph::
|
|
2741
2748
|
|
|
2749
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
2750
|
+
|
|
2742
2751
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
2743
2752
|
|
|
2744
2753
|
A complex type that contains ``SqlInjectionMatchTuple`` objects, which specify the parts of web requests that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. If a ``SqlInjectionMatchSet`` contains more than one ``SqlInjectionMatchTuple`` object, a request needs to include snippets of SQL code in only one of the specified parts of the request to be considered a match.
|
|
@@ -2973,11 +2982,12 @@ class CfnSqlInjectionMatchSet(
|
|
|
2973
2982
|
) -> None:
|
|
2974
2983
|
'''.. epigraph::
|
|
2975
2984
|
|
|
2976
|
-
|
|
2985
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
2977
2986
|
|
|
2978
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
2979
2987
|
.. epigraph::
|
|
2980
2988
|
|
|
2989
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
2990
|
+
|
|
2981
2991
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
2982
2992
|
|
|
2983
2993
|
Specifies the part of a web request that you want AWS WAF to inspect for snippets of malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.
|
|
@@ -3856,11 +3866,12 @@ class CfnXssMatchSet(
|
|
|
3856
3866
|
):
|
|
3857
3867
|
'''.. epigraph::
|
|
3858
3868
|
|
|
3859
|
-
|
|
3869
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
3860
3870
|
|
|
3861
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
3862
3871
|
.. epigraph::
|
|
3863
3872
|
|
|
3873
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
3874
|
+
|
|
3864
3875
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
3865
3876
|
|
|
3866
3877
|
A complex type that contains ``XssMatchTuple`` objects, which specify the parts of web requests that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header. If a ``XssMatchSet`` contains more than one ``XssMatchTuple`` object, a request needs to include cross-site scripting attacks in only one of the specified parts of the request to be considered a match.
|
|
@@ -4093,11 +4104,12 @@ class CfnXssMatchSet(
|
|
|
4093
4104
|
) -> None:
|
|
4094
4105
|
'''.. epigraph::
|
|
4095
4106
|
|
|
4096
|
-
|
|
4107
|
+
Deprecation notice: AWS WAF Classic support will end on September 30, 2025.
|
|
4097
4108
|
|
|
4098
|
-
For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
4099
4109
|
.. epigraph::
|
|
4100
4110
|
|
|
4111
|
+
This is *AWS WAF Classic* documentation. For more information, see `AWS WAF Classic <https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html>`_ in the developer guide.
|
|
4112
|
+
|
|
4101
4113
|
*For the latest version of AWS WAF* , use the AWS WAF V2 API and see the `AWS WAF Developer Guide <https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html>`_ . With the latest version, AWS WAF has a single set of endpoints for regional and global use.
|
|
4102
4114
|
|
|
4103
4115
|
Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.
|
|
@@ -377,7 +377,7 @@ class CfnBrowserSettingsProps:
|
|
|
377
377
|
)
|
|
378
378
|
|
|
379
379
|
|
|
380
|
-
@jsii.implements(_IInspectable_c2943556)
|
|
380
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
381
381
|
class CfnIdentityProvider(
|
|
382
382
|
_CfnResource_9df397a6,
|
|
383
383
|
metaclass=jsii.JSIIMeta,
|
|
@@ -405,7 +405,11 @@ class CfnIdentityProvider(
|
|
|
405
405
|
identity_provider_type="identityProviderType",
|
|
406
406
|
|
|
407
407
|
# the properties below are optional
|
|
408
|
-
portal_arn="portalArn"
|
|
408
|
+
portal_arn="portalArn",
|
|
409
|
+
tags=[CfnTag(
|
|
410
|
+
key="key",
|
|
411
|
+
value="value"
|
|
412
|
+
)]
|
|
409
413
|
)
|
|
410
414
|
'''
|
|
411
415
|
|
|
@@ -418,6 +422,7 @@ class CfnIdentityProvider(
|
|
|
418
422
|
identity_provider_name: builtins.str,
|
|
419
423
|
identity_provider_type: builtins.str,
|
|
420
424
|
portal_arn: typing.Optional[builtins.str] = None,
|
|
425
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
421
426
|
) -> None:
|
|
422
427
|
'''
|
|
423
428
|
:param scope: Scope in which this resource is defined.
|
|
@@ -426,6 +431,7 @@ class CfnIdentityProvider(
|
|
|
426
431
|
:param identity_provider_name: The identity provider name.
|
|
427
432
|
:param identity_provider_type: The identity provider type.
|
|
428
433
|
:param portal_arn: The ARN of the identity provider.
|
|
434
|
+
:param tags:
|
|
429
435
|
'''
|
|
430
436
|
if __debug__:
|
|
431
437
|
type_hints = typing.get_type_hints(_typecheckingstub__439cd32d129b1f0a69c13fb5a494170084be122497b619a7175debec51c3635e)
|
|
@@ -436,6 +442,7 @@ class CfnIdentityProvider(
|
|
|
436
442
|
identity_provider_name=identity_provider_name,
|
|
437
443
|
identity_provider_type=identity_provider_type,
|
|
438
444
|
portal_arn=portal_arn,
|
|
445
|
+
tags=tags,
|
|
439
446
|
)
|
|
440
447
|
|
|
441
448
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -479,6 +486,12 @@ class CfnIdentityProvider(
|
|
|
479
486
|
'''
|
|
480
487
|
return typing.cast(builtins.str, jsii.get(self, "attrIdentityProviderArn"))
|
|
481
488
|
|
|
489
|
+
@builtins.property
|
|
490
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
491
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
492
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
493
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
494
|
+
|
|
482
495
|
@builtins.property
|
|
483
496
|
@jsii.member(jsii_name="cfnProperties")
|
|
484
497
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -544,6 +557,18 @@ class CfnIdentityProvider(
|
|
|
544
557
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
545
558
|
jsii.set(self, "portalArn", value) # pyright: ignore[reportArgumentType]
|
|
546
559
|
|
|
560
|
+
@builtins.property
|
|
561
|
+
@jsii.member(jsii_name="tags")
|
|
562
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
563
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
564
|
+
|
|
565
|
+
@tags.setter
|
|
566
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
567
|
+
if __debug__:
|
|
568
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f529ceae5ebe64b079470ab15dfc0b78fc406f1eaba9be1f4902b355cd6e363f)
|
|
569
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
570
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
571
|
+
|
|
547
572
|
|
|
548
573
|
@jsii.data_type(
|
|
549
574
|
jsii_type="aws-cdk-lib.aws_workspacesweb.CfnIdentityProviderProps",
|
|
@@ -553,6 +578,7 @@ class CfnIdentityProvider(
|
|
|
553
578
|
"identity_provider_name": "identityProviderName",
|
|
554
579
|
"identity_provider_type": "identityProviderType",
|
|
555
580
|
"portal_arn": "portalArn",
|
|
581
|
+
"tags": "tags",
|
|
556
582
|
},
|
|
557
583
|
)
|
|
558
584
|
class CfnIdentityProviderProps:
|
|
@@ -563,6 +589,7 @@ class CfnIdentityProviderProps:
|
|
|
563
589
|
identity_provider_name: builtins.str,
|
|
564
590
|
identity_provider_type: builtins.str,
|
|
565
591
|
portal_arn: typing.Optional[builtins.str] = None,
|
|
592
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
566
593
|
) -> None:
|
|
567
594
|
'''Properties for defining a ``CfnIdentityProvider``.
|
|
568
595
|
|
|
@@ -570,6 +597,7 @@ class CfnIdentityProviderProps:
|
|
|
570
597
|
:param identity_provider_name: The identity provider name.
|
|
571
598
|
:param identity_provider_type: The identity provider type.
|
|
572
599
|
:param portal_arn: The ARN of the identity provider.
|
|
600
|
+
:param tags:
|
|
573
601
|
|
|
574
602
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-identityprovider.html
|
|
575
603
|
:exampleMetadata: fixture=_generated
|
|
@@ -588,7 +616,11 @@ class CfnIdentityProviderProps:
|
|
|
588
616
|
identity_provider_type="identityProviderType",
|
|
589
617
|
|
|
590
618
|
# the properties below are optional
|
|
591
|
-
portal_arn="portalArn"
|
|
619
|
+
portal_arn="portalArn",
|
|
620
|
+
tags=[CfnTag(
|
|
621
|
+
key="key",
|
|
622
|
+
value="value"
|
|
623
|
+
)]
|
|
592
624
|
)
|
|
593
625
|
'''
|
|
594
626
|
if __debug__:
|
|
@@ -597,6 +629,7 @@ class CfnIdentityProviderProps:
|
|
|
597
629
|
check_type(argname="argument identity_provider_name", value=identity_provider_name, expected_type=type_hints["identity_provider_name"])
|
|
598
630
|
check_type(argname="argument identity_provider_type", value=identity_provider_type, expected_type=type_hints["identity_provider_type"])
|
|
599
631
|
check_type(argname="argument portal_arn", value=portal_arn, expected_type=type_hints["portal_arn"])
|
|
632
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
600
633
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
601
634
|
"identity_provider_details": identity_provider_details,
|
|
602
635
|
"identity_provider_name": identity_provider_name,
|
|
@@ -604,6 +637,8 @@ class CfnIdentityProviderProps:
|
|
|
604
637
|
}
|
|
605
638
|
if portal_arn is not None:
|
|
606
639
|
self._values["portal_arn"] = portal_arn
|
|
640
|
+
if tags is not None:
|
|
641
|
+
self._values["tags"] = tags
|
|
607
642
|
|
|
608
643
|
@builtins.property
|
|
609
644
|
def identity_provider_details(
|
|
@@ -678,6 +713,14 @@ class CfnIdentityProviderProps:
|
|
|
678
713
|
result = self._values.get("portal_arn")
|
|
679
714
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
680
715
|
|
|
716
|
+
@builtins.property
|
|
717
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
718
|
+
'''
|
|
719
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-identityprovider.html#cfn-workspacesweb-identityprovider-tags
|
|
720
|
+
'''
|
|
721
|
+
result = self._values.get("tags")
|
|
722
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
723
|
+
|
|
681
724
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
682
725
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
683
726
|
|
|
@@ -3446,6 +3489,7 @@ def _typecheckingstub__439cd32d129b1f0a69c13fb5a494170084be122497b619a7175debec5
|
|
|
3446
3489
|
identity_provider_name: builtins.str,
|
|
3447
3490
|
identity_provider_type: builtins.str,
|
|
3448
3491
|
portal_arn: typing.Optional[builtins.str] = None,
|
|
3492
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3449
3493
|
) -> None:
|
|
3450
3494
|
"""Type checking stubs"""
|
|
3451
3495
|
pass
|
|
@@ -3486,12 +3530,19 @@ def _typecheckingstub__f17f07edd6f61424250e1f5f7df6f6cee024beb494ee700c6419c5642
|
|
|
3486
3530
|
"""Type checking stubs"""
|
|
3487
3531
|
pass
|
|
3488
3532
|
|
|
3533
|
+
def _typecheckingstub__f529ceae5ebe64b079470ab15dfc0b78fc406f1eaba9be1f4902b355cd6e363f(
|
|
3534
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
3535
|
+
) -> None:
|
|
3536
|
+
"""Type checking stubs"""
|
|
3537
|
+
pass
|
|
3538
|
+
|
|
3489
3539
|
def _typecheckingstub__fc73238ea7aab35d7f7ec21a88a98c698e64b413b81129270666c830ae963a4d(
|
|
3490
3540
|
*,
|
|
3491
3541
|
identity_provider_details: typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]],
|
|
3492
3542
|
identity_provider_name: builtins.str,
|
|
3493
3543
|
identity_provider_type: builtins.str,
|
|
3494
3544
|
portal_arn: typing.Optional[builtins.str] = None,
|
|
3545
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3495
3546
|
) -> None:
|
|
3496
3547
|
"""Type checking stubs"""
|
|
3497
3548
|
pass
|
|
@@ -539,6 +539,7 @@ class CfnInclude(
|
|
|
539
539
|
*,
|
|
540
540
|
template_file: builtins.str,
|
|
541
541
|
allow_cyclical_references: typing.Optional[builtins.bool] = None,
|
|
542
|
+
dehydrated_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
542
543
|
load_nested_stacks: typing.Optional[typing.Mapping[builtins.str, typing.Union["CfnIncludeProps", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
543
544
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
544
545
|
preserve_logical_ids: typing.Optional[builtins.bool] = None,
|
|
@@ -548,6 +549,7 @@ class CfnInclude(
|
|
|
548
549
|
:param id: -
|
|
549
550
|
:param template_file: Path to the template file. Both JSON and YAML template formats are supported.
|
|
550
551
|
:param allow_cyclical_references: Specifies whether to allow cyclical references, effectively disregarding safeguards meant to avoid undeployable templates. This should only be set to true in the case of templates utilizing cloud transforms (e.g. SAM) that after processing the transform will no longer contain any circular references. Default: - will throw an error on detecting any cyclical references
|
|
552
|
+
:param dehydrated_resources: Specifies a list of LogicalIDs for resources that will be included in the CDK Stack, but will not be parsed and converted to CDK types. This allows you to use CFN templates that rely on Intrinsic placement that ``cfn-include`` would otherwise reject, such as non-primitive values in resource update policies. Default: - All resources are hydrated
|
|
551
553
|
:param load_nested_stacks: Specifies the template files that define nested stacks that should be included. If your template specifies a stack that isn't included here, it won't be created as a NestedStack resource, and it won't be accessible from the ``CfnInclude.getNestedStack`` method (but will still be accessible from the ``CfnInclude.getResource`` method). If you include a stack here with an ID that isn't in the template, or is in the template but is not a nested stack, template creation will fail and an error will be thrown. Default: - no nested stacks will be included
|
|
552
554
|
:param parameters: Specifies parameters to be replaced by the values in this mapping. Any parameters in the template that aren't specified here will be left unmodified. If you include a parameter here with an ID that isn't in the template, template creation will fail and an error will be thrown. If you are importing a parameter from a live stack, we cannot know the value of that parameter. You will need to supply a value for your parameters, else the default value will be used. Default: - parameters will retain their original definitions
|
|
553
555
|
:param preserve_logical_ids: Whether the resources should have the same logical IDs in the resulting CDK template as they did in the original CloudFormation template file. If you're vending a Construct using an existing CloudFormation template, make sure to pass this as ``false``. **Note**: regardless of whether this option is true or false, the ``CfnInclude.getResource`` and related methods always uses the original logical ID of the resource/element, as specified in the template file. Default: true
|
|
@@ -559,6 +561,7 @@ class CfnInclude(
|
|
|
559
561
|
props = CfnIncludeProps(
|
|
560
562
|
template_file=template_file,
|
|
561
563
|
allow_cyclical_references=allow_cyclical_references,
|
|
564
|
+
dehydrated_resources=dehydrated_resources,
|
|
562
565
|
load_nested_stacks=load_nested_stacks,
|
|
563
566
|
parameters=parameters,
|
|
564
567
|
preserve_logical_ids=preserve_logical_ids,
|
|
@@ -707,6 +710,7 @@ class CfnInclude(
|
|
|
707
710
|
*,
|
|
708
711
|
template_file: builtins.str,
|
|
709
712
|
allow_cyclical_references: typing.Optional[builtins.bool] = None,
|
|
713
|
+
dehydrated_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
710
714
|
load_nested_stacks: typing.Optional[typing.Mapping[builtins.str, typing.Union["CfnIncludeProps", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
711
715
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
712
716
|
preserve_logical_ids: typing.Optional[builtins.bool] = None,
|
|
@@ -721,6 +725,7 @@ class CfnInclude(
|
|
|
721
725
|
:param logical_id: the ID of the stack to retrieve, as it appears in the template.
|
|
722
726
|
:param template_file: Path to the template file. Both JSON and YAML template formats are supported.
|
|
723
727
|
:param allow_cyclical_references: Specifies whether to allow cyclical references, effectively disregarding safeguards meant to avoid undeployable templates. This should only be set to true in the case of templates utilizing cloud transforms (e.g. SAM) that after processing the transform will no longer contain any circular references. Default: - will throw an error on detecting any cyclical references
|
|
728
|
+
:param dehydrated_resources: Specifies a list of LogicalIDs for resources that will be included in the CDK Stack, but will not be parsed and converted to CDK types. This allows you to use CFN templates that rely on Intrinsic placement that ``cfn-include`` would otherwise reject, such as non-primitive values in resource update policies. Default: - All resources are hydrated
|
|
724
729
|
:param load_nested_stacks: Specifies the template files that define nested stacks that should be included. If your template specifies a stack that isn't included here, it won't be created as a NestedStack resource, and it won't be accessible from the ``CfnInclude.getNestedStack`` method (but will still be accessible from the ``CfnInclude.getResource`` method). If you include a stack here with an ID that isn't in the template, or is in the template but is not a nested stack, template creation will fail and an error will be thrown. Default: - no nested stacks will be included
|
|
725
730
|
:param parameters: Specifies parameters to be replaced by the values in this mapping. Any parameters in the template that aren't specified here will be left unmodified. If you include a parameter here with an ID that isn't in the template, template creation will fail and an error will be thrown. If you are importing a parameter from a live stack, we cannot know the value of that parameter. You will need to supply a value for your parameters, else the default value will be used. Default: - parameters will retain their original definitions
|
|
726
731
|
:param preserve_logical_ids: Whether the resources should have the same logical IDs in the resulting CDK template as they did in the original CloudFormation template file. If you're vending a Construct using an existing CloudFormation template, make sure to pass this as ``false``. **Note**: regardless of whether this option is true or false, the ``CfnInclude.getResource`` and related methods always uses the original logical ID of the resource/element, as specified in the template file. Default: true
|
|
@@ -733,6 +738,7 @@ class CfnInclude(
|
|
|
733
738
|
nested_stack_props = CfnIncludeProps(
|
|
734
739
|
template_file=template_file,
|
|
735
740
|
allow_cyclical_references=allow_cyclical_references,
|
|
741
|
+
dehydrated_resources=dehydrated_resources,
|
|
736
742
|
load_nested_stacks=load_nested_stacks,
|
|
737
743
|
parameters=parameters,
|
|
738
744
|
preserve_logical_ids=preserve_logical_ids,
|
|
@@ -747,6 +753,7 @@ class CfnInclude(
|
|
|
747
753
|
name_mapping={
|
|
748
754
|
"template_file": "templateFile",
|
|
749
755
|
"allow_cyclical_references": "allowCyclicalReferences",
|
|
756
|
+
"dehydrated_resources": "dehydratedResources",
|
|
750
757
|
"load_nested_stacks": "loadNestedStacks",
|
|
751
758
|
"parameters": "parameters",
|
|
752
759
|
"preserve_logical_ids": "preserveLogicalIds",
|
|
@@ -758,6 +765,7 @@ class CfnIncludeProps:
|
|
|
758
765
|
*,
|
|
759
766
|
template_file: builtins.str,
|
|
760
767
|
allow_cyclical_references: typing.Optional[builtins.bool] = None,
|
|
768
|
+
dehydrated_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
761
769
|
load_nested_stacks: typing.Optional[typing.Mapping[builtins.str, typing.Union["CfnIncludeProps", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
762
770
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
763
771
|
preserve_logical_ids: typing.Optional[builtins.bool] = None,
|
|
@@ -766,6 +774,7 @@ class CfnIncludeProps:
|
|
|
766
774
|
|
|
767
775
|
:param template_file: Path to the template file. Both JSON and YAML template formats are supported.
|
|
768
776
|
:param allow_cyclical_references: Specifies whether to allow cyclical references, effectively disregarding safeguards meant to avoid undeployable templates. This should only be set to true in the case of templates utilizing cloud transforms (e.g. SAM) that after processing the transform will no longer contain any circular references. Default: - will throw an error on detecting any cyclical references
|
|
777
|
+
:param dehydrated_resources: Specifies a list of LogicalIDs for resources that will be included in the CDK Stack, but will not be parsed and converted to CDK types. This allows you to use CFN templates that rely on Intrinsic placement that ``cfn-include`` would otherwise reject, such as non-primitive values in resource update policies. Default: - All resources are hydrated
|
|
769
778
|
:param load_nested_stacks: Specifies the template files that define nested stacks that should be included. If your template specifies a stack that isn't included here, it won't be created as a NestedStack resource, and it won't be accessible from the ``CfnInclude.getNestedStack`` method (but will still be accessible from the ``CfnInclude.getResource`` method). If you include a stack here with an ID that isn't in the template, or is in the template but is not a nested stack, template creation will fail and an error will be thrown. Default: - no nested stacks will be included
|
|
770
779
|
:param parameters: Specifies parameters to be replaced by the values in this mapping. Any parameters in the template that aren't specified here will be left unmodified. If you include a parameter here with an ID that isn't in the template, template creation will fail and an error will be thrown. If you are importing a parameter from a live stack, we cannot know the value of that parameter. You will need to supply a value for your parameters, else the default value will be used. Default: - parameters will retain their original definitions
|
|
771
780
|
:param preserve_logical_ids: Whether the resources should have the same logical IDs in the resulting CDK template as they did in the original CloudFormation template file. If you're vending a Construct using an existing CloudFormation template, make sure to pass this as ``false``. **Note**: regardless of whether this option is true or false, the ``CfnInclude.getResource`` and related methods always uses the original logical ID of the resource/element, as specified in the template file. Default: true
|
|
@@ -787,6 +796,7 @@ class CfnIncludeProps:
|
|
|
787
796
|
type_hints = typing.get_type_hints(_typecheckingstub__ec894574320f1d1806f81c6bd6f030b31c90de46348de376f43cb70a72909217)
|
|
788
797
|
check_type(argname="argument template_file", value=template_file, expected_type=type_hints["template_file"])
|
|
789
798
|
check_type(argname="argument allow_cyclical_references", value=allow_cyclical_references, expected_type=type_hints["allow_cyclical_references"])
|
|
799
|
+
check_type(argname="argument dehydrated_resources", value=dehydrated_resources, expected_type=type_hints["dehydrated_resources"])
|
|
790
800
|
check_type(argname="argument load_nested_stacks", value=load_nested_stacks, expected_type=type_hints["load_nested_stacks"])
|
|
791
801
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
792
802
|
check_type(argname="argument preserve_logical_ids", value=preserve_logical_ids, expected_type=type_hints["preserve_logical_ids"])
|
|
@@ -795,6 +805,8 @@ class CfnIncludeProps:
|
|
|
795
805
|
}
|
|
796
806
|
if allow_cyclical_references is not None:
|
|
797
807
|
self._values["allow_cyclical_references"] = allow_cyclical_references
|
|
808
|
+
if dehydrated_resources is not None:
|
|
809
|
+
self._values["dehydrated_resources"] = dehydrated_resources
|
|
798
810
|
if load_nested_stacks is not None:
|
|
799
811
|
self._values["load_nested_stacks"] = load_nested_stacks
|
|
800
812
|
if parameters is not None:
|
|
@@ -824,6 +836,19 @@ class CfnIncludeProps:
|
|
|
824
836
|
result = self._values.get("allow_cyclical_references")
|
|
825
837
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
826
838
|
|
|
839
|
+
@builtins.property
|
|
840
|
+
def dehydrated_resources(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
841
|
+
'''Specifies a list of LogicalIDs for resources that will be included in the CDK Stack, but will not be parsed and converted to CDK types.
|
|
842
|
+
|
|
843
|
+
This allows you to use CFN templates
|
|
844
|
+
that rely on Intrinsic placement that ``cfn-include``
|
|
845
|
+
would otherwise reject, such as non-primitive values in resource update policies.
|
|
846
|
+
|
|
847
|
+
:default: - All resources are hydrated
|
|
848
|
+
'''
|
|
849
|
+
result = self._values.get("dehydrated_resources")
|
|
850
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
851
|
+
|
|
827
852
|
@builtins.property
|
|
828
853
|
def load_nested_stacks(
|
|
829
854
|
self,
|
|
@@ -965,6 +990,7 @@ def _typecheckingstub__4185853ea24f6986c8394bfadb21bcc9f34dfbaabb091ba9acbe1da7d
|
|
|
965
990
|
*,
|
|
966
991
|
template_file: builtins.str,
|
|
967
992
|
allow_cyclical_references: typing.Optional[builtins.bool] = None,
|
|
993
|
+
dehydrated_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
968
994
|
load_nested_stacks: typing.Optional[typing.Mapping[builtins.str, typing.Union[CfnIncludeProps, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
969
995
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
970
996
|
preserve_logical_ids: typing.Optional[builtins.bool] = None,
|
|
@@ -1025,6 +1051,7 @@ def _typecheckingstub__1de5dca9b9d136124e6e84c51950c6936c1c380a5f8a618f7f849bd32
|
|
|
1025
1051
|
*,
|
|
1026
1052
|
template_file: builtins.str,
|
|
1027
1053
|
allow_cyclical_references: typing.Optional[builtins.bool] = None,
|
|
1054
|
+
dehydrated_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1028
1055
|
load_nested_stacks: typing.Optional[typing.Mapping[builtins.str, typing.Union[CfnIncludeProps, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1029
1056
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
1030
1057
|
preserve_logical_ids: typing.Optional[builtins.bool] = None,
|
|
@@ -1036,6 +1063,7 @@ def _typecheckingstub__ec894574320f1d1806f81c6bd6f030b31c90de46348de376f43cb70a7
|
|
|
1036
1063
|
*,
|
|
1037
1064
|
template_file: builtins.str,
|
|
1038
1065
|
allow_cyclical_references: typing.Optional[builtins.bool] = None,
|
|
1066
|
+
dehydrated_resources: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1039
1067
|
load_nested_stacks: typing.Optional[typing.Mapping[builtins.str, typing.Union[CfnIncludeProps, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1040
1068
|
parameters: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
|
|
1041
1069
|
preserve_logical_ids: typing.Optional[builtins.bool] = None,
|
aws_cdk/cx_api/__init__.py
CHANGED
|
@@ -426,6 +426,56 @@ When this feature flag is enabled, if both initOptions.timeout and resourceSigna
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
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
|
+
```
|
|
429
479
|
'''
|
|
430
480
|
from pkgutil import extend_path
|
|
431
481
|
__path__ = extend_path(__path__, __name__)
|