aws-cdk-lib 2.115.0__py3-none-any.whl → 2.116.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 +801 -356
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.115.0.jsii.tgz → aws-cdk-lib@2.116.1.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +3 -1
- aws_cdk/aws_apigatewayv2/__init__.py +595 -222
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +4 -5
- aws_cdk/aws_applicationautoscaling/__init__.py +51 -15
- aws_cdk/aws_appsync/__init__.py +14 -3
- aws_cdk/aws_autoscaling/__init__.py +6 -0
- aws_cdk/aws_b2bi/__init__.py +2445 -0
- aws_cdk/aws_cloud9/__init__.py +63 -63
- aws_cdk/aws_cloudfront/__init__.py +394 -0
- aws_cdk/aws_cloudfront/experimental/__init__.py +5 -2
- aws_cdk/aws_cloudtrail/__init__.py +90 -11
- aws_cdk/aws_cloudwatch/__init__.py +6 -6
- aws_cdk/aws_codedeploy/__init__.py +88 -15
- aws_cdk/aws_codepipeline/__init__.py +645 -0
- aws_cdk/aws_cognito/__init__.py +13 -26
- aws_cdk/aws_config/__init__.py +315 -1
- aws_cdk/aws_connect/__init__.py +532 -37
- aws_cdk/aws_controltower/__init__.py +4 -4
- aws_cdk/aws_datasync/__init__.py +6 -4
- aws_cdk/aws_dms/__init__.py +241 -131
- aws_cdk/aws_dynamodb/__init__.py +8 -0
- aws_cdk/aws_ec2/__init__.py +1030 -45
- aws_cdk/aws_ecr/__init__.py +78 -10
- aws_cdk/aws_ecs/__init__.py +210 -2
- aws_cdk/aws_ecs_patterns/__init__.py +77 -62
- aws_cdk/aws_eks/__init__.py +8 -1
- aws_cdk/aws_elasticache/__init__.py +136 -10
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +10 -13
- aws_cdk/aws_emr/__init__.py +234 -17
- aws_cdk/aws_eventschemas/__init__.py +15 -13
- aws_cdk/aws_fis/__init__.py +33 -13
- aws_cdk/aws_gamelift/__init__.py +47 -0
- aws_cdk/aws_imagebuilder/__init__.py +922 -84
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +26 -46
- aws_cdk/aws_iottwinmaker/__init__.py +36 -34
- aws_cdk/aws_lambda/__init__.py +19 -15
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -2
- aws_cdk/aws_logs/__init__.py +6 -6
- aws_cdk/aws_opensearchservice/__init__.py +5 -3
- aws_cdk/aws_organizations/__init__.py +3 -3
- aws_cdk/aws_osis/__init__.py +17 -13
- aws_cdk/aws_rds/__init__.py +6 -0
- aws_cdk/aws_s3/__init__.py +4 -2
- aws_cdk/aws_s3outposts/__init__.py +8 -8
- aws_cdk/aws_sagemaker/__init__.py +17 -94
- aws_cdk/aws_secretsmanager/__init__.py +9 -7
- aws_cdk/aws_securityhub/__init__.py +18 -0
- aws_cdk/aws_servicecatalogappregistry/__init__.py +31 -0
- aws_cdk/aws_ses/__init__.py +58 -11
- aws_cdk/aws_sns/__init__.py +309 -10
- aws_cdk/aws_ssm/__init__.py +3 -5
- aws_cdk/aws_stepfunctions/__init__.py +335 -19
- aws_cdk/aws_stepfunctions_tasks/__init__.py +388 -38
- aws_cdk/aws_transfer/__init__.py +37 -10
- aws_cdk/custom_resources/__init__.py +443 -1
- aws_cdk/triggers/__init__.py +5 -2
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/RECORD +66 -65
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/top_level.txt +0 -0
|
@@ -271,17 +271,16 @@ class HttpAlbIntegration(
|
|
|
271
271
|
|
|
272
272
|
from aws_cdk.aws_apigatewayv2_integrations import HttpAlbIntegration
|
|
273
273
|
|
|
274
|
-
# lb: elbv2.ApplicationLoadBalancer
|
|
275
274
|
|
|
275
|
+
vpc = ec2.Vpc(self, "VPC")
|
|
276
|
+
lb = elbv2.ApplicationLoadBalancer(self, "lb", vpc=vpc)
|
|
276
277
|
listener = lb.add_listener("listener", port=80)
|
|
277
278
|
listener.add_targets("target",
|
|
278
279
|
port=80
|
|
279
280
|
)
|
|
280
281
|
|
|
281
282
|
http_endpoint = apigwv2.HttpApi(self, "HttpProxyPrivateApi",
|
|
282
|
-
default_integration=HttpAlbIntegration("DefaultIntegration", listener
|
|
283
|
-
parameter_mapping=apigwv2.ParameterMapping().custom("myKey", "myValue")
|
|
284
|
-
)
|
|
283
|
+
default_integration=HttpAlbIntegration("DefaultIntegration", listener)
|
|
285
284
|
)
|
|
286
285
|
'''
|
|
287
286
|
|
|
@@ -1321,7 +1320,7 @@ class HttpAlbIntegrationProps(HttpPrivateIntegrationOptions):
|
|
|
1321
1320
|
|
|
1322
1321
|
http_endpoint = apigwv2.HttpApi(self, "HttpProxyPrivateApi",
|
|
1323
1322
|
default_integration=HttpAlbIntegration("DefaultIntegration", listener,
|
|
1324
|
-
parameter_mapping=apigwv2.ParameterMapping().
|
|
1323
|
+
parameter_mapping=apigwv2.ParameterMapping().custom("myKey", "myValue")
|
|
1325
1324
|
)
|
|
1326
1325
|
)
|
|
1327
1326
|
'''
|
|
@@ -2145,7 +2145,7 @@ class CfnScalingPolicy(
|
|
|
2145
2145
|
@builtins.property
|
|
2146
2146
|
@jsii.member(jsii_name="attrArn")
|
|
2147
2147
|
def attr_arn(self) -> builtins.str:
|
|
2148
|
-
'''ARN
|
|
2148
|
+
'''Returns the ARN of a scaling policy.
|
|
2149
2149
|
|
|
2150
2150
|
:cloudformationAttribute: Arn
|
|
2151
2151
|
'''
|
|
@@ -2889,11 +2889,17 @@ class CfnScalingPolicy(
|
|
|
2889
2889
|
|
|
2890
2890
|
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.
|
|
2891
2891
|
|
|
2892
|
-
|
|
2893
|
-
|
|
2892
|
+
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.
|
|
2893
|
+
|
|
2894
|
+
For more information and examples, see `Create a target tracking scaling policy for Application Auto Scaling using metric math <https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html>`_ in the *Application Auto Scaling User Guide* .
|
|
2895
|
+
|
|
2896
|
+
``TargetTrackingMetricDataQuery`` is a property of the `AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html>`_ property type.
|
|
2897
|
+
|
|
2898
|
+
:param expression: The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the ``Id`` of the other metrics to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions. Conditional: Within each ``TargetTrackingMetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` , but not both.
|
|
2899
|
+
:param id: A short name that identifies the object's results in the response. This name must be unique among all ``MetricDataQuery`` objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
|
|
2894
2900
|
:param label: A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
|
|
2895
|
-
:param metric_stat:
|
|
2896
|
-
:param return_data: Indicates whether to return the timestamps and raw data values of this metric.
|
|
2901
|
+
:param metric_stat: Information about the metric data to return. Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` , but not both.
|
|
2902
|
+
:param return_data: Indicates whether to return the timestamps and raw data values of this metric. If you use any math expressions, specify ``true`` for this value for only the final math expression that the metric specification is based on. You must specify ``false`` for ``ReturnData`` for all the other metrics and expressions used in the metric specification. If you are only retrieving metrics and not performing any math expressions, do not specify anything for ``ReturnData`` . This sets it to its default ( ``true`` ).
|
|
2897
2903
|
|
|
2898
2904
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html
|
|
2899
2905
|
:exampleMetadata: fixture=_generated
|
|
@@ -2946,6 +2952,10 @@ class CfnScalingPolicy(
|
|
|
2946
2952
|
def expression(self) -> typing.Optional[builtins.str]:
|
|
2947
2953
|
'''The math expression to perform on the returned data, if this object is performing a math expression.
|
|
2948
2954
|
|
|
2955
|
+
This expression can use the ``Id`` of the other metrics to refer to those metrics, and can also use the ``Id`` of other expressions to use the result of those expressions.
|
|
2956
|
+
|
|
2957
|
+
Conditional: Within each ``TargetTrackingMetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` , but not both.
|
|
2958
|
+
|
|
2949
2959
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery-expression
|
|
2950
2960
|
'''
|
|
2951
2961
|
result = self._values.get("expression")
|
|
@@ -2955,6 +2965,8 @@ class CfnScalingPolicy(
|
|
|
2955
2965
|
def id(self) -> typing.Optional[builtins.str]:
|
|
2956
2966
|
'''A short name that identifies the object's results in the response.
|
|
2957
2967
|
|
|
2968
|
+
This name must be unique among all ``MetricDataQuery`` objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
|
|
2969
|
+
|
|
2958
2970
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery-id
|
|
2959
2971
|
'''
|
|
2960
2972
|
result = self._values.get("id")
|
|
@@ -2975,7 +2987,9 @@ class CfnScalingPolicy(
|
|
|
2975
2987
|
def metric_stat(
|
|
2976
2988
|
self,
|
|
2977
2989
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScalingPolicy.TargetTrackingMetricStatProperty"]]:
|
|
2978
|
-
'''
|
|
2990
|
+
'''Information about the metric data to return.
|
|
2991
|
+
|
|
2992
|
+
Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat`` , but not both.
|
|
2979
2993
|
|
|
2980
2994
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery-metricstat
|
|
2981
2995
|
'''
|
|
@@ -2988,6 +3002,10 @@ class CfnScalingPolicy(
|
|
|
2988
3002
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
2989
3003
|
'''Indicates whether to return the timestamps and raw data values of this metric.
|
|
2990
3004
|
|
|
3005
|
+
If you use any math expressions, specify ``true`` for this value for only the final math expression that the metric specification is based on. You must specify ``false`` for ``ReturnData`` for all the other metrics and expressions used in the metric specification.
|
|
3006
|
+
|
|
3007
|
+
If you are only retrieving metrics and not performing any math expressions, do not specify anything for ``ReturnData`` . This sets it to its default ( ``true`` ).
|
|
3008
|
+
|
|
2991
3009
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery-returndata
|
|
2992
3010
|
'''
|
|
2993
3011
|
result = self._values.get("return_data")
|
|
@@ -3016,7 +3034,7 @@ class CfnScalingPolicy(
|
|
|
3016
3034
|
name: typing.Optional[builtins.str] = None,
|
|
3017
3035
|
value: typing.Optional[builtins.str] = None,
|
|
3018
3036
|
) -> None:
|
|
3019
|
-
'''
|
|
3037
|
+
'''``TargetTrackingMetricDimension`` specifies a name/value pair that is part of the identity of a CloudWatch metric for the ``Dimensions`` property of the `AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html>`_ property type. Duplicate dimensions are not allowed.
|
|
3020
3038
|
|
|
3021
3039
|
:param name: The name of the dimension.
|
|
3022
3040
|
:param value: The value of the dimension.
|
|
@@ -3091,11 +3109,13 @@ class CfnScalingPolicy(
|
|
|
3091
3109
|
metric_name: typing.Optional[builtins.str] = None,
|
|
3092
3110
|
namespace: typing.Optional[builtins.str] = None,
|
|
3093
3111
|
) -> None:
|
|
3094
|
-
'''Represents a specific metric.
|
|
3112
|
+
'''Represents a specific metric for a target tracking scaling policy for Application Auto Scaling.
|
|
3113
|
+
|
|
3114
|
+
Metric is a property of the `AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html>`_ property type.
|
|
3095
3115
|
|
|
3096
|
-
:param dimensions: The dimensions for the metric.
|
|
3116
|
+
:param dimensions: The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in `AWS services that publish CloudWatch metrics <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html>`_ in the *Amazon CloudWatch User Guide* . Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
|
|
3097
3117
|
:param metric_name: The name of the metric.
|
|
3098
|
-
:param namespace: The namespace of the metric.
|
|
3118
|
+
:param namespace: The namespace of the metric. For more information, see the table in `AWS services that publish CloudWatch metrics <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html>`_ in the *Amazon CloudWatch User Guide* .
|
|
3099
3119
|
|
|
3100
3120
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html
|
|
3101
3121
|
:exampleMetadata: fixture=_generated
|
|
@@ -3134,6 +3154,10 @@ class CfnScalingPolicy(
|
|
|
3134
3154
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnScalingPolicy.TargetTrackingMetricDimensionProperty"]]]]:
|
|
3135
3155
|
'''The dimensions for the metric.
|
|
3136
3156
|
|
|
3157
|
+
For the list of available dimensions, see the AWS documentation available from the table in `AWS services that publish CloudWatch metrics <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html>`_ in the *Amazon CloudWatch User Guide* .
|
|
3158
|
+
|
|
3159
|
+
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
|
|
3160
|
+
|
|
3137
3161
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetric-dimensions
|
|
3138
3162
|
'''
|
|
3139
3163
|
result = self._values.get("dimensions")
|
|
@@ -3152,6 +3176,8 @@ class CfnScalingPolicy(
|
|
|
3152
3176
|
def namespace(self) -> typing.Optional[builtins.str]:
|
|
3153
3177
|
'''The namespace of the metric.
|
|
3154
3178
|
|
|
3179
|
+
For more information, see the table in `AWS services that publish CloudWatch metrics <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html>`_ in the *Amazon CloudWatch User Guide* .
|
|
3180
|
+
|
|
3155
3181
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetric-namespace
|
|
3156
3182
|
'''
|
|
3157
3183
|
result = self._values.get("namespace")
|
|
@@ -3183,9 +3209,13 @@ class CfnScalingPolicy(
|
|
|
3183
3209
|
) -> None:
|
|
3184
3210
|
'''This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.
|
|
3185
3211
|
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3212
|
+
``TargetTrackingMetricStat`` is a property of the `AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricDataQuery <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html>`_ property type.
|
|
3213
|
+
|
|
3214
|
+
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* .
|
|
3215
|
+
|
|
3216
|
+
:param metric: The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the `Metric <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html>`_ object that is returned by a call to `ListMetrics <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html>`_ .
|
|
3217
|
+
:param stat: The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in `Statistics <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic>`_ in the *Amazon CloudWatch User Guide* . The most commonly used metric for scaling is ``Average`` .
|
|
3218
|
+
:param unit: The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the `MetricDatum <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html>`_ data type in the *Amazon CloudWatch API Reference* .
|
|
3189
3219
|
|
|
3190
3220
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html
|
|
3191
3221
|
:exampleMetadata: fixture=_generated
|
|
@@ -3226,7 +3256,9 @@ class CfnScalingPolicy(
|
|
|
3226
3256
|
def metric(
|
|
3227
3257
|
self,
|
|
3228
3258
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnScalingPolicy.TargetTrackingMetricProperty"]]:
|
|
3229
|
-
'''
|
|
3259
|
+
'''The CloudWatch metric to return, including the metric name, namespace, and dimensions.
|
|
3260
|
+
|
|
3261
|
+
To get the exact metric name, namespace, and dimensions, inspect the `Metric <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html>`_ object that is returned by a call to `ListMetrics <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html>`_ .
|
|
3230
3262
|
|
|
3231
3263
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetricstat-metric
|
|
3232
3264
|
'''
|
|
@@ -3237,7 +3269,9 @@ class CfnScalingPolicy(
|
|
|
3237
3269
|
def stat(self) -> typing.Optional[builtins.str]:
|
|
3238
3270
|
'''The statistic to return.
|
|
3239
3271
|
|
|
3240
|
-
It can include any CloudWatch statistic or extended statistic.
|
|
3272
|
+
It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in `Statistics <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic>`_ in the *Amazon CloudWatch User Guide* .
|
|
3273
|
+
|
|
3274
|
+
The most commonly used metric for scaling is ``Average`` .
|
|
3241
3275
|
|
|
3242
3276
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetricstat-stat
|
|
3243
3277
|
'''
|
|
@@ -3248,6 +3282,8 @@ class CfnScalingPolicy(
|
|
|
3248
3282
|
def unit(self) -> typing.Optional[builtins.str]:
|
|
3249
3283
|
'''The unit to use for the returned data points.
|
|
3250
3284
|
|
|
3285
|
+
For a complete list of the units that CloudWatch supports, see the `MetricDatum <https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html>`_ data type in the *Amazon CloudWatch API Reference* .
|
|
3286
|
+
|
|
3251
3287
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetricstat-unit
|
|
3252
3288
|
'''
|
|
3253
3289
|
result = self._values.get("unit")
|
aws_cdk/aws_appsync/__init__.py
CHANGED
|
@@ -3068,7 +3068,8 @@ class CfnDataSource(
|
|
|
3068
3068
|
@builtins.property
|
|
3069
3069
|
@jsii.member(jsii_name="attrId")
|
|
3070
3070
|
def attr_id(self) -> builtins.str:
|
|
3071
|
-
'''
|
|
3071
|
+
'''The ID value.
|
|
3072
|
+
|
|
3072
3073
|
:cloudformationAttribute: Id
|
|
3073
3074
|
'''
|
|
3074
3075
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -6085,6 +6086,14 @@ class CfnGraphQLApi(
|
|
|
6085
6086
|
'''
|
|
6086
6087
|
return typing.cast(builtins.str, jsii.get(self, "attrGraphQlDns"))
|
|
6087
6088
|
|
|
6089
|
+
@builtins.property
|
|
6090
|
+
@jsii.member(jsii_name="attrGraphQlEndpointArn")
|
|
6091
|
+
def attr_graph_ql_endpoint_arn(self) -> builtins.str:
|
|
6092
|
+
'''
|
|
6093
|
+
:cloudformationAttribute: GraphQLEndpointArn
|
|
6094
|
+
'''
|
|
6095
|
+
return typing.cast(builtins.str, jsii.get(self, "attrGraphQlEndpointArn"))
|
|
6096
|
+
|
|
6088
6097
|
@builtins.property
|
|
6089
6098
|
@jsii.member(jsii_name="attrGraphQlUrl")
|
|
6090
6099
|
def attr_graph_ql_url(self) -> builtins.str:
|
|
@@ -6097,7 +6106,8 @@ class CfnGraphQLApi(
|
|
|
6097
6106
|
@builtins.property
|
|
6098
6107
|
@jsii.member(jsii_name="attrId")
|
|
6099
6108
|
def attr_id(self) -> builtins.str:
|
|
6100
|
-
'''
|
|
6109
|
+
'''The ID value.
|
|
6110
|
+
|
|
6101
6111
|
:cloudformationAttribute: Id
|
|
6102
6112
|
'''
|
|
6103
6113
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -7394,7 +7404,8 @@ class CfnGraphQLSchema(
|
|
|
7394
7404
|
@builtins.property
|
|
7395
7405
|
@jsii.member(jsii_name="attrId")
|
|
7396
7406
|
def attr_id(self) -> builtins.str:
|
|
7397
|
-
'''
|
|
7407
|
+
'''The ID value.
|
|
7408
|
+
|
|
7398
7409
|
:cloudformationAttribute: Id
|
|
7399
7410
|
'''
|
|
7400
7411
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -14914,6 +14914,12 @@ class OnDemandAllocationStrategy(enum.Enum):
|
|
|
14914
14914
|
the Auto Scaling group launches the remaining capacity using the second priority instance type, and
|
|
14915
14915
|
so on.
|
|
14916
14916
|
'''
|
|
14917
|
+
LOWEST_PRICE = "LOWEST_PRICE"
|
|
14918
|
+
'''This strategy uses the lowest-price instance types in each Availability Zone based on the current On-Demand instance price.
|
|
14919
|
+
|
|
14920
|
+
To meet your desired capacity, you might receive On-Demand Instances of more than one instance type
|
|
14921
|
+
in each Availability Zone. This depends on how much capacity you request.
|
|
14922
|
+
'''
|
|
14917
14923
|
|
|
14918
14924
|
|
|
14919
14925
|
@jsii.enum(jsii_type="aws-cdk-lib.aws_autoscaling.PoolState")
|