cdk-docker-image-deployment 0.0.97 → 0.0.99

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.
Files changed (26) hide show
  1. package/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +11 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +255 -137
  8. package/node_modules/aws-sdk/apis/iotfleetwise-2021-06-17.min.json +8 -2
  9. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +353 -74
  10. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.paginators.json +10 -0
  11. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +12 -0
  12. package/node_modules/aws-sdk/apis/mediapackage-vod-2018-11-07.min.json +12 -0
  13. package/node_modules/aws-sdk/apis/migrationhubstrategy-2020-02-19.min.json +177 -36
  14. package/node_modules/aws-sdk/clients/autoscaling.d.ts +156 -16
  15. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +1 -1
  16. package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +317 -2
  17. package/node_modules/aws-sdk/clients/medialive.d.ts +13 -1
  18. package/node_modules/aws-sdk/clients/mediapackagevod.d.ts +13 -1
  19. package/node_modules/aws-sdk/clients/migrationhubstrategy.d.ts +223 -7
  20. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  21. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +8 -8
  22. package/node_modules/aws-sdk/dist/aws-sdk.js +258 -140
  23. package/node_modules/aws-sdk/dist/aws-sdk.min.js +96 -96
  24. package/node_modules/aws-sdk/lib/core.js +1 -1
  25. package/node_modules/aws-sdk/package.json +1 -1
  26. package/package.json +5 -5
@@ -35,6 +35,14 @@ declare class AutoScaling extends Service {
35
35
  * To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead. Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the running instances with these Classic Load Balancers. To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach a load balancer from the Auto Scaling group, call the DetachLoadBalancers API. This operation is additive and does not detach existing Classic Load Balancers or target groups from the Auto Scaling group. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
36
36
  */
37
37
  attachLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancersResultType) => void): Request<AutoScaling.Types.AttachLoadBalancersResultType, AWSError>;
38
+ /**
39
+ * Reserved for use with Amazon VPC Lattice, which is in preview and subject to change. Do not use this API for production workloads. This API is also subject to change. Attaches one or more traffic sources to the specified Auto Scaling group. To describe the traffic sources for an Auto Scaling group, call the DescribeTrafficSources API. To detach a traffic source from the Auto Scaling group, call the DetachTrafficSources API. This operation is additive and does not detach existing traffic sources from the Auto Scaling group.
40
+ */
41
+ attachTrafficSources(params: AutoScaling.Types.AttachTrafficSourcesType, callback?: (err: AWSError, data: AutoScaling.Types.AttachTrafficSourcesResultType) => void): Request<AutoScaling.Types.AttachTrafficSourcesResultType, AWSError>;
42
+ /**
43
+ * Reserved for use with Amazon VPC Lattice, which is in preview and subject to change. Do not use this API for production workloads. This API is also subject to change. Attaches one or more traffic sources to the specified Auto Scaling group. To describe the traffic sources for an Auto Scaling group, call the DescribeTrafficSources API. To detach a traffic source from the Auto Scaling group, call the DetachTrafficSources API. This operation is additive and does not detach existing traffic sources from the Auto Scaling group.
44
+ */
45
+ attachTrafficSources(callback?: (err: AWSError, data: AutoScaling.Types.AttachTrafficSourcesResultType) => void): Request<AutoScaling.Types.AttachTrafficSourcesResultType, AWSError>;
38
46
  /**
39
47
  * Deletes one or more scheduled actions for the specified Auto Scaling group.
40
48
  */
@@ -212,11 +220,11 @@ declare class AutoScaling extends Service {
212
220
  */
213
221
  describeLifecycleHooks(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLifecycleHooksAnswer) => void): Request<AutoScaling.Types.DescribeLifecycleHooksAnswer, AWSError>;
