@aws-sdk/client-ec2 3.804.0 → 3.806.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/index.js +92 -22
- package/dist-cjs/runtimeConfig.js +6 -6
- package/dist-es/commands/RequestSpotFleetCommand.js +1 -1
- package/dist-es/models/models_4.js +4 -0
- package/dist-es/models/models_7.js +0 -7
- package/dist-es/models/models_8.js +7 -1
- package/dist-es/protocols/Aws_ec2.js +65 -0
- package/dist-es/runtimeConfig.js +6 -6
- package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +6 -6
- package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +17 -13
- package/dist-types/commands/AttachNetworkInterfaceCommand.d.ts +1 -0
- package/dist-types/commands/CancelReservedInstancesListingCommand.d.ts +2 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +1 -0
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +4 -1
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +3 -2
- package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +4 -3
- package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +14 -11
- package/dist-types/commands/DeleteNetworkInterfaceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteNetworkInterfacePermissionCommand.d.ts +3 -3
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeNetworkInterfaceAttributeCommand.d.ts +3 -1
- package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +7 -5
- package/dist-types/commands/DescribeReservedInstancesCommand.d.ts +3 -4
- package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +16 -7
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +9 -5
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +1 -0
- package/dist-types/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +2 -1
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +5 -3
- package/dist-types/commands/GetReservedInstancesExchangeQuoteCommand.d.ts +3 -3
- package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -2
- package/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +5 -3
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +2 -2
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +7 -7
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +2 -0
- package/dist-types/commands/ResetNetworkInterfaceAttributeCommand.d.ts +2 -1
- package/dist-types/commands/RunInstancesCommand.d.ts +2 -0
- package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +6 -0
- package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
- package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +60 -36
- package/dist-types/models/models_1.d.ts +121 -90
- package/dist-types/models/models_2.d.ts +86 -53
- package/dist-types/models/models_3.d.ts +23 -19
- package/dist-types/models/models_4.d.ts +76 -35
- package/dist-types/models/models_5.d.ts +286 -203
- package/dist-types/models/models_6.d.ts +25 -28
- package/dist-types/models/models_7.d.ts +72 -57
- package/dist-types/models/models_8.d.ts +37 -7
- package/dist-types/ts3.4/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RequestSpotFleetCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/dist-types/ts3.4/models/models_2.d.ts +1 -0
- package/dist-types/ts3.4/models/models_4.d.ts +11 -7
- package/dist-types/ts3.4/models/models_5.d.ts +9 -3
- package/dist-types/ts3.4/models/models_6.d.ts +3 -4
- package/dist-types/ts3.4/models/models_7.d.ts +6 -8
- package/dist-types/ts3.4/models/models_8.d.ts +9 -0
- package/package.json +16 -16
|
@@ -8884,8 +8884,7 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
|
|
|
8884
8884
|
*/
|
|
8885
8885
|
Iops?: number | undefined;
|
|
8886
8886
|
/**
|
|
8887
|
-
* <p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key
|
|
8888
|
-
* to use for EBS encryption.</p>
|
|
8887
|
+
* <p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.</p>
|
|
8889
8888
|
* @public
|
|
8890
8889
|
*/
|
|
8891
8890
|
KmsKeyId?: string | undefined;
|
|
@@ -9413,17 +9412,17 @@ export interface LaunchTemplateInstanceMetadataOptionsRequest {
|
|
|
9413
9412
|
* <li>
|
|
9414
9413
|
* <p>
|
|
9415
9414
|
* <code>optional</code> - IMDSv2 is optional. You can choose whether to send a
|
|
9416
|
-
* session token in your instance metadata retrieval requests. If you retrieve
|
|
9417
|
-
*
|
|
9415
|
+
* session token in your instance metadata retrieval requests. If you retrieve IAM
|
|
9416
|
+
* role credentials without a session token, you receive the IMDSv1 role
|
|
9418
9417
|
* credentials. If you retrieve IAM role credentials using a valid session token,
|
|
9419
9418
|
* you receive the IMDSv2 role credentials.</p>
|
|
9420
9419
|
* </li>
|
|
9421
9420
|
* <li>
|
|
9422
9421
|
* <p>
|
|
9423
|
-
* <code>required</code> - IMDSv2 is required. You must send a session token
|
|
9424
|
-
*
|
|
9425
|
-
*
|
|
9426
|
-
*
|
|
9422
|
+
* <code>required</code> - IMDSv2 is required. You must send a session token in
|
|
9423
|
+
* your instance metadata retrieval requests. With this option, retrieving the IAM
|
|
9424
|
+
* role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not
|
|
9425
|
+
* available.</p>
|
|
9427
9426
|
* </li>
|
|
9428
9427
|
* </ul>
|
|
9429
9428
|
* <p>Default: If the value of <code>ImdsSupport</code> for the Amazon Machine Image (AMI)
|
|
@@ -9481,7 +9480,10 @@ export interface LaunchTemplatesMonitoringRequest {
|
|
|
9481
9480
|
Enabled?: boolean | undefined;
|
|
9482
9481
|
}
|
|
9483
9482
|
/**
|
|
9484
|
-
* <p>A security group connection tracking specification request that enables you to set the
|
|
9483
|
+
* <p>A security group connection tracking specification request that enables you to set the
|
|
9484
|
+
* idle timeout for connection tracking on an Elastic network interface. For more
|
|
9485
|
+
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the
|
|
9486
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
9485
9487
|
* @public
|
|
9486
9488
|
*/
|
|
9487
9489
|
export interface ConnectionTrackingSpecificationRequest {
|
|
@@ -9514,28 +9516,27 @@ export interface ConnectionTrackingSpecificationRequest {
|
|
|
9514
9516
|
*/
|
|
9515
9517
|
export interface EnaSrdUdpSpecificationRequest {
|
|
9516
9518
|
/**
|
|
9517
|
-
* <p>Indicates whether UDP traffic uses ENA Express for your instance. To ensure that
|
|
9518
|
-
*
|
|
9519
|
-
* <b>EnaSrdEnabled</b> in the <b>EnaSrdSpecificationRequest</b> to <code>true</code>.</p>
|
|
9519
|
+
* <p>Indicates whether UDP traffic uses ENA Express for your instance. To ensure that UDP
|
|
9520
|
+
* traffic can use ENA Express when you launch an instance, you must also set <b>EnaSrdEnabled</b> in the <b>EnaSrdSpecificationRequest</b> to <code>true</code>.</p>
|
|
9520
9521
|
* @public
|
|
9521
9522
|
*/
|
|
9522
9523
|
EnaSrdUdpEnabled?: boolean | undefined;
|
|
9523
9524
|
}
|
|
9524
9525
|
/**
|
|
9525
|
-
* <p>Launch instances with ENA Express settings configured
|
|
9526
|
-
*
|
|
9526
|
+
* <p>Launch instances with ENA Express settings configured from your launch
|
|
9527
|
+
* template.</p>
|
|
9527
9528
|
* @public
|
|
9528
9529
|
*/
|
|
9529
9530
|
export interface EnaSrdSpecificationRequest {
|
|
9530
9531
|
/**
|
|
9531
|
-
* <p>Specifies whether ENA Express is enabled for the network interface when you
|
|
9532
|
-
*
|
|
9532
|
+
* <p>Specifies whether ENA Express is enabled for the network interface when you launch an
|
|
9533
|
+
* instance.</p>
|
|
9533
9534
|
* @public
|
|
9534
9535
|
*/
|
|
9535
9536
|
EnaSrdEnabled?: boolean | undefined;
|
|
9536
9537
|
/**
|
|
9537
9538
|
* <p>Contains ENA Express settings for UDP network traffic for the network interface
|
|
9538
|
-
*
|
|
9539
|
+
* attached to the instance.</p>
|
|
9539
9540
|
* @public
|
|
9540
9541
|
*/
|
|
9541
9542
|
EnaSrdUdpSpecification?: EnaSrdUdpSpecificationRequest | undefined;
|
|
@@ -9628,8 +9629,9 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
|
|
|
9628
9629
|
* <p>The device index for the network interface attachment. The primary network interface
|
|
9629
9630
|
* has a device index of 0. Each network interface is of type <code>interface</code>, you
|
|
9630
9631
|
* must specify a device index. If you create a launch template that includes secondary
|
|
9631
|
-
* network interfaces
|
|
9632
|
-
* network interface as a launch parameter when you launch an instance from the
|
|
9632
|
+
* network interfaces but not a primary network interface, then you must add a primary
|
|
9633
|
+
* network interface as a launch parameter when you launch an instance from the
|
|
9634
|
+
* template.</p>
|
|
9633
9635
|
* @public
|
|
9634
9636
|
*/
|
|
9635
9637
|
DeviceIndex?: number | undefined;
|
|
@@ -9723,7 +9725,10 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
|
|
|
9723
9725
|
*/
|
|
9724
9726
|
Ipv6PrefixCount?: number | undefined;
|
|
9725
9727
|
/**
|
|
9726
|
-
* <p>The primary IPv6 address of the network interface. When you enable an IPv6 GUA address
|
|
9728
|
+
* <p>The primary IPv6 address of the network interface. When you enable an IPv6 GUA address
|
|
9729
|
+
* to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the
|
|
9730
|
+
* instance is terminated or the network interface is detached. For more information about
|
|
9731
|
+
* primary IPv6 addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
|
|
9727
9732
|
* @public
|
|
9728
9733
|
*/
|
|
9729
9734
|
PrimaryIpv6?: boolean | undefined;
|
|
@@ -9735,11 +9740,16 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
|
|
|
9735
9740
|
/**
|
|
9736
9741
|
* <p>A security group connection tracking specification that enables you to set the timeout
|
|
9737
9742
|
* for connection tracking on an Elastic network interface. For more information, see
|
|
9738
|
-
*
|
|
9739
|
-
*
|
|
9743
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Idle connection tracking timeout</a> in the
|
|
9744
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
9740
9745
|
* @public
|
|
9741
9746
|
*/
|
|
9742
9747
|
ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest | undefined;
|
|
9748
|
+
/**
|
|
9749
|
+
* <p>The number of ENA queues to be created with the instance.</p>
|
|
9750
|
+
* @public
|
|
9751
|
+
*/
|
|
9752
|
+
EnaQueueCount?: number | undefined;
|
|
9743
9753
|
}
|
|
9744
9754
|
/**
|
|
9745
9755
|
* @public
|
|
@@ -9756,27 +9766,29 @@ export declare const InstanceBandwidthWeighting: {
|
|
|
9756
9766
|
export type InstanceBandwidthWeighting = (typeof InstanceBandwidthWeighting)[keyof typeof InstanceBandwidthWeighting];
|
|
9757
9767
|
/**
|
|
9758
9768
|
* <p>When you configure network performance options in your launch template, your instance
|
|
9759
|
-
*
|
|
9760
|
-
*
|
|
9769
|
+
* is geared for performance improvements based on the workload that it runs as soon as
|
|
9770
|
+
* it's available.</p>
|
|
9761
9771
|
* @public
|
|
9762
9772
|
*/
|
|
9763
9773
|
export interface LaunchTemplateNetworkPerformanceOptionsRequest {
|
|
9764
9774
|
/**
|
|
9765
|
-
* <p>Specify the bandwidth weighting option to boost the associated type of baseline
|
|
9775
|
+
* <p>Specify the bandwidth weighting option to boost the associated type of baseline
|
|
9776
|
+
* bandwidth, as follows:</p>
|
|
9766
9777
|
* <dl>
|
|
9767
9778
|
* <dt>default</dt>
|
|
9768
9779
|
* <dd>
|
|
9769
|
-
* <p>This option uses the standard bandwidth configuration for your instance
|
|
9780
|
+
* <p>This option uses the standard bandwidth configuration for your instance
|
|
9781
|
+
* type.</p>
|
|
9770
9782
|
* </dd>
|
|
9771
9783
|
* <dt>vpc-1</dt>
|
|
9772
9784
|
* <dd>
|
|
9773
9785
|
* <p>This option boosts your networking baseline bandwidth and reduces your EBS
|
|
9774
|
-
*
|
|
9786
|
+
* baseline bandwidth.</p>
|
|
9775
9787
|
* </dd>
|
|
9776
9788
|
* <dt>ebs-1</dt>
|
|
9777
9789
|
* <dd>
|
|
9778
9790
|
* <p>This option boosts your EBS baseline bandwidth and reduces your networking
|
|
9779
|
-
*
|
|
9791
|
+
* baseline bandwidth.</p>
|
|
9780
9792
|
* </dd>
|
|
9781
9793
|
* </dl>
|
|
9782
9794
|
* @public
|
|
@@ -9820,8 +9832,8 @@ export interface LaunchTemplatePlacementRequest {
|
|
|
9820
9832
|
*/
|
|
9821
9833
|
HostId?: string | undefined;
|
|
9822
9834
|
/**
|
|
9823
|
-
* <p>The tenancy of the instance. An instance with a
|
|
9824
|
-
*
|
|
9835
|
+
* <p>The tenancy of the instance. An instance with a tenancy of dedicated runs on
|
|
9836
|
+
* single-tenant hardware.</p>
|
|
9825
9837
|
* @public
|
|
9826
9838
|
*/
|
|
9827
9839
|
Tenancy?: Tenancy | undefined;
|
|
@@ -9884,12 +9896,12 @@ export interface LaunchTemplatePrivateDnsNameOptionsRequest {
|
|
|
9884
9896
|
export interface LaunchTemplateTagSpecificationRequest {
|
|
9885
9897
|
/**
|
|
9886
9898
|
* <p>The type of resource to tag.</p>
|
|
9887
|
-
* <p>Valid Values lists all resource types for Amazon EC2 that can be tagged. When
|
|
9888
|
-
*
|
|
9889
|
-
*
|
|
9890
|
-
*
|
|
9891
|
-
*
|
|
9892
|
-
*
|
|
9899
|
+
* <p>Valid Values lists all resource types for Amazon EC2 that can be tagged. When you
|
|
9900
|
+
* create a launch template, you can specify tags for the following resource types only:
|
|
9901
|
+
* <code>instance</code> | <code>volume</code> |
|
|
9902
|
+
* <code>network-interface</code> | <code>spot-instances-request</code>. If the instance
|
|
9903
|
+
* does not include the resource type that you specify, the instance launch fails. For
|
|
9904
|
+
* example, not all instance types include a volume.</p>
|
|
9893
9905
|
* <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>
|
|
9894
9906
|
* @public
|
|
9895
9907
|
*/
|
|
@@ -9997,7 +10009,8 @@ export interface RequestLaunchTemplateData {
|
|
|
9997
10009
|
* </p>
|
|
9998
10010
|
* </li>
|
|
9999
10011
|
* </ul>
|
|
10000
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the
|
|
10012
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the
|
|
10013
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
10001
10014
|
* <note>
|
|
10002
10015
|
* <p>If the launch template will be used for an EC2 Fleet or Spot Fleet, note the
|
|
10003
10016
|
* following:</p>
|
|
@@ -10054,11 +10067,11 @@ export interface RequestLaunchTemplateData {
|
|
|
10054
10067
|
*/
|
|
10055
10068
|
RamDiskId?: string | undefined;
|
|
10056
10069
|
/**
|
|
10057
|
-
* <p>Indicates whether termination protection is enabled for the instance. The default
|
|
10058
|
-
*
|
|
10059
|
-
*
|
|
10060
|
-
*
|
|
10061
|
-
*
|
|
10070
|
+
* <p>Indicates whether termination protection is enabled for the instance. The default is
|
|
10071
|
+
* <code>false</code>, which means that you can terminate the instance using the Amazon EC2
|
|
10072
|
+
* console, command line tools, or API. You can enable termination protection when you
|
|
10073
|
+
* launch an instance, while the instance is running, or while the instance is
|
|
10074
|
+
* stopped.</p>
|
|
10062
10075
|
* @public
|
|
10063
10076
|
*/
|
|
10064
10077
|
DisableApiTermination?: boolean | undefined;
|
|
@@ -10076,13 +10089,14 @@ export interface RequestLaunchTemplateData {
|
|
|
10076
10089
|
* instance with user data input</a> in the
|
|
10077
10090
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
10078
10091
|
* <p>If you are creating the launch template for use with Batch, the user
|
|
10079
|
-
* 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#lt-user-data">Amazon EC2 user data in launch templates</a> in the
|
|
10092
|
+
* 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#lt-user-data">Amazon EC2 user data in launch templates</a> in the
|
|
10093
|
+
* <i>Batch User Guide</i>.</p>
|
|
10080
10094
|
* @public
|
|
10081
10095
|
*/
|
|
10082
10096
|
UserData?: string | undefined;
|
|
10083
10097
|
/**
|
|
10084
|
-
* <p>The tags to apply to the resources that are created during instance launch. These
|
|
10085
|
-
*
|
|
10098
|
+
* <p>The tags to apply to the resources that are created during instance launch. These tags
|
|
10099
|
+
* are not applied to the launch template.</p>
|
|
10086
10100
|
* @public
|
|
10087
10101
|
*/
|
|
10088
10102
|
TagSpecifications?: LaunchTemplateTagSpecificationRequest[] | undefined;
|
|
@@ -10159,7 +10173,8 @@ export interface RequestLaunchTemplateData {
|
|
|
10159
10173
|
*/
|
|
10160
10174
|
HibernationOptions?: LaunchTemplateHibernationOptionsRequest | undefined;
|
|
10161
10175
|
/**
|
|
10162
|
-
* <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html">Configure
|
|
10176
|
+
* <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html">Configure
|
|
10177
|
+
* the Instance Metadata Service options</a> in the
|
|
10163
10178
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
10164
10179
|
* @public
|
|
10165
10180
|
*/
|
|
@@ -10233,7 +10248,7 @@ export interface RequestLaunchTemplateData {
|
|
|
10233
10248
|
Operator?: OperatorRequest | undefined;
|
|
10234
10249
|
/**
|
|
10235
10250
|
* <p>Contains launch template settings to boost network performance for the type of
|
|
10236
|
-
*
|
|
10251
|
+
* workload that runs on your instance.</p>
|
|
10237
10252
|
* @public
|
|
10238
10253
|
*/
|
|
10239
10254
|
NetworkPerformanceOptions?: LaunchTemplateNetworkPerformanceOptionsRequest | undefined;
|
|
@@ -10252,7 +10267,8 @@ export interface CreateLaunchTemplateRequest {
|
|
|
10252
10267
|
DryRun?: boolean | undefined;
|
|
10253
10268
|
/**
|
|
10254
10269
|
* <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
|
|
10255
|
-
* request. If a client token isn't specified, a randomly generated token is used in the
|
|
10270
|
+
* request. If a client token isn't specified, a randomly generated token is used in the
|
|
10271
|
+
* request to ensure idempotency.</p>
|
|
10256
10272
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
10257
10273
|
* idempotency</a>.</p>
|
|
10258
10274
|
* <p>Constraint: Maximum 128 ASCII characters.</p>
|
|
@@ -10282,8 +10298,9 @@ export interface CreateLaunchTemplateRequest {
|
|
|
10282
10298
|
/**
|
|
10283
10299
|
* <p>The tags to apply to the launch template on creation. To tag the launch template, the
|
|
10284
10300
|
* resource type must be <code>launch-template</code>.</p>
|
|
10285
|
-
* <p>To specify the tags for the resources that are created when an instance is
|
|
10286
|
-
*
|
|
10301
|
+
* <p>To specify the tags for the resources that are created when an instance is launched,
|
|
10302
|
+
* you must use the <code>TagSpecifications</code> parameter in the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html">launch template
|
|
10303
|
+
* data</a> structure.</p>
|
|
10287
10304
|
* @public
|
|
10288
10305
|
*/
|
|
10289
10306
|
TagSpecifications?: TagSpecification[] | undefined;
|
|
@@ -10416,7 +10433,8 @@ export interface CreateLaunchTemplateVersionRequest {
|
|
|
10416
10433
|
DryRun?: boolean | undefined;
|
|
10417
10434
|
/**
|
|
10418
10435
|
* <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
|
|
10419
|
-
* request. If a client token isn't specified, a randomly generated token is used in the
|
|
10436
|
+
* request. If a client token isn't specified, a randomly generated token is used in the
|
|
10437
|
+
* request to ensure idempotency.</p>
|
|
10420
10438
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
10421
10439
|
* idempotency</a>.</p>
|
|
10422
10440
|
* <p>Constraint: Maximum 128 ASCII characters.</p>
|
|
@@ -10425,27 +10443,27 @@ export interface CreateLaunchTemplateVersionRequest {
|
|
|
10425
10443
|
ClientToken?: string | undefined;
|
|
10426
10444
|
/**
|
|
10427
10445
|
* <p>The ID of the launch template.</p>
|
|
10428
|
-
* <p>You must specify either the launch template ID or the
|
|
10429
|
-
*
|
|
10446
|
+
* <p>You must specify either the launch template ID or the launch template name, but not
|
|
10447
|
+
* both.</p>
|
|
10430
10448
|
* @public
|
|
10431
10449
|
*/
|
|
10432
10450
|
LaunchTemplateId?: string | undefined;
|
|
10433
10451
|
/**
|
|
10434
10452
|
* <p>The name of the launch template.</p>
|
|
10435
|
-
* <p>You must specify either the launch template ID or the
|
|
10436
|
-
*
|
|
10453
|
+
* <p>You must specify either the launch template ID or the launch template name, but not
|
|
10454
|
+
* both.</p>
|
|
10437
10455
|
* @public
|
|
10438
10456
|
*/
|
|
10439
10457
|
LaunchTemplateName?: string | undefined;
|
|
10440
10458
|
/**
|
|
10441
|
-
* <p>The version of the launch template on which to base the new version.
|
|
10442
|
-
*
|
|
10443
|
-
*
|
|
10459
|
+
* <p>The version of the launch template on which to base the new version. Snapshots applied
|
|
10460
|
+
* to the block device mapping are ignored when creating a new version unless they are
|
|
10461
|
+
* explicitly included.</p>
|
|
10444
10462
|
* <p>If you specify this parameter, the new version inherits the launch parameters from the
|
|
10445
10463
|
* source version. If you specify additional launch parameters for the new version, they
|
|
10446
10464
|
* overwrite any corresponding launch parameters inherited from the source version.</p>
|
|
10447
|
-
* <p>If you omit this parameter, the new version contains only the launch parameters
|
|
10448
|
-
*
|
|
10465
|
+
* <p>If you omit this parameter, the new version contains only the launch parameters that
|
|
10466
|
+
* you specify for the new version.</p>
|
|
10449
10467
|
* @public
|
|
10450
10468
|
*/
|
|
10451
10469
|
SourceVersion?: string | undefined;
|
|
@@ -10491,8 +10509,7 @@ export interface LaunchTemplateEbsBlockDevice {
|
|
|
10491
10509
|
*/
|
|
10492
10510
|
Iops?: number | undefined;
|
|
10493
10511
|
/**
|
|
10494
|
-
* <p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key
|
|
10495
|
-
* to use for EBS encryption.</p>
|
|
10512
|
+
* <p>Identifier (key ID, key alias, key ARN, or alias ARN) of the customer managed KMS key to use for EBS encryption.</p>
|
|
10496
10513
|
* @public
|
|
10497
10514
|
*/
|
|
10498
10515
|
KmsKeyId?: string | undefined;
|
|
@@ -10825,17 +10842,17 @@ export interface LaunchTemplateInstanceMetadataOptions {
|
|
|
10825
10842
|
* <li>
|
|
10826
10843
|
* <p>
|
|
10827
10844
|
* <code>optional</code> - IMDSv2 is optional. You can choose whether to send a
|
|
10828
|
-
* session token in your instance metadata retrieval requests. If you retrieve
|
|
10829
|
-
*
|
|
10845
|
+
* session token in your instance metadata retrieval requests. If you retrieve IAM
|
|
10846
|
+
* role credentials without a session token, you receive the IMDSv1 role
|
|
10830
10847
|
* credentials. If you retrieve IAM role credentials using a valid session token,
|
|
10831
10848
|
* you receive the IMDSv2 role credentials.</p>
|
|
10832
10849
|
* </li>
|
|
10833
10850
|
* <li>
|
|
10834
10851
|
* <p>
|
|
10835
|
-
* <code>required</code> - IMDSv2 is required. You must send a session token
|
|
10836
|
-
*
|
|
10837
|
-
*
|
|
10838
|
-
*
|
|
10852
|
+
* <code>required</code> - IMDSv2 is required. You must send a session token in
|
|
10853
|
+
* your instance metadata retrieval requests. With this option, retrieving the IAM
|
|
10854
|
+
* role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not
|
|
10855
|
+
* available.</p>
|
|
10839
10856
|
* </li>
|
|
10840
10857
|
* </ul>
|
|
10841
10858
|
* @public
|
|
@@ -10890,7 +10907,10 @@ export interface LaunchTemplatesMonitoring {
|
|
|
10890
10907
|
Enabled?: boolean | undefined;
|
|
10891
10908
|
}
|
|
10892
10909
|
/**
|
|
10893
|
-
* <p>A security group connection tracking specification that enables you to set the idle
|
|
10910
|
+
* <p>A security group connection tracking specification that enables you to set the idle
|
|
10911
|
+
* timeout for connection tracking on an Elastic network interface. For more information,
|
|
10912
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Connection tracking timeouts</a> in the
|
|
10913
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
10894
10914
|
* @public
|
|
10895
10915
|
*/
|
|
10896
10916
|
export interface ConnectionTrackingSpecification {
|
|
@@ -10957,8 +10977,7 @@ export interface LaunchTemplateEnaSrdSpecification {
|
|
|
10957
10977
|
EnaSrdUdpSpecification?: LaunchTemplateEnaSrdUdpSpecification | undefined;
|
|
10958
10978
|
}
|
|
10959
10979
|
/**
|
|
10960
|
-
* <p>Information about the IPv4 delegated prefixes assigned
|
|
10961
|
-
* to a network interface.</p>
|
|
10980
|
+
* <p>Information about the IPv4 delegated prefixes assigned to a network interface.</p>
|
|
10962
10981
|
* @public
|
|
10963
10982
|
*/
|
|
10964
10983
|
export interface Ipv4PrefixSpecificationResponse {
|
|
@@ -10986,8 +11005,7 @@ export interface InstanceIpv6Address {
|
|
|
10986
11005
|
IsPrimaryIpv6?: boolean | undefined;
|
|
10987
11006
|
}
|
|
10988
11007
|
/**
|
|
10989
|
-
* <p>Information about the IPv6 delegated prefixes assigned
|
|
10990
|
-
* to a network interface.</p>
|
|
11008
|
+
* <p>Information about the IPv6 delegated prefixes assigned to a network interface.</p>
|
|
10991
11009
|
* @public
|
|
10992
11010
|
*/
|
|
10993
11011
|
export interface Ipv6PrefixSpecificationResponse {
|
|
@@ -11109,34 +11127,44 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecification {
|
|
|
11109
11127
|
*/
|
|
11110
11128
|
Ipv6PrefixCount?: number | undefined;
|
|
11111
11129
|
/**
|
|
11112
|
-
* <p>The primary IPv6 address of the network interface. When you enable an IPv6 GUA address
|
|
11130
|
+
* <p>The primary IPv6 address of the network interface. When you enable an IPv6 GUA address
|
|
11131
|
+
* to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the
|
|
11132
|
+
* instance is terminated or the network interface is detached. For more information about
|
|
11133
|
+
* primary IPv6 addresses, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.</p>
|
|
11113
11134
|
* @public
|
|
11114
11135
|
*/
|
|
11115
11136
|
PrimaryIpv6?: boolean | undefined;
|
|
11116
11137
|
/**
|
|
11117
|
-
* <p>Contains the ENA Express settings for instances launched from your launch
|
|
11138
|
+
* <p>Contains the ENA Express settings for instances launched from your launch
|
|
11139
|
+
* template.</p>
|
|
11118
11140
|
* @public
|
|
11119
11141
|
*/
|
|
11120
11142
|
EnaSrdSpecification?: LaunchTemplateEnaSrdSpecification | undefined;
|
|
11121
11143
|
/**
|
|
11122
11144
|
* <p>A security group connection tracking specification that enables you to set the timeout
|
|
11123
11145
|
* for connection tracking on an Elastic network interface. For more information, see
|
|
11124
|
-
*
|
|
11125
|
-
*
|
|
11146
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts">Idle connection tracking timeout</a> in the
|
|
11147
|
+
* <i>Amazon EC2 User Guide</i>.</p>
|
|
11126
11148
|
* @public
|
|
11127
11149
|
*/
|
|
11128
11150
|
ConnectionTrackingSpecification?: ConnectionTrackingSpecification | undefined;
|
|
11151
|
+
/**
|
|
11152
|
+
* <p>The number of ENA queues created with the instance.</p>
|
|
11153
|
+
* @public
|
|
11154
|
+
*/
|
|
11155
|
+
EnaQueueCount?: number | undefined;
|
|
11129
11156
|
}
|
|
11130
11157
|
/**
|
|
11131
11158
|
* <p>With network performance options, you can adjust your bandwidth preferences to meet
|
|
11132
|
-
*
|
|
11159
|
+
* the needs of the workload that runs on your instance at launch.</p>
|
|
11133
11160
|
* @public
|
|
11134
11161
|
*/
|
|
11135
11162
|
export interface LaunchTemplateNetworkPerformanceOptions {
|
|
11136
11163
|
/**
|
|
11137
|
-
* <p>When you configure network bandwidth weighting, you can boost baseline bandwidth for
|
|
11138
|
-
*
|
|
11139
|
-
* the same. The default option uses the standard bandwidth configuration
|
|
11164
|
+
* <p>When you configure network bandwidth weighting, you can boost baseline bandwidth for
|
|
11165
|
+
* either networking or EBS by up to 25%. The total available baseline bandwidth for your
|
|
11166
|
+
* instance remains the same. The default option uses the standard bandwidth configuration
|
|
11167
|
+
* for your instance type.</p>
|
|
11140
11168
|
* @public
|
|
11141
11169
|
*/
|
|
11142
11170
|
BandwidthWeighting?: InstanceBandwidthWeighting | undefined;
|
|
@@ -11167,8 +11195,8 @@ export interface LaunchTemplatePlacement {
|
|
|
11167
11195
|
*/
|
|
11168
11196
|
HostId?: string | undefined;
|
|
11169
11197
|
/**
|
|
11170
|
-
* <p>The tenancy of the instance. An instance with a
|
|
11171
|
-
*
|
|
11198
|
+
* <p>The tenancy of the instance. An instance with a tenancy of <code>dedicated</code> runs
|
|
11199
|
+
* on single-tenant hardware. </p>
|
|
11172
11200
|
* @public
|
|
11173
11201
|
*/
|
|
11174
11202
|
Tenancy?: Tenancy | undefined;
|
|
@@ -11267,19 +11295,21 @@ export interface ResponseLaunchTemplateData {
|
|
|
11267
11295
|
/**
|
|
11268
11296
|
* <p>The ID of the AMI or a Systems Manager parameter. The Systems Manager parameter will
|
|
11269
11297
|
* resolve to the ID of the AMI at instance launch.</p>
|
|
11270
|
-
* <p>The value depends on what you specified in the request. The possible values
|
|
11298
|
+
* <p>The value depends on what you specified in the request. The possible values
|
|
11299
|
+
* are:</p>
|
|
11271
11300
|
* <ul>
|
|
11272
11301
|
* <li>
|
|
11273
11302
|
* <p>If an AMI ID was specified in the request, then this is the AMI ID.</p>
|
|
11274
11303
|
* </li>
|
|
11275
11304
|
* <li>
|
|
11276
11305
|
* <p>If a Systems Manager parameter was specified in the request, and
|
|
11277
|
-
*
|
|
11306
|
+
* <code>ResolveAlias</code> was configured as <code>true</code>, then this is
|
|
11278
11307
|
* the AMI ID that the parameter is mapped to in the Parameter Store.</p>
|
|
11279
11308
|
* </li>
|
|
11280
11309
|
* <li>
|
|
11281
|
-
* <p>If a Systems Manager parameter was specified in the request, and
|
|
11282
|
-
*
|
|
11310
|
+
* <p>If a Systems Manager parameter was specified in the request, and
|
|
11311
|
+
* <code>ResolveAlias</code> was configured as <code>false</code>, then this is
|
|
11312
|
+
* the parameter value.</p>
|
|
11283
11313
|
* </li>
|
|
11284
11314
|
* </ul>
|
|
11285
11315
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id">Use a Systems Manager parameter instead of an AMI ID</a> in the
|
|
@@ -11399,7 +11429,8 @@ export interface ResponseLaunchTemplateData {
|
|
|
11399
11429
|
*/
|
|
11400
11430
|
HibernationOptions?: LaunchTemplateHibernationOptions | undefined;
|
|
11401
11431
|
/**
|
|
11402
|
-
* <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html">Configure
|
|
11432
|
+
* <p>The metadata options for the instance. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html">Configure
|
|
11433
|
+
* the Instance Metadata Service options</a> in the
|
|
11403
11434
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
11404
11435
|
* @public
|
|
11405
11436
|
*/
|
|
@@ -11440,8 +11471,8 @@ export interface ResponseLaunchTemplateData {
|
|
|
11440
11471
|
*/
|
|
11441
11472
|
Operator?: OperatorResponse | undefined;
|
|
11442
11473
|
/**
|
|
11443
|
-
* <p>Contains the launch template settings for network performance options for
|
|
11444
|
-
*
|
|
11474
|
+
* <p>Contains the launch template settings for network performance options for your
|
|
11475
|
+
* instance.</p>
|
|
11445
11476
|
* @public
|
|
11446
11477
|
*/
|
|
11447
11478
|
NetworkPerformanceOptions?: LaunchTemplateNetworkPerformanceOptions | undefined;
|