@aws-sdk/client-ec2 3.226.0 → 3.231.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/endpoint/ruleset.js +0 -9
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_ec2.js +14 -0
- package/dist-cjs/runtimeConfig.browser.js +3 -3
- package/dist-cjs/runtimeConfig.js +2 -1
- package/dist-es/endpoint/ruleset.js +0 -9
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_ec2.js +14 -0
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/EC2.d.ts +359 -425
- package/dist-types/commands/AcceptVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/AssignIpv6AddressesCommand.d.ts +2 -2
- package/dist-types/commands/AssignPrivateIpAddressesCommand.d.ts +5 -5
- package/dist-types/commands/AssociateAddressCommand.d.ts +0 -1
- package/dist-types/commands/AssociateClientVpnTargetNetworkCommand.d.ts +1 -1
- package/dist-types/commands/AssociateEnclaveCertificateIamRoleCommand.d.ts +2 -4
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTrunkInterfaceCommand.d.ts +3 -4
- package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
- package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +5 -5
- package/dist-types/commands/AttachVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -2
- package/dist-types/commands/BundleInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CancelCapacityReservationCommand.d.ts +1 -1
- package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -7
- package/dist-types/commands/CancelSpotFleetRequestsCommand.d.ts +1 -1
- package/dist-types/commands/CancelSpotInstanceRequestsCommand.d.ts +2 -2
- package/dist-types/commands/CopyImageCommand.d.ts +2 -5
- package/dist-types/commands/CopySnapshotCommand.d.ts +1 -4
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -5
- package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +2 -2
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +5 -5
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +5 -6
- package/dist-types/commands/CreateFlowLogsCommand.d.ts +3 -6
- package/dist-types/commands/CreateImageCommand.d.ts +6 -10
- package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -3
- package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
- package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +2 -2
- package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +2 -2
- package/dist-types/commands/CreateNetworkInterfacePermissionCommand.d.ts +1 -1
- package/dist-types/commands/CreatePlacementGroupCommand.d.ts +2 -2
- package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +0 -1
- package/dist-types/commands/CreateReservedInstancesListingCommand.d.ts +2 -2
- package/dist-types/commands/CreateRouteCommand.d.ts +6 -6
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +0 -3
- package/dist-types/commands/CreateSnapshotsCommand.d.ts +0 -2
- package/dist-types/commands/CreateSubnetCommand.d.ts +7 -7
- package/dist-types/commands/CreateTagsCommand.d.ts +0 -1
- package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +2 -2
- package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointConnectionNotificationCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +6 -6
- package/dist-types/commands/CreateVpnConnectionCommand.d.ts +6 -6
- package/dist-types/commands/CreateVpnConnectionRouteCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCarrierGatewayCommand.d.ts +2 -2
- package/dist-types/commands/DeleteFleetsCommand.d.ts +0 -1
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -2
- package/dist-types/commands/DeleteVpcEndpointsCommand.d.ts +7 -7
- package/dist-types/commands/DeleteVpnConnectionCommand.d.ts +2 -2
- package/dist-types/commands/DeregisterImageCommand.d.ts +1 -4
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAggregateIdFormatCommand.d.ts +0 -1
- package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeCustomerGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFlowLogsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceCreditSpecificationsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +8 -8
- package/dist-types/commands/DescribeInstancesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeManagedPrefixListsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +1 -1
- package/dist-types/commands/DescribePrefixListsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedInstancesListingsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrunkInterfaceAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +3 -3
- package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpnConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVpnGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +3 -3
- package/dist-types/commands/DetachVpnGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DisableFastLaunchCommand.d.ts +3 -3
- package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +0 -1
- package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -2
- package/dist-types/commands/DisassociateClientVpnTargetNetworkCommand.d.ts +9 -9
- package/dist-types/commands/DisassociateIamInstanceProfileCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrunkInterfaceCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateVpcCidrBlockCommand.d.ts +1 -1
- package/dist-types/commands/EnableEbsEncryptionByDefaultCommand.d.ts +1 -1
- package/dist-types/commands/EnableFastLaunchCommand.d.ts +3 -3
- package/dist-types/commands/GetConsoleOutputCommand.d.ts +3 -3
- package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
- package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +5 -5
- package/dist-types/commands/GetHostReservationPurchasePreviewCommand.d.ts +1 -1
- package/dist-types/commands/GetInstanceUefiDataCommand.d.ts +2 -2
- package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
- package/dist-types/commands/GetPasswordDataCommand.d.ts +4 -4
- package/dist-types/commands/ImportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
- package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDefaultCreditSpecificationCommand.d.ts +2 -2
- package/dist-types/commands/ModifyEbsDefaultKmsKeyIdCommand.d.ts +1 -1
- package/dist-types/commands/ModifyHostsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyIdentityIdFormatCommand.d.ts +1 -1
- package/dist-types/commands/ModifyImageAttributeCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstanceAttributeCommand.d.ts +2 -2
- package/dist-types/commands/ModifyInstanceCreditSpecificationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyInstancePlacementCommand.d.ts +7 -7
- package/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +2 -2
- package/dist-types/commands/ModifyReservedInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +5 -5
- package/dist-types/commands/ModifySubnetAttributeCommand.d.ts +6 -9
- package/dist-types/commands/ModifyVpcEndpointServiceConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +2 -2
- package/dist-types/commands/ModifyVpnConnectionCommand.d.ts +13 -15
- package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +1 -1
- package/dist-types/commands/MonitorInstancesCommand.d.ts +1 -1
- package/dist-types/commands/PurchaseReservedInstancesOfferingCommand.d.ts +2 -2
- package/dist-types/commands/RebootInstancesCommand.d.ts +2 -2
- package/dist-types/commands/RegisterImageCommand.d.ts +4 -7
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupMembersCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.d.ts +2 -2
- package/dist-types/commands/ReleaseHostsCommand.d.ts +2 -2
- package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -1
- package/dist-types/commands/ReportInstanceStatusCommand.d.ts +1 -1
- package/dist-types/commands/RequestSpotFleetCommand.d.ts +8 -9
- package/dist-types/commands/RequestSpotInstancesCommand.d.ts +5 -7
- package/dist-types/commands/ResetInstanceAttributeCommand.d.ts +1 -1
- package/dist-types/commands/RestoreSnapshotTierCommand.d.ts +0 -1
- package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +0 -2
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +1 -4
- package/dist-types/commands/RunInstancesCommand.d.ts +16 -16
- package/dist-types/commands/SendDiagnosticInterruptCommand.d.ts +3 -6
- package/dist-types/commands/StartInstancesCommand.d.ts +5 -7
- package/dist-types/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.d.ts +2 -2
- package/dist-types/commands/StopInstancesCommand.d.ts +6 -6
- package/dist-types/commands/TerminateInstancesCommand.d.ts +19 -24
- package/dist-types/models/models_0.d.ts +74 -79
- package/dist-types/models/models_1.d.ts +198 -201
- package/dist-types/models/models_2.d.ts +71 -71
- package/dist-types/models/models_3.d.ts +349 -357
- package/dist-types/models/models_4.d.ts +441 -443
- package/dist-types/models/models_5.d.ts +119 -122
- package/dist-types/models/models_6.d.ts +173 -175
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_3.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -1
- package/package.json +7 -6
|
@@ -67,7 +67,7 @@ export declare enum GatewayType {
|
|
|
67
67
|
export interface CreateCustomerGatewayRequest {
|
|
68
68
|
/**
|
|
69
69
|
* <p>For devices that support BGP, the customer gateway's BGP ASN.</p>
|
|
70
|
-
*
|
|
70
|
+
* <p>Default: 65000</p>
|
|
71
71
|
*/
|
|
72
72
|
BgpAsn: number | undefined;
|
|
73
73
|
/**
|
|
@@ -91,7 +91,7 @@ export interface CreateCustomerGatewayRequest {
|
|
|
91
91
|
TagSpecifications?: TagSpecification[];
|
|
92
92
|
/**
|
|
93
93
|
* <p>A name for the customer gateway device.</p>
|
|
94
|
-
*
|
|
94
|
+
* <p>Length Constraints: Up to 255 characters.</p>
|
|
95
95
|
*/
|
|
96
96
|
DeviceName?: string;
|
|
97
97
|
/**
|
|
@@ -1018,14 +1018,14 @@ export interface InstanceRequirementsRequest {
|
|
|
1018
1018
|
export interface Placement {
|
|
1019
1019
|
/**
|
|
1020
1020
|
* <p>The Availability Zone of the instance.</p>
|
|
1021
|
-
*
|
|
1021
|
+
* <p>If not specified, an Availability Zone will be automatically chosen for you based on
|
|
1022
1022
|
* the load balancing criteria for the Region.</p>
|
|
1023
|
-
*
|
|
1023
|
+
* <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
|
|
1024
1024
|
*/
|
|
1025
1025
|
AvailabilityZone?: string;
|
|
1026
1026
|
/**
|
|
1027
1027
|
* <p>The affinity setting for the instance on the Dedicated Host.</p>
|
|
1028
|
-
*
|
|
1028
|
+
* <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a> or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a>.</p>
|
|
1029
1029
|
*/
|
|
1030
1030
|
Affinity?: string;
|
|
1031
1031
|
/**
|
|
@@ -1036,18 +1036,18 @@ export interface Placement {
|
|
|
1036
1036
|
/**
|
|
1037
1037
|
* <p>The number of the partition that the instance is in. Valid only if the placement group
|
|
1038
1038
|
* strategy is set to <code>partition</code>.</p>
|
|
1039
|
-
*
|
|
1039
|
+
* <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
|
|
1040
1040
|
*/
|
|
1041
1041
|
PartitionNumber?: number;
|
|
1042
1042
|
/**
|
|
1043
1043
|
* <p>The ID of the Dedicated Host on which the instance resides.</p>
|
|
1044
|
-
*
|
|
1044
|
+
* <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a> or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a>.</p>
|
|
1045
1045
|
*/
|
|
1046
1046
|
HostId?: string;
|
|
1047
1047
|
/**
|
|
1048
1048
|
* <p>The tenancy of the instance (if the instance is running in a VPC). An instance with a
|
|
1049
1049
|
* tenancy of <code>dedicated</code> runs on single-tenant hardware.</p>
|
|
1050
|
-
*
|
|
1050
|
+
* <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>. The
|
|
1051
1051
|
* <code>host</code> tenancy is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a> or
|
|
1052
1052
|
* for T3 instances that are configured for the <code>unlimited</code> CPU credit
|
|
1053
1053
|
* option.</p>
|
|
@@ -1059,8 +1059,8 @@ export interface Placement {
|
|
|
1059
1059
|
SpreadDomain?: string;
|
|
1060
1060
|
/**
|
|
1061
1061
|
* <p>The ARN of the host resource group in which to launch the instances.</p>
|
|
1062
|
-
*
|
|
1063
|
-
*
|
|
1062
|
+
* <p>If you specify this parameter, either omit the <b>Tenancy</b> parameter or set it to <code>host</code>.</p>
|
|
1063
|
+
* <p>This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.</p>
|
|
1064
1064
|
*/
|
|
1065
1065
|
HostResourceGroupArn?: string;
|
|
1066
1066
|
/**
|
|
@@ -1297,7 +1297,6 @@ export interface SpotOptionsRequest {
|
|
|
1297
1297
|
* <p>The strategy that determines how to allocate the target Spot Instance capacity across the Spot Instance
|
|
1298
1298
|
* pools specified by the EC2 Fleet launch configuration. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html">Allocation strategies for Spot Instances</a> in the
|
|
1299
1299
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
1300
|
-
*
|
|
1301
1300
|
* <dl>
|
|
1302
1301
|
* <dt>price-capacity-optimized (recommended)</dt>
|
|
1303
1302
|
* <dd>
|
|
@@ -1338,7 +1337,6 @@ export interface SpotOptionsRequest {
|
|
|
1338
1337
|
* price and not capacity availability, it might lead to high interruption rates.</p>
|
|
1339
1338
|
* </dd>
|
|
1340
1339
|
* </dl>
|
|
1341
|
-
*
|
|
1342
1340
|
* <p>Default: <code>lowest-price</code>
|
|
1343
1341
|
* </p>
|
|
1344
1342
|
*/
|
|
@@ -1552,27 +1550,27 @@ export interface CreateFleetRequest {
|
|
|
1552
1550
|
/**
|
|
1553
1551
|
* <p>The Amazon EC2 launch template that can be used by
|
|
1554
1552
|
* a Spot Fleet to configure Amazon EC2 instances. You must specify either the ID or name of the launch template in the request, but not both.</p>
|
|
1555
|
-
*
|
|
1553
|
+
* <p>For information about launch templates,
|
|
1556
1554
|
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launch an instance from a launch template</a> in the
|
|
1557
1555
|
* <i>Amazon EC2 User Guide</i>.</p>
|
|
1558
1556
|
*/
|
|
1559
1557
|
export interface FleetLaunchTemplateSpecification {
|
|
1560
1558
|
/**
|
|
1561
1559
|
* <p>The ID of the launch template.</p>
|
|
1562
|
-
*
|
|
1560
|
+
* <p>You must specify the <code>LaunchTemplateId</code> or the <code>LaunchTemplateName</code>, but not both.</p>
|
|
1563
1561
|
*/
|
|
1564
1562
|
LaunchTemplateId?: string;
|
|
1565
1563
|
/**
|
|
1566
1564
|
* <p>The name of the launch template.</p>
|
|
1567
|
-
*
|
|
1565
|
+
* <p>You must specify the <code>LaunchTemplateName</code> or the <code>LaunchTemplateId</code>, but not both.</p>
|
|
1568
1566
|
*/
|
|
1569
1567
|
LaunchTemplateName?: string;
|
|
1570
1568
|
/**
|
|
1571
1569
|
* <p>The launch template version number, <code>$Latest</code>, or <code>$Default</code>.
|
|
1572
1570
|
* You must specify a value, otherwise the request fails.</p>
|
|
1573
|
-
*
|
|
1571
|
+
* <p>If the value is <code>$Latest</code>, Amazon EC2 uses the latest version of the launch
|
|
1574
1572
|
* template.</p>
|
|
1575
|
-
*
|
|
1573
|
+
* <p>If the value is <code>$Default</code>, Amazon EC2 uses the default version of the launch
|
|
1576
1574
|
* template.</p>
|
|
1577
1575
|
*/
|
|
1578
1576
|
Version?: string;
|
|
@@ -2234,7 +2232,7 @@ export interface CreateFlowLogsRequest {
|
|
|
2234
2232
|
/**
|
|
2235
2233
|
* <p>The ARN of the IAM role that allows Amazon EC2 to publish flow logs to a CloudWatch Logs log group in
|
|
2236
2234
|
* your account.</p>
|
|
2237
|
-
*
|
|
2235
|
+
* <p>This parameter is required if the destination type is <code>cloud-watch-logs</code>
|
|
2238
2236
|
* and unsupported otherwise.</p>
|
|
2239
2237
|
*/
|
|
2240
2238
|
DeliverLogsPermissionArn?: string;
|
|
@@ -2244,13 +2242,13 @@ export interface CreateFlowLogsRequest {
|
|
|
2244
2242
|
DeliverCrossAccountRole?: string;
|
|
2245
2243
|
/**
|
|
2246
2244
|
* <p>The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.</p>
|
|
2247
|
-
*
|
|
2245
|
+
* <p>This parameter is valid only if the destination type is <code>cloud-watch-logs</code>.</p>
|
|
2248
2246
|
*/
|
|
2249
2247
|
LogGroupName?: string;
|
|
2250
2248
|
/**
|
|
2251
2249
|
* <p>The IDs of the resources to monitor. For example, if the resource type is
|
|
2252
2250
|
* <code>VPC</code>, specify the IDs of the VPCs.</p>
|
|
2253
|
-
*
|
|
2251
|
+
* <p>Constraints: Maximum of 25 for transit gateway resource types. Maximum of 1000 for the
|
|
2254
2252
|
* other resource types.</p>
|
|
2255
2253
|
*/
|
|
2256
2254
|
ResourceIds: string[] | undefined;
|
|
@@ -2266,27 +2264,27 @@ export interface CreateFlowLogsRequest {
|
|
|
2266
2264
|
TrafficType?: TrafficType | string;
|
|
2267
2265
|
/**
|
|
2268
2266
|
* <p>The type of destination for the flow log data.</p>
|
|
2269
|
-
*
|
|
2267
|
+
* <p>Default: <code>cloud-watch-logs</code>
|
|
2270
2268
|
* </p>
|
|
2271
2269
|
*/
|
|
2272
2270
|
LogDestinationType?: LogDestinationType | string;
|
|
2273
2271
|
/**
|
|
2274
2272
|
* <p>The destination for the flow log data. The meaning of this parameter depends on the destination type.</p>
|
|
2275
|
-
*
|
|
2273
|
+
* <ul>
|
|
2276
2274
|
* <li>
|
|
2277
|
-
*
|
|
2278
|
-
*
|
|
2275
|
+
* <p>If the destination type is <code>cloud-watch-logs</code>, specify the ARN of a CloudWatch Logs log group. For example:</p>
|
|
2276
|
+
* <p>arn:aws:logs:<i>region</i>:<i>account_id</i>:log-group:<i>my_group</i>
|
|
2279
2277
|
* </p>
|
|
2280
|
-
*
|
|
2278
|
+
* <p>Alternatively, use the <code>LogGroupName</code> parameter.</p>
|
|
2281
2279
|
* </li>
|
|
2282
2280
|
* <li>
|
|
2283
|
-
*
|
|
2284
|
-
*
|
|
2285
|
-
*
|
|
2281
|
+
* <p>If the destination type is <code>s3</code>, specify the ARN of an S3 bucket. For example:</p>
|
|
2282
|
+
* <p>arn:aws:s3:::<i>my_bucket</i>/<i>my_subfolder</i>/</p>
|
|
2283
|
+
* <p>The subfolder is optional. Note that you can't use <code>AWSLogs</code> as a subfolder name.</p>
|
|
2286
2284
|
* </li>
|
|
2287
2285
|
* <li>
|
|
2288
|
-
*
|
|
2289
|
-
*
|
|
2286
|
+
* <p>If the destination type is <code>kinesis-data-firehose</code>, specify the ARN of a Kinesis Data Firehose delivery stream. For example:</p>
|
|
2287
|
+
* <p>arn:aws:firehose:<i>region</i>:<i>account_id</i>:deliverystream:<i>my_stream</i>
|
|
2290
2288
|
* </p>
|
|
2291
2289
|
* </li>
|
|
2292
2290
|
* </ul>
|
|
@@ -2299,7 +2297,7 @@ export interface CreateFlowLogsRequest {
|
|
|
2299
2297
|
* field. For more information about the available fields, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records">Flow log
|
|
2300
2298
|
* records</a> in the <i>Amazon VPC User Guide</i> or <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records">Transit Gateway Flow Log
|
|
2301
2299
|
* records</a> in the <i>Amazon Web Services Transit Gateway Guide</i>.</p>
|
|
2302
|
-
*
|
|
2300
|
+
* <p>Specify the fields using the <code>${field-id}</code> format, separated by spaces. For
|
|
2303
2301
|
* the CLI, surround this parameter value with single quotes on Linux or
|
|
2304
2302
|
* double quotes on Windows.</p>
|
|
2305
2303
|
*/
|
|
@@ -2312,10 +2310,10 @@ export interface CreateFlowLogsRequest {
|
|
|
2312
2310
|
* <p>The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record.
|
|
2313
2311
|
* The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes).
|
|
2314
2312
|
* This parameter must be 60 seconds for transit gateway resource types.</p>
|
|
2315
|
-
*
|
|
2313
|
+
* <p>When a network interface is attached to a <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Nitro-based
|
|
2316
2314
|
* instance</a>, the aggregation interval is always 60 seconds or less, regardless
|
|
2317
2315
|
* of the value that you specify.</p>
|
|
2318
|
-
*
|
|
2316
|
+
* <p>Default: 600</p>
|
|
2319
2317
|
*/
|
|
2320
2318
|
MaxAggregationInterval?: number;
|
|
2321
2319
|
/**
|
|
@@ -2418,26 +2416,26 @@ export interface EbsBlockDevice {
|
|
|
2418
2416
|
* this represents the number of IOPS that are provisioned for the volume. For <code>gp2</code>
|
|
2419
2417
|
* volumes, this represents the baseline performance of the volume and the rate at which
|
|
2420
2418
|
* the volume accumulates I/O credits for bursting.</p>
|
|
2421
|
-
*
|
|
2422
|
-
*
|
|
2419
|
+
* <p>The following are the supported values for each volume type:</p>
|
|
2420
|
+
* <ul>
|
|
2423
2421
|
* <li>
|
|
2424
|
-
*
|
|
2422
|
+
* <p>
|
|
2425
2423
|
* <code>gp3</code>: 3,000-16,000 IOPS</p>
|
|
2426
2424
|
* </li>
|
|
2427
2425
|
* <li>
|
|
2428
|
-
*
|
|
2426
|
+
* <p>
|
|
2429
2427
|
* <code>io1</code>: 100-64,000 IOPS</p>
|
|
2430
2428
|
* </li>
|
|
2431
2429
|
* <li>
|
|
2432
|
-
*
|
|
2430
|
+
* <p>
|
|
2433
2431
|
* <code>io2</code>: 100-64,000 IOPS</p>
|
|
2434
2432
|
* </li>
|
|
2435
2433
|
* </ul>
|
|
2436
|
-
*
|
|
2434
|
+
* <p>For <code>io1</code> and <code>io2</code> volumes, we guarantee 64,000 IOPS only for
|
|
2437
2435
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Instances built on the
|
|
2438
2436
|
* Nitro System</a>. Other instance families guarantee performance up to
|
|
2439
2437
|
* 32,000 IOPS.</p>
|
|
2440
|
-
*
|
|
2438
|
+
* <p>This parameter is required for <code>io1</code> and <code>io2</code> volumes. The default for <code>gp3</code> volumes
|
|
2441
2439
|
* is 3,000 IOPS. This parameter is not supported for <code>gp2</code>, <code>st1</code>, <code>sc1</code>, or <code>standard</code>
|
|
2442
2440
|
* volumes.</p>
|
|
2443
2441
|
*/
|
|
@@ -2450,22 +2448,22 @@ export interface EbsBlockDevice {
|
|
|
2450
2448
|
* <p>The size of the volume, in GiBs. You must specify either a snapshot ID or a volume
|
|
2451
2449
|
* size. If you specify a snapshot, the default is the snapshot size. You can specify a
|
|
2452
2450
|
* volume size that is equal to or larger than the snapshot size.</p>
|
|
2453
|
-
*
|
|
2454
|
-
*
|
|
2451
|
+
* <p>The following are the supported volumes sizes for each volume type:</p>
|
|
2452
|
+
* <ul>
|
|
2455
2453
|
* <li>
|
|
2456
|
-
*
|
|
2454
|
+
* <p>
|
|
2457
2455
|
* <code>gp2</code> and <code>gp3</code>:1-16,384</p>
|
|
2458
2456
|
* </li>
|
|
2459
2457
|
* <li>
|
|
2460
|
-
*
|
|
2458
|
+
* <p>
|
|
2461
2459
|
* <code>io1</code> and <code>io2</code>: 4-16,384</p>
|
|
2462
2460
|
* </li>
|
|
2463
2461
|
* <li>
|
|
2464
|
-
*
|
|
2462
|
+
* <p>
|
|
2465
2463
|
* <code>st1</code> and <code>sc1</code>: 125-16,384</p>
|
|
2466
2464
|
* </li>
|
|
2467
2465
|
* <li>
|
|
2468
|
-
*
|
|
2466
|
+
* <p>
|
|
2469
2467
|
* <code>standard</code>: 1-1,024</p>
|
|
2470
2468
|
* </li>
|
|
2471
2469
|
* </ul>
|
|
@@ -2480,20 +2478,20 @@ export interface EbsBlockDevice {
|
|
|
2480
2478
|
/**
|
|
2481
2479
|
* <p>Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under
|
|
2482
2480
|
* which the EBS volume is encrypted.</p>
|
|
2483
|
-
*
|
|
2481
|
+
* <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called by
|
|
2484
2482
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html">RequestSpotFleet</a>,
|
|
2485
2483
|
* and <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html">RequestSpotInstances</a>.</p>
|
|
2486
2484
|
*/
|
|
2487
2485
|
KmsKeyId?: string;
|
|
2488
2486
|
/**
|
|
2489
2487
|
* <p>The throughput that the volume supports, in MiB/s.</p>
|
|
2490
|
-
*
|
|
2491
|
-
*
|
|
2488
|
+
* <p>This parameter is valid only for <code>gp3</code> volumes.</p>
|
|
2489
|
+
* <p>Valid Range: Minimum value of 125. Maximum value of 1000.</p>
|
|
2492
2490
|
*/
|
|
2493
2491
|
Throughput?: number;
|
|
2494
2492
|
/**
|
|
2495
2493
|
* <p>The ARN of the Outpost on which the snapshot is stored.</p>
|
|
2496
|
-
*
|
|
2494
|
+
* <p>This parameter is only supported on <code>BlockDeviceMapping</code> objects called by
|
|
2497
2495
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html">
|
|
2498
2496
|
* CreateImage</a>.</p>
|
|
2499
2497
|
*/
|
|
@@ -2502,10 +2500,10 @@ export interface EbsBlockDevice {
|
|
|
2502
2500
|
* <p>Indicates whether the encryption state of an EBS volume is changed while being
|
|
2503
2501
|
* restored from a backing snapshot. The effect of setting the encryption state to <code>true</code> depends on
|
|
2504
2502
|
* the volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters">Amazon EBS encryption</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
2505
|
-
*
|
|
2506
|
-
*
|
|
2503
|
+
* <p>In no case can you remove encryption from an encrypted volume.</p>
|
|
2504
|
+
* <p>Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For
|
|
2507
2505
|
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances">Supported instance types</a>.</p>
|
|
2508
|
-
*
|
|
2506
|
+
* <p>This parameter is not returned by <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute.html">DescribeImageAttribute</a>.</p>
|
|
2509
2507
|
*/
|
|
2510
2508
|
Encrypted?: boolean;
|
|
2511
2509
|
}
|
|
@@ -2524,9 +2522,9 @@ export interface BlockDeviceMapping {
|
|
|
2524
2522
|
* mappings for <code>ephemeral0</code> and <code>ephemeral1</code>. The number of
|
|
2525
2523
|
* available instance store volumes depends on the instance type. After you connect to the
|
|
2526
2524
|
* instance, you must mount the volume.</p>
|
|
2527
|
-
*
|
|
2525
|
+
* <p>NVMe instance store volumes are automatically enumerated and assigned a device name.
|
|
2528
2526
|
* Including them in your block device mapping has no effect.</p>
|
|
2529
|
-
*
|
|
2527
|
+
* <p>Constraints: For M3 instances, you must specify instance store volumes in the block
|
|
2530
2528
|
* device mapping for the instance. When you launch an M3 instance, we ignore any instance
|
|
2531
2529
|
* store volumes specified in the block device mapping for the AMI.</p>
|
|
2532
2530
|
*/
|
|
@@ -2575,11 +2573,11 @@ export interface CreateImageRequest {
|
|
|
2575
2573
|
* state. You can set the <code>NoReboot</code> parameter to <code>true</code> in the API request,
|
|
2576
2574
|
* or use the <code>--no-reboot</code> option in the CLI to prevent Amazon EC2 from shutting down and
|
|
2577
2575
|
* rebooting the instance.</p>
|
|
2578
|
-
*
|
|
2579
|
-
*
|
|
2576
|
+
* <important>
|
|
2577
|
+
* <p>If you choose to bypass the shutdown and reboot process by setting the <code>NoReboot</code>
|
|
2580
2578
|
* parameter to <code>true</code> in the API request, or by using the <code>--no-reboot</code> option
|
|
2581
2579
|
* in the CLI, we can't guarantee the file system integrity of the created image.</p>
|
|
2582
|
-
*
|
|
2580
|
+
* </important>
|
|
2583
2581
|
* <p>Default: <code>false</code> (follow standard reboot process)</p>
|
|
2584
2582
|
*/
|
|
2585
2583
|
NoReboot?: boolean;
|
|
@@ -2592,7 +2590,7 @@ export interface CreateImageRequest {
|
|
|
2592
2590
|
* <code>image</code>.</p>
|
|
2593
2591
|
* </li>
|
|
2594
2592
|
* <li>
|
|
2595
|
-
*
|
|
2593
|
+
* <p>To tag the snapshots that are created of the root volume and of other Amazon EBS volumes that
|
|
2596
2594
|
* are attached to the instance, the value for <code>ResourceType</code> must be
|
|
2597
2595
|
* <code>snapshot</code>. The same tag is applied to all of the snapshots that are
|
|
2598
2596
|
* created.</p>
|
|
@@ -3323,7 +3321,7 @@ export declare enum KeyType {
|
|
|
3323
3321
|
export interface CreateKeyPairRequest {
|
|
3324
3322
|
/**
|
|
3325
3323
|
* <p>A unique name for the key pair.</p>
|
|
3326
|
-
*
|
|
3324
|
+
* <p>Constraints: Up to 255 ASCII characters</p>
|
|
3327
3325
|
*/
|
|
3328
3326
|
KeyName: string | undefined;
|
|
3329
3327
|
/**
|
|
@@ -3334,7 +3332,7 @@ export interface CreateKeyPairRequest {
|
|
|
3334
3332
|
DryRun?: boolean;
|
|
3335
3333
|
/**
|
|
3336
3334
|
* <p>The type of key pair. Note that ED25519 keys are not supported for Windows instances.</p>
|
|
3337
|
-
*
|
|
3335
|
+
* <p>Default: <code>rsa</code>
|
|
3338
3336
|
* </p>
|
|
3339
3337
|
*/
|
|
3340
3338
|
KeyType?: KeyType | string;
|
|
@@ -3344,7 +3342,7 @@ export interface CreateKeyPairRequest {
|
|
|
3344
3342
|
TagSpecifications?: TagSpecification[];
|
|
3345
3343
|
/**
|
|
3346
3344
|
* <p>The format of the key pair.</p>
|
|
3347
|
-
*
|
|
3345
|
+
* <p>Default: <code>pem</code>
|
|
3348
3346
|
* </p>
|
|
3349
3347
|
*/
|
|
3350
3348
|
KeyFormat?: KeyFormat | string;
|
|
@@ -3357,10 +3355,10 @@ export interface KeyPair {
|
|
|
3357
3355
|
* <ul>
|
|
3358
3356
|
* <li>
|
|
3359
3357
|
* <p>For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.</p>
|
|
3360
|
-
*
|
|
3358
|
+
* </li>
|
|
3361
3359
|
* <li>
|
|
3362
3360
|
* <p>For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.</p>
|
|
3363
|
-
*
|
|
3361
|
+
* </li>
|
|
3364
3362
|
* </ul>
|
|
3365
3363
|
*/
|
|
3366
3364
|
KeyFingerprint?: string;
|
|
@@ -3401,26 +3399,26 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
|
|
|
3401
3399
|
* are provisioned for the volume. For <code>gp2</code> volumes, this represents the
|
|
3402
3400
|
* baseline performance of the volume and the rate at which the volume accumulates I/O
|
|
3403
3401
|
* credits for bursting.</p>
|
|
3404
|
-
*
|
|
3405
|
-
*
|
|
3402
|
+
* <p>The following are the supported values for each volume type:</p>
|
|
3403
|
+
* <ul>
|
|
3406
3404
|
* <li>
|
|
3407
|
-
*
|
|
3405
|
+
* <p>
|
|
3408
3406
|
* <code>gp3</code>: 3,000-16,000 IOPS</p>
|
|
3409
3407
|
* </li>
|
|
3410
3408
|
* <li>
|
|
3411
|
-
*
|
|
3409
|
+
* <p>
|
|
3412
3410
|
* <code>io1</code>: 100-64,000 IOPS</p>
|
|
3413
3411
|
* </li>
|
|
3414
3412
|
* <li>
|
|
3415
|
-
*
|
|
3413
|
+
* <p>
|
|
3416
3414
|
* <code>io2</code>: 100-64,000 IOPS</p>
|
|
3417
3415
|
* </li>
|
|
3418
3416
|
* </ul>
|
|
3419
|
-
*
|
|
3417
|
+
* <p>For <code>io1</code> and <code>io2</code> volumes, we guarantee
|
|
3420
3418
|
* 64,000 IOPS only for <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Instances built on the
|
|
3421
3419
|
* Nitro System</a>. Other instance families guarantee performance up to
|
|
3422
3420
|
* 32,000 IOPS.</p>
|
|
3423
|
-
*
|
|
3421
|
+
* <p>This parameter is supported for <code>io1</code>, <code>io2</code>, and <code>gp3</code> volumes only. This parameter
|
|
3424
3422
|
* is not supported for <code>gp2</code>, <code>st1</code>, <code>sc1</code>, or <code>standard</code> volumes.</p>
|
|
3425
3423
|
*/
|
|
3426
3424
|
Iops?: number;
|
|
@@ -3435,21 +3433,21 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
|
|
|
3435
3433
|
/**
|
|
3436
3434
|
* <p>The size of the volume, in GiBs. You must specify either a snapshot ID or a volume
|
|
3437
3435
|
* size. The following are the supported volumes sizes for each volume type:</p>
|
|
3438
|
-
*
|
|
3436
|
+
* <ul>
|
|
3439
3437
|
* <li>
|
|
3440
|
-
*
|
|
3438
|
+
* <p>
|
|
3441
3439
|
* <code>gp2</code> and <code>gp3</code>: 1-16,384</p>
|
|
3442
3440
|
* </li>
|
|
3443
3441
|
* <li>
|
|
3444
|
-
*
|
|
3442
|
+
* <p>
|
|
3445
3443
|
* <code>io1</code> and <code>io2</code>: 4-16,384</p>
|
|
3446
3444
|
* </li>
|
|
3447
3445
|
* <li>
|
|
3448
|
-
*
|
|
3446
|
+
* <p>
|
|
3449
3447
|
* <code>st1</code> and <code>sc1</code>: 125-16,384</p>
|
|
3450
3448
|
* </li>
|
|
3451
3449
|
* <li>
|
|
3452
|
-
*
|
|
3450
|
+
* <p>
|
|
3453
3451
|
* <code>standard</code>: 1-1,024</p>
|
|
3454
3452
|
* </li>
|
|
3455
3453
|
* </ul>
|
|
@@ -3463,7 +3461,7 @@ export interface LaunchTemplateEbsBlockDeviceRequest {
|
|
|
3463
3461
|
/**
|
|
3464
3462
|
* <p>The throughput to provision for a <code>gp3</code> volume, with a maximum of 1,000
|
|
3465
3463
|
* MiB/s.</p>
|
|
3466
|
-
*
|
|
3464
|
+
* <p>Valid Range: Minimum value of 125. Maximum value of 1000.</p>
|
|
3467
3465
|
*/
|
|
3468
3466
|
Throughput?: number;
|
|
3469
3467
|
}
|
|
@@ -3521,15 +3519,15 @@ export interface LaunchTemplateCapacityReservationSpecificationRequest {
|
|
|
3521
3519
|
/**
|
|
3522
3520
|
* <p>Indicates the instance's Capacity Reservation preferences. Possible preferences
|
|
3523
3521
|
* include:</p>
|
|
3524
|
-
*
|
|
3522
|
+
* <ul>
|
|
3525
3523
|
* <li>
|
|
3526
|
-
*
|
|
3524
|
+
* <p>
|
|
3527
3525
|
* <code>open</code> - The instance can run in any <code>open</code> Capacity
|
|
3528
3526
|
* Reservation that has matching attributes (instance type, platform, Availability
|
|
3529
3527
|
* Zone).</p>
|
|
3530
3528
|
* </li>
|
|
3531
3529
|
* <li>
|
|
3532
|
-
*
|
|
3530
|
+
* <p>
|
|
3533
3531
|
* <code>none</code> - The instance avoids running in a Capacity Reservation even
|
|
3534
3532
|
* if one is available. The instance runs in On-Demand capacity.</p>
|
|
3535
3533
|
* </li>
|
|
@@ -3564,7 +3562,7 @@ export interface LaunchTemplateCpuOptionsRequest {
|
|
|
3564
3562
|
export interface CreditSpecificationRequest {
|
|
3565
3563
|
/**
|
|
3566
3564
|
* <p>The credit option for CPU usage of a T instance.</p>
|
|
3567
|
-
*
|
|
3565
|
+
* <p>Valid values: <code>standard</code> | <code>unlimited</code>
|
|
3568
3566
|
* </p>
|
|
3569
3567
|
*/
|
|
3570
3568
|
CpuCredits: string | undefined;
|
|
@@ -3591,7 +3589,7 @@ export interface LaunchTemplateElasticInferenceAccelerator {
|
|
|
3591
3589
|
Type: string | undefined;
|
|
3592
3590
|
/**
|
|
3593
3591
|
* <p> The number of elastic inference accelerators to attach to the instance. </p>
|
|
3594
|
-
*
|
|
3592
|
+
* <p>Default: 1</p>
|
|
3595
3593
|
*/
|
|
3596
3594
|
Count?: number;
|
|
3597
3595
|
}
|
|
@@ -3616,7 +3614,7 @@ export interface LaunchTemplateHibernationOptionsRequest {
|
|
|
3616
3614
|
/**
|
|
3617
3615
|
* <p>If you set this parameter to <code>true</code>, the instance is enabled for
|
|
3618
3616
|
* hibernation.</p>
|
|
3619
|
-
*
|
|
3617
|
+
* <p>Default: <code>false</code>
|
|
3620
3618
|
* </p>
|
|
3621
3619
|
*/
|
|
3622
3620
|
Configured?: boolean;
|
|
@@ -3658,10 +3656,10 @@ export interface LaunchTemplateSpotMarketOptionsRequest {
|
|
|
3658
3656
|
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
3659
3657
|
* recommend using this parameter because it can lead to increased interruptions. If you do
|
|
3660
3658
|
* not specify this parameter, you will pay the current Spot price.</p>
|
|
3661
|
-
*
|
|
3659
|
+
* <important>
|
|
3662
3660
|
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
3663
3661
|
* frequently than if you do not specify this parameter.</p>
|
|
3664
|
-
*
|
|
3662
|
+
* </important>
|
|
3665
3663
|
*/
|
|
3666
3664
|
MaxPrice?: string;
|
|
3667
3665
|
/**
|
|
@@ -3676,18 +3674,18 @@ export interface LaunchTemplateSpotMarketOptionsRequest {
|
|
|
3676
3674
|
* <p>The end date of the request, in UTC format
|
|
3677
3675
|
* (<i>YYYY-MM-DD</i>T<i>HH:MM:SS</i>Z). Supported only for
|
|
3678
3676
|
* persistent requests.</p>
|
|
3679
|
-
*
|
|
3677
|
+
* <ul>
|
|
3680
3678
|
* <li>
|
|
3681
|
-
*
|
|
3679
|
+
* <p>For a persistent request, the request remains active until the
|
|
3682
3680
|
* <code>ValidUntil</code> date and time is reached. Otherwise, the request
|
|
3683
3681
|
* remains active until you cancel it.</p>
|
|
3684
3682
|
* </li>
|
|
3685
3683
|
* <li>
|
|
3686
|
-
*
|
|
3684
|
+
* <p>For a one-time request, <code>ValidUntil</code> is not supported. The request
|
|
3687
3685
|
* remains active until all instances launch or you cancel the request.</p>
|
|
3688
3686
|
* </li>
|
|
3689
3687
|
* </ul>
|
|
3690
|
-
*
|
|
3688
|
+
* <p>Default: 7 days from the current date</p>
|
|
3691
3689
|
*/
|
|
3692
3690
|
ValidUntil?: Date;
|
|
3693
3691
|
/**
|
|
@@ -3756,12 +3754,12 @@ export interface LaunchTemplateInstanceMetadataOptionsRequest {
|
|
|
3756
3754
|
/**
|
|
3757
3755
|
* <p>The state of token usage for your instance metadata requests. If the parameter is not
|
|
3758
3756
|
* specified in the request, the default state is <code>optional</code>.</p>
|
|
3759
|
-
*
|
|
3757
|
+
* <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
|
|
3760
3758
|
* with or without a signed token header on your request. If you retrieve the IAM role
|
|
3761
3759
|
* credentials without a token, the version 1.0 role credentials are returned. If you
|
|
3762
3760
|
* retrieve the IAM role credentials using a valid signed token, the version 2.0 role
|
|
3763
3761
|
* credentials are returned.</p>
|
|
3764
|
-
*
|
|
3762
|
+
* <p>If the state is <code>required</code>, you must send a signed token header with any
|
|
3765
3763
|
* instance metadata retrieval requests. In this state, retrieving the IAM role credentials
|
|
3766
3764
|
* always returns the version 2.0 credentials; the version 1.0 credentials are not
|
|
3767
3765
|
* available.</p>
|
|
@@ -3770,23 +3768,23 @@ export interface LaunchTemplateInstanceMetadataOptionsRequest {
|
|
|
3770
3768
|
/**
|
|
3771
3769
|
* <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
|
|
3772
3770
|
* number, the further instance metadata requests can travel.</p>
|
|
3773
|
-
*
|
|
3771
|
+
* <p>Default: <code>1</code>
|
|
3774
3772
|
* </p>
|
|
3775
|
-
*
|
|
3773
|
+
* <p>Possible values: Integers from 1 to 64</p>
|
|
3776
3774
|
*/
|
|
3777
3775
|
HttpPutResponseHopLimit?: number;
|
|
3778
3776
|
/**
|
|
3779
3777
|
* <p>Enables or disables the HTTP metadata endpoint on your instances. If the parameter is
|
|
3780
3778
|
* not specified, the default state is <code>enabled</code>.</p>
|
|
3781
|
-
*
|
|
3779
|
+
* <note>
|
|
3782
3780
|
* <p>If you specify a value of <code>disabled</code>, you will not be able to access
|
|
3783
3781
|
* your instance metadata. </p>
|
|
3784
|
-
*
|
|
3782
|
+
* </note>
|
|
3785
3783
|
*/
|
|
3786
3784
|
HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState | string;
|
|
3787
3785
|
/**
|
|
3788
3786
|
* <p>Enables or disables the IPv6 endpoint for the instance metadata service.</p>
|
|
3789
|
-
*
|
|
3787
|
+
* <p>Default: <code>disabled</code>
|
|
3790
3788
|
* </p>
|
|
3791
3789
|
*/
|
|
3792
3790
|
HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | string;
|
|
@@ -3795,7 +3793,7 @@ export interface LaunchTemplateInstanceMetadataOptionsRequest {
|
|
|
3795
3793
|
* metadata. Set to <code>disabled</code> to turn off access to instance tags from the
|
|
3796
3794
|
* instance metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
|
|
3797
3795
|
* instance tags using the instance metadata</a>.</p>
|
|
3798
|
-
*
|
|
3796
|
+
* <p>Default: <code>disabled</code>
|
|
3799
3797
|
* </p>
|
|
3800
3798
|
*/
|
|
3801
3799
|
InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | string;
|
|
@@ -3859,7 +3857,7 @@ export interface PrivateIpAddressSpecification {
|
|
|
3859
3857
|
export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
|
|
3860
3858
|
/**
|
|
3861
3859
|
* <p>Associates a Carrier IP address with eth0 for a new network interface.</p>
|
|
3862
|
-
*
|
|
3860
|
+
* <p>Use this option when you launch an instance in a Wavelength Zone and want to associate
|
|
3863
3861
|
* a Carrier IP address with the network interface. For more information about Carrier IP
|
|
3864
3862
|
* addresses, see <a href="https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip">Carrier IP addresses</a> in the <i>Wavelength Developer
|
|
3865
3863
|
* Guide</i>.</p>
|
|
@@ -3890,9 +3888,9 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest {
|
|
|
3890
3888
|
* <p>The type of network interface. To create an Elastic Fabric Adapter (EFA), specify
|
|
3891
3889
|
* <code>efa</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html">Elastic Fabric Adapter</a> in the
|
|
3892
3890
|
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
3893
|
-
*
|
|
3891
|
+
* <p>If you are not creating an EFA, specify <code>interface</code> or omit this
|
|
3894
3892
|
* parameter.</p>
|
|
3895
|
-
*
|
|
3893
|
+
* <p>Valid values: <code>interface</code> | <code>efa</code>
|
|
3896
3894
|
* </p>
|
|
3897
3895
|
*/
|
|
3898
3896
|
InterfaceType?: string;
|
|
@@ -4030,12 +4028,12 @@ export interface LaunchTemplatePrivateDnsNameOptionsRequest {
|
|
|
4030
4028
|
export interface LaunchTemplateTagSpecificationRequest {
|
|
4031
4029
|
/**
|
|
4032
4030
|
* <p>The type of resource to tag.</p>
|
|
4033
|
-
*
|
|
4031
|
+
* <p>The <code>Valid Values</code> are all the resource types that can be tagged. However,
|
|
4034
4032
|
* when creating a launch template, you can specify tags for the following resource types
|
|
4035
4033
|
* only: <code>instance</code> | <code>volume</code> | <code>elastic-gpu</code> |
|
|
4036
4034
|
* <code>network-interface</code> | <code>spot-instances-request</code>
|
|
4037
4035
|
* </p>
|
|
4038
|
-
*
|
|
4036
|
+
* <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>
|
|
4039
4037
|
*/
|
|
4040
4038
|
ResourceType?: ResourceType | string;
|
|
4041
4039
|
/**
|
|
@@ -4045,18 +4043,18 @@ export interface LaunchTemplateTagSpecificationRequest {
|
|
|
4045
4043
|
}
|
|
4046
4044
|
/**
|
|
4047
4045
|
* <p>The information to include in the launch template.</p>
|
|
4048
|
-
*
|
|
4046
|
+
* <note>
|
|
4049
4047
|
* <p>You must specify at least one parameter for the launch template data.</p>
|
|
4050
|
-
*
|
|
4048
|
+
* </note>
|
|
4051
4049
|
*/
|
|
4052
4050
|
export interface RequestLaunchTemplateData {
|
|
4053
4051
|
/**
|
|
4054
4052
|
* <p>The ID of the kernel.</p>
|
|
4055
|
-
*
|
|
4053
|
+
* <important>
|
|
4056
4054
|
* <p>We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
|
|
4057
4055
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html">User provided
|
|
4058
4056
|
* kernels</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4059
|
-
*
|
|
4057
|
+
* </important>
|
|
4060
4058
|
*/
|
|
4061
4059
|
KernelId?: string;
|
|
4062
4060
|
/**
|
|
@@ -4087,17 +4085,17 @@ export interface RequestLaunchTemplateData {
|
|
|
4087
4085
|
/**
|
|
4088
4086
|
* <p>The instance type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the
|
|
4089
4087
|
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4090
|
-
*
|
|
4088
|
+
* <p>If you specify <code>InstanceType</code>, you can't specify
|
|
4091
4089
|
* <code>InstanceRequirements</code>.</p>
|
|
4092
4090
|
*/
|
|
4093
4091
|
InstanceType?: _InstanceType | string;
|
|
4094
4092
|
/**
|
|
4095
4093
|
* <p>The name of the key pair. You can create a key pair using <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html">CreateKeyPair</a> or
|
|
4096
4094
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html">ImportKeyPair</a>.</p>
|
|
4097
|
-
*
|
|
4095
|
+
* <important>
|
|
4098
4096
|
* <p>If you do not specify a key pair, you can't connect to the instance unless you
|
|
4099
4097
|
* choose an AMI that is configured to allow users another way to log in.</p>
|
|
4100
|
-
*
|
|
4098
|
+
* </important>
|
|
4101
4099
|
*/
|
|
4102
4100
|
KeyName?: string;
|
|
4103
4101
|
/**
|
|
@@ -4110,11 +4108,11 @@ export interface RequestLaunchTemplateData {
|
|
|
4110
4108
|
Placement?: LaunchTemplatePlacementRequest;
|
|
4111
4109
|
/**
|
|
4112
4110
|
* <p>The ID of the RAM disk.</p>
|
|
4113
|
-
*
|
|
4111
|
+
* <important>
|
|
4114
4112
|
* <p>We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
|
|
4115
4113
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html">User provided
|
|
4116
4114
|
* kernels</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4117
|
-
*
|
|
4115
|
+
* </important>
|
|
4118
4116
|
*/
|
|
4119
4117
|
RamDiskId?: string;
|
|
4120
4118
|
/**
|
|
@@ -4128,8 +4126,8 @@ export interface RequestLaunchTemplateData {
|
|
|
4128
4126
|
/**
|
|
4129
4127
|
* <p>Indicates whether an instance stops or terminates when you initiate shutdown from the
|
|
4130
4128
|
* instance (using the operating system command for system shutdown).</p>
|
|
4131
|
-
*
|
|
4132
|
-
*
|
|
4129
|
+
* <p>Default: <code>stop</code>
|
|
4130
|
+
* </p>
|
|
4133
4131
|
*/
|
|
4134
4132
|
InstanceInitiatedShutdownBehavior?: ShutdownBehavior | string;
|
|
4135
4133
|
/**
|
|
@@ -4137,35 +4135,34 @@ export interface RequestLaunchTemplateData {
|
|
|
4137
4135
|
* 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
|
|
4138
4136
|
* launch</a> (Linux) or <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/instancedata-add-user-data.html">Work with instance
|
|
4139
4137
|
* user data</a> (Windows) in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4140
|
-
*
|
|
4141
|
-
* <p>If you are creating the launch template for use with Batch, the user
|
|
4138
|
+
* <p>If you are creating the launch template for use with Batch, the user
|
|
4142
4139
|
* 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>
|
|
4143
4140
|
*/
|
|
4144
4141
|
UserData?: string;
|
|
4145
4142
|
/**
|
|
4146
4143
|
* <p>The tags to apply to the resources that are created during instance launch.</p>
|
|
4147
|
-
*
|
|
4148
|
-
*
|
|
4144
|
+
* <p>You can specify tags for the following resources only:</p>
|
|
4145
|
+
* <ul>
|
|
4149
4146
|
* <li>
|
|
4150
|
-
*
|
|
4147
|
+
* <p>Instances</p>
|
|
4151
4148
|
* </li>
|
|
4152
4149
|
* <li>
|
|
4153
|
-
*
|
|
4150
|
+
* <p>Volumes</p>
|
|
4154
4151
|
* </li>
|
|
4155
4152
|
* <li>
|
|
4156
|
-
*
|
|
4153
|
+
* <p>Elastic graphics</p>
|
|
4157
4154
|
* </li>
|
|
4158
4155
|
* <li>
|
|
4159
|
-
*
|
|
4156
|
+
* <p>Spot Instance requests</p>
|
|
4160
4157
|
* </li>
|
|
4161
4158
|
* <li>
|
|
4162
|
-
*
|
|
4159
|
+
* <p>Network interfaces</p>
|
|
4163
4160
|
* </li>
|
|
4164
4161
|
* </ul>
|
|
4165
|
-
*
|
|
4166
|
-
*
|
|
4162
|
+
* <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>
|
|
4163
|
+
* <note>
|
|
4167
4164
|
* <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>
|
|
4168
|
-
*
|
|
4165
|
+
* </note>
|
|
4169
4166
|
*/
|
|
4170
4167
|
TagSpecifications?: LaunchTemplateTagSpecificationRequest[];
|
|
4171
4168
|
/**
|
|
@@ -4227,7 +4224,7 @@ export interface RequestLaunchTemplateData {
|
|
|
4227
4224
|
* <p>Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves. For more
|
|
4228
4225
|
* information, see <a href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html"> What is Amazon Web Services Nitro Enclaves?</a>
|
|
4229
4226
|
* in the <i>Amazon Web Services Nitro Enclaves User Guide</i>.</p>
|
|
4230
|
-
*
|
|
4227
|
+
* <p>You can't enable Amazon Web Services Nitro Enclaves and hibernation on the same instance.</p>
|
|
4231
4228
|
*/
|
|
4232
4229
|
EnclaveOptions?: LaunchTemplateEnclaveOptionsRequest;
|
|
4233
4230
|
/**
|
|
@@ -4265,7 +4262,7 @@ export interface CreateLaunchTemplateRequest {
|
|
|
4265
4262
|
* <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
|
|
4266
4263
|
* request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
4267
4264
|
* idempotency</a>.</p>
|
|
4268
|
-
*
|
|
4265
|
+
* <p>Constraint: Maximum 128 ASCII characters.</p>
|
|
4269
4266
|
*/
|
|
4270
4267
|
ClientToken?: string;
|
|
4271
4268
|
/**
|
|
@@ -4283,11 +4280,11 @@ export interface CreateLaunchTemplateRequest {
|
|
|
4283
4280
|
/**
|
|
4284
4281
|
* <p>The tags to apply to the launch template on creation. To tag the launch template, the
|
|
4285
4282
|
* resource type must be <code>launch-template</code>.</p>
|
|
4286
|
-
*
|
|
4283
|
+
* <note>
|
|
4287
4284
|
* <p>To specify the tags for the resources that are created when an instance is
|
|
4288
4285
|
* 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
|
|
4289
4286
|
* template data</a> structure.</p>
|
|
4290
|
-
*
|
|
4287
|
+
* </note>
|
|
4291
4288
|
*/
|
|
4292
4289
|
TagSpecifications?: TagSpecification[];
|
|
4293
4290
|
}
|
|
@@ -4376,18 +4373,18 @@ export interface CreateLaunchTemplateVersionRequest {
|
|
|
4376
4373
|
* <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
|
|
4377
4374
|
* request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
4378
4375
|
* idempotency</a>.</p>
|
|
4379
|
-
*
|
|
4376
|
+
* <p>Constraint: Maximum 128 ASCII characters.</p>
|
|
4380
4377
|
*/
|
|
4381
4378
|
ClientToken?: string;
|
|
4382
4379
|
/**
|
|
4383
4380
|
* <p>The ID of the launch template.</p>
|
|
4384
|
-
*
|
|
4381
|
+
* <p>You must specify either the <code>LaunchTemplateId</code> or the
|
|
4385
4382
|
* <code>LaunchTemplateName</code>, but not both.</p>
|
|
4386
4383
|
*/
|
|
4387
4384
|
LaunchTemplateId?: string;
|
|
4388
4385
|
/**
|
|
4389
4386
|
* <p>The name of the launch template.</p>
|
|
4390
|
-
*
|
|
4387
|
+
* <p>You must specify the <code>LaunchTemplateName</code> or the
|
|
4391
4388
|
* <code>LaunchTemplateId</code>, but not both.</p>
|
|
4392
4389
|
*/
|
|
4393
4390
|
LaunchTemplateName?: string;
|
|
@@ -4486,15 +4483,15 @@ export interface LaunchTemplateCapacityReservationSpecificationResponse {
|
|
|
4486
4483
|
/**
|
|
4487
4484
|
* <p>Indicates the instance's Capacity Reservation preferences. Possible preferences
|
|
4488
4485
|
* include:</p>
|
|
4489
|
-
*
|
|
4486
|
+
* <ul>
|
|
4490
4487
|
* <li>
|
|
4491
|
-
*
|
|
4488
|
+
* <p>
|
|
4492
4489
|
* <code>open</code> - The instance can run in any <code>open</code> Capacity
|
|
4493
4490
|
* Reservation that has matching attributes (instance type, platform, Availability
|
|
4494
4491
|
* Zone).</p>
|
|
4495
4492
|
* </li>
|
|
4496
4493
|
* <li>
|
|
4497
|
-
*
|
|
4494
|
+
* <p>
|
|
4498
4495
|
* <code>none</code> - The instance avoids running in a Capacity Reservation even
|
|
4499
4496
|
* if one is available. The instance runs in On-Demand capacity.</p>
|
|
4500
4497
|
* </li>
|
|
@@ -4526,7 +4523,7 @@ export interface LaunchTemplateCpuOptions {
|
|
|
4526
4523
|
export interface CreditSpecification {
|
|
4527
4524
|
/**
|
|
4528
4525
|
* <p>The credit option for CPU usage of a T instance.</p>
|
|
4529
|
-
*
|
|
4526
|
+
* <p>Valid values: <code>standard</code> | <code>unlimited</code>
|
|
4530
4527
|
* </p>
|
|
4531
4528
|
*/
|
|
4532
4529
|
CpuCredits?: string;
|
|
@@ -4551,7 +4548,7 @@ export interface LaunchTemplateElasticInferenceAcceleratorResponse {
|
|
|
4551
4548
|
Type?: string;
|
|
4552
4549
|
/**
|
|
4553
4550
|
* <p> The number of elastic inference accelerators to attach to the instance. </p>
|
|
4554
|
-
*
|
|
4551
|
+
* <p>Default: 1</p>
|
|
4555
4552
|
*/
|
|
4556
4553
|
Count?: number;
|
|
4557
4554
|
}
|
|
@@ -4596,10 +4593,10 @@ export interface LaunchTemplateSpotMarketOptions {
|
|
|
4596
4593
|
* <p>The maximum hourly price you're willing to pay for the Spot Instances. We do not
|
|
4597
4594
|
* recommend using this parameter because it can lead to increased interruptions. If you do
|
|
4598
4595
|
* not specify this parameter, you will pay the current Spot price.</p>
|
|
4599
|
-
*
|
|
4596
|
+
* <important>
|
|
4600
4597
|
* <p>If you specify a maximum price, your Spot Instances will be interrupted more
|
|
4601
4598
|
* frequently than if you do not specify this parameter.</p>
|
|
4602
|
-
*
|
|
4599
|
+
* </important>
|
|
4603
4600
|
*/
|
|
4604
4601
|
MaxPrice?: string;
|
|
4605
4602
|
/**
|
|
@@ -4666,10 +4663,10 @@ export declare enum LaunchTemplateInstanceMetadataOptionsState {
|
|
|
4666
4663
|
export interface LaunchTemplateInstanceMetadataOptions {
|
|
4667
4664
|
/**
|
|
4668
4665
|
* <p>The state of the metadata option changes.</p>
|
|
4669
|
-
*
|
|
4666
|
+
* <p>
|
|
4670
4667
|
* <code>pending</code> - The metadata options are being updated and the instance is not
|
|
4671
4668
|
* ready to process metadata traffic with the new selection.</p>
|
|
4672
|
-
*
|
|
4669
|
+
* <p>
|
|
4673
4670
|
* <code>applied</code> - The metadata options have been successfully applied on the
|
|
4674
4671
|
* instance.</p>
|
|
4675
4672
|
*/
|
|
@@ -4677,12 +4674,12 @@ export interface LaunchTemplateInstanceMetadataOptions {
|
|
|
4677
4674
|
/**
|
|
4678
4675
|
* <p>The state of token usage for your instance metadata requests. If the parameter is not
|
|
4679
4676
|
* specified in the request, the default state is <code>optional</code>.</p>
|
|
4680
|
-
*
|
|
4677
|
+
* <p>If the state is <code>optional</code>, you can choose to retrieve instance metadata
|
|
4681
4678
|
* with or without a signed token header on your request. If you retrieve the IAM role
|
|
4682
4679
|
* credentials without a token, the version 1.0 role credentials are returned. If you
|
|
4683
4680
|
* retrieve the IAM role credentials using a valid signed token, the version 2.0 role
|
|
4684
4681
|
* credentials are returned.</p>
|
|
4685
|
-
*
|
|
4682
|
+
* <p>If the state is <code>required</code>, you must send a signed token header with any
|
|
4686
4683
|
* instance metadata retrieval requests. In this state, retrieving the IAM role credentials
|
|
4687
4684
|
* always returns the version 2.0 credentials; the version 1.0 credentials are not
|
|
4688
4685
|
* available.</p>
|
|
@@ -4691,22 +4688,22 @@ export interface LaunchTemplateInstanceMetadataOptions {
|
|
|
4691
4688
|
/**
|
|
4692
4689
|
* <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
|
|
4693
4690
|
* number, the further instance metadata requests can travel.</p>
|
|
4694
|
-
*
|
|
4695
|
-
*
|
|
4691
|
+
* <p>Default: 1</p>
|
|
4692
|
+
* <p>Possible values: Integers from 1 to 64</p>
|
|
4696
4693
|
*/
|
|
4697
4694
|
HttpPutResponseHopLimit?: number;
|
|
4698
4695
|
/**
|
|
4699
4696
|
* <p>Enables or disables the HTTP metadata endpoint on your instances. If the parameter is
|
|
4700
4697
|
* not specified, the default state is <code>enabled</code>.</p>
|
|
4701
|
-
*
|
|
4698
|
+
* <note>
|
|
4702
4699
|
* <p>If you specify a value of <code>disabled</code>, you will not be able to access
|
|
4703
4700
|
* your instance metadata. </p>
|
|
4704
|
-
*
|
|
4701
|
+
* </note>
|
|
4705
4702
|
*/
|
|
4706
4703
|
HttpEndpoint?: LaunchTemplateInstanceMetadataEndpointState | string;
|
|
4707
4704
|
/**
|
|
4708
4705
|
* <p>Enables or disables the IPv6 endpoint for the instance metadata service.</p>
|
|
4709
|
-
*
|
|
4706
|
+
* <p>Default: <code>disabled</code>
|
|
4710
4707
|
* </p>
|
|
4711
4708
|
*/
|
|
4712
4709
|
HttpProtocolIpv6?: LaunchTemplateInstanceMetadataProtocolIpv6 | string;
|
|
@@ -4715,7 +4712,7 @@ export interface LaunchTemplateInstanceMetadataOptions {
|
|
|
4715
4712
|
* metadata. Set to <code>disabled</code> to turn off access to instance tags from the
|
|
4716
4713
|
* instance metadata. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
|
|
4717
4714
|
* instance tags using the instance metadata</a>.</p>
|
|
4718
|
-
*
|
|
4715
|
+
* <p>Default: <code>disabled</code>
|
|
4719
4716
|
* </p>
|
|
4720
4717
|
*/
|
|
4721
4718
|
InstanceMetadataTags?: LaunchTemplateInstanceMetadataTagsState | string;
|
|
@@ -4766,7 +4763,7 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecification {
|
|
|
4766
4763
|
/**
|
|
4767
4764
|
* <p>Indicates whether to associate a Carrier IP address with eth0 for a new network
|
|
4768
4765
|
* interface.</p>
|
|
4769
|
-
*
|
|
4766
|
+
* <p>Use this option when you launch an instance in a Wavelength Zone and want to associate
|
|
4770
4767
|
* a Carrier IP address with the network interface. For more information about Carrier IP
|
|
4771
4768
|
* addresses, see <a href="https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip">Carrier IP addresses</a> in the <i>Wavelength Developer
|
|
4772
4769
|
* Guide</i>.</p>
|
|
@@ -5242,68 +5239,68 @@ export interface StateReason {
|
|
|
5242
5239
|
Code?: string;
|
|
5243
5240
|
/**
|
|
5244
5241
|
* <p>The message for the state change.</p>
|
|
5245
|
-
*
|
|
5242
|
+
* <ul>
|
|
5246
5243
|
* <li>
|
|
5247
|
-
*
|
|
5244
|
+
* <p>
|
|
5248
5245
|
* <code>Server.InsufficientInstanceCapacity</code>: There was insufficient
|
|
5249
5246
|
* capacity available to satisfy the launch request.</p>
|
|
5250
5247
|
* </li>
|
|
5251
5248
|
* <li>
|
|
5252
|
-
*
|
|
5249
|
+
* <p>
|
|
5253
5250
|
* <code>Server.InternalError</code>: An internal error caused the instance to
|
|
5254
5251
|
* terminate during launch.</p>
|
|
5255
5252
|
* </li>
|
|
5256
5253
|
* <li>
|
|
5257
|
-
*
|
|
5254
|
+
* <p>
|
|
5258
5255
|
* <code>Server.ScheduledStop</code>: The instance was stopped due to a scheduled
|
|
5259
5256
|
* retirement.</p>
|
|
5260
5257
|
* </li>
|
|
5261
5258
|
* <li>
|
|
5262
|
-
*
|
|
5259
|
+
* <p>
|
|
5263
5260
|
* <code>Server.SpotInstanceShutdown</code>: The instance was stopped because the
|
|
5264
5261
|
* number of Spot requests with a maximum price equal to or higher than the Spot
|
|
5265
5262
|
* price exceeded available capacity or because of an increase in the Spot
|
|
5266
5263
|
* price.</p>
|
|
5267
5264
|
* </li>
|
|
5268
5265
|
* <li>
|
|
5269
|
-
*
|
|
5266
|
+
* <p>
|
|
5270
5267
|
* <code>Server.SpotInstanceTermination</code>: The instance was terminated
|
|
5271
5268
|
* because the number of Spot requests with a maximum price equal to or higher than
|
|
5272
5269
|
* the Spot price exceeded available capacity or because of an increase in the Spot
|
|
5273
5270
|
* price.</p>
|
|
5274
5271
|
* </li>
|
|
5275
5272
|
* <li>
|
|
5276
|
-
*
|
|
5273
|
+
* <p>
|
|
5277
5274
|
* <code>Client.InstanceInitiatedShutdown</code>: The instance was shut down
|
|
5278
5275
|
* using the <code>shutdown -h</code> command from the instance.</p>
|
|
5279
5276
|
* </li>
|
|
5280
5277
|
* <li>
|
|
5281
|
-
*
|
|
5278
|
+
* <p>
|
|
5282
5279
|
* <code>Client.InstanceTerminated</code>: The instance was terminated or
|
|
5283
5280
|
* rebooted during AMI creation.</p>
|
|
5284
5281
|
* </li>
|
|
5285
5282
|
* <li>
|
|
5286
|
-
*
|
|
5283
|
+
* <p>
|
|
5287
5284
|
* <code>Client.InternalError</code>: A client error caused the instance to
|
|
5288
5285
|
* terminate during launch.</p>
|
|
5289
5286
|
* </li>
|
|
5290
5287
|
* <li>
|
|
5291
|
-
*
|
|
5288
|
+
* <p>
|
|
5292
5289
|
* <code>Client.InvalidSnapshot.NotFound</code>: The specified snapshot was not
|
|
5293
5290
|
* found.</p>
|
|
5294
5291
|
* </li>
|
|
5295
5292
|
* <li>
|
|
5296
|
-
*
|
|
5293
|
+
* <p>
|
|
5297
5294
|
* <code>Client.UserInitiatedHibernate</code>: Hibernation was initiated on the
|
|
5298
5295
|
* instance.</p>
|
|
5299
5296
|
* </li>
|
|
5300
5297
|
* <li>
|
|
5301
|
-
*
|
|
5298
|
+
* <p>
|
|
5302
5299
|
* <code>Client.UserInitiatedShutdown</code>: The instance was shut down using
|
|
5303
5300
|
* the Amazon EC2 API.</p>
|
|
5304
5301
|
* </li>
|
|
5305
5302
|
* <li>
|
|
5306
|
-
*
|
|
5303
|
+
* <p>
|
|
5307
5304
|
* <code>Client.VolumeLimitExceeded</code>: The limit on the number of EBS
|
|
5308
5305
|
* volumes or total storage was exceeded. Decrease usage or request an increase in
|
|
5309
5306
|
* your account limits.</p>
|
|
@@ -5500,7 +5497,7 @@ export interface CreateManagedPrefixListRequest {
|
|
|
5500
5497
|
DryRun?: boolean;
|
|
5501
5498
|
/**
|
|
5502
5499
|
* <p>A name for the prefix list.</p>
|
|
5503
|
-
*
|
|
5500
|
+
* <p>Constraints: Up to 255 characters in length. The name cannot start with <code>com.amazonaws</code>.</p>
|
|
5504
5501
|
*/
|
|
5505
5502
|
PrefixListName: string | undefined;
|
|
5506
5503
|
/**
|
|
@@ -5517,7 +5514,7 @@ export interface CreateManagedPrefixListRequest {
|
|
|
5517
5514
|
TagSpecifications?: TagSpecification[];
|
|
5518
5515
|
/**
|
|
5519
5516
|
* <p>The IP address type.</p>
|
|
5520
|
-
*
|
|
5517
|
+
* <p>Valid Values: <code>IPv4</code> | <code>IPv6</code>
|
|
5521
5518
|
* </p>
|
|
5522
5519
|
*/
|
|
5523
5520
|
AddressFamily: string | undefined;
|
|
@@ -5525,7 +5522,7 @@ export interface CreateManagedPrefixListRequest {
|
|
|
5525
5522
|
* <p>Unique, case-sensitive identifier you provide to ensure the idempotency of the
|
|
5526
5523
|
* request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
|
|
5527
5524
|
* Idempotency</a>.</p>
|
|
5528
|
-
*
|
|
5525
|
+
* <p>Constraints: Up to 255 UTF-8 characters in length.</p>
|
|
5529
5526
|
*/
|
|
5530
5527
|
ClientToken?: string;
|
|
5531
5528
|
}
|
|
@@ -6183,15 +6180,15 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
6183
6180
|
/**
|
|
6184
6181
|
* <p>The number of IPv6 addresses to assign to a network interface. Amazon EC2
|
|
6185
6182
|
* automatically selects the IPv6 addresses from the subnet range.</p>
|
|
6186
|
-
*
|
|
6183
|
+
* <p>You can't specify a count of IPv6 addresses using this parameter if you've specified
|
|
6187
6184
|
* one of the following: specific IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.</p>
|
|
6188
|
-
*
|
|
6185
|
+
* <p>If your subnet has the <code>AssignIpv6AddressOnCreation</code> attribute set, you can
|
|
6189
6186
|
* override that setting by specifying 0 as the IPv6 address count.</p>
|
|
6190
6187
|
*/
|
|
6191
6188
|
Ipv6AddressCount?: number;
|
|
6192
6189
|
/**
|
|
6193
6190
|
* <p>The IPv6 addresses from the IPv6 CIDR block range of your subnet.</p>
|
|
6194
|
-
*
|
|
6191
|
+
* <p>You can't specify IPv6 addresses using this parameter if you've specified one of the
|
|
6195
6192
|
* following: a count of IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.</p>
|
|
6196
6193
|
*/
|
|
6197
6194
|
Ipv6Addresses?: InstanceIpv6Address[];
|
|
@@ -6205,7 +6202,7 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
6205
6202
|
PrivateIpAddress?: string;
|
|
6206
6203
|
/**
|
|
6207
6204
|
* <p>The private IPv4 addresses.</p>
|
|
6208
|
-
*
|
|
6205
|
+
* <p>You can't specify private IPv4 addresses if you've specified one of the following:
|
|
6209
6206
|
* a count of private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.</p>
|
|
6210
6207
|
*/
|
|
6211
6208
|
PrivateIpAddresses?: PrivateIpAddressSpecification[];
|
|
@@ -6214,38 +6211,38 @@ export interface CreateNetworkInterfaceRequest {
|
|
|
6214
6211
|
* you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses
|
|
6215
6212
|
* within the subnet's IPv4 CIDR range. You can't specify this option and specify more than
|
|
6216
6213
|
* one private IP address using <code>privateIpAddresses</code>.</p>
|
|
6217
|
-
*
|
|
6214
|
+
* <p>You can't specify a count of private IPv4 addresses if you've specified one of the following:
|
|
6218
6215
|
* specific private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.</p>
|
|
6219
6216
|
*/
|
|
6220
6217
|
SecondaryPrivateIpAddressCount?: number;
|
|
6221
6218
|
/**
|
|
6222
6219
|
* <p>The IPv4 prefixes assigned to the network interface.</p>
|
|
6223
|
-
*
|
|
6220
|
+
* <p>You can't specify IPv4 prefixes if you've specified one of the following:
|
|
6224
6221
|
* a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.</p>
|
|
6225
6222
|
*/
|
|
6226
6223
|
Ipv4Prefixes?: Ipv4PrefixSpecificationRequest[];
|
|
6227
6224
|
/**
|
|
6228
6225
|
* <p>The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface.</p>
|
|
6229
|
-
*
|
|
6226
|
+
* <p>You can't specify a count of IPv4 prefixes if you've specified one of the following:
|
|
6230
6227
|
* specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4
|
|
6231
6228
|
* addresses.</p>
|
|
6232
6229
|
*/
|
|
6233
6230
|
Ipv4PrefixCount?: number;
|
|
6234
6231
|
/**
|
|
6235
6232
|
* <p>The IPv6 prefixes assigned to the network interface.</p>
|
|
6236
|
-
*
|
|
6233
|
+
* <p>You can't specify IPv6 prefixes if you've specified one of the following:
|
|
6237
6234
|
* a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.</p>
|
|
6238
6235
|
*/
|
|
6239
6236
|
Ipv6Prefixes?: Ipv6PrefixSpecificationRequest[];
|
|
6240
6237
|
/**
|
|
6241
6238
|
* <p>The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.</p>
|
|
6242
|
-
*
|
|
6239
|
+
* <p>You can't specify a count of IPv6 prefixes if you've specified one of the following:
|
|
6243
6240
|
* specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.</p>
|
|
6244
6241
|
*/
|
|
6245
6242
|
Ipv6PrefixCount?: number;
|
|
6246
6243
|
/**
|
|
6247
6244
|
* <p>The type of network interface. The default is <code>interface</code>.</p>
|
|
6248
|
-
*
|
|
6245
|
+
* <p>The only supported values are <code>efa</code> and <code>trunk</code>.</p>
|
|
6249
6246
|
*/
|
|
6250
6247
|
InterfaceType?: NetworkInterfaceCreationType | string;
|
|
6251
6248
|
/**
|
|
@@ -6294,7 +6291,7 @@ export interface NetworkInterfaceAssociation {
|
|
|
6294
6291
|
CustomerOwnedIp?: string;
|
|
6295
6292
|
/**
|
|
6296
6293
|
* <p>The carrier IP address associated with the network interface.</p>
|
|
6297
|
-
*
|
|
6294
|
+
* <p>This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.</p>
|
|
6298
6295
|
*/
|
|
6299
6296
|
CarrierIp?: string;
|
|
6300
6297
|
}
|
|
@@ -6672,7 +6669,7 @@ export interface CreatePlacementGroupRequest {
|
|
|
6672
6669
|
/**
|
|
6673
6670
|
* <p>A name for the placement group. Must be unique within the scope of your account for
|
|
6674
6671
|
* the Region.</p>
|
|
6675
|
-
*
|
|
6672
|
+
* <p>Constraints: Up to 255 ASCII characters</p>
|
|
6676
6673
|
*/
|
|
6677
6674
|
GroupName?: string;
|
|
6678
6675
|
/**
|
|
@@ -6690,13 +6687,13 @@ export interface CreatePlacementGroupRequest {
|
|
|
6690
6687
|
TagSpecifications?: TagSpecification[];
|
|
6691
6688
|
/**
|
|
6692
6689
|
* <p>Determines how placement groups spread instances. </p>
|
|
6693
|
-
*
|
|
6690
|
+
* <ul>
|
|
6694
6691
|
* <li>
|
|
6695
|
-
*
|
|
6692
|
+
* <p>Host – You can use <code>host</code> only with Outpost placement
|
|
6696
6693
|
* groups.</p>
|
|
6697
6694
|
* </li>
|
|
6698
6695
|
* <li>
|
|
6699
|
-
*
|
|
6696
|
+
* <p>Rack – No usage restrictions.</p>
|
|
6700
6697
|
* </li>
|
|
6701
6698
|
* </ul>
|
|
6702
6699
|
*/
|
|
@@ -7052,7 +7049,7 @@ export interface CreateRouteRequest {
|
|
|
7052
7049
|
LocalGatewayId?: string;
|
|
7053
7050
|
/**
|
|
7054
7051
|
* <p>The ID of the carrier gateway.</p>
|
|
7055
|
-
*
|
|
7052
|
+
* <p>You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.</p>
|
|
7056
7053
|
*/
|
|
7057
7054
|
CarrierGatewayId?: string;
|
|
7058
7055
|
/**
|
|
@@ -7268,9 +7265,9 @@ export interface CreateRouteTableResult {
|
|
|
7268
7265
|
export interface CreateSecurityGroupRequest {
|
|
7269
7266
|
/**
|
|
7270
7267
|
* <p>A description for the security group. This is informational only.</p>
|
|
7271
|
-
*
|
|
7272
|
-
*
|
|
7273
|
-
*
|
|
7268
|
+
* <p>Constraints: Up to 255 characters in length</p>
|
|
7269
|
+
* <p>Constraints for EC2-Classic: ASCII characters</p>
|
|
7270
|
+
* <p>Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*</p>
|
|
7274
7271
|
*/
|
|
7275
7272
|
Description: string | undefined;
|
|
7276
7273
|
/**
|
|
@@ -7314,23 +7311,23 @@ export interface CreateSnapshotRequest {
|
|
|
7314
7311
|
/**
|
|
7315
7312
|
* <p>The Amazon Resource Name (ARN) of the Outpost on which to create a local
|
|
7316
7313
|
* snapshot.</p>
|
|
7317
|
-
*
|
|
7314
|
+
* <ul>
|
|
7318
7315
|
* <li>
|
|
7319
|
-
*
|
|
7316
|
+
* <p>To create a snapshot of a volume in a Region, omit this parameter. The snapshot
|
|
7320
7317
|
* is created in the same Region as the volume.</p>
|
|
7321
|
-
*
|
|
7318
|
+
* </li>
|
|
7322
7319
|
* <li>
|
|
7323
|
-
*
|
|
7320
|
+
* <p>To create a snapshot of a volume on an Outpost and store the snapshot in the
|
|
7324
7321
|
* Region, omit this parameter. The snapshot is created in the Region for the
|
|
7325
7322
|
* Outpost.</p>
|
|
7326
|
-
*
|
|
7323
|
+
* </li>
|
|
7327
7324
|
* <li>
|
|
7328
|
-
*
|
|
7325
|
+
* <p>To create a snapshot of a volume on an Outpost and store the snapshot on an
|
|
7329
7326
|
* Outpost, specify the ARN of the destination Outpost. The snapshot must be created on
|
|
7330
7327
|
* the same Outpost as the volume.</p>
|
|
7331
|
-
*
|
|
7328
|
+
* </li>
|
|
7332
7329
|
* </ul>
|
|
7333
|
-
*
|
|
7330
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot">Create local snapshots from volumes on an Outpost</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
7334
7331
|
*/
|
|
7335
7332
|
OutpostArn?: string;
|
|
7336
7333
|
/**
|
|
@@ -7483,23 +7480,23 @@ export interface CreateSnapshotsRequest {
|
|
|
7483
7480
|
/**
|
|
7484
7481
|
* <p>The Amazon Resource Name (ARN) of the Outpost on which to create the local
|
|
7485
7482
|
* snapshots.</p>
|
|
7486
|
-
*
|
|
7483
|
+
* <ul>
|
|
7487
7484
|
* <li>
|
|
7488
|
-
*
|
|
7485
|
+
* <p>To create snapshots from an instance in a Region, omit this parameter. The
|
|
7489
7486
|
* snapshots are created in the same Region as the instance.</p>
|
|
7490
|
-
*
|
|
7487
|
+
* </li>
|
|
7491
7488
|
* <li>
|
|
7492
|
-
*
|
|
7489
|
+
* <p>To create snapshots from an instance on an Outpost and store the snapshots
|
|
7493
7490
|
* in the Region, omit this parameter. The snapshots are created in the Region
|
|
7494
7491
|
* for the Outpost.</p>
|
|
7495
|
-
*
|
|
7492
|
+
* </li>
|
|
7496
7493
|
* <li>
|
|
7497
|
-
*
|
|
7494
|
+
* <p>To create snapshots from an instance on an Outpost and store the snapshots
|
|
7498
7495
|
* on an Outpost, specify the ARN of the destination Outpost. The snapshots must
|
|
7499
7496
|
* be created on the same Outpost as the instance.</p>
|
|
7500
|
-
*
|
|
7497
|
+
* </li>
|
|
7501
7498
|
* </ul>
|
|
7502
|
-
*
|
|
7499
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-multivol-snapshot">
|
|
7503
7500
|
* Create multi-volume local snapshots from instances on an Outpost</a> in the
|
|
7504
7501
|
* <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
7505
7502
|
*/
|