214
222
  /**
215
- * Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group. To determine the attachment status of the target group, use the State element in the response. When you attach a target group to an Auto Scaling group, the initial State value is Adding. The state transitions to Added after all Auto Scaling instances are registered with the target group. If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to InService after at least one Auto Scaling instance passes the health check. When the target group is in the InService state, Amazon EC2 Auto Scaling can terminate and replace any instances that are reported as unhealthy. If no registered instances pass the health checks, the target group doesn't enter the InService state. Target groups also have an InService state if you attach them in the CreateAutoScalingGroup API call. If your target group state is InService, but it is not working properly, check the scaling activities by calling DescribeScalingActivities and take any corrective actions necessary. For help with failed health checks, see Troubleshooting Amazon EC2 Auto Scaling: Health checks in the Amazon EC2 Auto Scaling User Guide. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
223
+ * Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group. To determine the attachment status of the target group, use the State element in the response. When you attach a target group to an Auto Scaling group, the initial State value is Adding. The state transitions to Added after all Auto Scaling instances are registered with the target group. If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to InService after at least one Auto Scaling instance passes the health check. When the target group is in the InService state, Amazon EC2 Auto Scaling can terminate and replace any instances that are reported as unhealthy. If no registered instances pass the health checks, the target group doesn't enter the InService state. Target groups also have an InService state if you attach them in the CreateAutoScalingGroup API call. If your target group state is InService, but it is not working properly, check the scaling activities by calling DescribeScalingActivities and take any corrective actions necessary. For help with failed health checks, see Troubleshooting Amazon EC2 Auto Scaling: Health checks in the Amazon EC2 Auto Scaling User Guide. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. You can use this operation to describe target groups that were attached by using AttachLoadBalancerTargetGroups, but not for target groups that were attached by using AttachTrafficSources.
216
224
  */
217
225
  describeLoadBalancerTargetGroups(params: AutoScaling.Types.DescribeLoadBalancerTargetGroupsRequest, callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse) => void): Request<AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse, AWSError>;
218
226
  /**
219
- * Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group. To determine the attachment status of the target group, use the State element in the response. When you attach a target group to an Auto Scaling group, the initial State value is Adding. The state transitions to Added after all Auto Scaling instances are registered with the target group. If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to InService after at least one Auto Scaling instance passes the health check. When the target group is in the InService state, Amazon EC2 Auto Scaling can terminate and replace any instances that are reported as unhealthy. If no registered instances pass the health checks, the target group doesn't enter the InService state. Target groups also have an InService state if you attach them in the CreateAutoScalingGroup API call. If your target group state is InService, but it is not working properly, check the scaling activities by calling DescribeScalingActivities and take any corrective actions necessary. For help with failed health checks, see Troubleshooting Amazon EC2 Auto Scaling: Health checks in the Amazon EC2 Auto Scaling User Guide. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
227
+ * Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group. To determine the attachment status of the target group, use the State element in the response. When you attach a target group to an Auto Scaling group, the initial State value is Adding. The state transitions to Added after all Auto Scaling instances are registered with the target group. If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to InService after at least one Auto Scaling instance passes the health check. When the target group is in the InService state, Amazon EC2 Auto Scaling can terminate and replace any instances that are reported as unhealthy. If no registered instances pass the health checks, the target group doesn't enter the InService state. Target groups also have an InService state if you attach them in the CreateAutoScalingGroup API call. If your target group state is InService, but it is not working properly, check the scaling activities by calling DescribeScalingActivities and take any corrective actions necessary. For help with failed health checks, see Troubleshooting Amazon EC2 Auto Scaling: Health checks in the Amazon EC2 Auto Scaling User Guide. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. You can use this operation to describe target groups that were attached by using AttachLoadBalancerTargetGroups, but not for target groups that were attached by using AttachTrafficSources.
220
228
  */
221
229
  describeLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse) => void): Request<AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse, AWSError>;
222
230
  /**
@@ -279,6 +287,14 @@ declare class AutoScaling extends Service {
279
287
  * Describes the termination policies supported by Amazon EC2 Auto Scaling. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide.
280
288
  */
281
289
  describeTerminationPolicyTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeTerminationPolicyTypesAnswer) => void): Request<AutoScaling.Types.DescribeTerminationPolicyTypesAnswer, AWSError>;
290
+ /**
291
+ * Reserved for use with Amazon VPC Lattice, which is in preview and subject to change. Do not use this API for production workloads. This API is also subject to change. Gets information about the traffic sources for the specified Auto Scaling group.
292
+ */
293
+ describeTrafficSources(params: AutoScaling.Types.DescribeTrafficSourcesRequest, callback?: (err: AWSError, data: AutoScaling.Types.DescribeTrafficSourcesResponse) => void): Request<AutoScaling.Types.DescribeTrafficSourcesResponse, AWSError>;
294
+ /**
295
+ * Reserved for use with Amazon VPC Lattice, which is in preview and subject to change. Do not use this API for production workloads. This API is also subject to change. Gets information about the traffic sources for the specified Auto Scaling group.
296
+ */
297
+ describeTrafficSources(callback?: (err: AWSError, data: AutoScaling.Types.DescribeTrafficSourcesResponse) => void): Request<AutoScaling.Types.DescribeTrafficSourcesResponse, AWSError>;
282
298
  /**
283
299
  * Gets information about a warm pool and its instances. For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
284
300
  */
