@aws-sdk/client-ec2 3.370.0 → 3.373.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/commands/RunScheduledInstancesCommand.js +2 -2
- package/dist-cjs/models/models_4.js +6 -2
- package/dist-cjs/models/models_5.js +1 -6
- package/dist-cjs/models/models_6.js +7 -12
- package/dist-cjs/models/models_7.js +11 -1
- package/dist-cjs/protocols/Aws_ec2.js +23 -0
- package/dist-es/commands/RunScheduledInstancesCommand.js +1 -1
- package/dist-es/models/models_4.js +4 -0
- package/dist-es/models/models_5.js +0 -4
- package/dist-es/models/models_6.js +4 -8
- package/dist-es/models/models_7.js +8 -0
- package/dist-es/protocols/Aws_ec2.js +23 -0
- package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +2 -1
- package/dist-types/commands/AssociateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +3 -2
- package/dist-types/commands/AssociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/AssociateVpcCidrBlockCommand.d.ts +2 -2
- package/dist-types/commands/AttachClassicLinkVpcCommand.d.ts +2 -2
- package/dist-types/commands/AttachInternetGatewayCommand.d.ts +3 -2
- package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
- package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +0 -3
- package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -2
- package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -11
- package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +0 -10
- package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +2 -2
- package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +3 -3
- package/dist-types/commands/CreateInternetGatewayCommand.d.ts +2 -1
- package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -2
- package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +2 -1
- package/dist-types/commands/CreateRouteCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecurityGroupCommand.d.ts +6 -5
- package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
- package/dist-types/commands/CreateVpcCommand.d.ts +4 -4
- package/dist-types/commands/CreateVpcEndpointCommand.d.ts +4 -4
- package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -6
- package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceTypesCommand.d.ts +6 -0
- package/dist-types/commands/DescribeNetworkAclsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRouteTablesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +0 -9
- package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubnetsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeVpcClassicLinkCommand.d.ts +3 -3
- package/dist-types/commands/DescribeVpcClassicLinkDnsSupportCommand.d.ts +2 -2
- package/dist-types/commands/DetachClassicLinkVpcCommand.d.ts +4 -2
- package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +4 -3
- package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +5 -6
- package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +6 -5
- package/dist-types/commands/DisassociateRouteTableCommand.d.ts +1 -1
- package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +2 -3
- package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +2 -3
- package/dist-types/commands/GetFlowLogsIntegrationTemplateCommand.d.ts +5 -0
- package/dist-types/commands/ImportInstanceCommand.d.ts +11 -4
- package/dist-types/commands/ModifyVpcPeeringConnectionOptionsCommand.d.ts +1 -16
- package/dist-types/commands/ModifyVpcTenancyCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceNetworkAclAssociationCommand.d.ts +1 -2
- package/dist-types/commands/ReplaceNetworkAclEntryCommand.d.ts +2 -2
- package/dist-types/commands/ReplaceRouteCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceRouteTableAssociationCommand.d.ts +1 -1
- package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +2 -3
- package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +3 -5
- package/dist-types/commands/RunScheduledInstancesCommand.d.ts +1 -2
- package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +24 -32
- package/dist-types/models/models_1.d.ts +85 -30
- package/dist-types/models/models_2.d.ts +8 -11
- package/dist-types/models/models_3.d.ts +12 -15
- package/dist-types/models/models_4.d.ts +63 -66
- package/dist-types/models/models_5.d.ts +60 -60
- package/dist-types/models/models_6.d.ts +71 -140
- package/dist-types/models/models_7.d.ts +112 -7
- package/dist-types/ts3.4/commands/RunScheduledInstancesCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_4.d.ts +11 -12
- package/dist-types/ts3.4/models/models_5.d.ts +13 -16
- package/dist-types/ts3.4/models/models_6.d.ts +14 -31
- package/dist-types/ts3.4/models/models_7.d.ts +37 -1
- package/package.json +1 -1
|
@@ -839,22 +839,20 @@ export interface Ipv6CidrBlock {
|
|
|
839
839
|
}
|
|
840
840
|
/**
|
|
841
841
|
* @public
|
|
842
|
-
* <
|
|
843
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
844
|
-
* </note>
|
|
845
|
-
* <p>Describes the VPC peering connection options.</p>
|
|
842
|
+
* <p>Describes the VPC peering connection options.</p>
|
|
846
843
|
*/
|
|
847
844
|
export interface VpcPeeringConnectionOptionsDescription {
|
|
848
845
|
/**
|
|
849
|
-
* <p>Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses
|
|
846
|
+
* <p>Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses
|
|
847
|
+
* when queried from instances in a peer VPC.</p>
|
|
850
848
|
*/
|
|
851
849
|
AllowDnsResolutionFromRemoteVpc?: boolean;
|
|
852
850
|
/**
|
|
853
|
-
* <p>
|
|
851
|
+
* <p>Deprecated.</p>
|
|
854
852
|
*/
|
|
855
853
|
AllowEgressFromLocalClassicLinkToRemoteVpc?: boolean;
|
|
856
854
|
/**
|
|
857
|
-
* <p>
|
|
855
|
+
* <p>Deprecated.</p>
|
|
858
856
|
*/
|
|
859
857
|
AllowEgressFromLocalVpcToRemoteClassicLink?: boolean;
|
|
860
858
|
}
|
|
@@ -2889,7 +2887,7 @@ export interface AssignPrivateIpAddressesResult {
|
|
|
2889
2887
|
*/
|
|
2890
2888
|
export interface AssignPrivateNatGatewayAddressRequest {
|
|
2891
2889
|
/**
|
|
2892
|
-
* <p>The NAT gateway
|
|
2890
|
+
* <p>The ID of the NAT gateway.</p>
|
|
2893
2891
|
*/
|
|
2894
2892
|
NatGatewayId: string | undefined;
|
|
2895
2893
|
/**
|
|
@@ -2966,7 +2964,7 @@ export interface NatGatewayAddress {
|
|
|
2966
2964
|
*/
|
|
2967
2965
|
export interface AssignPrivateNatGatewayAddressResult {
|
|
2968
2966
|
/**
|
|
2969
|
-
* <p>The NAT gateway
|
|
2967
|
+
* <p>The ID of the NAT gateway.</p>
|
|
2970
2968
|
*/
|
|
2971
2969
|
NatGatewayId?: string;
|
|
2972
2970
|
/**
|
|
@@ -3558,7 +3556,7 @@ export interface AssociateIpamResourceDiscoveryResult {
|
|
|
3558
3556
|
*/
|
|
3559
3557
|
export interface AssociateNatGatewayAddressRequest {
|
|
3560
3558
|
/**
|
|
3561
|
-
* <p>The NAT gateway
|
|
3559
|
+
* <p>The ID of the NAT gateway.</p>
|
|
3562
3560
|
*/
|
|
3563
3561
|
NatGatewayId: string | undefined;
|
|
3564
3562
|
/**
|
|
@@ -3581,7 +3579,7 @@ export interface AssociateNatGatewayAddressRequest {
|
|
|
3581
3579
|
*/
|
|
3582
3580
|
export interface AssociateNatGatewayAddressResult {
|
|
3583
3581
|
/**
|
|
3584
|
-
* <p>The NAT gateway
|
|
3582
|
+
* <p>The ID of the NAT gateway.</p>
|
|
3585
3583
|
*/
|
|
3586
3584
|
NatGatewayId?: string;
|
|
3587
3585
|
/**
|
|
@@ -4135,15 +4133,15 @@ export interface AttachClassicLinkVpcRequest {
|
|
|
4135
4133
|
*/
|
|
4136
4134
|
DryRun?: boolean;
|
|
4137
4135
|
/**
|
|
4138
|
-
* <p>The
|
|
4136
|
+
* <p>The IDs of the security groups. You cannot specify security groups from a different VPC.</p>
|
|
4139
4137
|
*/
|
|
4140
4138
|
Groups: string[] | undefined;
|
|
4141
4139
|
/**
|
|
4142
|
-
* <p>The ID of
|
|
4140
|
+
* <p>The ID of the EC2-Classic instance.</p>
|
|
4143
4141
|
*/
|
|
4144
4142
|
InstanceId: string | undefined;
|
|
4145
4143
|
/**
|
|
4146
|
-
* <p>The ID of
|
|
4144
|
+
* <p>The ID of the ClassicLink-enabled VPC.</p>
|
|
4147
4145
|
*/
|
|
4148
4146
|
VpcId: string | undefined;
|
|
4149
4147
|
}
|
|
@@ -4701,7 +4699,7 @@ export interface IpRange {
|
|
|
4701
4699
|
}
|
|
4702
4700
|
/**
|
|
4703
4701
|
* @public
|
|
4704
|
-
* <p>
|
|
4702
|
+
* <p>Describes an IPv6 range.</p>
|
|
4705
4703
|
*/
|
|
4706
4704
|
export interface Ipv6Range {
|
|
4707
4705
|
/**
|
|
@@ -4735,9 +4733,6 @@ export interface PrefixListId {
|
|
|
4735
4733
|
/**
|
|
4736
4734
|
* @public
|
|
4737
4735
|
* <p>Describes a security group and Amazon Web Services account ID pair.</p>
|
|
4738
|
-
* <note>
|
|
4739
|
-
* <p>We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
4740
|
-
* </note>
|
|
4741
4736
|
*/
|
|
4742
4737
|
export interface UserIdGroupPair {
|
|
4743
4738
|
/**
|
|
@@ -4752,9 +4747,8 @@ export interface UserIdGroupPair {
|
|
|
4752
4747
|
*/
|
|
4753
4748
|
GroupId?: string;
|
|
4754
4749
|
/**
|
|
4755
|
-
* <p>The name of the security group.
|
|
4756
|
-
*
|
|
4757
|
-
* security group ID. </p>
|
|
4750
|
+
* <p>[Default VPC] The name of the security group. For a security group in a nondefault VPC,
|
|
4751
|
+
* use the security group ID. </p>
|
|
4758
4752
|
* <p>For a referenced security group in another VPC, this value is not returned if the
|
|
4759
4753
|
* referenced security group is deleted.</p>
|
|
4760
4754
|
*/
|
|
@@ -4768,8 +4762,6 @@ export interface UserIdGroupPair {
|
|
|
4768
4762
|
* <p>For a referenced security group in another VPC, the account ID of the referenced
|
|
4769
4763
|
* security group is returned in the response. If the referenced security group is deleted,
|
|
4770
4764
|
* this value is not returned.</p>
|
|
4771
|
-
* <p>[EC2-Classic] Required when adding or removing rules that reference a security group
|
|
4772
|
-
* in another Amazon Web Services account.</p>
|
|
4773
4765
|
*/
|
|
4774
4766
|
UserId?: string;
|
|
4775
4767
|
/**
|
|
@@ -4795,7 +4787,7 @@ export interface IpPermission {
|
|
|
4795
4787
|
/**
|
|
4796
4788
|
* <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>, <code>icmpv6</code>)
|
|
4797
4789
|
* or number (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>).</p>
|
|
4798
|
-
* <p>
|
|
4790
|
+
* <p>Use <code>-1</code> to specify all protocols. When authorizing
|
|
4799
4791
|
* security group rules, specifying <code>-1</code> or a protocol number other than
|
|
4800
4792
|
* <code>tcp</code>, <code>udp</code>, <code>icmp</code>, or <code>icmpv6</code> allows
|
|
4801
4793
|
* traffic on all ports, regardless of any port range you specify. For <code>tcp</code>,
|
|
@@ -4808,11 +4800,11 @@ export interface IpPermission {
|
|
|
4808
4800
|
*/
|
|
4809
4801
|
IpRanges?: IpRange[];
|
|
4810
4802
|
/**
|
|
4811
|
-
* <p>
|
|
4803
|
+
* <p>The IPv6 ranges.</p>
|
|
4812
4804
|
*/
|
|
4813
4805
|
Ipv6Ranges?: Ipv6Range[];
|
|
4814
4806
|
/**
|
|
4815
|
-
* <p>
|
|
4807
|
+
* <p>The prefix list IDs.</p>
|
|
4816
4808
|
*/
|
|
4817
4809
|
PrefixListIds?: PrefixListId[];
|
|
4818
4810
|
/**
|
|
@@ -5004,7 +4996,7 @@ export interface AuthorizeSecurityGroupIngressRequest {
|
|
|
5004
4996
|
*/
|
|
5005
4997
|
GroupId?: string;
|
|
5006
4998
|
/**
|
|
5007
|
-
* <p>[
|
|
4999
|
+
* <p>[Default VPC] The name of the security group. You must specify either the
|
|
5008
5000
|
* security group ID or the security group name in the request. For security groups in a
|
|
5009
5001
|
* nondefault VPC, you must specify the security group ID.</p>
|
|
5010
5002
|
*/
|
|
@@ -5016,22 +5008,22 @@ export interface AuthorizeSecurityGroupIngressRequest {
|
|
|
5016
5008
|
/**
|
|
5017
5009
|
* <p>The IP protocol name (<code>tcp</code>, <code>udp</code>, <code>icmp</code>) or number
|
|
5018
5010
|
* (see <a href="http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">Protocol Numbers</a>). To specify <code>icmpv6</code>, use a set of IP permissions.</p>
|
|
5019
|
-
* <p>
|
|
5011
|
+
* <p>Use <code>-1</code> to specify all protocols. If you specify <code>-1</code> or a
|
|
5020
5012
|
* protocol other than <code>tcp</code>, <code>udp</code>, or <code>icmp</code>, traffic on all ports
|
|
5021
5013
|
* is allowed, regardless of any ports you specify.</p>
|
|
5022
5014
|
* <p>Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.</p>
|
|
5023
5015
|
*/
|
|
5024
5016
|
IpProtocol?: string;
|
|
5025
5017
|
/**
|
|
5026
|
-
* <p>[
|
|
5018
|
+
* <p>[Default VPC] The name of the source security group. You can't specify this parameter
|
|
5027
5019
|
* in combination with the following parameters: the CIDR IP address range, the start of the port range,
|
|
5028
5020
|
* the IP protocol, and the end of the port range. Creates rules that grant full ICMP, UDP, and TCP access.
|
|
5029
|
-
* To create a rule with a specific IP protocol and port range, use a set of IP permissions instead.
|
|
5030
|
-
*
|
|
5021
|
+
* To create a rule with a specific IP protocol and port range, use a set of IP permissions instead.
|
|
5022
|
+
* The source security group must be in the same VPC.</p>
|
|
5031
5023
|
*/
|
|
5032
5024
|
SourceSecurityGroupName?: string;
|
|
5033
5025
|
/**
|
|
5034
|
-
* <p>[
|
|
5026
|
+
* <p>[Nondefault VPC] The Amazon Web Services account ID for the source security group, if the source security group is
|
|
5035
5027
|
* in a different account. You can't specify this parameter in combination with the following parameters:
|
|
5036
5028
|
* the CIDR IP address range, the IP protocol, the start of the port range, and the end of the port range.
|
|
5037
5029
|
* Creates rules that grant full ICMP, UDP, and TCP access. To create a rule with a specific IP protocol
|
|
@@ -878,7 +878,7 @@ export interface NewDhcpConfiguration {
|
|
|
878
878
|
*/
|
|
879
879
|
Key?: string;
|
|
880
880
|
/**
|
|
881
|
-
* <p>
|
|
881
|
+
* <p>The values for the DHCP option.</p>
|
|
882
882
|
*/
|
|
883
883
|
Values?: string[];
|
|
884
884
|
}
|
|
@@ -921,17 +921,17 @@ export interface DhcpConfiguration {
|
|
|
921
921
|
*/
|
|
922
922
|
Key?: string;
|
|
923
923
|
/**
|
|
924
|
-
* <p>
|
|
924
|
+
* <p>The values for the DHCP option.</p>
|
|
925
925
|
*/
|
|
926
926
|
Values?: AttributeValue[];
|
|
927
927
|
}
|
|
928
928
|
/**
|
|
929
929
|
* @public
|
|
930
|
-
* <p>
|
|
930
|
+
* <p>The set of DHCP options.</p>
|
|
931
931
|
*/
|
|
932
932
|
export interface DhcpOptions {
|
|
933
933
|
/**
|
|
934
|
-
* <p>
|
|
934
|
+
* <p>The DHCP options in the set.</p>
|
|
935
935
|
*/
|
|
936
936
|
DhcpConfigurations?: DhcpConfiguration[];
|
|
937
937
|
/**
|
|
@@ -983,8 +983,7 @@ export interface CreateEgressOnlyInternetGatewayRequest {
|
|
|
983
983
|
}
|
|
984
984
|
/**
|
|
985
985
|
* @public
|
|
986
|
-
* <p>Describes the attachment of a VPC to an internet gateway or an egress-only internet
|
|
987
|
-
* gateway.</p>
|
|
986
|
+
* <p>Describes the attachment of a VPC to an internet gateway or an egress-only internet gateway.</p>
|
|
988
987
|
*/
|
|
989
988
|
export interface InternetGatewayAttachment {
|
|
990
989
|
/**
|
|
@@ -1267,6 +1266,8 @@ export interface VCpuCountRangeRequest {
|
|
|
1267
1266
|
* @public
|
|
1268
1267
|
* <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
|
|
1269
1268
|
* identify instance types with these attributes.</p>
|
|
1269
|
+
* <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
|
|
1270
|
+
* are optional. Any unspecified optional attribute is set to its default.</p>
|
|
1270
1271
|
* <p>When you specify multiple attributes, you get instance types that satisfy all of the
|
|
1271
1272
|
* specified attributes. If you specify multiple values for an attribute, you get instance
|
|
1272
1273
|
* types that satisfy any of the specified values.</p>
|
|
@@ -1285,8 +1286,14 @@ export interface VCpuCountRangeRequest {
|
|
|
1285
1286
|
* </li>
|
|
1286
1287
|
* </ul>
|
|
1287
1288
|
* <note>
|
|
1288
|
-
* <p>
|
|
1289
|
-
*
|
|
1289
|
+
* <p>If you specify <code>InstanceRequirements</code>, you can't specify
|
|
1290
|
+
* <code>InstanceType</code>.</p>
|
|
1291
|
+
* <p>Attribute-based instance type selection is only supported when using Auto Scaling
|
|
1292
|
+
* groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in
|
|
1293
|
+
* the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html">launch instance
|
|
1294
|
+
* wizard</a>, or with the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> API or
|
|
1295
|
+
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html">AWS::EC2::Instance</a> Amazon Web Services CloudFormation resource, you can't specify
|
|
1296
|
+
* <code>InstanceRequirements</code>.</p>
|
|
1290
1297
|
* </note>
|
|
1291
1298
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
|
|
1292
1299
|
* placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
@@ -1565,7 +1572,8 @@ export interface InstanceRequirementsRequest {
|
|
|
1565
1572
|
*/
|
|
1566
1573
|
AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
|
|
1567
1574
|
/**
|
|
1568
|
-
* <p>The minimum and maximum amount of network bandwidth, in gigabits per second
|
|
1575
|
+
* <p>The minimum and maximum amount of baseline network bandwidth, in gigabits per second
|
|
1576
|
+
* (Gbps). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html">Amazon EC2 instance network bandwidth</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
1569
1577
|
* <p>Default: No minimum or maximum limits</p>
|
|
1570
1578
|
*/
|
|
1571
1579
|
NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
|
|
@@ -2358,6 +2366,8 @@ export interface VCpuCountRange {
|
|
|
2358
2366
|
* @public
|
|
2359
2367
|
* <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
|
|
2360
2368
|
* identify instance types with these attributes.</p>
|
|
2369
|
+
* <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
|
|
2370
|
+
* are optional. Any unspecified optional attribute is set to its default.</p>
|
|
2361
2371
|
* <p>When you specify multiple attributes, you get instance types that satisfy all of the
|
|
2362
2372
|
* specified attributes. If you specify multiple values for an attribute, you get instance
|
|
2363
2373
|
* types that satisfy any of the specified values.</p>
|
|
@@ -2376,8 +2386,13 @@ export interface VCpuCountRange {
|
|
|
2376
2386
|
* </li>
|
|
2377
2387
|
* </ul>
|
|
2378
2388
|
* <note>
|
|
2379
|
-
* <p>
|
|
2380
|
-
*
|
|
2389
|
+
* <p>If you specify <code>InstanceRequirements</code>, you can't specify
|
|
2390
|
+
* <code>InstanceType</code>.</p>
|
|
2391
|
+
* <p>Attribute-based instance type selection is only supported when using Auto Scaling
|
|
2392
|
+
* groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in
|
|
2393
|
+
* the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html">launch instance
|
|
2394
|
+
* wizard</a> or with the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances API</a>, you
|
|
2395
|
+
* can't specify <code>InstanceRequirements</code>.</p>
|
|
2381
2396
|
* </note>
|
|
2382
2397
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
|
|
2383
2398
|
* placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
@@ -3350,17 +3365,25 @@ export interface CreateImageRequest {
|
|
|
3350
3365
|
*/
|
|
3351
3366
|
Name: string | undefined;
|
|
3352
3367
|
/**
|
|
3353
|
-
* <p>
|
|
3354
|
-
*
|
|
3355
|
-
*
|
|
3356
|
-
*
|
|
3357
|
-
*
|
|
3358
|
-
*
|
|
3359
|
-
*
|
|
3360
|
-
*
|
|
3361
|
-
*
|
|
3362
|
-
*
|
|
3363
|
-
*
|
|
3368
|
+
* <p>Indicates whether or not the instance should be automatically rebooted before creating
|
|
3369
|
+
* the image. Specify one of the following values:</p>
|
|
3370
|
+
* <ul>
|
|
3371
|
+
* <li>
|
|
3372
|
+
* <p>
|
|
3373
|
+
* <code>true</code> - The instance is not rebooted before creating the image. This
|
|
3374
|
+
* creates crash-consistent snapshots that include only the data that has been written
|
|
3375
|
+
* to the volumes at the time the snapshots are created. Buffered data and data in
|
|
3376
|
+
* memory that has not yet been written to the volumes is not included in the snapshots.</p>
|
|
3377
|
+
* </li>
|
|
3378
|
+
* <li>
|
|
3379
|
+
* <p>
|
|
3380
|
+
* <code>false</code> - The instance is rebooted before creating the image. This
|
|
3381
|
+
* ensures that all buffered data and data in memory is written to the volumes before the
|
|
3382
|
+
* snapshots are created.</p>
|
|
3383
|
+
* </li>
|
|
3384
|
+
* </ul>
|
|
3385
|
+
* <p>Default: <code>false</code>
|
|
3386
|
+
* </p>
|
|
3364
3387
|
*/
|
|
3365
3388
|
NoReboot?: boolean;
|
|
3366
3389
|
/**
|
|
@@ -4838,7 +4861,8 @@ export interface LaunchTemplateCpuOptionsRequest {
|
|
|
4838
4861
|
ThreadsPerCore?: number;
|
|
4839
4862
|
/**
|
|
4840
4863
|
* <p>Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported
|
|
4841
|
-
* with M6a, R6a, and C6a instance types only
|
|
4864
|
+
* with M6a, R6a, and C6a instance types only. For more information, see
|
|
4865
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html">AMD SEV-SNP</a>.</p>
|
|
4842
4866
|
*/
|
|
4843
4867
|
AmdSevSnp?: AmdSevSnpSpecification | string;
|
|
4844
4868
|
}
|
|
@@ -5653,8 +5677,36 @@ export interface RequestLaunchTemplateData {
|
|
|
5653
5677
|
/**
|
|
5654
5678
|
* <p>The attributes for the instance types. When you specify instance attributes, Amazon EC2 will
|
|
5655
5679
|
* identify instance types with these attributes.</p>
|
|
5656
|
-
* <p>
|
|
5680
|
+
* <p>You must specify <code>VCpuCount</code> and <code>MemoryMiB</code>. All other attributes
|
|
5681
|
+
* are optional. Any unspecified optional attribute is set to its default.</p>
|
|
5682
|
+
* <p>When you specify multiple attributes, you get instance types that satisfy all of the
|
|
5683
|
+
* specified attributes. If you specify multiple values for an attribute, you get instance
|
|
5684
|
+
* types that satisfy any of the specified values.</p>
|
|
5685
|
+
* <p>To limit the list of instance types from which Amazon EC2 can identify matching instance types,
|
|
5686
|
+
* you can use one of the following parameters, but not both in the same request:</p>
|
|
5687
|
+
* <ul>
|
|
5688
|
+
* <li>
|
|
5689
|
+
* <p>
|
|
5690
|
+
* <code>AllowedInstanceTypes</code> - The instance types to include in the list. All
|
|
5691
|
+
* other instance types are ignored, even if they match your specified attributes.</p>
|
|
5692
|
+
* </li>
|
|
5693
|
+
* <li>
|
|
5694
|
+
* <p>
|
|
5695
|
+
* <code>ExcludedInstanceTypes</code> - The instance types to exclude from the list,
|
|
5696
|
+
* even if they match your specified attributes.</p>
|
|
5697
|
+
* </li>
|
|
5698
|
+
* </ul>
|
|
5699
|
+
* <note>
|
|
5700
|
+
* <p>If you specify <code>InstanceRequirements</code>, you can't specify
|
|
5657
5701
|
* <code>InstanceType</code>.</p>
|
|
5702
|
+
* <p>Attribute-based instance type selection is only supported when using Auto Scaling
|
|
5703
|
+
* groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in
|
|
5704
|
+
* the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance-wizard.html">launch instance
|
|
5705
|
+
* wizard</a>, or with the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a> API or
|
|
5706
|
+
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html">AWS::EC2::Instance</a> Amazon Web Services CloudFormation resource, you can't specify <code>InstanceRequirements</code>.</p>
|
|
5707
|
+
* </note>
|
|
5708
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for EC2 Fleet</a>, <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html">Attribute-based instance type selection for Spot Fleet</a>, and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html">Spot
|
|
5709
|
+
* placement score</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
5658
5710
|
*/
|
|
5659
5711
|
InstanceRequirements?: InstanceRequirementsRequest;
|
|
5660
5712
|
/**
|
|
@@ -5965,8 +6017,8 @@ export interface LaunchTemplateCpuOptions {
|
|
|
5965
6017
|
*/
|
|
5966
6018
|
ThreadsPerCore?: number;
|
|
5967
6019
|
/**
|
|
5968
|
-
* <p>Indicates whether the instance is enabled for
|
|
5969
|
-
* AMD SEV-SNP
|
|
6020
|
+
* <p>Indicates whether the instance is enabled for AMD SEV-SNP. For more information, see
|
|
6021
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html">AMD SEV-SNP</a>.</p>
|
|
5970
6022
|
*/
|
|
5971
6023
|
AmdSevSnp?: AmdSevSnpSpecification | string;
|
|
5972
6024
|
}
|
|
@@ -7229,15 +7281,18 @@ export interface CreateNatGatewayRequest {
|
|
|
7229
7281
|
*/
|
|
7230
7282
|
PrivateIpAddress?: string;
|
|
7231
7283
|
/**
|
|
7232
|
-
* <p>Secondary EIP allocation IDs. For more information
|
|
7284
|
+
* <p>Secondary EIP allocation IDs. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating">Create a NAT gateway</a>
|
|
7285
|
+
* in the <i>Amazon VPC User Guide</i>.</p>
|
|
7233
7286
|
*/
|
|
7234
7287
|
SecondaryAllocationIds?: string[];
|
|
7235
7288
|
/**
|
|
7236
|
-
* <p>Secondary private IPv4 addresses. For more information about secondary addresses, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating">Create a NAT gateway</a> in the <i>Amazon
|
|
7289
|
+
* <p>Secondary private IPv4 addresses. For more information about secondary addresses, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating">Create a NAT gateway</a> in the <i>Amazon VPC User Guide</i>.</p>
|
|
7237
7290
|
*/
|
|
7238
7291
|
SecondaryPrivateIpAddresses?: string[];
|
|
7239
7292
|
/**
|
|
7240
|
-
* <p>[Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway.
|
|
7293
|
+
* <p>[Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway.
|
|
7294
|
+
* For more information about secondary addresses, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating">Create a NAT gateway</a>
|
|
7295
|
+
* in the <i>Amazon VPC User Guide</i>.</p>
|
|
7241
7296
|
*/
|
|
7242
7297
|
SecondaryPrivateIpAddressCount?: number;
|
|
7243
7298
|
}
|
|
@@ -7511,7 +7566,7 @@ export interface NetworkAcl {
|
|
|
7511
7566
|
*/
|
|
7512
7567
|
Associations?: NetworkAclAssociation[];
|
|
7513
7568
|
/**
|
|
7514
|
-
* <p>
|
|
7569
|
+
* <p>The entries (rules) in the network ACL.</p>
|
|
7515
7570
|
*/
|
|
7516
7571
|
Entries?: NetworkAclEntry[];
|
|
7517
7572
|
/**
|
|
@@ -581,20 +581,17 @@ export interface CreateSecurityGroupRequest {
|
|
|
581
581
|
/**
|
|
582
582
|
* <p>A description for the security group.</p>
|
|
583
583
|
* <p>Constraints: Up to 255 characters in length</p>
|
|
584
|
-
* <p>
|
|
585
|
-
* <p>Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;\{\}!$*</p>
|
|
584
|
+
* <p>Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;\{\}!$*</p>
|
|
586
585
|
*/
|
|
587
586
|
Description: string | undefined;
|
|
588
587
|
/**
|
|
589
588
|
* <p>The name of the security group.</p>
|
|
590
|
-
* <p>Constraints: Up to 255 characters in length. Cannot start with
|
|
591
|
-
*
|
|
592
|
-
* <p>Constraints for EC2-Classic: ASCII characters</p>
|
|
593
|
-
* <p>Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;\{\}!$*</p>
|
|
589
|
+
* <p>Constraints: Up to 255 characters in length. Cannot start with <code>sg-</code>.</p>
|
|
590
|
+
* <p>Valid characters: a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;\{\}!$*</p>
|
|
594
591
|
*/
|
|
595
592
|
GroupName: string | undefined;
|
|
596
593
|
/**
|
|
597
|
-
* <p>
|
|
594
|
+
* <p>The ID of the VPC. Required for a nondefault VPC.</p>
|
|
598
595
|
*/
|
|
599
596
|
VpcId?: string;
|
|
600
597
|
/**
|
|
@@ -1081,7 +1078,7 @@ export interface CreateSubnetRequest {
|
|
|
1081
1078
|
* do not necessarily select a different zone for each subnet.</p>
|
|
1082
1079
|
* <p>To create a subnet in a Local Zone, set this value to the Local Zone ID, for example
|
|
1083
1080
|
* <code>us-west-2-lax-1a</code>. For information about the Regions that support Local Zones,
|
|
1084
|
-
* see <a href="
|
|
1081
|
+
* see <a href="http://aws.amazon.com/about-aws/global-infrastructure/localzones/locations/">Local Zones locations</a>.</p>
|
|
1085
1082
|
* <p>To create a subnet in an Outpost, set this value to the Availability Zone for the
|
|
1086
1083
|
* Outpost and specify the Outpost ARN.</p>
|
|
1087
1084
|
*/
|
|
@@ -3494,7 +3491,7 @@ export interface CreateVerifiedAccessTrustProviderResult {
|
|
|
3494
3491
|
*/
|
|
3495
3492
|
export interface CreateVolumeRequest {
|
|
3496
3493
|
/**
|
|
3497
|
-
* <p>The Availability Zone in which to create the volume
|
|
3494
|
+
* <p>The ID of the Availability Zone in which to create the volume. For example, <code>us-east-1a</code>.</p>
|
|
3498
3495
|
*/
|
|
3499
3496
|
AvailabilityZone: string | undefined;
|
|
3500
3497
|
/**
|
|
@@ -3896,11 +3893,11 @@ export interface CreateVpcEndpointRequest {
|
|
|
3896
3893
|
*/
|
|
3897
3894
|
VpcEndpointType?: VpcEndpointType | string;
|
|
3898
3895
|
/**
|
|
3899
|
-
* <p>The ID of the VPC
|
|
3896
|
+
* <p>The ID of the VPC.</p>
|
|
3900
3897
|
*/
|
|
3901
3898
|
VpcId: string | undefined;
|
|
3902
3899
|
/**
|
|
3903
|
-
* <p>The service
|
|
3900
|
+
* <p>The name of the endpoint service.</p>
|
|
3904
3901
|
*/
|
|
3905
3902
|
ServiceName: string | undefined;
|
|
3906
3903
|
/**
|
|
@@ -71,11 +71,11 @@ export interface DeleteRouteTableRequest {
|
|
|
71
71
|
*/
|
|
72
72
|
export interface DeleteSecurityGroupRequest {
|
|
73
73
|
/**
|
|
74
|
-
* <p>The ID of the security group
|
|
74
|
+
* <p>The ID of the security group.</p>
|
|
75
75
|
*/
|
|
76
76
|
GroupId?: string;
|
|
77
77
|
/**
|
|
78
|
-
* <p>[
|
|
78
|
+
* <p>[Default VPC] The name of the security group. You can specify either the
|
|
79
79
|
* security group name or the security group ID. For security groups in a nondefault VPC,
|
|
80
80
|
* you must specify the security group ID.</p>
|
|
81
81
|
*/
|
|
@@ -2217,7 +2217,7 @@ export interface DescribeCarrierGatewaysResult {
|
|
|
2217
2217
|
*/
|
|
2218
2218
|
export interface DescribeClassicLinkInstancesRequest {
|
|
2219
2219
|
/**
|
|
2220
|
-
* <p>
|
|
2220
|
+
* <p>The filters.</p>
|
|
2221
2221
|
* <ul>
|
|
2222
2222
|
* <li>
|
|
2223
2223
|
* <p>
|
|
@@ -2238,10 +2238,7 @@ export interface DescribeClassicLinkInstancesRequest {
|
|
|
2238
2238
|
* </li>
|
|
2239
2239
|
* <li>
|
|
2240
2240
|
* <p>
|
|
2241
|
-
* <code>vpc-id</code> - The ID of the VPC to which the instance is
|
|
2242
|
-
* linked.</p>
|
|
2243
|
-
* <p>
|
|
2244
|
-
* <code>vpc-id</code> - The ID of the VPC that the instance is linked to.</p>
|
|
2241
|
+
* <code>vpc-id</code> - The ID of the VPC to which the instance is linked.</p>
|
|
2245
2242
|
* </li>
|
|
2246
2243
|
* </ul>
|
|
2247
2244
|
*/
|
|
@@ -2253,7 +2250,7 @@ export interface DescribeClassicLinkInstancesRequest {
|
|
|
2253
2250
|
*/
|
|
2254
2251
|
DryRun?: boolean;
|
|
2255
2252
|
/**
|
|
2256
|
-
* <p>
|
|
2253
|
+
* <p>The instance IDs. Must be instances linked to a VPC through ClassicLink.</p>
|
|
2257
2254
|
*/
|
|
2258
2255
|
InstanceIds?: string[];
|
|
2259
2256
|
/**
|
|
@@ -2271,13 +2268,13 @@ export interface DescribeClassicLinkInstancesRequest {
|
|
|
2271
2268
|
/**
|
|
2272
2269
|
* @public
|
|
2273
2270
|
* <note>
|
|
2274
|
-
* <p>
|
|
2271
|
+
* <p>Deprecated.</p>
|
|
2275
2272
|
* </note>
|
|
2276
2273
|
* <p>Describes a linked EC2-Classic instance.</p>
|
|
2277
2274
|
*/
|
|
2278
2275
|
export interface ClassicLinkInstance {
|
|
2279
2276
|
/**
|
|
2280
|
-
* <p>
|
|
2277
|
+
* <p>The security groups.</p>
|
|
2281
2278
|
*/
|
|
2282
2279
|
Groups?: GroupIdentifier[];
|
|
2283
2280
|
/**
|
|
@@ -3358,7 +3355,7 @@ export interface DescribeDhcpOptionsRequest {
|
|
|
3358
3355
|
*/
|
|
3359
3356
|
DhcpOptionsIds?: string[];
|
|
3360
3357
|
/**
|
|
3361
|
-
* <p>
|
|
3358
|
+
* <p>The filters.</p>
|
|
3362
3359
|
* <ul>
|
|
3363
3360
|
* <li>
|
|
3364
3361
|
* <p>
|
|
@@ -3429,7 +3426,7 @@ export interface DescribeEgressOnlyInternetGatewaysRequest {
|
|
|
3429
3426
|
*/
|
|
3430
3427
|
DryRun?: boolean;
|
|
3431
3428
|
/**
|
|
3432
|
-
* <p>
|
|
3429
|
+
* <p>The IDs of the egress-only internet gateways.</p>
|
|
3433
3430
|
*/
|
|
3434
3431
|
EgressOnlyInternetGatewayIds?: string[];
|
|
3435
3432
|
/**
|
|
@@ -3443,7 +3440,7 @@ export interface DescribeEgressOnlyInternetGatewaysRequest {
|
|
|
3443
3440
|
*/
|
|
3444
3441
|
NextToken?: string;
|
|
3445
3442
|
/**
|
|
3446
|
-
* <p>
|
|
3443
|
+
* <p>The filters.</p>
|
|
3447
3444
|
* <ul>
|
|
3448
3445
|
* <li>
|
|
3449
3446
|
* <p>
|
|
@@ -6198,8 +6195,8 @@ export interface DescribeImagesRequest {
|
|
|
6198
6195
|
* <ul>
|
|
6199
6196
|
* <li>
|
|
6200
6197
|
* <p>
|
|
6201
|
-
* <code>architecture</code> - The image architecture (<code>i386</code> |
|
|
6202
|
-
*
|
|
6198
|
+
* <code>architecture</code> - The image architecture (<code>i386</code> | <code>x86_64</code> |
|
|
6199
|
+
* <code>arm64</code> | <code>x86_64_mac</code> | <code>arm64_mac</code>).</p>
|
|
6203
6200
|
* </li>
|
|
6204
6201
|
* <li>
|
|
6205
6202
|
* <p>
|