@aws-sdk/client-ec2 3.205.0 → 3.207.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/dist-cjs/models/models_0.js +4 -0
- package/dist-cjs/models/models_3.js +2 -0
- package/dist-cjs/protocols/Aws_ec2.js +17 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/models/models_3.js +2 -0
- package/dist-es/protocols/Aws_ec2.js +17 -0
- package/dist-types/EC2.d.ts +43 -37
- package/dist-types/commands/AllocateHostsCommand.d.ts +3 -3
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +5 -5
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +3 -2
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +4 -4
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +5 -5
- package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +6 -5
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +4 -3
- package/dist-types/commands/ModifyHostsCommand.d.ts +8 -7
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +2 -2
- package/dist-types/commands/RunInstancesCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +28 -26
- package/dist-types/models/models_1.d.ts +65 -38
- package/dist-types/models/models_2.d.ts +8 -4
- package/dist-types/models/models_3.d.ts +50 -49
- package/dist-types/models/models_4.d.ts +13 -11
- package/dist-types/models/models_5.d.ts +41 -33
- package/dist-types/models/models_6.d.ts +24 -18
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +3 -0
- package/dist-types/ts3.4/models/models_3.d.ts +2 -0
- package/dist-types/ts3.4/models/models_5.d.ts +1 -0
- package/package.json +1 -1
- package/CHANGELOG.md +0 -3664
|
@@ -1923,11 +1923,10 @@ export declare enum HostRecovery {
|
|
|
1923
1923
|
}
|
|
1924
1924
|
export interface AllocateHostsRequest {
|
|
1925
1925
|
/**
|
|
1926
|
-
* <p>Indicates whether the host accepts any untargeted instance launches that
|
|
1927
|
-
*
|
|
1928
|
-
*
|
|
1929
|
-
*
|
|
1930
|
-
* Understanding auto-placement and affinity</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
1926
|
+
* <p>Indicates whether the host accepts any untargeted instance launches that match its
|
|
1927
|
+
* instance type configuration, or if it only accepts Host tenancy instance launches that
|
|
1928
|
+
* specify its unique host ID. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-understanding"> Understanding auto-placement and affinity</a> in the
|
|
1929
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
1931
1930
|
*
|
|
1932
1931
|
* <p>Default: <code>on</code>
|
|
1933
1932
|
* </p>
|
|
@@ -1942,29 +1941,28 @@ export interface AllocateHostsRequest {
|
|
|
1942
1941
|
*/
|
|
1943
1942
|
ClientToken?: string;
|
|
1944
1943
|
/**
|
|
1945
|
-
* <p>Specifies the instance type to be supported by the Dedicated Hosts. If you
|
|
1946
|
-
*
|
|
1947
|
-
*
|
|
1944
|
+
* <p>Specifies the instance type to be supported by the Dedicated Hosts. If you specify an
|
|
1945
|
+
* instance type, the Dedicated Hosts support instances of the specified instance type
|
|
1946
|
+
* only.</p>
|
|
1948
1947
|
*
|
|
1949
|
-
*
|
|
1950
|
-
*
|
|
1951
|
-
*
|
|
1952
|
-
* <b>InstanceFamily</b> in the same request.</p>
|
|
1948
|
+
* <p>If you want the Dedicated Hosts to support multiple instance types in a specific
|
|
1949
|
+
* instance family, omit this parameter and specify <b>InstanceFamily</b> instead. You cannot specify <b>InstanceType</b> and <b>InstanceFamily</b> in the
|
|
1950
|
+
* same request.</p>
|
|
1953
1951
|
*/
|
|
1954
1952
|
InstanceType?: string;
|
|
1955
1953
|
/**
|
|
1956
1954
|
* <p>Specifies the instance family to be supported by the Dedicated Hosts. If you specify
|
|
1957
|
-
*
|
|
1958
|
-
*
|
|
1955
|
+
* an instance family, the Dedicated Hosts support multiple instance types within that
|
|
1956
|
+
* instance family.</p>
|
|
1959
1957
|
*
|
|
1960
|
-
*
|
|
1961
|
-
*
|
|
1962
|
-
*
|
|
1963
|
-
* <b>InstanceType</b> in the same request.</p>
|
|
1958
|
+
* <p>If you want the Dedicated Hosts to support a specific instance type only, omit this
|
|
1959
|
+
* parameter and specify <b>InstanceType</b> instead. You cannot
|
|
1960
|
+
* specify <b>InstanceFamily</b> and <b>InstanceType</b> in the same request.</p>
|
|
1964
1961
|
*/
|
|
1965
1962
|
InstanceFamily?: string;
|
|
1966
1963
|
/**
|
|
1967
|
-
* <p>The number of Dedicated Hosts to allocate to your account with these
|
|
1964
|
+
* <p>The number of Dedicated Hosts to allocate to your account with these
|
|
1965
|
+
* parameters.</p>
|
|
1968
1966
|
*/
|
|
1969
1967
|
Quantity: number | undefined;
|
|
1970
1968
|
/**
|
|
@@ -1972,16 +1970,16 @@ export interface AllocateHostsRequest {
|
|
|
1972
1970
|
*/
|
|
1973
1971
|
TagSpecifications?: TagSpecification[];
|
|
1974
1972
|
/**
|
|
1975
|
-
* <p>Indicates whether to enable or disable host recovery for the Dedicated Host.
|
|
1976
|
-
*
|
|
1977
|
-
*
|
|
1978
|
-
*
|
|
1979
|
-
* <p>Default: <code>off</code>
|
|
1973
|
+
* <p>Indicates whether to enable or disable host recovery for the Dedicated Host. Host
|
|
1974
|
+
* recovery is disabled by default. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html"> Host recovery</a>
|
|
1975
|
+
* in the <i>Amazon EC2 User Guide</i>.</p>
|
|
1976
|
+
* <p>Default: <code>off</code>
|
|
1980
1977
|
* </p>
|
|
1981
1978
|
*/
|
|
1982
1979
|
HostRecovery?: HostRecovery | string;
|
|
1983
1980
|
/**
|
|
1984
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate
|
|
1981
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate
|
|
1982
|
+
* the Dedicated Host.</p>
|
|
1985
1983
|
*/
|
|
1986
1984
|
OutpostArn?: string;
|
|
1987
1985
|
}
|
|
@@ -1991,7 +1989,7 @@ export interface AllocateHostsRequest {
|
|
|
1991
1989
|
export interface AllocateHostsResult {
|
|
1992
1990
|
/**
|
|
1993
1991
|
* <p>The ID of the allocated Dedicated Host. This is used to launch an instance onto a
|
|
1994
|
-
*
|
|
1992
|
+
* specific host.</p>
|
|
1995
1993
|
*/
|
|
1996
1994
|
HostIds?: string[];
|
|
1997
1995
|
}
|
|
@@ -5373,9 +5371,13 @@ export declare enum _InstanceType {
|
|
|
5373
5371
|
t4g_nano = "t4g.nano",
|
|
5374
5372
|
t4g_small = "t4g.small",
|
|
5375
5373
|
t4g_xlarge = "t4g.xlarge",
|
|
5374
|
+
trn1_2xlarge = "trn1.2xlarge",
|
|
5375
|
+
trn1_32xlarge = "trn1.32xlarge",
|
|
5376
5376
|
u_12tb1_112xlarge = "u-12tb1.112xlarge",
|
|
5377
5377
|
u_12tb1_metal = "u-12tb1.metal",
|
|
5378
|
+
u_18tb1_112xlarge = "u-18tb1.112xlarge",
|
|
5378
5379
|
u_18tb1_metal = "u-18tb1.metal",
|
|
5380
|
+
u_24tb1_112xlarge = "u-24tb1.112xlarge",
|
|
5379
5381
|
u_24tb1_metal = "u-24tb1.metal",
|
|
5380
5382
|
u_3tb1_56xlarge = "u-3tb1.56xlarge",
|
|
5381
5383
|
u_6tb1_112xlarge = "u-6tb1.112xlarge",
|
|
@@ -864,6 +864,10 @@ export interface Placement {
|
|
|
864
864
|
* <p>This parameter is not supported by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
|
|
865
865
|
*/
|
|
866
866
|
HostResourceGroupArn?: string;
|
|
867
|
+
/**
|
|
868
|
+
* <p>The Group Id of the placement group.</p>
|
|
869
|
+
*/
|
|
870
|
+
GroupId?: string;
|
|
867
871
|
}
|
|
868
872
|
/**
|
|
869
873
|
* <p>Describes overrides for a launch template.</p>
|
|
@@ -2263,8 +2267,8 @@ export interface EbsBlockDevice {
|
|
|
2263
2267
|
Throughput?: number;
|
|
2264
2268
|
/**
|
|
2265
2269
|
* <p>The ARN of the Outpost on which the snapshot is stored.</p>
|
|
2266
|
-
* <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called
|
|
2267
|
-
*
|
|
2270
|
+
* <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called by
|
|
2271
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">
|
|
2268
2272
|
* CreateImage</a>.</p>
|
|
2269
2273
|
*/
|
|
2270
2274
|
OutpostArn?: string;
|
|
@@ -3323,7 +3327,8 @@ export interface LaunchTemplateCpuOptionsRequest {
|
|
|
3323
3327
|
CoreCount?: number;
|
|
3324
3328
|
/**
|
|
3325
3329
|
* <p>The number of threads per CPU core. To disable multithreading for the instance,
|
|
3326
|
-
* specify a value of <code>1</code>. Otherwise, specify the default value of
|
|
3330
|
+
* specify a value of <code>1</code>. Otherwise, specify the default value of
|
|
3331
|
+
* <code>2</code>.</p>
|
|
3327
3332
|
*/
|
|
3328
3333
|
ThreadsPerCore?: number;
|
|
3329
3334
|
}
|
|
@@ -3424,10 +3429,12 @@ export declare enum SpotInstanceType {
|
|
|
3424
3429
|
*/
|
|
3425
3430
|
export interface LaunchTemplateSpotMarketOptionsRequest {
|
|
3426
3431
|
/**
|
|
3427
|
-
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
3428
|
-
* using this parameter because it can lead to increased interruptions. If you do
|
|
3432
|
+
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
3433
|
+
* recommend using this parameter because it can lead to increased interruptions. If you do
|
|
3434
|
+
* not specify this parameter, you will pay the current Spot price.</p>
|
|
3429
3435
|
* <important>
|
|
3430
|
-
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
3436
|
+
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
3437
|
+
* frequently than if you do not specify this parameter.</p>
|
|
3431
3438
|
* </important>
|
|
3432
3439
|
*/
|
|
3433
3440
|
MaxPrice?: string;
|
|
@@ -3445,12 +3452,13 @@ export interface LaunchTemplateSpotMarketOptionsRequest {
|
|
|
3445
3452
|
* persistent requests.</p>
|
|
3446
3453
|
* <ul>
|
|
3447
3454
|
* <li>
|
|
3448
|
-
* <p>For a persistent request, the request remains active until the
|
|
3449
|
-
*
|
|
3455
|
+
* <p>For a persistent request, the request remains active until the
|
|
3456
|
+
* <code>ValidUntil</code> date and time is reached. Otherwise, the request
|
|
3457
|
+
* remains active until you cancel it.</p>
|
|
3450
3458
|
* </li>
|
|
3451
3459
|
* <li>
|
|
3452
|
-
* <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
|
|
3453
|
-
* all instances launch or you cancel the request.</p>
|
|
3460
|
+
* <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
|
|
3461
|
+
* remains active until all instances launch or you cancel the request.</p>
|
|
3454
3462
|
* </li>
|
|
3455
3463
|
* </ul>
|
|
3456
3464
|
* <p>Default: 7 days from the current date</p>
|
|
@@ -3761,6 +3769,11 @@ export interface LaunchTemplatePlacementRequest {
|
|
|
3761
3769
|
* group strategy is set to <code>partition</code>.</p>
|
|
3762
3770
|
*/
|
|
3763
3771
|
PartitionNumber?: number;
|
|
3772
|
+
/**
|
|
3773
|
+
* <p>The Group Id of a placement group. You must specify the Placement Group <b>Group Id</b> to launch an instance in a shared placement
|
|
3774
|
+
* group.</p>
|
|
3775
|
+
*/
|
|
3776
|
+
GroupId?: string;
|
|
3764
3777
|
}
|
|
3765
3778
|
/**
|
|
3766
3779
|
* <p>Describes the options for instance hostnames.</p>
|
|
@@ -3785,13 +3798,15 @@ export interface LaunchTemplatePrivateDnsNameOptionsRequest {
|
|
|
3785
3798
|
EnableResourceNameDnsAAAARecord?: boolean;
|
|
3786
3799
|
}
|
|
3787
3800
|
/**
|
|
3788
|
-
* <p>The tags specification for the resources that are created during instance
|
|
3801
|
+
* <p>The tags specification for the resources that are created during instance
|
|
3802
|
+
* launch.</p>
|
|
3789
3803
|
*/
|
|
3790
3804
|
export interface LaunchTemplateTagSpecificationRequest {
|
|
3791
3805
|
/**
|
|
3792
3806
|
* <p>The type of resource to tag.</p>
|
|
3793
|
-
* <p>The <code>Valid Values</code> are all the resource types that can be tagged. However,
|
|
3794
|
-
* a launch template, you can specify tags for the following resource types
|
|
3807
|
+
* <p>The <code>Valid Values</code> are all the resource types that can be tagged. However,
|
|
3808
|
+
* when creating a launch template, you can specify tags for the following resource types
|
|
3809
|
+
* only: <code>instance</code> | <code>volume</code> | <code>elastic-gpu</code> |
|
|
3795
3810
|
* <code>network-interface</code> | <code>spot-instances-request</code>
|
|
3796
3811
|
* </p>
|
|
3797
3812
|
* <p>To tag a resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
|
|
@@ -3893,8 +3908,9 @@ export interface RequestLaunchTemplateData {
|
|
|
3893
3908
|
InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string;
|
|
3894
3909
|
/**
|
|
3895
3910
|
* <p>The user data to make available to the instance. You must provide base64-encoded text.
|
|
3896
|
-
* User data is limited to 16 KB. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Run commands on your Linux instance
|
|
3897
|
-
*
|
|
3911
|
+
* User data is limited to 16 KB. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html">Run commands on your Linux instance at
|
|
3912
|
+
* launch</a> (Linux) or <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instancedata-add-user-data.html">Work with instance
|
|
3913
|
+
* user data</a> (Windows) in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
3898
3914
|
*
|
|
3899
3915
|
* <p>If you are creating the launch template for use with Batch, the user
|
|
3900
3916
|
* data must be provided in the <a href="https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive"> MIME multi-part archive format</a>. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html">Amazon EC2 user data in launch templates</a> in the <i>Batch User Guide</i>.</p>
|
|
@@ -3920,10 +3936,9 @@ export interface RequestLaunchTemplateData {
|
|
|
3920
3936
|
* <p>Network interfaces</p>
|
|
3921
3937
|
* </li>
|
|
3922
3938
|
* </ul>
|
|
3923
|
-
*
|
|
3939
|
+
* <p>To tag a resource after it has been created, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html">CreateTags</a>.</p>
|
|
3924
3940
|
* <note>
|
|
3925
|
-
* <p>To tag the launch template itself, you must use the
|
|
3926
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html">TagSpecification</a> parameter.</p>
|
|
3941
|
+
* <p>To tag the launch template itself, you must use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html">TagSpecification</a> parameter.</p>
|
|
3927
3942
|
* </note>
|
|
3928
3943
|
*/
|
|
3929
3944
|
TagSpecifications?: LaunchTemplateTagSpecificationRequest[];
|
|
@@ -3941,9 +3956,9 @@ export interface RequestLaunchTemplateData {
|
|
|
3941
3956
|
*/
|
|
3942
3957
|
SecurityGroupIds?: string[];
|
|
3943
3958
|
/**
|
|
3944
|
-
* <p>One or more security group names. For a nondefault VPC, you
|
|
3945
|
-
*
|
|
3946
|
-
*
|
|
3959
|
+
* <p>One or more security group names. For a nondefault VPC, you must use security group
|
|
3960
|
+
* IDs instead. You cannot specify both a security group ID and security name in the same
|
|
3961
|
+
* request.</p>
|
|
3947
3962
|
*/
|
|
3948
3963
|
SecurityGroups?: string[];
|
|
3949
3964
|
/**
|
|
@@ -4040,10 +4055,12 @@ export interface CreateLaunchTemplateRequest {
|
|
|
4040
4055
|
*/
|
|
4041
4056
|
LaunchTemplateData: RequestLaunchTemplateData | undefined;
|
|
4042
4057
|
/**
|
|
4043
|
-
* <p>The tags to apply to the launch template on creation. To tag the launch template, the
|
|
4058
|
+
* <p>The tags to apply to the launch template on creation. To tag the launch template, the
|
|
4059
|
+
* resource type must be <code>launch-template</code>.</p>
|
|
4044
4060
|
* <note>
|
|
4045
|
-
* <p>To specify the tags for the resources that are created when an instance is
|
|
4046
|
-
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html">launch
|
|
4061
|
+
* <p>To specify the tags for the resources that are created when an instance is
|
|
4062
|
+
* launched, you must use the <code>TagSpecifications</code> parameter in the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html">launch
|
|
4063
|
+
* template data</a> structure.</p>
|
|
4047
4064
|
* </note>
|
|
4048
4065
|
*/
|
|
4049
4066
|
TagSpecifications?: TagSpecification[];
|
|
@@ -4089,14 +4106,12 @@ export interface LaunchTemplate {
|
|
|
4089
4106
|
export interface ValidationError {
|
|
4090
4107
|
/**
|
|
4091
4108
|
* <p>The error code that indicates why the parameter or parameter combination is not valid.
|
|
4092
|
-
* For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error
|
|
4093
|
-
* codes</a>.</p>
|
|
4109
|
+
* For more information about error codes, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>
|
|
4094
4110
|
*/
|
|
4095
4111
|
Code?: string;
|
|
4096
4112
|
/**
|
|
4097
4113
|
* <p>The error message that describes why the parameter or parameter combination is not
|
|
4098
|
-
* valid. For more information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error
|
|
4099
|
-
* codes</a>.</p>
|
|
4114
|
+
* valid. For more information about error messages, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>
|
|
4100
4115
|
*/
|
|
4101
4116
|
Message?: string;
|
|
4102
4117
|
}
|
|
@@ -4140,12 +4155,14 @@ export interface CreateLaunchTemplateVersionRequest {
|
|
|
4140
4155
|
ClientToken?: string;
|
|
4141
4156
|
/**
|
|
4142
4157
|
* <p>The ID of the launch template.</p>
|
|
4143
|
-
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
4158
|
+
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
4159
|
+
* <code>LaunchTemplateName</code>, but not both.</p>
|
|
4144
4160
|
*/
|
|
4145
4161
|
LaunchTemplateId?: string;
|
|
4146
4162
|
/**
|
|
4147
4163
|
* <p>The name of the launch template.</p>
|
|
4148
|
-
* <p>You must specify the <code>LaunchTemplateName</code> or the
|
|
4164
|
+
* <p>You must specify the <code>LaunchTemplateName</code> or the
|
|
4165
|
+
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
4149
4166
|
*/
|
|
4150
4167
|
LaunchTemplateName?: string;
|
|
4151
4168
|
/**
|
|
@@ -4350,10 +4367,12 @@ export interface LaunchTemplateIamInstanceProfileSpecification {
|
|
|
4350
4367
|
*/
|
|
4351
4368
|
export interface LaunchTemplateSpotMarketOptions {
|
|
4352
4369
|
/**
|
|
4353
|
-
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
4354
|
-
* using this parameter because it can lead to increased interruptions. If you do
|
|
4370
|
+
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
4371
|
+
* recommend using this parameter because it can lead to increased interruptions. If you do
|
|
4372
|
+
* not specify this parameter, you will pay the current Spot price.</p>
|
|
4355
4373
|
* <important>
|
|
4356
|
-
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
4374
|
+
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
4375
|
+
* frequently than if you do not specify this parameter.</p>
|
|
4357
4376
|
* </important>
|
|
4358
4377
|
*/
|
|
4359
4378
|
MaxPrice?: string;
|
|
@@ -4642,6 +4661,11 @@ export interface LaunchTemplatePlacement {
|
|
|
4642
4661
|
* group strategy is set to <code>partition</code>.</p>
|
|
4643
4662
|
*/
|
|
4644
4663
|
PartitionNumber?: number;
|
|
4664
|
+
/**
|
|
4665
|
+
* <p>The Group ID of the placement group. You must specify the Placement Group <b>Group ID</b> to launch an instance in a shared placement
|
|
4666
|
+
* group.</p>
|
|
4667
|
+
*/
|
|
4668
|
+
GroupId?: string;
|
|
4645
4669
|
}
|
|
4646
4670
|
/**
|
|
4647
4671
|
* <p>Describes the options for instance hostnames.</p>
|
|
@@ -4738,7 +4762,8 @@ export interface ResponseLaunchTemplateData {
|
|
|
4738
4762
|
*/
|
|
4739
4763
|
UserData?: string;
|
|
4740
4764
|
/**
|
|
4741
|
-
* <p>The tags that are applied to the resources that are created during instance
|
|
4765
|
+
* <p>The tags that are applied to the resources that are created during instance
|
|
4766
|
+
* launch.</p>
|
|
4742
4767
|
*/
|
|
4743
4768
|
TagSpecifications?: LaunchTemplateTagSpecification[];
|
|
4744
4769
|
/**
|
|
@@ -4809,8 +4834,9 @@ export interface ResponseLaunchTemplateData {
|
|
|
4809
4834
|
*/
|
|
4810
4835
|
MaintenanceOptions?: LaunchTemplateInstanceMaintenanceOptions;
|
|
4811
4836
|
/**
|
|
4812
|
-
* <p>Indicates whether the instance is enabled for stop protection.
|
|
4813
|
-
*
|
|
4837
|
+
* <p>Indicates whether the instance is enabled for stop protection. For more information,
|
|
4838
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection">Stop
|
|
4839
|
+
* Protection</a>.</p>
|
|
4814
4840
|
*/
|
|
4815
4841
|
DisableApiStop?: boolean;
|
|
4816
4842
|
}
|
|
@@ -6399,10 +6425,11 @@ export interface CreatePlacementGroupRequest {
|
|
|
6399
6425
|
* <p>Determines how placement groups spread instances. </p>
|
|
6400
6426
|
* <ul>
|
|
6401
6427
|
* <li>
|
|
6402
|
-
*
|
|
6428
|
+
* <p>Host – You can use <code>host</code> only with Outpost placement
|
|
6429
|
+
* groups.</p>
|
|
6403
6430
|
* </li>
|
|
6404
6431
|
* <li>
|
|
6405
|
-
*
|
|
6432
|
+
* <p>Rack – No usage restrictions.</p>
|
|
6406
6433
|
* </li>
|
|
6407
6434
|
* </ul>
|
|
6408
6435
|
*/
|
|
@@ -3609,12 +3609,14 @@ export interface DeleteLaunchTemplateRequest {
|
|
|
3609
3609
|
DryRun?: boolean;
|
|
3610
3610
|
/**
|
|
3611
3611
|
* <p>The ID of the launch template.</p>
|
|
3612
|
-
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
3612
|
+
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
3613
|
+
* <code>LaunchTemplateName</code>, but not both.</p>
|
|
3613
3614
|
*/
|
|
3614
3615
|
LaunchTemplateId?: string;
|
|
3615
3616
|
/**
|
|
3616
3617
|
* <p>The name of the launch template.</p>
|
|
3617
|
-
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
3618
|
+
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
3619
|
+
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
3618
3620
|
*/
|
|
3619
3621
|
LaunchTemplateName?: string;
|
|
3620
3622
|
}
|
|
@@ -3634,12 +3636,14 @@ export interface DeleteLaunchTemplateVersionsRequest {
|
|
|
3634
3636
|
DryRun?: boolean;
|
|
3635
3637
|
/**
|
|
3636
3638
|
* <p>The ID of the launch template.</p>
|
|
3637
|
-
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
3639
|
+
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
3640
|
+
* <code>LaunchTemplateName</code>, but not both.</p>
|
|
3638
3641
|
*/
|
|
3639
3642
|
LaunchTemplateId?: string;
|
|
3640
3643
|
/**
|
|
3641
3644
|
* <p>The name of the launch template.</p>
|
|
3642
|
-
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
3645
|
+
* <p>You must specify either the <code>LaunchTemplateName</code> or the
|
|
3646
|
+
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
3643
3647
|
*/
|
|
3644
3648
|
LaunchTemplateName?: string;
|
|
3645
3649
|
/**
|