cdk-docker-image-deployment 0.0.111 → 0.0.113
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.
- package/.jsii +3 -3
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +15 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +311 -42
- package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.paginators.json +30 -0
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +202 -93
- package/node_modules/aws-sdk/apis/connectparticipant-2018-09-07.min.json +17 -1
- package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +13 -12
- package/node_modules/aws-sdk/apis/iotdeviceadvisor-2020-09-18.min.json +17 -3
- package/node_modules/aws-sdk/apis/kinesis-video-webrtc-storage-2018-05-10.min.json +0 -17
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +212 -169
- package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +350 -4
- package/node_modules/aws-sdk/clients/connect.d.ts +122 -8
- package/node_modules/aws-sdk/clients/connectparticipant.d.ts +57 -28
- package/node_modules/aws-sdk/clients/fsx.d.ts +6 -1
- package/node_modules/aws-sdk/clients/inspector2.d.ts +1 -1
- package/node_modules/aws-sdk/clients/iotdeviceadvisor.d.ts +28 -24
- package/node_modules/aws-sdk/clients/kinesisvideowebrtcstorage.d.ts +0 -19
- package/node_modules/aws-sdk/clients/rds.d.ts +86 -8
- package/node_modules/aws-sdk/clients/secretsmanager.d.ts +8 -8
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +9 -9
- package/node_modules/aws-sdk/dist/aws-sdk.js +417 -265
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +77 -77
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +4 -4
|
@@ -51,6 +51,14 @@ declare class ComputeOptimizer extends Service {
|
|
|
51
51
|
* Exports optimization recommendations for Amazon EC2 instances. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Amazon EC2 instance export job in progress per Amazon Web Services Region.
|
|
52
52
|
*/
|
|
53
53
|
exportEC2InstanceRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportEC2InstanceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportEC2InstanceRecommendationsResponse, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Exports optimization recommendations for Amazon ECS services on Fargate. Recommendations are exported in a CSV file, and its metadata in a JSON file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can only have one Amazon ECS service export job in progress per Amazon Web Services Region.
|
|
56
|
+
*/
|
|
57
|
+
exportECSServiceRecommendations(params: ComputeOptimizer.Types.ExportECSServiceRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportECSServiceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportECSServiceRecommendationsResponse, AWSError>;
|
|
58
|
+
/**
|
|
59
|
+
* Exports optimization recommendations for Amazon ECS services on Fargate. Recommendations are exported in a CSV file, and its metadata in a JSON file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can only have one Amazon ECS service export job in progress per Amazon Web Services Region.
|
|
60
|
+
*/
|
|
61
|
+
exportECSServiceRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportECSServiceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportECSServiceRecommendationsResponse, AWSError>;
|
|
54
62
|
/**
|
|
55
63
|
* Exports optimization recommendations for Lambda functions. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Lambda function export job in progress per Amazon Web Services Region.
|
|
56
64
|
*/
|
|
@@ -91,6 +99,22 @@ declare class ComputeOptimizer extends Service {
|
|
|
91
99
|
* Returns the projected utilization metrics of Amazon EC2 instance recommendations. The Cpu and Memory metrics are the only projected utilization metrics returned when you run this action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
|
|
92
100
|
*/
|
|
93
101
|
getEC2RecommendationProjectedMetrics(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse) => void): Request<ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse, AWSError>;
|
|
102
|
+
/**
|
|
103
|
+
* Returns the projected metrics of Amazon ECS service recommendations.
|
|
104
|
+
*/
|
|
105
|
+
getECSServiceRecommendationProjectedMetrics(params: ComputeOptimizer.Types.GetECSServiceRecommendationProjectedMetricsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetECSServiceRecommendationProjectedMetricsResponse) => void): Request<ComputeOptimizer.Types.GetECSServiceRecommendationProjectedMetricsResponse, AWSError>;
|
|
106
|
+
/**
|
|
107
|
+
* Returns the projected metrics of Amazon ECS service recommendations.
|
|
108
|
+
*/
|
|
109
|
+
getECSServiceRecommendationProjectedMetrics(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetECSServiceRecommendationProjectedMetricsResponse) => void): Request<ComputeOptimizer.Types.GetECSServiceRecommendationProjectedMetricsResponse, AWSError>;
|
|
110
|
+
/**
|
|
111
|
+
* Returns Amazon ECS service recommendations. Compute Optimizer generates recommendations for Amazon ECS services on Fargate that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
|
|
112
|
+
*/
|
|
113
|
+
getECSServiceRecommendations(params: ComputeOptimizer.Types.GetECSServiceRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetECSServiceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetECSServiceRecommendationsResponse, AWSError>;
|
|
114
|
+
/**
|
|
115
|
+
* Returns Amazon ECS service recommendations. Compute Optimizer generates recommendations for Amazon ECS services on Fargate that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
|
|
116
|
+
*/
|
|
117
|
+
getECSServiceRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetECSServiceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetECSServiceRecommendationsResponse, AWSError>;
|
|
94
118
|
/**
|
|
95
119
|
* Returns the recommendation preferences that are in effect for a given resource, such as enhanced infrastructure metrics. Considers all applicable preferences that you might have set at the resource, account, and organization level. When you create a recommendation preference, you can set its status to Active or Inactive. Use this action to view the recommendation preferences that are in effect, or Active.
|
|
96
120
|
*/
|
|
@@ -132,11 +156,11 @@ declare class ComputeOptimizer extends Service {
|
|
|
132
156
|
*/
|
|
133
157
|
getRecommendationPreferences(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetRecommendationPreferencesResponse) => void): Request<ComputeOptimizer.Types.GetRecommendationPreferencesResponse, AWSError>;
|
|
134
158
|
/**
|
|
135
|
-
* Returns the optimization findings for an account. It returns the number of: Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, or Optimized. Auto Scaling groups in an account that are NotOptimized, or Optimized. Amazon EBS volumes in an account that are NotOptimized, or Optimized. Lambda functions in an account that are NotOptimized, or Optimized.
|
|
159
|
+
* Returns the optimization findings for an account. It returns the number of: Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, or Optimized. Auto Scaling groups in an account that are NotOptimized, or Optimized. Amazon EBS volumes in an account that are NotOptimized, or Optimized. Lambda functions in an account that are NotOptimized, or Optimized. Amazon ECS services in an account that are Underprovisioned, Overprovisioned, or Optimized.
|
|
136
160
|
*/
|
|
137
161
|
getRecommendationSummaries(params: ComputeOptimizer.Types.GetRecommendationSummariesRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetRecommendationSummariesResponse) => void): Request<ComputeOptimizer.Types.GetRecommendationSummariesResponse, AWSError>;
|
|
138
162
|
/**
|
|
139
|
-
* Returns the optimization findings for an account. It returns the number of: Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, or Optimized. Auto Scaling groups in an account that are NotOptimized, or Optimized. Amazon EBS volumes in an account that are NotOptimized, or Optimized. Lambda functions in an account that are NotOptimized, or Optimized.
|
|
163
|
+
* Returns the optimization findings for an account. It returns the number of: Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, or Optimized. Auto Scaling groups in an account that are NotOptimized, or Optimized. Amazon EBS volumes in an account that are NotOptimized, or Optimized. Lambda functions in an account that are NotOptimized, or Optimized. Amazon ECS services in an account that are Underprovisioned, Overprovisioned, or Optimized.
|
|
140
164
|
*/
|
|
141
165
|
getRecommendationSummaries(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetRecommendationSummariesResponse) => void): Request<ComputeOptimizer.Types.GetRecommendationSummariesResponse, AWSError>;
|
|
142
166
|
/**
|
|
@@ -178,6 +202,7 @@ declare namespace ComputeOptimizer {
|
|
|
178
202
|
export type AccountEnrollmentStatuses = AccountEnrollmentStatus[];
|
|
179
203
|
export type AccountId = string;
|
|
180
204
|
export type AccountIds = AccountId[];
|
|
205
|
+
export type AutoScalingConfiguration = "TargetTrackingScalingCpu"|"TargetTrackingScalingMemory"|string;
|
|
181
206
|
export type AutoScalingGroupArn = string;
|
|
182
207
|
export type AutoScalingGroupArns = AutoScalingGroupArn[];
|
|
183
208
|
export interface AutoScalingGroupConfiguration {
|
|
@@ -278,6 +303,38 @@ declare namespace ComputeOptimizer {
|
|
|
278
303
|
export type AutoScalingGroupRecommendationOptions = AutoScalingGroupRecommendationOption[];
|
|
279
304
|
export type AutoScalingGroupRecommendations = AutoScalingGroupRecommendation[];
|
|
280
305
|
export type Code = string;
|
|
306
|
+
export interface ContainerConfiguration {
|
|
307
|
+
/**
|
|
308
|
+
* The name of the container.
|
|
309
|
+
*/
|
|
310
|
+
containerName?: ContainerName;
|
|
311
|
+
/**
|
|
312
|
+
* The memory size configurations for the container.
|
|
313
|
+
*/
|
|
314
|
+
memorySizeConfiguration?: MemorySizeConfiguration;
|
|
315
|
+
/**
|
|
316
|
+
* The number of CPU units reserved for the container.
|
|
317
|
+
*/
|
|
318
|
+
cpu?: NullableCpu;
|
|
319
|
+
}
|
|
320
|
+
export type ContainerConfigurations = ContainerConfiguration[];
|
|
321
|
+
export type ContainerName = string;
|
|
322
|
+
export interface ContainerRecommendation {
|
|
323
|
+
/**
|
|
324
|
+
* The name of the container.
|
|
325
|
+
*/
|
|
326
|
+
containerName?: ContainerName;
|
|
327
|
+
/**
|
|
328
|
+
* The recommended memory size configurations for the container.
|
|
329
|
+
*/
|
|
330
|
+
memorySizeConfiguration?: MemorySizeConfiguration;
|
|
331
|
+
/**
|
|
332
|
+
* The recommended number of CPU units reserved for the container.
|
|
333
|
+
*/
|
|
334
|
+
cpu?: NullableCpu;
|
|
335
|
+
}
|
|
336
|
+
export type ContainerRecommendations = ContainerRecommendation[];
|
|
337
|
+
export type CpuSize = number;
|
|
281
338
|
export type CpuVendorArchitecture = "AWS_ARM64"|"CURRENT"|string;
|
|
282
339
|
export type CpuVendorArchitectures = CpuVendorArchitecture[];
|
|
283
340
|
export type CreationTimestamp = Date;
|
|
@@ -379,6 +436,159 @@ declare namespace ComputeOptimizer {
|
|
|
379
436
|
value?: MetricValue;
|
|
380
437
|
}
|
|
381
438
|
export type EBSUtilizationMetrics = EBSUtilizationMetric[];
|
|
439
|
+
export type ECSServiceLaunchType = "EC2"|"Fargate"|string;
|
|
440
|
+
export type ECSServiceMetricName = "Cpu"|"Memory"|string;
|
|
441
|
+
export type ECSServiceMetricStatistic = "Maximum"|"Average"|string;
|
|
442
|
+
export interface ECSServiceProjectedMetric {
|
|
443
|
+
/**
|
|
444
|
+
* The name of the projected metric. The following metrics are available: CPU — The percentage of allocated compute units that are currently in use on the ECS service tasks. Memory — The percentage of memory that is currently in use on the ECS service tasks.
|
|
445
|
+
*/
|
|
446
|
+
name?: ECSServiceMetricName;
|
|
447
|
+
/**
|
|
448
|
+
* The timestamps of the projected metric.
|
|
449
|
+
*/
|
|
450
|
+
timestamps?: Timestamps;
|
|
451
|
+
/**
|
|
452
|
+
* The upper bound values for the projected metric.
|
|
453
|
+
*/
|
|
454
|
+
upperBoundValues?: MetricValues;
|
|
455
|
+
/**
|
|
456
|
+
* The lower bound values for the projected metric.
|
|
457
|
+
*/
|
|
458
|
+
lowerBoundValues?: MetricValues;
|
|
459
|
+
}
|
|
460
|
+
export type ECSServiceProjectedMetrics = ECSServiceProjectedMetric[];
|
|
461
|
+
export interface ECSServiceProjectedUtilizationMetric {
|
|
462
|
+
/**
|
|
463
|
+
* The name of the projected utilization metric. The following utilization metrics are available: CPU — The percentage of allocated compute units that are currently in use on the ECS service tasks. Memory — The percentage of memory that is currently in use on the ECS service tasks.
|
|
464
|
+
*/
|
|
465
|
+
name?: ECSServiceMetricName;
|
|
466
|
+
/**
|
|
467
|
+
* The statistic of the projected utilization metric. The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period. The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.
|
|
468
|
+
*/
|
|
469
|
+
statistic?: ECSServiceMetricStatistic;
|
|
470
|
+
/**
|
|
471
|
+
* The lower bound values for the projected utilization metrics.
|
|
472
|
+
*/
|
|
473
|
+
lowerBoundValue?: LowerBoundValue;
|
|
474
|
+
/**
|
|
475
|
+
* The upper bound values for the projected utilization metrics.
|
|
476
|
+
*/
|
|
477
|
+
upperBoundValue?: UpperBoundValue;
|
|
478
|
+
}
|
|
479
|
+
export type ECSServiceProjectedUtilizationMetrics = ECSServiceProjectedUtilizationMetric[];
|
|
480
|
+
export interface ECSServiceRecommendation {
|
|
481
|
+
/**
|
|
482
|
+
* The Amazon Resource Name (ARN) of the current ECS service. The following is the format of the ARN: arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
|
|
483
|
+
*/
|
|
484
|
+
serviceArn?: ServiceArn;
|
|
485
|
+
/**
|
|
486
|
+
* The Amazon Web Services account ID of the ECS service.
|
|
487
|
+
*/
|
|
488
|
+
accountId?: AccountId;
|
|
489
|
+
/**
|
|
490
|
+
* The configuration of the current ECS service.
|
|
491
|
+
*/
|
|
492
|
+
currentServiceConfiguration?: ServiceConfiguration;
|
|
493
|
+
/**
|
|
494
|
+
* An array of objects that describe the utilization metrics of the ECS service.
|
|
495
|
+
*/
|
|
496
|
+
utilizationMetrics?: ECSServiceUtilizationMetrics;
|
|
497
|
+
/**
|
|
498
|
+
* The number of days the ECS service utilization metrics were analyzed.
|
|
499
|
+
*/
|
|
500
|
+
lookbackPeriodInDays?: LookBackPeriodInDays;
|
|
501
|
+
/**
|
|
502
|
+
* The launch type the ECS service is using. Compute Optimizer only supports the Fargate launch type.
|
|
503
|
+
*/
|
|
504
|
+
launchType?: ECSServiceLaunchType;
|
|
505
|
+
/**
|
|
506
|
+
* The timestamp of when the ECS service recommendation was last generated.
|
|
507
|
+
*/
|
|
508
|
+
lastRefreshTimestamp?: LastRefreshTimestamp;
|
|
509
|
+
/**
|
|
510
|
+
* The finding classification of an ECS service. Findings for ECS services include: Underprovisioned — When Compute Optimizer detects that there’s not enough memory or CPU, an ECS service is considered under-provisioned. An under-provisioned ECS service might result in poor application performance. Overprovisioned — When Compute Optimizer detects that there’s excessive memory or CPU, an ECS service is considered over-provisioned. An over-provisioned ECS service might result in additional infrastructure costs. Optimized — When both the CPU and memory of your ECS service meet the performance requirements of your workload, the service is considered optimized.
|
|
511
|
+
*/
|
|
512
|
+
finding?: ECSServiceRecommendationFinding;
|
|
513
|
+
/**
|
|
514
|
+
* The reason for the finding classification of an ECS service. Finding reason codes for ECS services include: CPUUnderprovisioned — The ECS service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing the CPUUtilization metric of the current service during the look-back period. CPUOverprovisioned — The ECS service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the CPUUtilization metric of the current service during the look-back period. MemoryUnderprovisioned — The ECS service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing the MemoryUtilization metric of the current service during the look-back period. MemoryOverprovisioned — The ECS service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the MemoryUtilization metric of the current service during the look-back period.
|
|
515
|
+
*/
|
|
516
|
+
findingReasonCodes?: ECSServiceRecommendationFindingReasonCodes;
|
|
517
|
+
/**
|
|
518
|
+
* An array of objects that describe the recommendation options for the ECS service.
|
|
519
|
+
*/
|
|
520
|
+
serviceRecommendationOptions?: ECSServiceRecommendationOptions;
|
|
521
|
+
/**
|
|
522
|
+
* The risk of the current ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
|
|
523
|
+
*/
|
|
524
|
+
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
525
|
+
}
|
|
526
|
+
export interface ECSServiceRecommendationFilter {
|
|
527
|
+
/**
|
|
528
|
+
* The name of the filter. Specify Finding to return recommendations with a specific finding classification. Specify FindingReasonCode to return recommendations with a specific finding reason code.
|
|
529
|
+
*/
|
|
530
|
+
name?: ECSServiceRecommendationFilterName;
|
|
531
|
+
/**
|
|
532
|
+
* The value of the filter. The valid values for this parameter are as follows: If you specify the name parameter as Finding, specify Optimized, NotOptimized, or Unavailable. If you specify the name parameter as FindingReasonCode, specify CPUUnderprovisioned, CPUOverprovisioned, MemoryUnderprovisioned, or MemoryOverprovisioned.
|
|
533
|
+
*/
|
|
534
|
+
values?: FilterValues;
|
|
535
|
+
}
|
|
536
|
+
export type ECSServiceRecommendationFilterName = "Finding"|"FindingReasonCode"|string;
|
|
537
|
+
export type ECSServiceRecommendationFilters = ECSServiceRecommendationFilter[];
|
|
538
|
+
export type ECSServiceRecommendationFinding = "Optimized"|"Underprovisioned"|"Overprovisioned"|string;
|
|
539
|
+
export type ECSServiceRecommendationFindingReasonCode = "MemoryOverprovisioned"|"MemoryUnderprovisioned"|"CPUOverprovisioned"|"CPUUnderprovisioned"|string;
|
|
540
|
+
export type ECSServiceRecommendationFindingReasonCodes = ECSServiceRecommendationFindingReasonCode[];
|
|
541
|
+
export interface ECSServiceRecommendationOption {
|
|
542
|
+
/**
|
|
543
|
+
* The memory size of the ECS service recommendation option.
|
|
544
|
+
*/
|
|
545
|
+
memory?: NullableMemory;
|
|
546
|
+
/**
|
|
547
|
+
* The CPU size of the ECS service recommendation option.
|
|
548
|
+
*/
|
|
549
|
+
cpu?: NullableCpu;
|
|
550
|
+
savingsOpportunity?: SavingsOpportunity;
|
|
551
|
+
/**
|
|
552
|
+
* An array of objects that describe the projected utilization metrics of the ECS service recommendation option.
|
|
553
|
+
*/
|
|
554
|
+
projectedUtilizationMetrics?: ECSServiceProjectedUtilizationMetrics;
|
|
555
|
+
/**
|
|
556
|
+
* The CPU and memory size recommendations for the containers within the task of your ECS service.
|
|
557
|
+
*/
|
|
558
|
+
containerRecommendations?: ContainerRecommendations;
|
|
559
|
+
}
|
|
560
|
+
export type ECSServiceRecommendationOptions = ECSServiceRecommendationOption[];
|
|
561
|
+
export type ECSServiceRecommendations = ECSServiceRecommendation[];
|
|
562
|
+
export interface ECSServiceRecommendedOptionProjectedMetric {
|
|
563
|
+
/**
|
|
564
|
+
* The recommended CPU size for the ECS service.
|
|
565
|
+
*/
|
|
566
|
+
recommendedCpuUnits?: CpuSize;
|
|
567
|
+
/**
|
|
568
|
+
* The recommended memory size for the ECS service.
|
|
569
|
+
*/
|
|
570
|
+
recommendedMemorySize?: MemorySize;
|
|
571
|
+
/**
|
|
572
|
+
* An array of objects that describe the projected metric.
|
|
573
|
+
*/
|
|
574
|
+
projectedMetrics?: ECSServiceProjectedMetrics;
|
|
575
|
+
}
|
|
576
|
+
export type ECSServiceRecommendedOptionProjectedMetrics = ECSServiceRecommendedOptionProjectedMetric[];
|
|
577
|
+
export interface ECSServiceUtilizationMetric {
|
|
578
|
+
/**
|
|
579
|
+
* The name of the utilization metric. The following utilization metrics are available: Cpu — The amount of CPU units that are used in the service. Memory — The amount of memory that is used in the service.
|
|
580
|
+
*/
|
|
581
|
+
name?: ECSServiceMetricName;
|
|
582
|
+
/**
|
|
583
|
+
* The statistic of the utilization metric. The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period. The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.
|
|
584
|
+
*/
|
|
585
|
+
statistic?: ECSServiceMetricStatistic;
|
|
586
|
+
/**
|
|
587
|
+
* The value of the utilization metric.
|
|
588
|
+
*/
|
|
589
|
+
value?: MetricValue;
|
|
590
|
+
}
|
|
591
|
+
export type ECSServiceUtilizationMetrics = ECSServiceUtilizationMetric[];
|
|
382
592
|
export interface EffectiveRecommendationPreferences {
|
|
383
593
|
/**
|
|
384
594
|
* Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations. For example, when you specify AWS_ARM64 with: A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only. A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only. A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
|
|
@@ -536,6 +746,36 @@ declare namespace ComputeOptimizer {
|
|
|
536
746
|
*/
|
|
537
747
|
s3Destination?: S3Destination;
|
|
538
748
|
}
|
|
749
|
+
export interface ExportECSServiceRecommendationsRequest {
|
|
750
|
+
/**
|
|
751
|
+
* The Amazon Web Services account IDs for the export ECS service recommendations. If your account is the management account or the delegated administrator of an organization, use this parameter to specify the member account you want to export recommendations to. This parameter can't be specified together with the include member accounts parameter. The parameters are mutually exclusive. If this parameter or the include member accounts parameter is omitted, the recommendations for member accounts aren't included in the export. You can specify multiple account IDs per request.
|
|
752
|
+
*/
|
|
753
|
+
accountIds?: AccountIds;
|
|
754
|
+
/**
|
|
755
|
+
* An array of objects to specify a filter that exports a more specific set of ECS service recommendations.
|
|
756
|
+
*/
|
|
757
|
+
filters?: ECSServiceRecommendationFilters;
|
|
758
|
+
/**
|
|
759
|
+
* The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files in the Compute Optimizer User Guide.
|
|
760
|
+
*/
|
|
761
|
+
fieldsToExport?: ExportableECSServiceFields;
|
|
762
|
+
s3DestinationConfig: S3DestinationConfig;
|
|
763
|
+
/**
|
|
764
|
+
* The format of the export file. The CSV file is the only export file format currently supported.
|
|
765
|
+
*/
|
|
766
|
+
fileFormat?: FileFormat;
|
|
767
|
+
/**
|
|
768
|
+
* If your account is the management account or the delegated administrator of an organization, this parameter indicates whether to include recommendations for resources in all member accounts of the organization. The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide. If this parameter is omitted, recommendations for member accounts of the organization aren't included in the export file. If this parameter or the account ID parameter is omitted, recommendations for member accounts aren't included in the export.
|
|
769
|
+
*/
|
|
770
|
+
includeMemberAccounts?: IncludeMemberAccounts;
|
|
771
|
+
}
|
|
772
|
+
export interface ExportECSServiceRecommendationsResponse {
|
|
773
|
+
/**
|
|
774
|
+
* The identification number of the export job. To view the status of an export job, use the DescribeRecommendationExportJobs action and specify the job ID.
|
|
775
|
+
*/
|
|
776
|
+
jobId?: JobId;
|
|
777
|
+
s3Destination?: S3Destination;
|
|
778
|
+
}
|
|
539
779
|
export interface ExportLambdaFunctionRecommendationsRequest {
|
|
540
780
|
/**
|
|
541
781
|
* The IDs of the Amazon Web Services accounts for which to export Lambda function recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations. This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted. You can specify multiple account IDs per request.
|
|
@@ -568,6 +808,8 @@ declare namespace ComputeOptimizer {
|
|
|
568
808
|
}
|
|
569
809
|
export type ExportableAutoScalingGroupField = "AccountId"|"AutoScalingGroupArn"|"AutoScalingGroupName"|"Finding"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationInstanceType"|"CurrentConfigurationDesiredCapacity"|"CurrentConfigurationMinSize"|"CurrentConfigurationMaxSize"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsConfigurationInstanceType"|"RecommendationOptionsConfigurationDesiredCapacity"|"RecommendationOptionsConfigurationMinSize"|"RecommendationOptionsConfigurationMaxSize"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|string;
|
|
570
810
|
export type ExportableAutoScalingGroupFields = ExportableAutoScalingGroupField[];
|
|
811
|
+
export type ExportableECSServiceField = "AccountId"|"ServiceArn"|"LookbackPeriodInDays"|"LastRefreshTimestamp"|"LaunchType"|"CurrentPerformanceRisk"|"CurrentServiceConfigurationMemory"|"CurrentServiceConfigurationCpu"|"CurrentServiceConfigurationTaskDefinitionArn"|"CurrentServiceConfigurationAutoScalingConfiguration"|"CurrentServiceContainerConfigurations"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"Finding"|"FindingReasonCodes"|"RecommendationOptionsMemory"|"RecommendationOptionsCpu"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"RecommendationOptionsContainerRecommendations"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|string;
|
|
812
|
+
export type ExportableECSServiceFields = ExportableECSServiceField[];
|
|
571
813
|
export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"FindingReasonCodes"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPlatformDifferences"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|"EffectiveRecommendationPreferencesExternalMetricsSource"|string;
|
|
572
814
|
export type ExportableInstanceFields = ExportableInstanceField[];
|
|
573
815
|
export type ExportableLambdaFunctionField = "AccountId"|"FunctionArn"|"FunctionVersion"|"Finding"|"FindingReasonCodes"|"NumberOfInvocations"|"UtilizationMetricsDurationMaximum"|"UtilizationMetricsDurationAverage"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsMemoryAverage"|"LookbackPeriodInDays"|"CurrentConfigurationMemorySize"|"CurrentConfigurationTimeout"|"CurrentCostTotal"|"CurrentCostAverage"|"RecommendationOptionsConfigurationMemorySize"|"RecommendationOptionsCostLow"|"RecommendationOptionsCostHigh"|"RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationExpected"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|string;
|
|
@@ -750,6 +992,70 @@ declare namespace ComputeOptimizer {
|
|
|
750
992
|
*/
|
|
751
993
|
recommendedOptionProjectedMetrics?: RecommendedOptionProjectedMetrics;
|
|
752
994
|
}
|
|
995
|
+
export interface GetECSServiceRecommendationProjectedMetricsRequest {
|
|
996
|
+
/**
|
|
997
|
+
* The ARN that identifies the ECS service. The following is the format of the ARN: arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
|
|
998
|
+
*/
|
|
999
|
+
serviceArn: ServiceArn;
|
|
1000
|
+
/**
|
|
1001
|
+
* The statistic of the projected metrics.
|
|
1002
|
+
*/
|
|
1003
|
+
stat: MetricStatistic;
|
|
1004
|
+
/**
|
|
1005
|
+
* The granularity, in seconds, of the projected metrics data points.
|
|
1006
|
+
*/
|
|
1007
|
+
period: Period;
|
|
1008
|
+
/**
|
|
1009
|
+
* The timestamp of the first projected metrics data point to return.
|
|
1010
|
+
*/
|
|
1011
|
+
startTime: Timestamp;
|
|
1012
|
+
/**
|
|
1013
|
+
* The timestamp of the last projected metrics data point to return.
|
|
1014
|
+
*/
|
|
1015
|
+
endTime: Timestamp;
|
|
1016
|
+
}
|
|
1017
|
+
export interface GetECSServiceRecommendationProjectedMetricsResponse {
|
|
1018
|
+
/**
|
|
1019
|
+
* An array of objects that describes the projected metrics.
|
|
1020
|
+
*/
|
|
1021
|
+
recommendedOptionProjectedMetrics?: ECSServiceRecommendedOptionProjectedMetrics;
|
|
1022
|
+
}
|
|
1023
|
+
export interface GetECSServiceRecommendationsRequest {
|
|
1024
|
+
/**
|
|
1025
|
+
* The ARN that identifies the ECS service. The following is the format of the ARN: arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
|
|
1026
|
+
*/
|
|
1027
|
+
serviceArns?: ServiceArns;
|
|
1028
|
+
/**
|
|
1029
|
+
* The token to advance to the next page of ECS service recommendations.
|
|
1030
|
+
*/
|
|
1031
|
+
nextToken?: NextToken;
|
|
1032
|
+
/**
|
|
1033
|
+
* The maximum number of ECS service recommendations to return with a single request. To retrieve the remaining results, make another request with the returned nextToken value.
|
|
1034
|
+
*/
|
|
1035
|
+
maxResults?: MaxResults;
|
|
1036
|
+
/**
|
|
1037
|
+
* An array of objects to specify a filter that returns a more specific list of ECS service recommendations.
|
|
1038
|
+
*/
|
|
1039
|
+
filters?: ECSServiceRecommendationFilters;
|
|
1040
|
+
/**
|
|
1041
|
+
* Return the ECS service recommendations to the specified Amazon Web Services account IDs. If your account is the management account or the delegated administrator of an organization, use this parameter to return the ECS service recommendations to specific member accounts. You can only specify one account ID per request.
|
|
1042
|
+
*/
|
|
1043
|
+
accountIds?: AccountIds;
|
|
1044
|
+
}
|
|
1045
|
+
export interface GetECSServiceRecommendationsResponse {
|
|
1046
|
+
/**
|
|
1047
|
+
* The token to advance to the next page of ECS service recommendations.
|
|
1048
|
+
*/
|
|
1049
|
+
nextToken?: NextToken;
|
|
1050
|
+
/**
|
|
1051
|
+
* An array of objects that describe the ECS service recommendations.
|
|
1052
|
+
*/
|
|
1053
|
+
ecsServiceRecommendations?: ECSServiceRecommendations;
|
|
1054
|
+
/**
|
|
1055
|
+
* An array of objects that describe errors of the request.
|
|
1056
|
+
*/
|
|
1057
|
+
errors?: GetRecommendationErrors;
|
|
1058
|
+
}
|
|
753
1059
|
export interface GetEffectiveRecommendationPreferencesRequest {
|
|
754
1060
|
/**
|
|
755
1061
|
* The Amazon Resource Name (ARN) of the resource for which to confirm effective recommendation preferences. Only EC2 instance and Auto Scaling group ARNs are currently supported.
|
|
@@ -1152,11 +1458,22 @@ declare namespace ComputeOptimizer {
|
|
|
1152
1458
|
export type LastUpdatedTimestamp = Date;
|
|
1153
1459
|
export type LookBackPeriodInDays = number;
|
|
1154
1460
|
export type Low = number;
|
|
1461
|
+
export type LowerBoundValue = number;
|
|
1155
1462
|
export type MaxResults = number;
|
|
1156
1463
|
export type MaxSize = number;
|
|
1157
1464
|
export type Medium = number;
|
|
1158
1465
|
export type MemberAccountsEnrolled = boolean;
|
|
1159
1466
|
export type MemorySize = number;
|
|
1467
|
+
export interface MemorySizeConfiguration {
|
|
1468
|
+
/**
|
|
1469
|
+
* The amount of memory in the container.
|
|
1470
|
+
*/
|
|
1471
|
+
memory?: NullableMemory;
|
|
1472
|
+
/**
|
|
1473
|
+
* The limit of memory reserve for the container.
|
|
1474
|
+
*/
|
|
1475
|
+
memoryReservation?: NullableMemoryReservation;
|
|
1476
|
+
}
|
|
1160
1477
|
export type Message = string;
|
|
1161
1478
|
export type MetadataKey = string;
|
|
1162
1479
|
export type MetricName = "Cpu"|"Memory"|"EBS_READ_OPS_PER_SECOND"|"EBS_WRITE_OPS_PER_SECOND"|"EBS_READ_BYTES_PER_SECOND"|"EBS_WRITE_BYTES_PER_SECOND"|"DISK_READ_OPS_PER_SECOND"|"DISK_WRITE_OPS_PER_SECOND"|"DISK_READ_BYTES_PER_SECOND"|"DISK_WRITE_BYTES_PER_SECOND"|"NETWORK_IN_BYTES_PER_SECOND"|"NETWORK_OUT_BYTES_PER_SECOND"|"NETWORK_PACKETS_IN_PER_SECOND"|"NETWORK_PACKETS_OUT_PER_SECOND"|string;
|
|
@@ -1166,6 +1483,9 @@ declare namespace ComputeOptimizer {
|
|
|
1166
1483
|
export type MigrationEffort = "VeryLow"|"Low"|"Medium"|"High"|string;
|
|
1167
1484
|
export type MinSize = number;
|
|
1168
1485
|
export type NextToken = string;
|
|
1486
|
+
export type NullableCpu = number;
|
|
1487
|
+
export type NullableMemory = number;
|
|
1488
|
+
export type NullableMemoryReservation = number;
|
|
1169
1489
|
export type NumberOfInvocations = number;
|
|
1170
1490
|
export type NumberOfMemberAccountsOptedIn = number;
|
|
1171
1491
|
export type PerformanceRisk = number;
|
|
@@ -1298,7 +1618,7 @@ declare namespace ComputeOptimizer {
|
|
|
1298
1618
|
recommendationSourceType?: RecommendationSourceType;
|
|
1299
1619
|
}
|
|
1300
1620
|
export type RecommendationSourceArn = string;
|
|
1301
|
-
export type RecommendationSourceType = "Ec2Instance"|"AutoScalingGroup"|"EbsVolume"|"LambdaFunction"|string;
|
|
1621
|
+
export type RecommendationSourceType = "Ec2Instance"|"AutoScalingGroup"|"EbsVolume"|"LambdaFunction"|"EcsService"|string;
|
|
1302
1622
|
export type RecommendationSources = RecommendationSource[];
|
|
1303
1623
|
export type RecommendationSummaries = RecommendationSummary[];
|
|
1304
1624
|
export interface RecommendationSummary {
|
|
@@ -1340,7 +1660,7 @@ declare namespace ComputeOptimizer {
|
|
|
1340
1660
|
}
|
|
1341
1661
|
export type RecommendedOptionProjectedMetrics = RecommendedOptionProjectedMetric[];
|
|
1342
1662
|
export type ResourceArn = string;
|
|
1343
|
-
export type ResourceType = "Ec2Instance"|"AutoScalingGroup"|"EbsVolume"|"LambdaFunction"|"NotApplicable"|string;
|
|
1663
|
+
export type ResourceType = "Ec2Instance"|"AutoScalingGroup"|"EbsVolume"|"LambdaFunction"|"NotApplicable"|"EcsService"|string;
|
|
1344
1664
|
export interface S3Destination {
|
|
1345
1665
|
/**
|
|
1346
1666
|
* The name of the Amazon S3 bucket used as the destination of an export file.
|
|
@@ -1388,6 +1708,30 @@ declare namespace ComputeOptimizer {
|
|
|
1388
1708
|
}
|
|
1389
1709
|
export type ScopeName = "Organization"|"AccountId"|"ResourceArn"|string;
|
|
1390
1710
|
export type ScopeValue = string;
|
|
1711
|
+
export type ServiceArn = string;
|
|
1712
|
+
export type ServiceArns = ServiceArn[];
|
|
1713
|
+
export interface ServiceConfiguration {
|
|
1714
|
+
/**
|
|
1715
|
+
* The amount of memory used by the tasks in the ECS service.
|
|
1716
|
+
*/
|
|
1717
|
+
memory?: NullableMemory;
|
|
1718
|
+
/**
|
|
1719
|
+
* The number of CPU units used by the tasks in the ECS service.
|
|
1720
|
+
*/
|
|
1721
|
+
cpu?: NullableCpu;
|
|
1722
|
+
/**
|
|
1723
|
+
* The container configurations within a task of an ECS service.
|
|
1724
|
+
*/
|
|
1725
|
+
containerConfigurations?: ContainerConfigurations;
|
|
1726
|
+
/**
|
|
1727
|
+
* Describes the Auto Scaling configuration methods for an Amazon ECS service. This affects the generated recommendations. For example, if Auto Scaling is configured on a ECS service’s CPU, then Compute Optimizer doesn’t generate CPU size recommendations. The Auto Scaling configuration methods include: TARGET_TRACKING_SCALING_CPU — If the ECS service is configured to use target scaling on CPU, Compute Optimizer doesn't generate CPU recommendations. TARGET_TRACKING_SCALING_MEMORY — If the ECS service is configured to use target scaling on memory, Compute Optimizer doesn't generate memory recommendations. For more information about step scaling and target scaling, see Step scaling policies for Application Auto Scaling and Target tracking scaling policies for Application Auto Scaling in the Application Auto Scaling User Guide.
|
|
1728
|
+
*/
|
|
1729
|
+
autoScalingConfiguration?: AutoScalingConfiguration;
|
|
1730
|
+
/**
|
|
1731
|
+
* The task definition ARN used by the tasks in the ECS service.
|
|
1732
|
+
*/
|
|
1733
|
+
taskDefinitionArn?: TaskDefinitionArn;
|
|
1734
|
+
}
|
|
1391
1735
|
export type Status = "Active"|"Inactive"|"Pending"|"Failed"|string;
|
|
1392
1736
|
export type StatusReason = string;
|
|
1393
1737
|
export type Summaries = Summary[];
|
|
@@ -1406,6 +1750,7 @@ declare namespace ComputeOptimizer {
|
|
|
1406
1750
|
reasonCodeSummaries?: ReasonCodeSummaries;
|
|
1407
1751
|
}
|
|
1408
1752
|
export type SummaryValue = number;
|
|
1753
|
+
export type TaskDefinitionArn = string;
|
|
1409
1754
|
export type Timestamp = Date;
|
|
1410
1755
|
export type Timestamps = Timestamp[];
|
|
1411
1756
|
export interface UpdateEnrollmentStatusRequest {
|
|
@@ -1428,6 +1773,7 @@ declare namespace ComputeOptimizer {
|
|
|
1428
1773
|
*/
|
|
1429
1774
|
statusReason?: StatusReason;
|
|
1430
1775
|
}
|
|
1776
|
+
export type UpperBoundValue = number;
|
|
1431
1777
|
export interface UtilizationMetric {
|
|
1432
1778
|
/**
|
|
1433
1779
|
* The name of the utilization metric. The following utilization metrics are available: Cpu - The percentage of allocated EC2 compute units that are currently in use on the instance. This metric identifies the processing power required to run an application on the instance. Depending on the instance type, tools in your operating system can show a lower percentage than CloudWatch when the instance is not allocated a full processor core. Units: Percent Memory - The percentage of memory that is currently in use on the instance. This metric identifies the amount of memory required to run an application on the instance. Units: Percent The Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent. EBS_READ_OPS_PER_SECOND - The completed read operations from all EBS volumes attached to the instance in a specified period of time. Unit: Count EBS_WRITE_OPS_PER_SECOND - The completed write operations to all EBS volumes attached to the instance in a specified period of time. Unit: Count EBS_READ_BYTES_PER_SECOND - The bytes read from all EBS volumes attached to the instance in a specified period of time. Unit: Bytes EBS_WRITE_BYTES_PER_SECOND - The bytes written to all EBS volumes attached to the instance in a specified period of time. Unit: Bytes DISK_READ_OPS_PER_SECOND - The completed read operations from all instance store volumes available to the instance in a specified period of time. If there are no instance store volumes, either the value is 0 or the metric is not reported. DISK_WRITE_OPS_PER_SECOND - The completed write operations from all instance store volumes available to the instance in a specified period of time. If there are no instance store volumes, either the value is 0 or the metric is not reported. DISK_READ_BYTES_PER_SECOND - The bytes read from all instance store volumes available to the instance. This metric is used to determine the volume of the data the application reads from the disk of the instance. This can be used to determine the speed of the application. If there are no instance store volumes, either the value is 0 or the metric is not reported. DISK_WRITE_BYTES_PER_SECOND - The bytes written to all instance store volumes available to the instance. This metric is used to determine the volume of the data the application writes onto the disk of the instance. This can be used to determine the speed of the application. If there are no instance store volumes, either the value is 0 or the metric is not reported. NETWORK_IN_BYTES_PER_SECOND - The number of bytes received by the instance on all network interfaces. This metric identifies the volume of incoming network traffic to a single instance. NETWORK_OUT_BYTES_PER_SECOND - The number of bytes sent out by the instance on all network interfaces. This metric identifies the volume of outgoing network traffic from a single instance. NETWORK_PACKETS_IN_PER_SECOND - The number of packets received by the instance on all network interfaces. This metric identifies the volume of incoming traffic in terms of the number of packets on a single instance. NETWORK_PACKETS_OUT_PER_SECOND - The number of packets sent out by the instance on all network interfaces. This metric identifies the volume of outgoing traffic in terms of the number of packets on a single instance.
|