@@ -296,11 +312,11 @@ declare class AutoScaling extends Service {
296
312
  */
297
313
  detachInstances(callback?: (err: AWSError, data: AutoScaling.Types.DetachInstancesAnswer) => void): Request<AutoScaling.Types.DetachInstancesAnswer, AWSError>;
298
314
  /**
299
- * Detaches one or more target groups from the specified Auto Scaling group. When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeLoadBalancerTargetGroups API call. The instances remain running.
315
+ * Detaches one or more target groups from the specified Auto Scaling group. When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeLoadBalancerTargetGroups API call. The instances remain running. You can use this operation to detach target groups that were attached by using AttachLoadBalancerTargetGroups, but not for target groups that were attached by using AttachTrafficSources.
300
316
  */
301
317
  detachLoadBalancerTargetGroups(params: AutoScaling.Types.DetachLoadBalancerTargetGroupsType, callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType) => void): Request<AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType, AWSError>;
302
318
  /**
303
- * Detaches one or more target groups from the specified Auto Scaling group. When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeLoadBalancerTargetGroups API call. The instances remain running.
319
+ * Detaches one or more target groups from the specified Auto Scaling group. When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeLoadBalancerTargetGroups API call. The instances remain running. You can use this operation to detach target groups that were attached by using AttachLoadBalancerTargetGroups, but not for target groups that were attached by using AttachTrafficSources.
304
320
  */
305
321
  detachLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType) => void): Request<AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType, AWSError>;
306
322
  /**
@@ -311,6 +327,14 @@ declare class AutoScaling extends Service {
311
327
  * Detaches one or more Classic Load Balancers from the specified Auto Scaling group. This operation detaches only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancer, use the DetachLoadBalancerTargetGroups API instead. When you detach a load balancer, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using the DescribeLoadBalancers API call. The instances remain running.
312
328
  */
313
329
  detachLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancersResultType) => void): Request<AutoScaling.Types.DetachLoadBalancersResultType, AWSError>;
330
+ /**
331
+ * Reserved for use with Amazon VPC Lattice, which is in preview and subject to change. Do not use this API for production workloads. This API is also subject to change. Detaches one or more traffic sources from the specified Auto Scaling group.
332
+ */
333
+ detachTrafficSources(params: AutoScaling.Types.DetachTrafficSourcesType, callback?: (err: AWSError, data: AutoScaling.Types.DetachTrafficSourcesResultType) => void): Request<AutoScaling.Types.DetachTrafficSourcesResultType, AWSError>;
334
+ /**
335
+ * Reserved for use with Amazon VPC Lattice, which is in preview and subject to change. Do not use this API for production workloads. This API is also subject to change. Detaches one or more traffic sources from the specified Auto Scaling group.
336
+ */
337
+ detachTrafficSources(callback?: (err: AWSError, data: AutoScaling.Types.DetachTrafficSourcesResultType) => void): Request<AutoScaling.Types.DetachTrafficSourcesResultType, AWSError>;
314
338
  /**
315
339
  * Disables group metrics collection for the specified Auto Scaling group.
316
340
  */
@@ -607,7 +631,7 @@ declare namespace AutoScaling {
607
631
  */
608
632
  AutoScalingGroupName: XmlStringMaxLen255;
609
633
  /**
610
- * The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.
634
+ * The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.
611
635
  */
612
636
  TargetGroupARNs: TargetGroupARNs;
613
637
  }
@@ -623,6 +647,18 @@ declare namespace AutoScaling {
623
647
  */
624
648
  LoadBalancerNames: LoadBalancerNames;
625
649
  }
