@aws-sdk/client-auto-scaling 3.204.0 → 3.205.0
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/CHANGELOG.md +3292 -0
- package/dist-cjs/models/models_0.js +7 -3
- package/dist-cjs/protocols/Aws_query.js +70 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_query.js +70 -0
- package/dist-types/AutoScaling.d.ts +15 -4
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +9 -4
- package/dist-types/models/models_0.d.ts +181 -91
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +1 -1
|
@@ -493,7 +493,9 @@ export interface LifecycleHookSpecification {
|
|
|
493
493
|
RoleARN?: string;
|
|
494
494
|
}
|
|
495
495
|
/**
|
|
496
|
-
* <p>
|
|
496
|
+
* <p>Use this structure to specify the distribution of On-Demand Instances and Spot
|
|
497
|
+
* Instances and the allocation strategies used to fulfill On-Demand and Spot capacities
|
|
498
|
+
* for a mixed instances policy.</p>
|
|
497
499
|
*/
|
|
498
500
|
export interface InstancesDistribution {
|
|
499
501
|
/**
|
|
@@ -560,12 +562,14 @@ export interface InstancesDistribution {
|
|
|
560
562
|
SpotInstancePools?: number;
|
|
561
563
|
/**
|
|
562
564
|
* <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. If
|
|
563
|
-
*
|
|
564
|
-
*
|
|
565
|
-
*
|
|
565
|
+
* your maximum price is lower than the Spot price for the instance types that you
|
|
566
|
+
* selected, your Spot Instances are not launched. We do not recommend specifying a maximum
|
|
567
|
+
* price because it can lead to increased interruptions. When Spot Instances launch, you
|
|
568
|
+
* pay the current Spot price. To remove a maximum price that you previously set, include
|
|
569
|
+
* the property but specify an empty string ("") for the value.</p>
|
|
566
570
|
* <important>
|
|
567
|
-
* <p>If
|
|
568
|
-
*
|
|
571
|
+
* <p>If you specify a maximum price, your instances will be interrupted more frequently
|
|
572
|
+
* than if you do not specify one.</p>
|
|
569
573
|
* </important>
|
|
570
574
|
* <p>Valid Range: Minimum value of 0.001</p>
|
|
571
575
|
*/
|
|
@@ -641,6 +645,27 @@ export interface MemoryMiBRequest {
|
|
|
641
645
|
*/
|
|
642
646
|
Max?: number;
|
|
643
647
|
}
|
|
648
|
+
/**
|
|
649
|
+
* <p>Specifies the minimum and maximum for the <code>NetworkBandwidthGbps</code> object
|
|
650
|
+
* when you specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
|
|
651
|
+
* <note>
|
|
652
|
+
* <p>Setting the minimum bandwidth does not guarantee that your instance will achieve
|
|
653
|
+
* the minimum bandwidth. Amazon EC2 will identify instance types that support the specified
|
|
654
|
+
* minimum bandwidth, but the actual bandwidth of your instance might go below the
|
|
655
|
+
* specified minimum at times. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth">Available instance bandwidth</a> in the
|
|
656
|
+
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
657
|
+
* </note>
|
|
658
|
+
*/
|
|
659
|
+
export interface NetworkBandwidthGbpsRequest {
|
|
660
|
+
/**
|
|
661
|
+
* <p>The minimum amount of network bandwidth, in gigabits per second (Gbps).</p>
|
|
662
|
+
*/
|
|
663
|
+
Min?: number;
|
|
664
|
+
/**
|
|
665
|
+
* <p>The maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
|
|
666
|
+
*/
|
|
667
|
+
Max?: number;
|
|
668
|
+
}
|
|
644
669
|
/**
|
|
645
670
|
* <p>Specifies the minimum and maximum for the <code>NetworkInterfaceCount</code> object
|
|
646
671
|
* when you specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
|
|
@@ -684,16 +709,38 @@ export interface VCpuCountRequest {
|
|
|
684
709
|
Max?: number;
|
|
685
710
|
}
|
|
686
711
|
/**
|
|
687
|
-
* <p>
|
|
688
|
-
* specified
|
|
712
|
+
* <p>The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your
|
|
713
|
+
* specified requirements to identify instance types. Then, it uses your On-Demand and Spot
|
|
714
|
+
* allocation strategies to launch instances from these instance types.</p>
|
|
715
|
+
* <p>When you specify multiple attributes, you get instance types that satisfy all of the
|
|
716
|
+
* specified attributes. If you specify multiple values for an attribute, you get instance
|
|
689
717
|
* types that satisfy any of the specified values.</p>
|
|
690
|
-
*
|
|
691
|
-
*
|
|
692
|
-
*
|
|
693
|
-
*
|
|
694
|
-
*
|
|
718
|
+
* <p>To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance
|
|
719
|
+
* types, you can use one of the following parameters, but not both in the same
|
|
720
|
+
* request:</p>
|
|
721
|
+
* <ul>
|
|
722
|
+
* <li>
|
|
723
|
+
* <p>
|
|
724
|
+
* <code>AllowedInstanceTypes</code> - The instance types to include in the list.
|
|
725
|
+
* All other instance types are ignored, even if they match your specified
|
|
726
|
+
* attributes.</p>
|
|
727
|
+
* </li>
|
|
728
|
+
* <li>
|
|
729
|
+
* <p>
|
|
730
|
+
* <code>ExcludedInstanceTypes</code> - The instance types to exclude from the
|
|
731
|
+
* list, even if they match your specified attributes.</p>
|
|
732
|
+
* </li>
|
|
733
|
+
* </ul>
|
|
734
|
+
* <note>
|
|
735
|
+
* <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other
|
|
736
|
+
* attributes are optional. Any unspecified optional attribute is set to its
|
|
737
|
+
* default.</p>
|
|
738
|
+
* </note>
|
|
739
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html">Creating
|
|
695
740
|
* an Auto Scaling group using attribute-based instance type selection</a> in the
|
|
696
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i
|
|
741
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>. For help determining which instance types match
|
|
742
|
+
* your attributes before you apply them to your Auto Scaling group, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements">Preview instance types with specified attributes</a> in the
|
|
743
|
+
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
697
744
|
*/
|
|
698
745
|
export interface InstanceRequirements {
|
|
699
746
|
/**
|
|
@@ -728,17 +775,22 @@ export interface InstanceRequirements {
|
|
|
728
775
|
CpuManufacturers?: (CpuManufacturer | string)[];
|
|
729
776
|
/**
|
|
730
777
|
* <p>The minimum and maximum amount of memory per vCPU for an instance type, in GiB.</p>
|
|
731
|
-
* <p>Default: No minimum or maximum</p>
|
|
778
|
+
* <p>Default: No minimum or maximum limits</p>
|
|
732
779
|
*/
|
|
733
780
|
MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
|
|
734
781
|
/**
|
|
735
|
-
* <p>
|
|
736
|
-
*
|
|
737
|
-
*
|
|
782
|
+
* <p>The instance types to exclude. You can use strings with one or more wild cards,
|
|
783
|
+
* represented by an asterisk (<code>*</code>), to exclude an instance family, type, size,
|
|
784
|
+
* or generation. The following are examples: <code>m5.8xlarge</code>, <code>c5*.*</code>,
|
|
785
|
+
* <code>m5a.*</code>, <code>r*</code>, <code>*3*</code>. </p>
|
|
738
786
|
* <p>For example, if you specify <code>c5*</code>, you are excluding the entire C5 instance
|
|
739
787
|
* family, which includes all C5a and C5n instance types. If you specify
|
|
740
|
-
* <code>m5a.*</code>,
|
|
788
|
+
* <code>m5a.*</code>, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n
|
|
741
789
|
* instance types.</p>
|
|
790
|
+
* <note>
|
|
791
|
+
* <p>If you specify <code>ExcludedInstanceTypes</code>, you can't specify
|
|
792
|
+
* <code>AllowedInstanceTypes</code>.</p>
|
|
793
|
+
* </note>
|
|
742
794
|
* <p>Default: No excluded instance types</p>
|
|
743
795
|
*/
|
|
744
796
|
ExcludedInstanceTypes?: string[];
|
|
@@ -799,8 +851,7 @@ export interface InstanceRequirements {
|
|
|
799
851
|
/**
|
|
800
852
|
* <p>Indicates whether burstable performance instance types are included, excluded, or
|
|
801
853
|
* required. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
|
|
802
|
-
* performance instances</a> in the <i>Amazon EC2 User Guide for Linux
|
|
803
|
-
* Instances</i>.</p>
|
|
854
|
+
* performance instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
804
855
|
* <p>Default: <code>excluded</code>
|
|
805
856
|
* </p>
|
|
806
857
|
*/
|
|
@@ -814,7 +865,7 @@ export interface InstanceRequirements {
|
|
|
814
865
|
RequireHibernateSupport?: boolean;
|
|
815
866
|
/**
|
|
816
867
|
* <p>The minimum and maximum number of network interfaces for an instance type.</p>
|
|
817
|
-
* <p>Default: No minimum or maximum</p>
|
|
868
|
+
* <p>Default: No minimum or maximum limits</p>
|
|
818
869
|
*/
|
|
819
870
|
NetworkInterfaceCount?: NetworkInterfaceCountRequest;
|
|
820
871
|
/**
|
|
@@ -842,14 +893,14 @@ export interface InstanceRequirements {
|
|
|
842
893
|
LocalStorageTypes?: (LocalStorageType | string)[];
|
|
843
894
|
/**
|
|
844
895
|
* <p>The minimum and maximum total local storage size for an instance type, in GB.</p>
|
|
845
|
-
* <p>Default: No minimum or maximum</p>
|
|
896
|
+
* <p>Default: No minimum or maximum limits</p>
|
|
846
897
|
*/
|
|
847
898
|
TotalLocalStorageGB?: TotalLocalStorageGBRequest;
|
|
848
899
|
/**
|
|
849
900
|
* <p>The minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
|
|
850
901
|
* For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon EBS–optimized instances</a>
|
|
851
902
|
* in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
852
|
-
* <p>Default: No minimum or maximum</p>
|
|
903
|
+
* <p>Default: No minimum or maximum limits</p>
|
|
853
904
|
*/
|
|
854
905
|
BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
|
|
855
906
|
/**
|
|
@@ -874,7 +925,7 @@ export interface InstanceRequirements {
|
|
|
874
925
|
* chips) for an instance type.</p>
|
|
875
926
|
* <p>To exclude accelerator-enabled instance types, set <code>Max</code> to
|
|
876
927
|
* <code>0</code>.</p>
|
|
877
|
-
* <p>Default: No minimum or maximum</p>
|
|
928
|
+
* <p>Default: No minimum or maximum limits</p>
|
|
878
929
|
*/
|
|
879
930
|
AcceleratorCount?: AcceleratorCountRequest;
|
|
880
931
|
/**
|
|
@@ -930,71 +981,132 @@ export interface InstanceRequirements {
|
|
|
930
981
|
/**
|
|
931
982
|
* <p>The minimum and maximum total memory size for the accelerators on an instance type, in
|
|
932
983
|
* MiB.</p>
|
|
933
|
-
* <p>Default: No minimum or maximum</p>
|
|
984
|
+
* <p>Default: No minimum or maximum limits</p>
|
|
934
985
|
*/
|
|
935
986
|
AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
|
|
987
|
+
/**
|
|
988
|
+
* <p>The minimum and maximum amount of network bandwidth, in gigabits per second
|
|
989
|
+
* (Gbps).</p>
|
|
990
|
+
* <p>Default: No minimum or maximum limits</p>
|
|
991
|
+
*/
|
|
992
|
+
NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
|
|
993
|
+
/**
|
|
994
|
+
* <p>The instance types to apply your specified attributes against. All other instance
|
|
995
|
+
* types are ignored, even if they match your specified attributes.</p>
|
|
996
|
+
* <p>You can use strings with one or more wild cards, represented by an asterisk
|
|
997
|
+
* (<code>*</code>), to allow an instance type, size, or generation. The following are
|
|
998
|
+
* examples: <code>m5.8xlarge</code>, <code>c5*.*</code>, <code>m5a.*</code>,
|
|
999
|
+
* <code>r*</code>, <code>*3*</code>.</p>
|
|
1000
|
+
* <p>For example, if you specify <code>c5*</code>, Amazon EC2 Auto Scaling will allow the entire C5
|
|
1001
|
+
* instance family, which includes all C5a and C5n instance types. If you specify
|
|
1002
|
+
* <code>m5a.*</code>, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n
|
|
1003
|
+
* instance types.</p>
|
|
1004
|
+
* <note>
|
|
1005
|
+
* <p>If you specify <code>AllowedInstanceTypes</code>, you can't specify
|
|
1006
|
+
* <code>ExcludedInstanceTypes</code>.</p>
|
|
1007
|
+
* </note>
|
|
1008
|
+
* <p>Default: All instance types</p>
|
|
1009
|
+
*/
|
|
1010
|
+
AllowedInstanceTypes?: string[];
|
|
936
1011
|
}
|
|
937
1012
|
/**
|
|
938
|
-
* <p>
|
|
1013
|
+
* <p>Use this structure to let Amazon EC2 Auto Scaling do the following when the Auto Scaling group has a mixed
|
|
1014
|
+
* instances policy:</p>
|
|
1015
|
+
* <ul>
|
|
1016
|
+
* <li>
|
|
1017
|
+
* <p>Override the instance type that is specified in the launch template.</p>
|
|
1018
|
+
* </li>
|
|
1019
|
+
* <li>
|
|
1020
|
+
* <p>Use multiple instance types.</p>
|
|
1021
|
+
* </li>
|
|
1022
|
+
* </ul>
|
|
1023
|
+
* <p>Specify the instance types that you want, or define your instance requirements instead
|
|
1024
|
+
* and let Amazon EC2 Auto Scaling provision the available instance types that meet your requirements.
|
|
1025
|
+
* This can provide Amazon EC2 Auto Scaling with a larger selection of instance types to choose from when
|
|
1026
|
+
* fulfilling Spot and On-Demand capacities. You can view which instance types are matched
|
|
1027
|
+
* before you apply the instance requirements to your Auto Scaling group.</p>
|
|
1028
|
+
* <p>After you define your instance requirements, you don't have to keep updating these
|
|
1029
|
+
* settings to get new EC2 instance types automatically. Amazon EC2 Auto Scaling uses the instance
|
|
1030
|
+
* requirements of the Auto Scaling group to determine whether a new EC2 instance type can be
|
|
1031
|
+
* used.</p>
|
|
939
1032
|
*/
|
|
940
1033
|
export interface LaunchTemplateOverrides {
|
|
941
1034
|
/**
|
|
942
|
-
* <p>The instance type, such as <code>m3.xlarge</code>. You must
|
|
943
|
-
* is supported in your requested Region and Availability Zones. For more information,
|
|
944
|
-
*
|
|
1035
|
+
* <p>The instance type, such as <code>m3.xlarge</code>. You must specify an instance type
|
|
1036
|
+
* that is supported in your requested Region and Availability Zones. For more information,
|
|
1037
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon Elastic Compute Cloud User
|
|
945
1038
|
* Guide</i>.</p>
|
|
1039
|
+
* <p>You can specify up to 40 instance types per Auto Scaling group.</p>
|
|
946
1040
|
*/
|
|
947
1041
|
InstanceType?: string;
|
|
948
1042
|
/**
|
|
949
|
-
* <p>
|
|
950
|
-
*
|
|
951
|
-
* other relative performance characteristic. When a Spot or On-Demand
|
|
952
|
-
* launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling
|
|
953
|
-
* instances until the desired capacity is totally fulfilled, even if this results
|
|
954
|
-
* overage. For example, if there are two units remaining to fulfill capacity, and
|
|
955
|
-
* can only launch an instance with a <code>WeightedCapacity</code> of five units,
|
|
956
|
-
* instance is launched, and the desired capacity is exceeded by three units. For more
|
|
1043
|
+
* <p>If you provide a list of instance types to use, you can specify the number of capacity
|
|
1044
|
+
* units provided by each instance type in terms of virtual CPUs, memory, storage,
|
|
1045
|
+
* throughput, or other relative performance characteristic. When a Spot or On-Demand
|
|
1046
|
+
* Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling
|
|
1047
|
+
* launches instances until the desired capacity is totally fulfilled, even if this results
|
|
1048
|
+
* in an overage. For example, if there are two units remaining to fulfill capacity, and
|
|
1049
|
+
* Amazon EC2 Auto Scaling can only launch an instance with a <code>WeightedCapacity</code> of five units,
|
|
1050
|
+
* the instance is launched, and the desired capacity is exceeded by three units. For more
|
|
957
1051
|
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html">Configuring instance weighting for Amazon EC2 Auto Scaling</a> in the
|
|
958
1052
|
* <i>Amazon EC2 Auto Scaling User Guide</i>. Value must be in the range of 1–999.</p>
|
|
1053
|
+
* <p>If you specify a value for <code>WeightedCapacity</code> for one instance type, you
|
|
1054
|
+
* must specify a value for <code>WeightedCapacity</code> for all of them.</p>
|
|
1055
|
+
* <important>
|
|
1056
|
+
* <p>Every Auto Scaling group has three size parameters (<code>DesiredCapacity</code>,
|
|
1057
|
+
* <code>MaxSize</code>, and <code>MinSize</code>). Usually, you set these sizes
|
|
1058
|
+
* based on a specific number of instances. However, if you configure a mixed instances
|
|
1059
|
+
* policy that defines weights for the instance types, you must specify these sizes
|
|
1060
|
+
* with the same units that you use for weighting instances. </p>
|
|
1061
|
+
* </important>
|
|
959
1062
|
*/
|
|
960
1063
|
WeightedCapacity?: string;
|
|
961
1064
|
/**
|
|
962
|
-
* <p>Provides a launch template for the specified instance type or instance
|
|
963
|
-
* For example, some instance types might require a launch template with a
|
|
964
|
-
* If not provided, Amazon EC2 Auto Scaling uses the launch template that's
|
|
965
|
-
*
|
|
1065
|
+
* <p>Provides a launch template for the specified instance type or set of instance
|
|
1066
|
+
* requirements. For example, some instance types might require a launch template with a
|
|
1067
|
+
* different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in
|
|
1068
|
+
* the <code>LaunchTemplate</code> definition. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-launch-template-overrides.html">Specifying a different launch template for an instance type</a> in the
|
|
966
1069
|
* <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
1070
|
+
* <p>You can specify up to 20 launch templates per Auto Scaling group. The launch templates
|
|
1071
|
+
* specified in the overrides and in the <code>LaunchTemplate</code> definition count
|
|
1072
|
+
* towards this limit.</p>
|
|
967
1073
|
*/
|
|
968
1074
|
LaunchTemplateSpecification?: LaunchTemplateSpecification;
|
|
969
1075
|
/**
|
|
970
|
-
* <p>The instance requirements.
|
|
971
|
-
* instance types
|
|
972
|
-
*
|
|
973
|
-
*
|
|
1076
|
+
* <p>The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify
|
|
1077
|
+
* instance types. Then, it uses your On-Demand and Spot allocation strategies to launch
|
|
1078
|
+
* instances from these instance types.</p>
|
|
1079
|
+
* <p>You can specify up to four separate sets of instance requirements per Auto Scaling group. This
|
|
1080
|
+
* is useful for provisioning instances from different Amazon Machine Images (AMIs) in the
|
|
1081
|
+
* same Auto Scaling group. To do this, create the AMIs and create a new launch template for each
|
|
1082
|
+
* AMI. Then, create a compatible set of instance requirements for each launch template.
|
|
1083
|
+
* </p>
|
|
1084
|
+
* <note>
|
|
1085
|
+
* <p>If you specify <code>InstanceRequirements</code>, you can't specify
|
|
1086
|
+
* <code>InstanceType</code>.</p>
|
|
1087
|
+
* </note>
|
|
974
1088
|
*/
|
|
975
1089
|
InstanceRequirements?: InstanceRequirements;
|
|
976
1090
|
}
|
|
977
1091
|
/**
|
|
978
|
-
* <p>
|
|
979
|
-
* mixed instances policy
|
|
1092
|
+
* <p>Use this structure to specify the launch templates and instance types (overrides) for
|
|
1093
|
+
* a mixed instances policy.</p>
|
|
980
1094
|
*/
|
|
981
1095
|
export interface LaunchTemplate {
|
|
982
1096
|
/**
|
|
983
|
-
* <p>The launch template
|
|
1097
|
+
* <p>The launch template.</p>
|
|
984
1098
|
*/
|
|
985
1099
|
LaunchTemplateSpecification?: LaunchTemplateSpecification;
|
|
986
1100
|
/**
|
|
987
|
-
* <p>Any properties that you specify override the same properties in the launch
|
|
988
|
-
*
|
|
989
|
-
* in the launch template when it launches an instance.</p>
|
|
990
|
-
* <p>The overrides can include either one or more instance types or a set of instance
|
|
991
|
-
* requirements, but not both.</p>
|
|
1101
|
+
* <p>Any properties that you specify override the same properties in the launch
|
|
1102
|
+
* template.</p>
|
|
992
1103
|
*/
|
|
993
1104
|
Overrides?: LaunchTemplateOverrides[];
|
|
994
1105
|
}
|
|
995
1106
|
/**
|
|
996
|
-
* <p>
|
|
997
|
-
*
|
|
1107
|
+
* <p>Use this structure to launch multiple instance types and On-Demand Instances and Spot
|
|
1108
|
+
* Instances within a single Auto Scaling group.</p>
|
|
1109
|
+
* <p>A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch
|
|
998
1110
|
* instances and help optimize your costs. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
|
|
999
1111
|
* groups with multiple instance types and purchase options</a> in the
|
|
1000
1112
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
@@ -1064,11 +1176,7 @@ export interface CreateAutoScalingGroupType {
|
|
|
1064
1176
|
*/
|
|
1065
1177
|
LaunchTemplate?: LaunchTemplateSpecification;
|
|
1066
1178
|
/**
|
|
1067
|
-
* <p>
|
|
1068
|
-
*
|
|
1069
|
-
*
|
|
1070
|
-
*
|
|
1071
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
|
|
1179
|
+
* <p>The mixed instances policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
|
|
1072
1180
|
* groups with multiple instance types and purchase options</a> in the
|
|
1073
1181
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1074
1182
|
*/
|
|
@@ -1482,24 +1590,11 @@ export interface CreateLaunchConfigurationType {
|
|
|
1482
1590
|
*/
|
|
1483
1591
|
SecurityGroups?: string[];
|
|
1484
1592
|
/**
|
|
1485
|
-
* <p>
|
|
1486
|
-
* <i>EC2-Classic retires on August 15, 2022. This property is not supported after
|
|
1487
|
-
* that date.</i>
|
|
1488
|
-
* </p>
|
|
1489
|
-
* <p>The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more
|
|
1490
|
-
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html">ClassicLink</a> in the
|
|
1491
|
-
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
1593
|
+
* <p>Available for backward compatibility.</p>
|
|
1492
1594
|
*/
|
|
1493
1595
|
ClassicLinkVPCId?: string;
|
|
1494
1596
|
/**
|
|
1495
|
-
* <p>
|
|
1496
|
-
* <i>EC2-Classic retires on August 15, 2022. This property is not supported after
|
|
1497
|
-
* that date.</i>
|
|
1498
|
-
* </p>
|
|
1499
|
-
* <p>The IDs of one or more security groups for the specified ClassicLink-enabled
|
|
1500
|
-
* VPC.</p>
|
|
1501
|
-
* <p>If you specify the <code>ClassicLinkVPCId</code> property, you must specify
|
|
1502
|
-
* <code>ClassicLinkVPCSecurityGroups</code>.</p>
|
|
1597
|
+
* <p>Available for backward compatibility.</p>
|
|
1503
1598
|
*/
|
|
1504
1599
|
ClassicLinkVPCSecurityGroups?: string[];
|
|
1505
1600
|
/**
|
|
@@ -2432,8 +2527,9 @@ export interface DesiredConfiguration {
|
|
|
2432
2527
|
*/
|
|
2433
2528
|
LaunchTemplate?: LaunchTemplateSpecification;
|
|
2434
2529
|
/**
|
|
2435
|
-
* <p>
|
|
2436
|
-
*
|
|
2530
|
+
* <p>Use this structure to launch multiple instance types and On-Demand Instances and Spot
|
|
2531
|
+
* Instances within a single Auto Scaling group.</p>
|
|
2532
|
+
* <p>A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch
|
|
2437
2533
|
* instances and help optimize your costs. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
|
|
2438
2534
|
* groups with multiple instance types and purchase options</a> in the
|
|
2439
2535
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
@@ -2720,20 +2816,11 @@ export interface LaunchConfiguration {
|
|
|
2720
2816
|
*/
|
|
2721
2817
|
SecurityGroups?: string[];
|
|
2722
2818
|
/**
|
|
2723
|
-
* <p>
|
|
2724
|
-
* <i>EC2-Classic retires on August 15, 2022. This property is not supported after
|
|
2725
|
-
* that date.</i>
|
|
2726
|
-
* </p>
|
|
2727
|
-
* <p>The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to.</p>
|
|
2819
|
+
* <p>Available for backward compatibility.</p>
|
|
2728
2820
|
*/
|
|
2729
2821
|
ClassicLinkVPCId?: string;
|
|
2730
2822
|
/**
|
|
2731
|
-
* <p>
|
|
2732
|
-
* <i>EC2-Classic retires on August 15, 2022. This property is not supported after
|
|
2733
|
-
* that date.</i>
|
|
2734
|
-
* </p>
|
|
2735
|
-
* <p>The IDs of one or more security groups for the VPC specified in
|
|
2736
|
-
* <code>ClassicLinkVPCId</code>.</p>
|
|
2823
|
+
* <p>Available for backward compatibility.</p>
|
|
2737
2824
|
*/
|
|
2738
2825
|
ClassicLinkVPCSecurityGroups?: string[];
|
|
2739
2826
|
/**
|
|
@@ -5340,8 +5427,7 @@ export interface UpdateAutoScalingGroupType {
|
|
|
5340
5427
|
*/
|
|
5341
5428
|
LaunchTemplate?: LaunchTemplateSpecification;
|
|
5342
5429
|
/**
|
|
5343
|
-
* <p>
|
|
5344
|
-
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
|
|
5430
|
+
* <p>The mixed instances policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
|
|
5345
5431
|
* groups with multiple instance types and purchase options</a> in the
|
|
5346
5432
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
5347
5433
|
*/
|
|
@@ -5604,6 +5690,10 @@ export declare const MemoryGiBPerVCpuRequestFilterSensitiveLog: (obj: MemoryGiBP
|
|
|
5604
5690
|
* @internal
|
|
5605
5691
|
*/
|
|
5606
5692
|
export declare const MemoryMiBRequestFilterSensitiveLog: (obj: MemoryMiBRequest) => any;
|
|
5693
|
+
/**
|
|
5694
|
+
* @internal
|
|
5695
|
+
*/
|
|
5696
|
+
export declare const NetworkBandwidthGbpsRequestFilterSensitiveLog: (obj: NetworkBandwidthGbpsRequest) => any;
|
|
5607
5697
|
/**
|
|
5608
5698
|
* @internal
|
|
5609
5699
|
*/
|
|
@@ -223,6 +223,10 @@ export interface MemoryMiBRequest {
|
|
|
223
223
|
Min: number | undefined;
|
|
224
224
|
Max?: number;
|
|
225
225
|
}
|
|
226
|
+
export interface NetworkBandwidthGbpsRequest {
|
|
227
|
+
Min?: number;
|
|
228
|
+
Max?: number;
|
|
229
|
+
}
|
|
226
230
|
export interface NetworkInterfaceCountRequest {
|
|
227
231
|
Min?: number;
|
|
228
232
|
Max?: number;
|
|
@@ -257,6 +261,8 @@ export interface InstanceRequirements {
|
|
|
257
261
|
AcceleratorManufacturers?: (AcceleratorManufacturer | string)[];
|
|
258
262
|
AcceleratorNames?: (AcceleratorName | string)[];
|
|
259
263
|
AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
|
|
264
|
+
NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
|
|
265
|
+
AllowedInstanceTypes?: string[];
|
|
260
266
|
}
|
|
261
267
|
export interface LaunchTemplateOverrides {
|
|
262
268
|
InstanceType?: string;
|
|
@@ -1204,6 +1210,9 @@ export declare const MemoryGiBPerVCpuRequestFilterSensitiveLog: (
|
|
|
1204
1210
|
export declare const MemoryMiBRequestFilterSensitiveLog: (
|
|
1205
1211
|
obj: MemoryMiBRequest
|
|
1206
1212
|
) => any;
|
|
1213
|
+
export declare const NetworkBandwidthGbpsRequestFilterSensitiveLog: (
|
|
1214
|
+
obj: NetworkBandwidthGbpsRequest
|
|
1215
|
+
) => any;
|
|
1207
1216
|
export declare const NetworkInterfaceCountRequestFilterSensitiveLog: (
|
|
1208
1217
|
obj: NetworkInterfaceCountRequest
|
|
1209
1218
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.205.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|