aws-cdk-lib 2.137.0__py3-none-any.whl → 2.138.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 +8 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.137.0.jsii.tgz → aws-cdk-lib@2.138.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +29 -113
- aws_cdk/aws_appconfig/__init__.py +26 -33
- aws_cdk/aws_apprunner/__init__.py +5 -2
- aws_cdk/aws_appsync/__init__.py +400 -13
- aws_cdk/aws_aps/__init__.py +64 -47
- aws_cdk/aws_b2bi/__init__.py +2 -6
- aws_cdk/aws_backup/__init__.py +27 -23
- aws_cdk/aws_batch/__init__.py +103 -0
- aws_cdk/aws_bcmdataexports/__init__.py +1114 -0
- aws_cdk/aws_chatbot/__init__.py +6 -4
- aws_cdk/aws_cleanrooms/__init__.py +526 -3
- aws_cdk/aws_cleanroomsml/__init__.py +960 -0
- aws_cdk/aws_cloudtrail/__init__.py +10 -10
- aws_cdk/aws_cloudwatch/__init__.py +124 -8
- aws_cdk/aws_codebuild/__init__.py +27 -22
- aws_cdk/aws_codeconnections/__init__.py +435 -0
- aws_cdk/aws_cognito/__init__.py +175 -79
- aws_cdk/aws_deadline/__init__.py +5394 -0
- aws_cdk/aws_ec2/__init__.py +279 -163
- aws_cdk/aws_ecs/__init__.py +240 -1
- aws_cdk/aws_efs/__init__.py +2 -2
- aws_cdk/aws_elasticache/__init__.py +86 -32
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +52 -2
- aws_cdk/aws_emr/__init__.py +2 -2
- aws_cdk/aws_entityresolution/__init__.py +1982 -773
- aws_cdk/aws_globalaccelerator/__init__.py +443 -0
- aws_cdk/aws_iam/__init__.py +1 -2
- aws_cdk/aws_internetmonitor/__init__.py +14 -6
- aws_cdk/aws_ivs/__init__.py +1273 -71
- aws_cdk/aws_mediatailor/__init__.py +41 -0
- aws_cdk/aws_personalize/__init__.py +8 -6
- aws_cdk/aws_pinpoint/__init__.py +5 -3
- aws_cdk/aws_pipes/__init__.py +5 -1
- aws_cdk/aws_quicksight/__init__.py +12 -6
- aws_cdk/aws_rds/__init__.py +355 -85
- aws_cdk/aws_route53/__init__.py +587 -14
- aws_cdk/aws_sagemaker/__init__.py +233 -2
- aws_cdk/aws_securityhub/__init__.py +4940 -102
- aws_cdk/aws_securitylake/__init__.py +1237 -55
- aws_cdk/aws_sns/__init__.py +61 -4
- aws_cdk/aws_ssmcontacts/__init__.py +11 -4
- aws_cdk/aws_stepfunctions/__init__.py +8 -16
- aws_cdk/aws_stepfunctions_tasks/__init__.py +676 -1
- aws_cdk/aws_transfer/__init__.py +4 -4
- aws_cdk/aws_verifiedpermissions/__init__.py +114 -37
- aws_cdk/aws_workspacesthinclient/__init__.py +8 -8
- aws_cdk/custom_resources/__init__.py +248 -26
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/METADATA +3 -3
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/RECORD +56 -52
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.137.0.dist-info → aws_cdk_lib-2.138.0.dist-info}/top_level.txt +0 -0
|
@@ -613,6 +613,78 @@ cr.AwsCustomResource(self, "ListObjects",
|
|
|
613
613
|
Note that even if you restrict the output of your custom resource you can still use any
|
|
614
614
|
path in `PhysicalResourceId.fromResponse()`.
|
|
615
615
|
|
|
616
|
+
### Custom Resource Logging for SDK Calls
|
|
617
|
+
|
|
618
|
+
By default, logging occurs during execution of the singleton Lambda used by a custom resource. The data being logged includes:
|
|
619
|
+
|
|
620
|
+
* The event object that is received by the Lambda handler
|
|
621
|
+
* The response received after making an API call
|
|
622
|
+
* The response object that the Lambda handler will return
|
|
623
|
+
* SDK versioning information
|
|
624
|
+
* Caught and uncaught errors
|
|
625
|
+
|
|
626
|
+
The `logging` property defined on the `AwsSdkCall` interface allows control over what data is being logged on a per SDK call basis. This is configurable via an instance of the `Logging` class. The `Logging` class exposes two options that can be used to configure logging:
|
|
627
|
+
|
|
628
|
+
1. `Logging.all()` which enables logging of all data. This is the default `logging` configuration.
|
|
629
|
+
2. `Logging.withDataHidden()` which prevents logging of all data associated with the API call response, including logging the raw API call response and the `Data` field on the Lambda handler response object. This configuration option is particularly useful for situations where the API call response may contain sensitive information.
|
|
630
|
+
|
|
631
|
+
For further context about `Logging.withDataHidden()`, consider a user who might be making an API call that is returning sensitive information that they may want to keep hidden. To do this, they would configure `logging` with `Logging.withDataHidden()`:
|
|
632
|
+
|
|
633
|
+
```python
|
|
634
|
+
get_parameter = cr.AwsCustomResource(self, "GetParameter",
|
|
635
|
+
on_update=cr.AwsSdkCall(
|
|
636
|
+
service="SSM",
|
|
637
|
+
action="GetParameter",
|
|
638
|
+
parameters={
|
|
639
|
+
"Name": "my-parameter",
|
|
640
|
+
"WithDecryption": True
|
|
641
|
+
},
|
|
642
|
+
physical_resource_id=cr.PhysicalResourceId.of(Date.now().to_string()),
|
|
643
|
+
logging=cr.Logging.with_data_hidden()
|
|
644
|
+
),
|
|
645
|
+
policy=cr.AwsCustomResourcePolicy.from_sdk_calls(
|
|
646
|
+
resources=cr.AwsCustomResourcePolicy.ANY_RESOURCE
|
|
647
|
+
)
|
|
648
|
+
)
|
|
649
|
+
```
|
|
650
|
+
|
|
651
|
+
With this configuration option set, the raw API call response would not be logged and the `Data` field of the response object would be hidden:
|
|
652
|
+
|
|
653
|
+
```
|
|
654
|
+
{
|
|
655
|
+
"Status": "SUCCESS",
|
|
656
|
+
"Reason": "OK",
|
|
657
|
+
"PhysicalResourceId": "1234567890123",
|
|
658
|
+
"StackId": "arn:aws:cloudformation:us-west-2:123456789012:stack/Test/043tyub2-194e-4cy2-a969-9891ghj6cd0d",
|
|
659
|
+
"RequestId": "a16y677a-a8b6-41a6-bf7b-7644586861a5",
|
|
660
|
+
"LogicalResourceId": "Sercret",
|
|
661
|
+
"NoEcho": false,
|
|
662
|
+
}
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
For comparison, configuring `logging` with `Logging.all()` would result in the raw API call response being logged, as well as the full response object:
|
|
666
|
+
|
|
667
|
+
```
|
|
668
|
+
{
|
|
669
|
+
"Status": "SUCCESS",
|
|
670
|
+
"Reason": "OK",
|
|
671
|
+
"PhysicalResourceId": "1234567890123",
|
|
672
|
+
"StackId": "arn:aws:cloudformation:us-west-2:123456789012:stack/Test/043tyub2-194e-4cy2-a969-9891ghj6cd0d",
|
|
673
|
+
"RequestId": "a16y677a-a8b6-41a6-bf7b-7644586861a5",
|
|
674
|
+
"LogicalResourceId": "Sercret",
|
|
675
|
+
"NoEcho": false,
|
|
676
|
+
"Data": {
|
|
677
|
+
"region": "us-west-2",
|
|
678
|
+
"Parameter.ARN": "arn:aws:ssm:us-west-2:123456789012:parameter/Test/Parameter",
|
|
679
|
+
"Parameter.DataType": "text",
|
|
680
|
+
"Parameter.Name": "/Test/Parameter",
|
|
681
|
+
"Parameter.Type": "SecureString",
|
|
682
|
+
"Parameter.Value": "ThisIsSecret!123",
|
|
683
|
+
"Parameter.Version": 1
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
```
|
|
687
|
+
|
|
616
688
|
### Custom Resource Examples
|
|
617
689
|
|
|
618
690
|
#### Get the latest version of a secure SSM parameter
|
|
@@ -778,25 +850,22 @@ class AwsCustomResource(
|
|
|
778
850
|
|
|
779
851
|
Example::
|
|
780
852
|
|
|
781
|
-
get_parameter = cr.AwsCustomResource(self, "
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
action="AssociateVPCWithHostedZone",
|
|
853
|
+
get_parameter = cr.AwsCustomResource(self, "GetParameter",
|
|
854
|
+
on_update=cr.AwsSdkCall( # will also be called for a CREATE event
|
|
855
|
+
service="SSM",
|
|
856
|
+
action="GetParameter",
|
|
786
857
|
parameters={
|
|
787
|
-
"
|
|
788
|
-
"
|
|
789
|
-
"VPCId": "vpc-123",
|
|
790
|
-
"VPCRegion": "region-for-vpc"
|
|
791
|
-
}
|
|
858
|
+
"Name": "my-parameter",
|
|
859
|
+
"WithDecryption": True
|
|
792
860
|
},
|
|
793
|
-
physical_resource_id=cr.PhysicalResourceId.of(
|
|
794
|
-
),
|
|
795
|
-
# Will ignore any resource and use the assumedRoleArn as resource and 'sts:AssumeRole' for service:action
|
|
861
|
+
physical_resource_id=cr.PhysicalResourceId.of(Date.now().to_string())),
|
|
796
862
|
policy=cr.AwsCustomResourcePolicy.from_sdk_calls(
|
|
797
863
|
resources=cr.AwsCustomResourcePolicy.ANY_RESOURCE
|
|
798
864
|
)
|
|
799
865
|
)
|
|
866
|
+
|
|
867
|
+
# Use the value in another construct with
|
|
868
|
+
get_parameter.get_response_field("Parameter.Value")
|
|
800
869
|
'''
|
|
801
870
|
|
|
802
871
|
def __init__(
|
|
@@ -1061,25 +1130,22 @@ class AwsCustomResourceProps:
|
|
|
1061
1130
|
|
|
1062
1131
|
Example::
|
|
1063
1132
|
|
|
1064
|
-
get_parameter = cr.AwsCustomResource(self, "
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
action="AssociateVPCWithHostedZone",
|
|
1133
|
+
get_parameter = cr.AwsCustomResource(self, "GetParameter",
|
|
1134
|
+
on_update=cr.AwsSdkCall( # will also be called for a CREATE event
|
|
1135
|
+
service="SSM",
|
|
1136
|
+
action="GetParameter",
|
|
1069
1137
|
parameters={
|
|
1070
|
-
"
|
|
1071
|
-
"
|
|
1072
|
-
"VPCId": "vpc-123",
|
|
1073
|
-
"VPCRegion": "region-for-vpc"
|
|
1074
|
-
}
|
|
1138
|
+
"Name": "my-parameter",
|
|
1139
|
+
"WithDecryption": True
|
|
1075
1140
|
},
|
|
1076
|
-
physical_resource_id=cr.PhysicalResourceId.of(
|
|
1077
|
-
),
|
|
1078
|
-
# Will ignore any resource and use the assumedRoleArn as resource and 'sts:AssumeRole' for service:action
|
|
1141
|
+
physical_resource_id=cr.PhysicalResourceId.of(Date.now().to_string())),
|
|
1079
1142
|
policy=cr.AwsCustomResourcePolicy.from_sdk_calls(
|
|
1080
1143
|
resources=cr.AwsCustomResourcePolicy.ANY_RESOURCE
|
|
1081
1144
|
)
|
|
1082
1145
|
)
|
|
1146
|
+
|
|
1147
|
+
# Use the value in another construct with
|
|
1148
|
+
get_parameter.get_response_field("Parameter.Value")
|
|
1083
1149
|
'''
|
|
1084
1150
|
if isinstance(on_create, dict):
|
|
1085
1151
|
on_create = AwsSdkCall(**on_create)
|
|
@@ -1322,6 +1388,7 @@ class AwsCustomResourceProps:
|
|
|
1322
1388
|
"api_version": "apiVersion",
|
|
1323
1389
|
"assumed_role_arn": "assumedRoleArn",
|
|
1324
1390
|
"ignore_error_codes_matching": "ignoreErrorCodesMatching",
|
|
1391
|
+
"logging": "logging",
|
|
1325
1392
|
"output_paths": "outputPaths",
|
|
1326
1393
|
"parameters": "parameters",
|
|
1327
1394
|
"physical_resource_id": "physicalResourceId",
|
|
@@ -1337,6 +1404,7 @@ class AwsSdkCall:
|
|
|
1337
1404
|
api_version: typing.Optional[builtins.str] = None,
|
|
1338
1405
|
assumed_role_arn: typing.Optional[builtins.str] = None,
|
|
1339
1406
|
ignore_error_codes_matching: typing.Optional[builtins.str] = None,
|
|
1407
|
+
logging: typing.Optional["Logging"] = None,
|
|
1340
1408
|
output_paths: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1341
1409
|
parameters: typing.Any = None,
|
|
1342
1410
|
physical_resource_id: typing.Optional["PhysicalResourceId"] = None,
|
|
@@ -1349,6 +1417,7 @@ class AwsSdkCall:
|
|
|
1349
1417
|
:param api_version: API version to use for the service. Default: - use latest available API version
|
|
1350
1418
|
:param assumed_role_arn: Used for running the SDK calls in underlying lambda with a different role. Can be used primarily for cross-account requests to for example connect hostedzone with a shared vpc. Region controls where assumeRole call is made. Example for Route53 / associateVPCWithHostedZone Default: - run without assuming role
|
|
1351
1419
|
:param ignore_error_codes_matching: The regex pattern to use to catch API errors. The ``code`` property of the ``Error`` object will be tested against this pattern. If there is a match an error will not be thrown. Default: - do not catch errors
|
|
1420
|
+
:param logging: A property used to configure logging during lambda function execution. Note: The default Logging configuration is all. This configuration will enable logging on all logged data in the lambda handler. This includes: - The event object that is received by the lambda handler - The response received after making a API call - The response object that the lambda handler will return - SDK versioning information - Caught and uncaught errors Default: Logging.all()
|
|
1352
1421
|
:param output_paths: Restrict the data returned by the custom resource to specific paths in the API response. Use this to limit the data returned by the custom resource if working with API calls that could potentially result in custom response objects exceeding the hard limit of 4096 bytes. Example for ECS / updateService: ['service.deploymentConfiguration.maximumPercent'] Default: - return all data
|
|
1353
1422
|
:param parameters: The parameters for the service action. Default: - no parameters
|
|
1354
1423
|
:param physical_resource_id: The physical resource id of the custom resource for this call. Mandatory for onCreate call. In onUpdate, you can omit this to passthrough it from request. Default: - no physical resource id
|
|
@@ -1377,6 +1446,7 @@ class AwsSdkCall:
|
|
|
1377
1446
|
check_type(argname="argument api_version", value=api_version, expected_type=type_hints["api_version"])
|
|
1378
1447
|
check_type(argname="argument assumed_role_arn", value=assumed_role_arn, expected_type=type_hints["assumed_role_arn"])
|
|
1379
1448
|
check_type(argname="argument ignore_error_codes_matching", value=ignore_error_codes_matching, expected_type=type_hints["ignore_error_codes_matching"])
|
|
1449
|
+
check_type(argname="argument logging", value=logging, expected_type=type_hints["logging"])
|
|
1380
1450
|
check_type(argname="argument output_paths", value=output_paths, expected_type=type_hints["output_paths"])
|
|
1381
1451
|
check_type(argname="argument parameters", value=parameters, expected_type=type_hints["parameters"])
|
|
1382
1452
|
check_type(argname="argument physical_resource_id", value=physical_resource_id, expected_type=type_hints["physical_resource_id"])
|
|
@@ -1391,6 +1461,8 @@ class AwsSdkCall:
|
|
|
1391
1461
|
self._values["assumed_role_arn"] = assumed_role_arn
|
|
1392
1462
|
if ignore_error_codes_matching is not None:
|
|
1393
1463
|
self._values["ignore_error_codes_matching"] = ignore_error_codes_matching
|
|
1464
|
+
if logging is not None:
|
|
1465
|
+
self._values["logging"] = logging
|
|
1394
1466
|
if output_paths is not None:
|
|
1395
1467
|
self._values["output_paths"] = output_paths
|
|
1396
1468
|
if parameters is not None:
|
|
@@ -1472,6 +1544,24 @@ class AwsSdkCall:
|
|
|
1472
1544
|
result = self._values.get("ignore_error_codes_matching")
|
|
1473
1545
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1474
1546
|
|
|
1547
|
+
@builtins.property
|
|
1548
|
+
def logging(self) -> typing.Optional["Logging"]:
|
|
1549
|
+
'''A property used to configure logging during lambda function execution.
|
|
1550
|
+
|
|
1551
|
+
Note: The default Logging configuration is all. This configuration will enable logging on all logged data
|
|
1552
|
+
in the lambda handler. This includes:
|
|
1553
|
+
|
|
1554
|
+
- The event object that is received by the lambda handler
|
|
1555
|
+
- The response received after making a API call
|
|
1556
|
+
- The response object that the lambda handler will return
|
|
1557
|
+
- SDK versioning information
|
|
1558
|
+
- Caught and uncaught errors
|
|
1559
|
+
|
|
1560
|
+
:default: Logging.all()
|
|
1561
|
+
'''
|
|
1562
|
+
result = self._values.get("logging")
|
|
1563
|
+
return typing.cast(typing.Optional["Logging"], result)
|
|
1564
|
+
|
|
1475
1565
|
@builtins.property
|
|
1476
1566
|
def output_paths(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
1477
1567
|
'''Restrict the data returned by the custom resource to specific paths in the API response.
|
|
@@ -1534,6 +1624,128 @@ class AwsSdkCall:
|
|
|
1534
1624
|
)
|
|
1535
1625
|
|
|
1536
1626
|
|
|
1627
|
+
class Logging(
|
|
1628
|
+
metaclass=jsii.JSIIAbstractClass,
|
|
1629
|
+
jsii_type="aws-cdk-lib.custom_resources.Logging",
|
|
1630
|
+
):
|
|
1631
|
+
'''A class used to configure Logging during AwsCustomResource SDK calls.
|
|
1632
|
+
|
|
1633
|
+
:exampleMetadata: infused
|
|
1634
|
+
|
|
1635
|
+
Example::
|
|
1636
|
+
|
|
1637
|
+
get_parameter = cr.AwsCustomResource(self, "GetParameter",
|
|
1638
|
+
on_update=cr.AwsSdkCall(
|
|
1639
|
+
service="SSM",
|
|
1640
|
+
action="GetParameter",
|
|
1641
|
+
parameters={
|
|
1642
|
+
"Name": "my-parameter",
|
|
1643
|
+
"WithDecryption": True
|
|
1644
|
+
},
|
|
1645
|
+
physical_resource_id=cr.PhysicalResourceId.of(Date.now().to_string()),
|
|
1646
|
+
logging=cr.Logging.with_data_hidden()
|
|
1647
|
+
),
|
|
1648
|
+
policy=cr.AwsCustomResourcePolicy.from_sdk_calls(
|
|
1649
|
+
resources=cr.AwsCustomResourcePolicy.ANY_RESOURCE
|
|
1650
|
+
)
|
|
1651
|
+
)
|
|
1652
|
+
'''
|
|
1653
|
+
|
|
1654
|
+
def __init__(
|
|
1655
|
+
self,
|
|
1656
|
+
*,
|
|
1657
|
+
log_api_response_data: typing.Optional[builtins.bool] = None,
|
|
1658
|
+
) -> None:
|
|
1659
|
+
'''
|
|
1660
|
+
:param log_api_response_data: Whether or not to log data associated with the API call response. Default: true
|
|
1661
|
+
'''
|
|
1662
|
+
props = LoggingProps(log_api_response_data=log_api_response_data)
|
|
1663
|
+
|
|
1664
|
+
jsii.create(self.__class__, self, [props])
|
|
1665
|
+
|
|
1666
|
+
@jsii.member(jsii_name="all")
|
|
1667
|
+
@builtins.classmethod
|
|
1668
|
+
def all(cls) -> "Logging":
|
|
1669
|
+
'''Enables logging of all logged data in the lambda handler.
|
|
1670
|
+
|
|
1671
|
+
This includes the event object, the API call response, all fields in the response object
|
|
1672
|
+
returned by the lambda, and any errors encountered.
|
|
1673
|
+
'''
|
|
1674
|
+
return typing.cast("Logging", jsii.sinvoke(cls, "all", []))
|
|
1675
|
+
|
|
1676
|
+
@jsii.member(jsii_name="withDataHidden")
|
|
1677
|
+
@builtins.classmethod
|
|
1678
|
+
def with_data_hidden(cls) -> "Logging":
|
|
1679
|
+
'''Hides logging of data associated with the API call response.
|
|
1680
|
+
|
|
1681
|
+
This includes hiding the raw API
|
|
1682
|
+
call response and the ``Data`` field associated with the lambda handler response.
|
|
1683
|
+
'''
|
|
1684
|
+
return typing.cast("Logging", jsii.sinvoke(cls, "withDataHidden", []))
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
class _LoggingProxy(Logging):
|
|
1688
|
+
pass
|
|
1689
|
+
|
|
1690
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class
|
|
1691
|
+
typing.cast(typing.Any, Logging).__jsii_proxy_class__ = lambda : _LoggingProxy
|
|
1692
|
+
|
|
1693
|
+
|
|
1694
|
+
@jsii.data_type(
|
|
1695
|
+
jsii_type="aws-cdk-lib.custom_resources.LoggingProps",
|
|
1696
|
+
jsii_struct_bases=[],
|
|
1697
|
+
name_mapping={"log_api_response_data": "logApiResponseData"},
|
|
1698
|
+
)
|
|
1699
|
+
class LoggingProps:
|
|
1700
|
+
def __init__(
|
|
1701
|
+
self,
|
|
1702
|
+
*,
|
|
1703
|
+
log_api_response_data: typing.Optional[builtins.bool] = None,
|
|
1704
|
+
) -> None:
|
|
1705
|
+
'''Properties used to initialize Logging.
|
|
1706
|
+
|
|
1707
|
+
:param log_api_response_data: Whether or not to log data associated with the API call response. Default: true
|
|
1708
|
+
|
|
1709
|
+
:exampleMetadata: fixture=_generated
|
|
1710
|
+
|
|
1711
|
+
Example::
|
|
1712
|
+
|
|
1713
|
+
# The code below shows an example of how to instantiate this type.
|
|
1714
|
+
# The values are placeholders you should change.
|
|
1715
|
+
from aws_cdk import custom_resources
|
|
1716
|
+
|
|
1717
|
+
logging_props = custom_resources.LoggingProps(
|
|
1718
|
+
log_api_response_data=False
|
|
1719
|
+
)
|
|
1720
|
+
'''
|
|
1721
|
+
if __debug__:
|
|
1722
|
+
type_hints = typing.get_type_hints(_typecheckingstub__da0d46a1eb4b059395d06daee7dcb9417dffd0b4cf8e8942cbe0a6549f0faf4b)
|
|
1723
|
+
check_type(argname="argument log_api_response_data", value=log_api_response_data, expected_type=type_hints["log_api_response_data"])
|
|
1724
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1725
|
+
if log_api_response_data is not None:
|
|
1726
|
+
self._values["log_api_response_data"] = log_api_response_data
|
|
1727
|
+
|
|
1728
|
+
@builtins.property
|
|
1729
|
+
def log_api_response_data(self) -> typing.Optional[builtins.bool]:
|
|
1730
|
+
'''Whether or not to log data associated with the API call response.
|
|
1731
|
+
|
|
1732
|
+
:default: true
|
|
1733
|
+
'''
|
|
1734
|
+
result = self._values.get("log_api_response_data")
|
|
1735
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
1736
|
+
|
|
1737
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1738
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1739
|
+
|
|
1740
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1741
|
+
return not (rhs == self)
|
|
1742
|
+
|
|
1743
|
+
def __repr__(self) -> str:
|
|
1744
|
+
return "LoggingProps(%s)" % ", ".join(
|
|
1745
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1746
|
+
)
|
|
1747
|
+
|
|
1748
|
+
|
|
1537
1749
|
class PhysicalResourceId(
|
|
1538
1750
|
metaclass=jsii.JSIIMeta,
|
|
1539
1751
|
jsii_type="aws-cdk-lib.custom_resources.PhysicalResourceId",
|
|
@@ -2115,6 +2327,8 @@ __all__ = [
|
|
|
2115
2327
|
"AwsCustomResourcePolicy",
|
|
2116
2328
|
"AwsCustomResourceProps",
|
|
2117
2329
|
"AwsSdkCall",
|
|
2330
|
+
"Logging",
|
|
2331
|
+
"LoggingProps",
|
|
2118
2332
|
"PhysicalResourceId",
|
|
2119
2333
|
"PhysicalResourceIdReference",
|
|
2120
2334
|
"Provider",
|
|
@@ -2191,6 +2405,7 @@ def _typecheckingstub__af7bb124668b93c6ce7d641df2daeabfe424e271742385a76e7e56ec9
|
|
|
2191
2405
|
api_version: typing.Optional[builtins.str] = None,
|
|
2192
2406
|
assumed_role_arn: typing.Optional[builtins.str] = None,
|
|
2193
2407
|
ignore_error_codes_matching: typing.Optional[builtins.str] = None,
|
|
2408
|
+
logging: typing.Optional[Logging] = None,
|
|
2194
2409
|
output_paths: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2195
2410
|
parameters: typing.Any = None,
|
|
2196
2411
|
physical_resource_id: typing.Optional[PhysicalResourceId] = None,
|
|
@@ -2199,6 +2414,13 @@ def _typecheckingstub__af7bb124668b93c6ce7d641df2daeabfe424e271742385a76e7e56ec9
|
|
|
2199
2414
|
"""Type checking stubs"""
|
|
2200
2415
|
pass
|
|
2201
2416
|
|
|
2417
|
+
def _typecheckingstub__da0d46a1eb4b059395d06daee7dcb9417dffd0b4cf8e8942cbe0a6549f0faf4b(
|
|
2418
|
+
*,
|
|
2419
|
+
log_api_response_data: typing.Optional[builtins.bool] = None,
|
|
2420
|
+
) -> None:
|
|
2421
|
+
"""Type checking stubs"""
|
|
2422
|
+
pass
|
|
2423
|
+
|
|
2202
2424
|
def _typecheckingstub__6baa8764ccdf77f11bd8f80af9fafec69f56b719c1a237caae55c7f988e174b6(
|
|
2203
2425
|
response_path: builtins.str,
|
|
2204
2426
|
) -> None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk-lib
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.138.0
|
|
4
4
|
Summary: Version 2 of the AWS Cloud Development Kit library
|
|
5
5
|
Home-page: https://github.com/aws/aws-cdk
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -23,9 +23,9 @@ License-File: LICENSE
|
|
|
23
23
|
License-File: NOTICE
|
|
24
24
|
Requires-Dist: aws-cdk.asset-awscli-v1 <3.0.0,>=2.2.202
|
|
25
25
|
Requires-Dist: aws-cdk.asset-kubectl-v20 <3.0.0,>=2.1.2
|
|
26
|
-
Requires-Dist: aws-cdk.asset-node-proxy-agent-v6 <3.0.0,>=2.0.
|
|
26
|
+
Requires-Dist: aws-cdk.asset-node-proxy-agent-v6 <3.0.0,>=2.0.3
|
|
27
27
|
Requires-Dist: constructs <11.0.0,>=10.0.0
|
|
28
|
-
Requires-Dist: jsii <2.0.0,>=1.
|
|
28
|
+
Requires-Dist: jsii <2.0.0,>=1.97.0
|
|
29
29
|
Requires-Dist: publication >=0.0.3
|
|
30
30
|
Requires-Dist: typeguard ~=2.13.3
|
|
31
31
|
|