650
+ export interface AttachTrafficSourcesResultType {
651
+ }
652
+ export interface AttachTrafficSourcesType {
653
+ /**
654
+ * The name of the Auto Scaling group.
655
+ */
656
+ AutoScalingGroupName: XmlStringMaxLen255;
657
+ /**
658
+ * The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources. Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. Amazon EC2 Auto Scaling registers the running instances with the attached target groups. The target groups receive incoming traffic and route requests to one or more registered targets.
659
+ */
660
+ TrafficSources: TrafficSources;
661
+ }
626
662
  export interface AutoScalingGroup {
627
663
  /**
628
664
  * The name of the Auto Scaling group.
@@ -677,7 +713,7 @@ declare namespace AutoScaling {
677
713
  */
678
714
  TargetGroupARNs?: TargetGroupARNs;
679
715
  /**
680
- * The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.
716
+ * Determines whether any additional health checks are performed on the instances in this group. Amazon EC2 health checks are always on. The valid values are EC2 (default), ELB, and VPC_LATTICE. The VPC_LATTICE health check type is reserved for use with VPC Lattice, which is in preview release and is subject to change.
681
717
  */
682
718
  HealthCheckType: XmlStringMaxLen32;
683
719
  /**
@@ -756,6 +792,10 @@ declare namespace AutoScaling {
756
792
  * The duration of the default instance warmup, in seconds.
757
793
  */
758
794
  DefaultInstanceWarmup?: DefaultInstanceWarmup;
795
+ /**
796
+ * The unique identifiers of the traffic sources.
797
+ */
798
+ TrafficSources?: TrafficSources;
759
799
  }
760
800
  export type AutoScalingGroupDesiredCapacity = number;
761
801
  export type AutoScalingGroupMaxSize = number;
@@ -1016,15 +1056,15 @@ declare namespace AutoScaling {
1016
1056
  */
1017
1057
  LoadBalancerNames?: LoadBalancerNames;
1018
1058
  /**
1019
- * The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
1059
+ * The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
1020
1060
  */
1021
1061
  TargetGroupARNs?: TargetGroupARNs;
1022
1062
  /**
1023
- * The service to use for the health checks. The valid values are EC2 (default) and ELB. If you configure an Auto Scaling group to use load balancer (ELB) health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.
1063
+ * Determines whether any additional health checks are performed on the instances in this group. Amazon EC2 health checks are always on. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide. The valid values are EC2 (default), ELB, and VPC_LATTICE. The VPC_LATTICE health check type is reserved for use with VPC Lattice, which is in preview release and is subject to change.
1024
1064
  */
1025
1065
  HealthCheckType?: XmlStringMaxLen32;
1026
1066
  /**
1027
- * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed Elastic Load Balancing or custom health check. This is useful if your instances do not immediately pass these health checks after they enter the InService state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default: 0 seconds
1067
+ * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the InService state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Default: 0 seconds
1028
1068
  */
1029
1069
  HealthCheckGracePeriod?: HealthCheckGracePeriod;
1030
1070
  /**
@@ -1075,6 +1115,10 @@ declare namespace AutoScaling {
1075
1115
  * The amount of time, in seconds, until a newly launched instance can contribute to the Amazon CloudWatch metrics. This delay lets an instance finish initializing before Amazon EC2 Auto Scaling aggregates instance metrics, resulting in more reliable usage data. Set this value equal to the amount of time that it takes for resource consumption to become stable after an instance reaches the InService state. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage your warm-up settings at the group level, we recommend that you set the default instance warmup, even if its value is set to 0 seconds. This also optimizes the performance of scaling policies that scale continuously, such as target tracking and step scaling policies. If you need to remove a value that you previously set, include the property but specify -1 for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a minimum value of 0. Default: None
1076
1116
  */
1077
1117
  DefaultInstanceWarmup?: DefaultInstanceWarmup;
1118
+ /**
1119
+ * Reserved for use with Amazon VPC Lattice, which is in preview release and is subject to change. Do not use this parameter for production workloads. It is also subject to change. The unique identifiers of one or more traffic sources. Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. Amazon EC2 Auto Scaling registers the running instances with the attached target groups. The target groups receive incoming traffic and route requests to one or more registered targets.
1120
+ */
1121
+ TrafficSources?: TrafficSources;
1078
1122
  }
