aws-cdk-lib 2.197.0__py3-none-any.whl → 2.198.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.197.0.jsii.tgz → aws-cdk-lib@2.198.0.jsii.tgz} +0 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +36 -0
- aws_cdk/aws_appsync/__init__.py +31 -21
- aws_cdk/aws_autoscaling/__init__.py +2 -1
- aws_cdk/aws_codepipeline/__init__.py +4 -2
- aws_cdk/aws_datasync/__init__.py +885 -839
- aws_cdk/aws_deadline/__init__.py +23 -4
- aws_cdk/aws_ec2/__init__.py +210 -4
- aws_cdk/aws_ecs/__init__.py +14 -2
- aws_cdk/aws_ecs_patterns/__init__.py +15 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +14 -8
- aws_cdk/aws_gamelift/__init__.py +15 -17
- aws_cdk/aws_lex/__init__.py +1245 -172
- aws_cdk/aws_mediapackagev2/__init__.py +11 -10
- aws_cdk/aws_omics/__init__.py +41 -19
- aws_cdk/aws_pcs/__init__.py +126 -0
- aws_cdk/aws_rds/__init__.py +42 -15
- aws_cdk/aws_rolesanywhere/__init__.py +14 -13
- aws_cdk/aws_sagemaker/__init__.py +38 -12
- aws_cdk/aws_ses/__init__.py +188 -0
- aws_cdk/aws_ssmquicksetup/__init__.py +10 -2
- aws_cdk/aws_synthetics/__init__.py +137 -3
- aws_cdk/aws_wafv2/__init__.py +4 -4
- aws_cdk/aws_workspaces/__init__.py +5 -3
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/RECORD +31 -31
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.197.0.dist-info → aws_cdk_lib-2.198.0.dist-info}/top_level.txt +0 -0
aws_cdk/_jsii/__init__.py
CHANGED
|
@@ -34,7 +34,7 @@ import aws_cdk.cloud_assembly_schema._jsii
|
|
|
34
34
|
import constructs._jsii
|
|
35
35
|
|
|
36
36
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
37
|
-
"aws-cdk-lib", "2.
|
|
37
|
+
"aws-cdk-lib", "2.198.0", __name__[0:-6], "aws-cdk-lib@2.198.0.jsii.tgz"
|
|
38
38
|
)
|
|
39
39
|
|
|
40
40
|
__all__ = [
|
|
Binary file
|
|
@@ -3879,6 +3879,18 @@ class CfnScalingPolicy(
|
|
|
3879
3879
|
|
|
3880
3880
|
When returned in the output of ``DescribePolicies`` , it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
|
|
3881
3881
|
|
|
3882
|
+
The following predefined metrics are available for predictive scaling:
|
|
3883
|
+
|
|
3884
|
+
- ``ECSServiceAverageCPUUtilization``
|
|
3885
|
+
- ``ECSServiceAverageMemoryUtilization``
|
|
3886
|
+
- ``ECSServiceCPUUtilization``
|
|
3887
|
+
- ``ECSServiceMemoryUtilization``
|
|
3888
|
+
- ``ECSServiceTotalCPUUtilization``
|
|
3889
|
+
- ``ECSServiceTotalMemoryUtilization``
|
|
3890
|
+
- ``ALBRequestCount``
|
|
3891
|
+
- ``ALBRequestCountPerTarget``
|
|
3892
|
+
- ``TotalALBRequestCount``
|
|
3893
|
+
|
|
3882
3894
|
:param predefined_metric_type: The metric type.
|
|
3883
3895
|
:param resource_label: A label that uniquely identifies a target group.
|
|
3884
3896
|
|
|
@@ -3955,6 +3967,18 @@ class CfnScalingPolicy(
|
|
|
3955
3967
|
) -> None:
|
|
3956
3968
|
'''Represents a metric pair for a predictive scaling policy.
|
|
3957
3969
|
|
|
3970
|
+
The following predefined metrics are available for predictive scaling:
|
|
3971
|
+
|
|
3972
|
+
- ``ECSServiceAverageCPUUtilization``
|
|
3973
|
+
- ``ECSServiceAverageMemoryUtilization``
|
|
3974
|
+
- ``ECSServiceCPUUtilization``
|
|
3975
|
+
- ``ECSServiceMemoryUtilization``
|
|
3976
|
+
- ``ECSServiceTotalCPUUtilization``
|
|
3977
|
+
- ``ECSServiceTotalMemoryUtilization``
|
|
3978
|
+
- ``ALBRequestCount``
|
|
3979
|
+
- ``ALBRequestCountPerTarget``
|
|
3980
|
+
- ``TotalALBRequestCount``
|
|
3981
|
+
|
|
3958
3982
|
:param predefined_metric_type: Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric.
|
|
3959
3983
|
:param resource_label: A label that uniquely identifies a specific target group from which to determine the total and average request count.
|
|
3960
3984
|
|
|
@@ -4035,6 +4059,18 @@ class CfnScalingPolicy(
|
|
|
4035
4059
|
|
|
4036
4060
|
When returned in the output of ``DescribePolicies`` , it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
|
|
4037
4061
|
|
|
4062
|
+
The following predefined metrics are available for predictive scaling:
|
|
4063
|
+
|
|
4064
|
+
- ``ECSServiceAverageCPUUtilization``
|
|
4065
|
+
- ``ECSServiceAverageMemoryUtilization``
|
|
4066
|
+
- ``ECSServiceCPUUtilization``
|
|
4067
|
+
- ``ECSServiceMemoryUtilization``
|
|
4068
|
+
- ``ECSServiceTotalCPUUtilization``
|
|
4069
|
+
- ``ECSServiceTotalMemoryUtilization``
|
|
4070
|
+
- ``ALBRequestCount``
|
|
4071
|
+
- ``ALBRequestCountPerTarget``
|
|
4072
|
+
- ``TotalALBRequestCount``
|
|
4073
|
+
|
|
4038
4074
|
:param predefined_metric_type: The metric type.
|
|
4039
4075
|
:param resource_label: A label that uniquely identifies a specific target group from which to determine the average request count.
|
|
4040
4076
|
|
aws_cdk/aws_appsync/__init__.py
CHANGED
|
@@ -6642,7 +6642,7 @@ class CfnChannelNamespace(
|
|
|
6642
6642
|
:param name: The name of the channel namespace. This name must be unique within the ``Api`` .
|
|
6643
6643
|
:param code_handlers: The event handler functions that run custom business logic to process published events and subscribe requests.
|
|
6644
6644
|
:param code_s3_location: The Amazon S3 endpoint where the code is located.
|
|
6645
|
-
:param handler_configs:
|
|
6645
|
+
:param handler_configs: The configuration for the ``OnPublish`` and ``OnSubscribe`` handlers.
|
|
6646
6646
|
:param publish_auth_modes: The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default ``Api`` authorization configuration.
|
|
6647
6647
|
:param subscribe_auth_modes: The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default ``Api`` authorization configuration.
|
|
6648
6648
|
:param tags: A set of tags (key-value pairs) for this channel namespace.
|
|
@@ -6771,6 +6771,7 @@ class CfnChannelNamespace(
|
|
|
6771
6771
|
def handler_configs(
|
|
6772
6772
|
self,
|
|
6773
6773
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannelNamespace.HandlerConfigsProperty"]]:
|
|
6774
|
+
'''The configuration for the ``OnPublish`` and ``OnSubscribe`` handlers.'''
|
|
6774
6775
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannelNamespace.HandlerConfigsProperty"]], jsii.get(self, "handlerConfigs"))
|
|
6775
6776
|
|
|
6776
6777
|
@handler_configs.setter
|
|
@@ -6897,9 +6898,10 @@ class CfnChannelNamespace(
|
|
|
6897
6898
|
behavior: builtins.str,
|
|
6898
6899
|
integration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnChannelNamespace.IntegrationProperty", typing.Dict[builtins.str, typing.Any]]],
|
|
6899
6900
|
) -> None:
|
|
6900
|
-
'''
|
|
6901
|
-
|
|
6902
|
-
:param
|
|
6901
|
+
'''The ``HandlerConfig`` property type specifies the configuration for the handler.
|
|
6902
|
+
|
|
6903
|
+
:param behavior: The behavior for the handler.
|
|
6904
|
+
:param integration: The integration data source configuration for the handler.
|
|
6903
6905
|
|
|
6904
6906
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-handlerconfig.html
|
|
6905
6907
|
:exampleMetadata: fixture=_generated
|
|
@@ -6933,7 +6935,7 @@ class CfnChannelNamespace(
|
|
|
6933
6935
|
|
|
6934
6936
|
@builtins.property
|
|
6935
6937
|
def behavior(self) -> builtins.str:
|
|
6936
|
-
'''
|
|
6938
|
+
'''The behavior for the handler.
|
|
6937
6939
|
|
|
6938
6940
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-handlerconfig.html#cfn-appsync-channelnamespace-handlerconfig-behavior
|
|
6939
6941
|
'''
|
|
@@ -6945,7 +6947,8 @@ class CfnChannelNamespace(
|
|
|
6945
6947
|
def integration(
|
|
6946
6948
|
self,
|
|
6947
6949
|
) -> typing.Union[_IResolvable_da3f097b, "CfnChannelNamespace.IntegrationProperty"]:
|
|
6948
|
-
'''
|
|
6950
|
+
'''The integration data source configuration for the handler.
|
|
6951
|
+
|
|
6949
6952
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-handlerconfig.html#cfn-appsync-channelnamespace-handlerconfig-integration
|
|
6950
6953
|
'''
|
|
6951
6954
|
result = self._values.get("integration")
|
|
@@ -6975,9 +6978,10 @@ class CfnChannelNamespace(
|
|
|
6975
6978
|
on_publish: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnChannelNamespace.HandlerConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6976
6979
|
on_subscribe: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnChannelNamespace.HandlerConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6977
6980
|
) -> None:
|
|
6978
|
-
'''
|
|
6979
|
-
|
|
6980
|
-
:param
|
|
6981
|
+
'''The ``HandlerConfigs`` property type specifies the configuration for the ``OnPublish`` and ``OnSubscribe`` handlers.
|
|
6982
|
+
|
|
6983
|
+
:param on_publish: The configuration for the ``OnPublish`` handler.
|
|
6984
|
+
:param on_subscribe: The configuration for the ``OnSubscribe`` handler.
|
|
6981
6985
|
|
|
6982
6986
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-handlerconfigs.html
|
|
6983
6987
|
:exampleMetadata: fixture=_generated
|
|
@@ -7027,7 +7031,8 @@ class CfnChannelNamespace(
|
|
|
7027
7031
|
def on_publish(
|
|
7028
7032
|
self,
|
|
7029
7033
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannelNamespace.HandlerConfigProperty"]]:
|
|
7030
|
-
'''
|
|
7034
|
+
'''The configuration for the ``OnPublish`` handler.
|
|
7035
|
+
|
|
7031
7036
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-handlerconfigs.html#cfn-appsync-channelnamespace-handlerconfigs-onpublish
|
|
7032
7037
|
'''
|
|
7033
7038
|
result = self._values.get("on_publish")
|
|
@@ -7037,7 +7042,8 @@ class CfnChannelNamespace(
|
|
|
7037
7042
|
def on_subscribe(
|
|
7038
7043
|
self,
|
|
7039
7044
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannelNamespace.HandlerConfigProperty"]]:
|
|
7040
|
-
'''
|
|
7045
|
+
'''The configuration for the ``OnSubscribe`` handler.
|
|
7046
|
+
|
|
7041
7047
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-handlerconfigs.html#cfn-appsync-channelnamespace-handlerconfigs-onsubscribe
|
|
7042
7048
|
'''
|
|
7043
7049
|
result = self._values.get("on_subscribe")
|
|
@@ -7069,9 +7075,10 @@ class CfnChannelNamespace(
|
|
|
7069
7075
|
data_source_name: builtins.str,
|
|
7070
7076
|
lambda_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnChannelNamespace.LambdaConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
7071
7077
|
) -> None:
|
|
7072
|
-
'''
|
|
7073
|
-
|
|
7074
|
-
:param
|
|
7078
|
+
'''The ``Integration`` property type specifies the integration data source configuration for the handler.
|
|
7079
|
+
|
|
7080
|
+
:param data_source_name: The unique name of the data source that has been configured on the API.
|
|
7081
|
+
:param lambda_config: The configuration for a Lambda data source.
|
|
7075
7082
|
|
|
7076
7083
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-integration.html
|
|
7077
7084
|
:exampleMetadata: fixture=_generated
|
|
@@ -7103,7 +7110,7 @@ class CfnChannelNamespace(
|
|
|
7103
7110
|
|
|
7104
7111
|
@builtins.property
|
|
7105
7112
|
def data_source_name(self) -> builtins.str:
|
|
7106
|
-
'''
|
|
7113
|
+
'''The unique name of the data source that has been configured on the API.
|
|
7107
7114
|
|
|
7108
7115
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-integration.html#cfn-appsync-channelnamespace-integration-datasourcename
|
|
7109
7116
|
'''
|
|
@@ -7115,7 +7122,8 @@ class CfnChannelNamespace(
|
|
|
7115
7122
|
def lambda_config(
|
|
7116
7123
|
self,
|
|
7117
7124
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnChannelNamespace.LambdaConfigProperty"]]:
|
|
7118
|
-
'''
|
|
7125
|
+
'''The configuration for a Lambda data source.
|
|
7126
|
+
|
|
7119
7127
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-integration.html#cfn-appsync-channelnamespace-integration-lambdaconfig
|
|
7120
7128
|
'''
|
|
7121
7129
|
result = self._values.get("lambda_config")
|
|
@@ -7139,8 +7147,9 @@ class CfnChannelNamespace(
|
|
|
7139
7147
|
)
|
|
7140
7148
|
class LambdaConfigProperty:
|
|
7141
7149
|
def __init__(self, *, invoke_type: builtins.str) -> None:
|
|
7142
|
-
'''
|
|
7143
|
-
|
|
7150
|
+
'''The ``LambdaConfig`` property type specifies the integration configuration for a Lambda data source.
|
|
7151
|
+
|
|
7152
|
+
:param invoke_type: The invocation type for a Lambda data source.
|
|
7144
7153
|
|
|
7145
7154
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-lambdaconfig.html
|
|
7146
7155
|
:exampleMetadata: fixture=_generated
|
|
@@ -7164,7 +7173,7 @@ class CfnChannelNamespace(
|
|
|
7164
7173
|
|
|
7165
7174
|
@builtins.property
|
|
7166
7175
|
def invoke_type(self) -> builtins.str:
|
|
7167
|
-
'''
|
|
7176
|
+
'''The invocation type for a Lambda data source.
|
|
7168
7177
|
|
|
7169
7178
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-channelnamespace-lambdaconfig.html#cfn-appsync-channelnamespace-lambdaconfig-invoketype
|
|
7170
7179
|
'''
|
|
@@ -7217,7 +7226,7 @@ class CfnChannelNamespaceProps:
|
|
|
7217
7226
|
:param name: The name of the channel namespace. This name must be unique within the ``Api`` .
|
|
7218
7227
|
:param code_handlers: The event handler functions that run custom business logic to process published events and subscribe requests.
|
|
7219
7228
|
:param code_s3_location: The Amazon S3 endpoint where the code is located.
|
|
7220
|
-
:param handler_configs:
|
|
7229
|
+
:param handler_configs: The configuration for the ``OnPublish`` and ``OnSubscribe`` handlers.
|
|
7221
7230
|
:param publish_auth_modes: The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default ``Api`` authorization configuration.
|
|
7222
7231
|
:param subscribe_auth_modes: The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default ``Api`` authorization configuration.
|
|
7223
7232
|
:param tags: A set of tags (key-value pairs) for this channel namespace.
|
|
@@ -7345,7 +7354,8 @@ class CfnChannelNamespaceProps:
|
|
|
7345
7354
|
def handler_configs(
|
|
7346
7355
|
self,
|
|
7347
7356
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnChannelNamespace.HandlerConfigsProperty]]:
|
|
7348
|
-
'''
|
|
7357
|
+
'''The configuration for the ``OnPublish`` and ``OnSubscribe`` handlers.
|
|
7358
|
+
|
|
7349
7359
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-channelnamespace.html#cfn-appsync-channelnamespace-handlerconfigs
|
|
7350
7360
|
'''
|
|
7351
7361
|
result = self._values.get("handler_configs")
|
|
@@ -2919,7 +2919,8 @@ class CfnAutoScalingGroup(
|
|
|
2919
2919
|
@builtins.property
|
|
2920
2920
|
@jsii.member(jsii_name="attrAutoScalingGroupArn")
|
|
2921
2921
|
def attr_auto_scaling_group_arn(self) -> builtins.str:
|
|
2922
|
-
'''
|
|
2922
|
+
'''The Amazon Resource Name (ARN) of the Auto Scaling group.
|
|
2923
|
+
|
|
2923
2924
|
:cloudformationAttribute: AutoScalingGroupARN
|
|
2924
2925
|
'''
|
|
2925
2926
|
return typing.cast(builtins.str, jsii.get(self, "attrAutoScalingGroupArn"))
|
|
@@ -4129,7 +4129,7 @@ class CfnPipeline(
|
|
|
4129
4129
|
|
|
4130
4130
|
:param name: The environment variable name in the key-value pair.
|
|
4131
4131
|
:param value: The environment variable value in the key-value pair.
|
|
4132
|
-
:param type:
|
|
4132
|
+
:param type: Specifies the type of use for the environment variable value. The value can be either ``PLAINTEXT`` or ``SECRETS_MANAGER`` . If the value is ``SECRETS_MANAGER`` , provide the Secrets reference in the EnvironmentVariable value.
|
|
4133
4133
|
|
|
4134
4134
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html
|
|
4135
4135
|
:exampleMetadata: fixture=_generated
|
|
@@ -4182,7 +4182,9 @@ class CfnPipeline(
|
|
|
4182
4182
|
|
|
4183
4183
|
@builtins.property
|
|
4184
4184
|
def type(self) -> typing.Optional[builtins.str]:
|
|
4185
|
-
'''
|
|
4185
|
+
'''Specifies the type of use for the environment variable value.
|
|
4186
|
+
|
|
4187
|
+
The value can be either ``PLAINTEXT`` or ``SECRETS_MANAGER`` . If the value is ``SECRETS_MANAGER`` , provide the Secrets reference in the EnvironmentVariable value.
|
|
4186
4188
|
|
|
4187
4189
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html#cfn-codepipeline-pipeline-environmentvariable-type
|
|
4188
4190
|
'''
|