aws-cdk-lib 2.160.0__py3-none-any.whl → 2.161.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 +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.0.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.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/RECORD +51 -51
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py
CHANGED
|
@@ -5273,10 +5273,10 @@ class CfnHookTypeConfigProps:
|
|
|
5273
5273
|
) -> None:
|
|
5274
5274
|
'''Properties for defining a ``CfnHookTypeConfig``.
|
|
5275
5275
|
|
|
5276
|
-
:param configuration: Specifies the activated hook type configuration, in this AWS account and AWS Region . You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
5276
|
+
:param configuration: Specifies the activated hook type configuration, in this AWS account and AWS Region . You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
5277
5277
|
:param configuration_alias: Specifies the activated hook type configuration, in this AWS account and AWS Region . Defaults to ``default`` alias. Hook types currently support default configuration alias. Default: - "default"
|
|
5278
|
-
:param type_arn: The Amazon Resource Number (ARN) for the hook to set ``Configuration`` for. You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
5279
|
-
:param type_name: The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of ``Organization::Service::Hook`` . You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
5278
|
+
:param type_arn: The Amazon Resource Number (ARN) for the hook to set ``Configuration`` for. You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
5279
|
+
:param type_name: The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of ``Organization::Service::Hook`` . You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
5280
5280
|
|
|
5281
5281
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html
|
|
5282
5282
|
:exampleMetadata: fixture=_generated
|
|
@@ -5316,7 +5316,7 @@ class CfnHookTypeConfigProps:
|
|
|
5316
5316
|
def configuration(self) -> builtins.str:
|
|
5317
5317
|
'''Specifies the activated hook type configuration, in this AWS account and AWS Region .
|
|
5318
5318
|
|
|
5319
|
-
You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
5319
|
+
You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
5320
5320
|
|
|
5321
5321
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-configuration
|
|
5322
5322
|
'''
|
|
@@ -5341,7 +5341,7 @@ class CfnHookTypeConfigProps:
|
|
|
5341
5341
|
def type_arn(self) -> typing.Optional[builtins.str]:
|
|
5342
5342
|
'''The Amazon Resource Number (ARN) for the hook to set ``Configuration`` for.
|
|
5343
5343
|
|
|
5344
|
-
You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
5344
|
+
You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
5345
5345
|
|
|
5346
5346
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-typearn
|
|
5347
5347
|
'''
|
|
@@ -5354,7 +5354,7 @@ class CfnHookTypeConfigProps:
|
|
|
5354
5354
|
|
|
5355
5355
|
Specifies a three-part namespace for your hook, with a recommended pattern of ``Organization::Service::Hook`` .
|
|
5356
5356
|
|
|
5357
|
-
You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
5357
|
+
You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
5358
5358
|
|
|
5359
5359
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-typename
|
|
5360
5360
|
'''
|
|
@@ -13615,13 +13615,20 @@ class Fn(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Fn"):
|
|
|
13615
13615
|
|
|
13616
13616
|
Example::
|
|
13617
13617
|
|
|
13618
|
-
|
|
13618
|
+
import aws_cdk as cdk
|
|
13619
13619
|
|
|
13620
|
-
#
|
|
13621
|
-
# my_parameter: core.CfnParameter
|
|
13620
|
+
# destination_bucket: s3.Bucket
|
|
13622
13621
|
|
|
13623
|
-
|
|
13624
|
-
|
|
13622
|
+
|
|
13623
|
+
my_bucket_deployment = s3deploy.BucketDeployment(self, "DeployMeWithoutExtractingFilesOnDestination",
|
|
13624
|
+
sources=[s3deploy.Source.asset(path.join(__dirname, "my-website"))],
|
|
13625
|
+
destination_bucket=destination_bucket,
|
|
13626
|
+
extract=False
|
|
13627
|
+
)
|
|
13628
|
+
|
|
13629
|
+
cdk.CfnOutput(self, "ObjectKey",
|
|
13630
|
+
value=cdk.Fn.select(0, my_bucket_deployment.object_keys)
|
|
13631
|
+
)
|
|
13625
13632
|
'''
|
|
13626
13633
|
|
|
13627
13634
|
@jsii.member(jsii_name="base64")
|
|
@@ -27564,10 +27571,10 @@ class CfnHookTypeConfig(
|
|
|
27564
27571
|
'''
|
|
27565
27572
|
:param scope: Scope in which this resource is defined.
|
|
27566
27573
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
27567
|
-
:param configuration: Specifies the activated hook type configuration, in this AWS account and AWS Region . You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
27574
|
+
:param configuration: Specifies the activated hook type configuration, in this AWS account and AWS Region . You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
27568
27575
|
:param configuration_alias: Specifies the activated hook type configuration, in this AWS account and AWS Region . Defaults to ``default`` alias. Hook types currently support default configuration alias. Default: - "default"
|
|
27569
|
-
:param type_arn: The Amazon Resource Number (ARN) for the hook to set ``Configuration`` for. You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
27570
|
-
:param type_name: The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of ``Organization::Service::Hook`` . You must specify either ``TypeName`` and ``Configuration`` or ``
|
|
27576
|
+
:param type_arn: The Amazon Resource Number (ARN) for the hook to set ``Configuration`` for. You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
27577
|
+
:param type_name: The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern of ``Organization::Service::Hook`` . You must specify either ``TypeName`` and ``Configuration`` or ``TypeArn`` and ``Configuration`` .
|
|
27571
27578
|
'''
|
|
27572
27579
|
if __debug__:
|
|
27573
27580
|
type_hints = typing.get_type_hints(_typecheckingstub__440c58795f3a6a77584c4efc0cb756d094deee80919471d9fe116992443f4255)
|
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -35,7 +35,7 @@ import aws_cdk.cloud_assembly_schema._jsii
|
|
|
35
35
|
import constructs._jsii
|
|
36
36
|
|
|
37
37
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
38
|
-
"aws-cdk-lib", "2.
|
|
38
|
+
"aws-cdk-lib", "2.161.0", __name__[0:-6], "aws-cdk-lib@2.161.0.jsii.tgz"
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
__all__ = [
|
|
Binary file
|
|
@@ -4606,15 +4606,6 @@ class CfnIntegration(
|
|
|
4606
4606
|
'''The CloudFormation resource type name for this resource class.'''
|
|
4607
4607
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
4608
4608
|
|
|
4609
|
-
@builtins.property
|
|
4610
|
-
@jsii.member(jsii_name="attrId")
|
|
4611
|
-
def attr_id(self) -> builtins.str:
|
|
4612
|
-
'''The identifier.
|
|
4613
|
-
|
|
4614
|
-
:cloudformationAttribute: Id
|
|
4615
|
-
'''
|
|
4616
|
-
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
4617
|
-
|
|
4618
4609
|
@builtins.property
|
|
4619
4610
|
@jsii.member(jsii_name="attrIntegrationId")
|
|
4620
4611
|
def attr_integration_id(self) -> builtins.str:
|
|
@@ -5004,10 +4995,12 @@ class CfnIntegration(
|
|
|
5004
4995
|
destination: typing.Optional[builtins.str] = None,
|
|
5005
4996
|
source: typing.Optional[builtins.str] = None,
|
|
5006
4997
|
) -> None:
|
|
5007
|
-
'''
|
|
4998
|
+
'''Supported only for HTTP APIs.
|
|
4999
|
+
|
|
5000
|
+
You use response parameters to transform the HTTP response from a backend integration before returning the response to clients. Specify a key-value map from a selection key to response parameters. The selection key must be a valid HTTP status code within the range of 200-599. Response parameters are a key-value map. The key must match the pattern ``<action>:<header>.<location>`` or ``overwrite.statuscode`` . The action can be ``append`` , ``overwrite`` or ``remove`` . The value can be a static value, or map to response data, stage variables, or context variables that are evaluated at runtime. To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
|
|
5008
5001
|
|
|
5009
|
-
:param destination:
|
|
5010
|
-
:param source:
|
|
5002
|
+
:param destination: Specifies the location of the response to modify, and how to modify it. To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
|
|
5003
|
+
:param source: Specifies the data to update the parameter with. To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
|
|
5011
5004
|
|
|
5012
5005
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html
|
|
5013
5006
|
:exampleMetadata: fixture=_generated
|
|
@@ -5035,7 +5028,10 @@ class CfnIntegration(
|
|
|
5035
5028
|
|
|
5036
5029
|
@builtins.property
|
|
5037
5030
|
def destination(self) -> typing.Optional[builtins.str]:
|
|
5038
|
-
'''
|
|
5031
|
+
'''Specifies the location of the response to modify, and how to modify it.
|
|
5032
|
+
|
|
5033
|
+
To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
|
|
5034
|
+
|
|
5039
5035
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html#cfn-apigatewayv2-integration-responseparameter-destination
|
|
5040
5036
|
'''
|
|
5041
5037
|
result = self._values.get("destination")
|
|
@@ -5043,7 +5039,10 @@ class CfnIntegration(
|
|
|
5043
5039
|
|
|
5044
5040
|
@builtins.property
|
|
5045
5041
|
def source(self) -> typing.Optional[builtins.str]:
|
|
5046
|
-
'''
|
|
5042
|
+
'''Specifies the data to update the parameter with.
|
|
5043
|
+
|
|
5044
|
+
To learn more, see `Transforming API requests and responses <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html>`_ .
|
|
5045
|
+
|
|
5047
5046
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html#cfn-apigatewayv2-integration-responseparameter-source
|
|
5048
5047
|
'''
|
|
5049
5048
|
result = self._values.get("source")
|
|
@@ -10796,7 +10796,7 @@ class CfnScalingPolicy(
|
|
|
10796
10796
|
|
|
10797
10797
|
Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.
|
|
10798
10798
|
|
|
10799
|
-
You can use ``TargetTrackingMetricDataQuery`` structures with a
|
|
10799
|
+
You can use ``TargetTrackingMetricDataQuery`` structures with a `PutScalingPolicy <https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_PutScalingPolicy.html>`_ operation when you specify a `TargetTrackingConfiguration <https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_TargetTrackingConfiguration.html>`_ in the request.
|
|
10800
10800
|
|
|
10801
10801
|
You can call for a single metric or perform math expressions on multiple metrics. Any expressions used in a metric specification must eventually return a single time series.
|
|
10802
10802
|
|
|
@@ -10951,7 +10951,7 @@ class CfnScalingPolicy(
|
|
|
10951
10951
|
) -> None:
|
|
10952
10952
|
'''This structure defines the CloudWatch metric to return, along with the statistic and unit.
|
|
10953
10953
|
|
|
10954
|
-
``TargetTrackingMetricStat`` is a property of the
|
|
10954
|
+
``TargetTrackingMetricStat`` is a property of the `TargetTrackingMetricDataQuery <https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_TargetTrackingMetricDataQuery.html>`_ object.
|
|
10955
10955
|
|
|
10956
10956
|
For more information about the CloudWatch terminology below, see `Amazon CloudWatch concepts <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html>`_ in the *Amazon CloudWatch User Guide* .
|
|
10957
10957
|
|