aws-cdk-lib 2.138.0__py3-none-any.whl → 2.139.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/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.138.0.jsii.tgz → aws-cdk-lib@2.139.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +29 -16
- aws_cdk/aws_appconfig/__init__.py +289 -44
- aws_cdk/aws_appintegrations/__init__.py +55 -6
- aws_cdk/aws_autoscaling/__init__.py +62 -60
- aws_cdk/aws_backup/__init__.py +34 -42
- aws_cdk/aws_batch/__init__.py +9 -3
- aws_cdk/aws_bedrock/__init__.py +4144 -0
- aws_cdk/aws_cloudwatch/__init__.py +120 -0
- aws_cdk/aws_datazone/__init__.py +22 -0
- aws_cdk/aws_dms/__init__.py +2 -4
- aws_cdk/aws_ec2/__init__.py +123 -84
- aws_cdk/aws_ecr/__init__.py +630 -0
- aws_cdk/aws_ecs/__init__.py +121 -19
- aws_cdk/aws_efs/__init__.py +592 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +23 -8
- aws_cdk/aws_events_targets/__init__.py +17 -4
- aws_cdk/aws_kms/__init__.py +44 -0
- aws_cdk/aws_lambda/__init__.py +9 -0
- aws_cdk/aws_oam/__init__.py +204 -0
- aws_cdk/aws_rds/__init__.py +15 -11
- aws_cdk/aws_redshiftserverless/__init__.py +157 -0
- aws_cdk/aws_securitylake/__init__.py +160 -105
- aws_cdk/aws_ses_actions/__init__.py +155 -0
- aws_cdk/aws_ssm/__init__.py +5 -2
- aws_cdk/aws_timestream/__init__.py +1045 -0
- aws_cdk/aws_transfer/__init__.py +15 -6
- aws_cdk/aws_wisdom/__init__.py +2 -2
- aws_cdk/custom_resources/__init__.py +440 -0
- aws_cdk/cx_api/__init__.py +17 -0
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/RECORD +37 -37
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.138.0.dist-info → aws_cdk_lib-2.139.0.dist-info}/top_level.txt +0 -0
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -19,7 +19,7 @@ import aws_cdk.asset_node_proxy_agent_v6._jsii
|
|
|
19
19
|
import constructs._jsii
|
|
20
20
|
|
|
21
21
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
22
|
-
"aws-cdk-lib", "2.
|
|
22
|
+
"aws-cdk-lib", "2.139.0", __name__[0:-6], "aws-cdk-lib@2.139.0.jsii.tgz"
|
|
23
23
|
)
|
|
24
24
|
|
|
25
25
|
__all__ = [
|
|
Binary file
|
|
@@ -387,6 +387,11 @@ class DeployStack(NestedStack):
|
|
|
387
387
|
RootStack(App())
|
|
388
388
|
```
|
|
389
389
|
|
|
390
|
+
> **Warning:** In the code above, an API Gateway deployment is created during the initial CDK deployment.
|
|
391
|
+
> However, if there are changes to the resources in subsequent CDK deployments, a new API Gateway deployment is not
|
|
392
|
+
> automatically created. As a result, the latest state of the resources is not reflected. To ensure the latest state
|
|
393
|
+
> of the resources is reflected, a manual deployment of the API Gateway is required after the CDK deployment.
|
|
394
|
+
|
|
390
395
|
## Integration Targets
|
|
391
396
|
|
|
392
397
|
Methods are associated with backend integrations, which are invoked when this
|
|
@@ -30639,25 +30644,15 @@ class RestApi(
|
|
|
30639
30644
|
|
|
30640
30645
|
Example::
|
|
30641
30646
|
|
|
30642
|
-
|
|
30643
|
-
|
|
30644
|
-
|
|
30645
|
-
)
|
|
30646
|
-
|
|
30647
|
-
stream = firehose.CfnDeliveryStream(self, "MyStream",
|
|
30648
|
-
delivery_stream_name="amazon-apigateway-delivery-stream",
|
|
30649
|
-
s3_destination_configuration=firehose.CfnDeliveryStream.S3DestinationConfigurationProperty(
|
|
30650
|
-
bucket_arn=destination_bucket.bucket_arn,
|
|
30651
|
-
role_arn=delivery_stream_role.role_arn
|
|
30652
|
-
)
|
|
30647
|
+
state_machine = stepfunctions.StateMachine(self, "MyStateMachine",
|
|
30648
|
+
state_machine_type=stepfunctions.StateMachineType.EXPRESS,
|
|
30649
|
+
definition=stepfunctions.Chain.start(stepfunctions.Pass(self, "Pass"))
|
|
30653
30650
|
)
|
|
30654
30651
|
|
|
30655
|
-
api = apigateway.RestApi(self, "
|
|
30656
|
-
|
|
30657
|
-
access_log_destination=apigateway.FirehoseLogDestination(stream),
|
|
30658
|
-
access_log_format=apigateway.AccessLogFormat.json_with_standard_fields()
|
|
30659
|
-
)
|
|
30652
|
+
api = apigateway.RestApi(self, "Api",
|
|
30653
|
+
rest_api_name="MyApi"
|
|
30660
30654
|
)
|
|
30655
|
+
api.root.add_method("GET", apigateway.StepFunctionsIntegration.start_execution(state_machine))
|
|
30661
30656
|
'''
|
|
30662
30657
|
|
|
30663
30658
|
def __init__(
|
|
@@ -30800,6 +30795,18 @@ class RestApi(
|
|
|
30800
30795
|
check_type(argname="argument rest_api_id", value=rest_api_id, expected_type=type_hints["rest_api_id"])
|
|
30801
30796
|
return typing.cast(IRestApi, jsii.sinvoke(cls, "fromRestApiId", [scope, id, rest_api_id]))
|
|
30802
30797
|
|
|
30798
|
+
@jsii.member(jsii_name="isRestApi")
|
|
30799
|
+
@builtins.classmethod
|
|
30800
|
+
def is_rest_api(cls, x: typing.Any) -> builtins.bool:
|
|
30801
|
+
'''Return whether the given object is a ``RestApi``.
|
|
30802
|
+
|
|
30803
|
+
:param x: -
|
|
30804
|
+
'''
|
|
30805
|
+
if __debug__:
|
|
30806
|
+
type_hints = typing.get_type_hints(_typecheckingstub__975bcc14418b68d5b32e6352d624877e6db5a3a0c743ab1d96feb5303ad36de5)
|
|
30807
|
+
check_type(argname="argument x", value=x, expected_type=type_hints["x"])
|
|
30808
|
+
return typing.cast(builtins.bool, jsii.sinvoke(cls, "isRestApi", [x]))
|
|
30809
|
+
|
|
30803
30810
|
@jsii.member(jsii_name="addModel")
|
|
30804
30811
|
def add_model(
|
|
30805
30812
|
self,
|
|
@@ -35410,6 +35417,12 @@ def _typecheckingstub__a6b06e31b718dd074cbb138a449b6e630b58d0b4d697f925d30a0d5dc
|
|
|
35410
35417
|
"""Type checking stubs"""
|
|
35411
35418
|
pass
|
|
35412
35419
|
|
|
35420
|
+
def _typecheckingstub__975bcc14418b68d5b32e6352d624877e6db5a3a0c743ab1d96feb5303ad36de5(
|
|
35421
|
+
x: typing.Any,
|
|
35422
|
+
) -> None:
|
|
35423
|
+
"""Type checking stubs"""
|
|
35424
|
+
pass
|
|
35425
|
+
|
|
35413
35426
|
def _typecheckingstub__1de60fc2908acd199d7f530cdd5976cf468593cf4e1b88db4f5020a88f899584(
|
|
35414
35427
|
id: builtins.str,
|
|
35415
35428
|
*,
|