1079
1123
  export interface CreateLaunchConfigurationType {
1080
1124
  /**
@@ -1164,11 +1208,11 @@ declare namespace AutoScaling {
1164
1208
  /**
1165
1209
  * The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.
1166
1210
  */
1167
- MetricName: MetricName;
1211
+ MetricName?: MetricName;
1168
1212
  /**
1169
1213
  * The namespace of the metric.
1170
1214
  */
1171
- Namespace: MetricNamespace;
1215
+ Namespace?: MetricNamespace;
1172
1216
  /**
1173
1217
  * The dimensions of the metric. Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
1174
1218
  */
@@ -1176,11 +1220,15 @@ declare namespace AutoScaling {
1176
1220
  /**
1177
1221
  * The statistic of the metric.
1178
1222
  */
1179
- Statistic: MetricStatistic;
1223
+ Statistic?: MetricStatistic;
1180
1224
  /**
1181
1225
  * The unit of the metric. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.
1182
1226
  */
1183
1227
  Unit?: MetricUnit;
1228
+ /**
1229
+ * The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.
1230
+ */
1231
+ Metrics?: TargetTrackingMetricDataQueries;
1184
1232
  }
1185
1233
  export type DefaultInstanceWarmup = number;
1186
1234
  export interface DeleteAutoScalingGroupType {
@@ -1519,6 +1567,34 @@ declare namespace AutoScaling {
1519
1567
  */
1520
1568
  TerminationPolicyTypes?: TerminationPolicies;
1521
1569
  }
1570
+ export interface DescribeTrafficSourcesRequest {
1571
+ /**
1572
+ * The name of the Auto Scaling group.
1573
+ */
1574
+ AutoScalingGroupName: XmlStringMaxLen255;
1575
+ /**
1576
+ * The type of traffic source you are describing. Currently, the only valid value is vpc-lattice.
1577
+ */
1578
+ TrafficSourceType: XmlStringMaxLen255;
1579
+ /**
1580
+ * The token for the next set of items to return. (You received this token from a previous call.)
1581
+ */
1582
+ NextToken?: XmlString;
1583
+ /**
1584
+ * The maximum number of items to return with this call. The maximum value is 50.
1585
+ */
1586
+ MaxRecords?: MaxRecords;
1587
+ }
1588
+ export interface DescribeTrafficSourcesResponse {
1589
+ /**
1590
+ * Information about the traffic sources.
1591
+ */
1592
+ TrafficSources?: TrafficSourceStates;
1593
+ /**
1594
+ * This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
1595
+ */
1596
+ NextToken?: XmlString;
1597
+ }
1522
1598
  export interface DescribeWarmPoolAnswer {
1523
1599
  /**
1524
1600
  * The warm pool configuration details.
@@ -1529,7 +1605,7 @@ declare namespace AutoScaling {
1529
1605
  */
1530
1606
  Instances?: Instances;
1531
1607
  /**
1532
- * The token for the next set of items to return. (You received this token from a previous call.)
1608
+ * This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
1533
1609
  */
1534
1610
  NextToken?: XmlString;
1535
1611
  }
@@ -1595,6 +1671,18 @@ declare namespace AutoScaling {
1595
1671
  */
1596
1672
  LoadBalancerNames: LoadBalancerNames;
1597
1673
  }
1674
+ export interface DetachTrafficSourcesResultType {
1675
+ }
1676
+ export interface DetachTrafficSourcesType {
1677
+ /**
1678
+ * The name of the Auto Scaling group.
1679
+ */
1680
+ AutoScalingGroupName: XmlStringMaxLen255;
1681
+ /**
1682
+ * The unique identifiers of one or more traffic sources you are detaching. You can specify up to 10 traffic sources. Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeTrafficSources API call. The instances continue to run.
1683
+ */
1684
+ TrafficSources: TrafficSources;
1685
+ }
1598
1686
  export interface DisableMetricsCollectionQuery {
1599
1687
  /**
1600
1688
  * The name of the Auto Scaling group.
@@ -2043,7 +2131,7 @@ declare namespace AutoScaling {
2043
2131
  */
2044
2132
  OnDemandPercentageAboveBaseCapacity?: OnDemandPercentageAboveBaseCapacity;
2045
2133
  /**
2046
- * The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. price-capacity-optimized (recommended) Amazon EC2 Auto Scaling identifies the pools with the highest capacity availability for the number of instances that are launching. This means that we will request Spot Instances from the pools that we believe have the lowest chance of interruption in the near term. Amazon EC2 Auto Scaling then requests Spot Instances from the lowest priced of these pools.
2134
+ * The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify. The following lists the valid values: capacity-optimized Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized. capacity-optimized-prioritized You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. lowest-price Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. price-capacity-optimized (recommended) The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
2047
2135
  */
2048
2136
  SpotAllocationStrategy?: XmlString;
2049
2137
  /**
@@ -3230,6 +3318,40 @@ declare namespace AutoScaling {
3230
3318
  */
3231
3319
  DisableScaleIn?: DisableScaleIn;
3232
3320
  }
3321
+ export type TargetTrackingMetricDataQueries = TargetTrackingMetricDataQuery[];
3322
+ export interface TargetTrackingMetricDataQuery {
3323
+ /**
3324
+ * A short name that identifies the object's results in the response. This name must be unique among all TargetTrackingMetricDataQuery 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.
3325
+ */
3326
+ Id: XmlStringMaxLen255;
3327
+ /**
3328
+ * 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.
3329
+ */
3330
+ Expression?: XmlStringMaxLen2047;
3331
+ /**
3332
+ * Information about the metric data to return. Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.
3333
+ */
3334
+ MetricStat?: TargetTrackingMetricStat;
3335
+ /**
3336
+ * 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.
3337
+ */
3338
+ Label?: XmlStringMetricLabel;
3339
+ /**
3340
+ * 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).
3341
+ */
3342
+ ReturnData?: ReturnData;
3343
+ }
3344
+ export interface TargetTrackingMetricStat {
3345
+ Metric: Metric;
3346
+ /**
3347
+ * The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide. The most commonly used metrics for scaling is Average
3348
+ */
3349
+ Stat: XmlStringMetricStat;
3350
+ /**
3351
+ * The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.
3352
+ */
3353
+ Unit?: MetricUnit;
3354
+ }
3233
3355
  export interface TerminateInstanceInAutoScalingGroupType {
3234
3356
  /**
3235
3357
  * The ID of the instance.
@@ -3252,6 +3374,24 @@ declare namespace AutoScaling {
3252
3374
  */
3253
3375
  Max?: NullablePositiveDouble;
3254
3376
  }
3377
+ export interface TrafficSourceIdentifier {
3378
+ /**
3379
+ * The unique identifier of the traffic source.
3380
+ */
3381
+ Identifier?: XmlStringMaxLen511;
3382
+ }
3383
+ export interface TrafficSourceState {
3384
+ /**
3385
+ * The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.
3386
+ */
3387
+ TrafficSource?: XmlStringMaxLen511;
3388
+ /**
3389
+ * The following are the possible states for a VPC Lattice target group: Adding - The Auto Scaling instances are being registered with the target group. Added - All Auto Scaling instances are registered with the target group. InService - At least one Auto Scaling instance passed the VPC_LATTICE health check. Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances. Removed - All Auto Scaling instances are deregistered from the target group.
3390
+ */
3391
+ State?: XmlStringMaxLen255;
3392
+ }
3393
+ export type TrafficSourceStates = TrafficSourceState[];
3394
+ export type TrafficSources = TrafficSourceIdentifier[];
3255
3395
  export interface UpdateAutoScalingGroupType {
3256
3396
  /**
3257
3397
  * The name of the Auto Scaling group.
@@ -3290,11 +3430,11 @@ declare namespace AutoScaling {
3290
3430
  */
3291
3431
  AvailabilityZones?: AvailabilityZones;
3292
3432
  /**
3293
- * The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.
3433
+ * Determines whether any additional health checks are performed on the instances in this group. Amazon EC2 health checks are always on. The valid values are EC2 (default), ELB, and VPC_LATTICE. The VPC_LATTICE health check type is reserved for use with VPC Lattice, which is in preview release and is subject to change.
3294
3434
  */
3295
3435
  HealthCheckType?: XmlStringMaxLen32;
3296
3436
  /**
3297
- * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed Elastic Load Balancing or custom health check. This is useful if your instances do not immediately pass these health checks after they enter the InService state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
3437
+ * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the InService state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
3298
3438
  */
3299
3439
  HealthCheckGracePeriod?: HealthCheckGracePeriod;
3300
3440
  /**
@@ -464,7 +464,7 @@ declare namespace CloudWatchLogs {
464
464
  */
465
465
  kmsKeyId?: KmsKeyId;
466
466
  /**
467
- * The key-value pairs to use for the tags. CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to log groups using the aws:Resource/key-name or aws:TagKeys condition keys. For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
467
+ * The key-value pairs to use for the tags. You can grant users access to certain log groups while preventing them from accessing other log groups. To do so, tag your groups and use IAM policies that refer to those tags. To assign tags when you create a log group, you must have either the logs:TagResource or logs:TagLogGroup permission. For more information about tagging, see Tagging Amazon Web Services resources. For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
468
468
  */
469
469
  tags?: Tags;
470
470
  }