aws-sdk-ec2 1.540.0 → 1.541.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +74 -47
- data/lib/aws-sdk-ec2/client_api.rb +4 -2
- data/lib/aws-sdk-ec2/instance.rb +34 -2
- data/lib/aws-sdk-ec2/resource.rb +19 -25
- data/lib/aws-sdk-ec2/subnet.rb +19 -25
- data/lib/aws-sdk-ec2/types.rb +66 -42
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/instance.rbs +4 -0
- data/sig/types.rbs +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07a70cd5c76cab67aae5d15c836ef27e69f0d62b224f5267f3f54cd39f11203b
|
4
|
+
data.tar.gz: bbab877837936a193de9011a0183aa7fba16ca885a28fd1dec9072b7fca1a760
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7bd9e85829298d0f7aab45b93ea51ad16adb04021eea885a96744cef34573ed6f462d4f7e4ca8cb138840cc2065e271cec81e748c09e1c6f4c8566db6486f3e
|
7
|
+
data.tar.gz: 0636d02031ff90caf1c1e36ed0cc62818f2c6f951f062506c3532dcfefdaf1921206688df39dfb47d81e49a758594ab1fb911a095d4de69959a8ffd58a61885b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.541.0 (2025-07-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for skip-os-shutdown option for the EC2 instance stop and terminate operations. This feature enables customers to bypass the graceful OS shutdown, supporting faster state transitions when instance data preservation isn't critical.
|
8
|
+
|
4
9
|
1.540.0 (2025-07-21)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.541.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -5336,7 +5336,7 @@ module Aws::EC2
|
|
5336
5336
|
# The instance type for which to reserve capacity.
|
5337
5337
|
#
|
5338
5338
|
# <note markdown="1"> You can request future-dated Capacity Reservations for instance types
|
5339
|
-
# in the C, M, R, I, and
|
5339
|
+
# in the C, M, R, I, T, and G instance families only.
|
5340
5340
|
#
|
5341
5341
|
# </note>
|
5342
5342
|
#
|
@@ -5371,9 +5371,9 @@ module Aws::EC2
|
|
5371
5371
|
# The number of instances for which to reserve capacity.
|
5372
5372
|
#
|
5373
5373
|
# <note markdown="1"> You can request future-dated Capacity Reservations for an instance
|
5374
|
-
# count with a minimum of
|
5374
|
+
# count with a minimum of 64 vCPUs. For example, if you request a
|
5375
5375
|
# future-dated Capacity Reservation for `m5.xlarge` instances, you must
|
5376
|
-
# request at least 25 instances (*
|
5376
|
+
# request at least 25 instances (*16 * m5.xlarge = 64 vCPUs*).
|
5377
5377
|
#
|
5378
5378
|
# </note>
|
5379
5379
|
#
|
@@ -7204,7 +7204,7 @@ module Aws::EC2
|
|
7204
7204
|
# instance_type: "a1.medium", # accepts a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6g.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gd.metal, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, c6i.large, c6i.xlarge, c6i.2xlarge, c6i.4xlarge, c6i.8xlarge, c6i.12xlarge, c6i.16xlarge, c6i.24xlarge, c6i.32xlarge, c6i.metal, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, dl1.24xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, g5.xlarge, g5.2xlarge, g5.4xlarge, g5.8xlarge, g5.12xlarge, g5.16xlarge, g5.24xlarge, g5.48xlarge, g5g.xlarge, g5g.2xlarge, g5g.4xlarge, g5g.8xlarge, g5g.16xlarge, g5g.metal, hi1.4xlarge, hpc6a.48xlarge, hs1.8xlarge, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, im4gn.large, im4gn.xlarge, im4gn.2xlarge, im4gn.4xlarge, im4gn.8xlarge, im4gn.16xlarge, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, is4gen.medium, is4gen.large, is4gen.xlarge, is4gen.2xlarge, is4gen.4xlarge, is4gen.8xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, m6a.large, m6a.xlarge, m6a.2xlarge, m6a.4xlarge, m6a.8xlarge, m6a.12xlarge, m6a.16xlarge, m6a.24xlarge, m6a.32xlarge, m6a.48xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, m6i.metal, mac1.metal, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6g.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, r6gd.metal, r6i.large, r6i.xlarge, r6i.2xlarge, r6i.4xlarge, r6i.8xlarge, r6i.12xlarge, r6i.16xlarge, r6i.24xlarge, r6i.32xlarge, r6i.metal, t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, x2iezn.2xlarge, x2iezn.4xlarge, x2iezn.6xlarge, x2iezn.8xlarge, x2iezn.12xlarge, x2iezn.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, x2idn.16xlarge, x2idn.24xlarge, x2idn.32xlarge, x2iedn.xlarge, x2iedn.2xlarge, x2iedn.4xlarge, x2iedn.8xlarge, x2iedn.16xlarge, x2iedn.24xlarge, x2iedn.32xlarge, c6a.large, c6a.xlarge, c6a.2xlarge, c6a.4xlarge, c6a.8xlarge, c6a.12xlarge, c6a.16xlarge, c6a.24xlarge, c6a.32xlarge, c6a.48xlarge, c6a.metal, m6a.metal, i4i.large, i4i.xlarge, i4i.2xlarge, i4i.4xlarge, i4i.8xlarge, i4i.16xlarge, i4i.32xlarge, i4i.metal, x2idn.metal, x2iedn.metal, c7g.medium, c7g.large, c7g.xlarge, c7g.2xlarge, c7g.4xlarge, c7g.8xlarge, c7g.12xlarge, c7g.16xlarge, mac2.metal, c6id.large, c6id.xlarge, c6id.2xlarge, c6id.4xlarge, c6id.8xlarge, c6id.12xlarge, c6id.16xlarge, c6id.24xlarge, c6id.32xlarge, c6id.metal, m6id.large, m6id.xlarge, m6id.2xlarge, m6id.4xlarge, m6id.8xlarge, m6id.12xlarge, m6id.16xlarge, m6id.24xlarge, m6id.32xlarge, m6id.metal, r6id.large, r6id.xlarge, r6id.2xlarge, r6id.4xlarge, r6id.8xlarge, r6id.12xlarge, r6id.16xlarge, r6id.24xlarge, r6id.32xlarge, r6id.metal, r6a.large, r6a.xlarge, r6a.2xlarge, r6a.4xlarge, r6a.8xlarge, r6a.12xlarge, r6a.16xlarge, r6a.24xlarge, r6a.32xlarge, r6a.48xlarge, r6a.metal, p4de.24xlarge, u-3tb1.56xlarge, u-18tb1.112xlarge, u-24tb1.112xlarge, trn1.2xlarge, trn1.32xlarge, hpc6id.32xlarge, c6in.large, c6in.xlarge, c6in.2xlarge, c6in.4xlarge, c6in.8xlarge, c6in.12xlarge, c6in.16xlarge, c6in.24xlarge, c6in.32xlarge, m6in.large, m6in.xlarge, m6in.2xlarge, m6in.4xlarge, m6in.8xlarge, m6in.12xlarge, m6in.16xlarge, m6in.24xlarge, m6in.32xlarge, m6idn.large, m6idn.xlarge, m6idn.2xlarge, m6idn.4xlarge, m6idn.8xlarge, m6idn.12xlarge, m6idn.16xlarge, m6idn.24xlarge, m6idn.32xlarge, r6in.large, r6in.xlarge, r6in.2xlarge, r6in.4xlarge, r6in.8xlarge, r6in.12xlarge, r6in.16xlarge, r6in.24xlarge, r6in.32xlarge, r6idn.large, r6idn.xlarge, r6idn.2xlarge, r6idn.4xlarge, r6idn.8xlarge, r6idn.12xlarge, r6idn.16xlarge, r6idn.24xlarge, r6idn.32xlarge, c7g.metal, m7g.medium, m7g.large, m7g.xlarge, m7g.2xlarge, m7g.4xlarge, m7g.8xlarge, m7g.12xlarge, m7g.16xlarge, m7g.metal, r7g.medium, r7g.large, r7g.xlarge, r7g.2xlarge, r7g.4xlarge, r7g.8xlarge, r7g.12xlarge, r7g.16xlarge, r7g.metal, c6in.metal, m6in.metal, m6idn.metal, r6in.metal, r6idn.metal, inf2.xlarge, inf2.8xlarge, inf2.24xlarge, inf2.48xlarge, trn1n.32xlarge, i4g.large, i4g.xlarge, i4g.2xlarge, i4g.4xlarge, i4g.8xlarge, i4g.16xlarge, hpc7g.4xlarge, hpc7g.8xlarge, hpc7g.16xlarge, c7gn.medium, c7gn.large, c7gn.xlarge, c7gn.2xlarge, c7gn.4xlarge, c7gn.8xlarge, c7gn.12xlarge, c7gn.16xlarge, p5.48xlarge, m7i.large, m7i.xlarge, m7i.2xlarge, m7i.4xlarge, m7i.8xlarge, m7i.12xlarge, m7i.16xlarge, m7i.24xlarge, m7i.48xlarge, m7i-flex.large, m7i-flex.xlarge, m7i-flex.2xlarge, m7i-flex.4xlarge, m7i-flex.8xlarge, m7a.medium, m7a.large, m7a.xlarge, m7a.2xlarge, m7a.4xlarge, m7a.8xlarge, m7a.12xlarge, m7a.16xlarge, m7a.24xlarge, m7a.32xlarge, m7a.48xlarge, m7a.metal-48xl, hpc7a.12xlarge, hpc7a.24xlarge, hpc7a.48xlarge, hpc7a.96xlarge, c7gd.medium, c7gd.large, c7gd.xlarge, c7gd.2xlarge, c7gd.4xlarge, c7gd.8xlarge, c7gd.12xlarge, c7gd.16xlarge, m7gd.medium, m7gd.large, m7gd.xlarge, m7gd.2xlarge, m7gd.4xlarge, m7gd.8xlarge, m7gd.12xlarge, m7gd.16xlarge, r7gd.medium, r7gd.large, r7gd.xlarge, r7gd.2xlarge, r7gd.4xlarge, r7gd.8xlarge, r7gd.12xlarge, r7gd.16xlarge, r7a.medium, r7a.large, r7a.xlarge, r7a.2xlarge, r7a.4xlarge, r7a.8xlarge, r7a.12xlarge, r7a.16xlarge, r7a.24xlarge, r7a.32xlarge, r7a.48xlarge, c7i.large, c7i.xlarge, c7i.2xlarge, c7i.4xlarge, c7i.8xlarge, c7i.12xlarge, c7i.16xlarge, c7i.24xlarge, c7i.48xlarge, mac2-m2pro.metal, r7iz.large, r7iz.xlarge, r7iz.2xlarge, r7iz.4xlarge, r7iz.8xlarge, r7iz.12xlarge, r7iz.16xlarge, r7iz.32xlarge, c7a.medium, c7a.large, c7a.xlarge, c7a.2xlarge, c7a.4xlarge, c7a.8xlarge, c7a.12xlarge, c7a.16xlarge, c7a.24xlarge, c7a.32xlarge, c7a.48xlarge, c7a.metal-48xl, r7a.metal-48xl, r7i.large, r7i.xlarge, r7i.2xlarge, r7i.4xlarge, r7i.8xlarge, r7i.12xlarge, r7i.16xlarge, r7i.24xlarge, r7i.48xlarge, dl2q.24xlarge, mac2-m2.metal, i4i.12xlarge, i4i.24xlarge, c7i.metal-24xl, c7i.metal-48xl, m7i.metal-24xl, m7i.metal-48xl, r7i.metal-24xl, r7i.metal-48xl, r7iz.metal-16xl, r7iz.metal-32xl, c7gd.metal, m7gd.metal, r7gd.metal, g6.xlarge, g6.2xlarge, g6.4xlarge, g6.8xlarge, g6.12xlarge, g6.16xlarge, g6.24xlarge, g6.48xlarge, gr6.4xlarge, gr6.8xlarge, c7i-flex.large, c7i-flex.xlarge, c7i-flex.2xlarge, c7i-flex.4xlarge, c7i-flex.8xlarge, u7i-12tb.224xlarge, u7in-16tb.224xlarge, u7in-24tb.224xlarge, u7in-32tb.224xlarge, u7ib-12tb.224xlarge, c7gn.metal, r8g.medium, r8g.large, r8g.xlarge, r8g.2xlarge, r8g.4xlarge, r8g.8xlarge, r8g.12xlarge, r8g.16xlarge, r8g.24xlarge, r8g.48xlarge, r8g.metal-24xl, r8g.metal-48xl, mac2-m1ultra.metal, g6e.xlarge, g6e.2xlarge, g6e.4xlarge, g6e.8xlarge, g6e.12xlarge, g6e.16xlarge, g6e.24xlarge, g6e.48xlarge, c8g.medium, c8g.large, c8g.xlarge, c8g.2xlarge, c8g.4xlarge, c8g.8xlarge, c8g.12xlarge, c8g.16xlarge, c8g.24xlarge, c8g.48xlarge, c8g.metal-24xl, c8g.metal-48xl, m8g.medium, m8g.large, m8g.xlarge, m8g.2xlarge, m8g.4xlarge, m8g.8xlarge, m8g.12xlarge, m8g.16xlarge, m8g.24xlarge, m8g.48xlarge, m8g.metal-24xl, m8g.metal-48xl, x8g.medium, x8g.large, x8g.xlarge, x8g.2xlarge, x8g.4xlarge, x8g.8xlarge, x8g.12xlarge, x8g.16xlarge, x8g.24xlarge, x8g.48xlarge, x8g.metal-24xl, x8g.metal-48xl, i7ie.large, i7ie.xlarge, i7ie.2xlarge, i7ie.3xlarge, i7ie.6xlarge, i7ie.12xlarge, i7ie.18xlarge, i7ie.24xlarge, i7ie.48xlarge, i8g.large, i8g.xlarge, i8g.2xlarge, i8g.4xlarge, i8g.8xlarge, i8g.12xlarge, i8g.16xlarge, i8g.24xlarge, i8g.metal-24xl, u7i-6tb.112xlarge, u7i-8tb.112xlarge, u7inh-32tb.480xlarge, p5e.48xlarge, p5en.48xlarge, f2.12xlarge, f2.48xlarge, trn2.48xlarge, c7i-flex.12xlarge, c7i-flex.16xlarge, m7i-flex.12xlarge, m7i-flex.16xlarge, i7ie.metal-24xl, i7ie.metal-48xl, i8g.48xlarge, c8gd.medium, c8gd.large, c8gd.xlarge, c8gd.2xlarge, c8gd.4xlarge, c8gd.8xlarge, c8gd.12xlarge, c8gd.16xlarge, c8gd.24xlarge, c8gd.48xlarge, c8gd.metal-24xl, c8gd.metal-48xl, i7i.large, i7i.xlarge, i7i.2xlarge, i7i.4xlarge, i7i.8xlarge, i7i.12xlarge, i7i.16xlarge, i7i.24xlarge, i7i.48xlarge, i7i.metal-24xl, i7i.metal-48xl, p6-b200.48xlarge, m8gd.medium, m8gd.large, m8gd.xlarge, m8gd.2xlarge, m8gd.4xlarge, m8gd.8xlarge, m8gd.12xlarge, m8gd.16xlarge, m8gd.24xlarge, m8gd.48xlarge, m8gd.metal-24xl, m8gd.metal-48xl, r8gd.medium, r8gd.large, r8gd.xlarge, r8gd.2xlarge, r8gd.4xlarge, r8gd.8xlarge, r8gd.12xlarge, r8gd.16xlarge, r8gd.24xlarge, r8gd.48xlarge, r8gd.metal-24xl, r8gd.metal-48xl, c8gn.medium, c8gn.large, c8gn.xlarge, c8gn.2xlarge, c8gn.4xlarge, c8gn.8xlarge, c8gn.12xlarge, c8gn.16xlarge, c8gn.24xlarge, c8gn.48xlarge, c8gn.metal-24xl, c8gn.metal-48xl, f2.6xlarge, p6e-gb200.36xlarge
|
7205
7205
|
# max_price: "String",
|
7206
7206
|
# subnet_id: "SubnetId",
|
7207
|
-
# availability_zone: "
|
7207
|
+
# availability_zone: "AvailabilityZoneName",
|
7208
7208
|
# weighted_capacity: 1.0,
|
7209
7209
|
# priority: 1.0,
|
7210
7210
|
# placement: {
|
@@ -28430,8 +28430,9 @@ module Aws::EC2
|
|
28430
28430
|
# express (NVMe) is supported for EBS volumes (`required` \|
|
28431
28431
|
# `supported` \| `unsupported`).
|
28432
28432
|
#
|
28433
|
-
# * `free-tier-eligible` -
|
28434
|
-
#
|
28433
|
+
# * `free-tier-eligible` - A Boolean that indicates whether this
|
28434
|
+
# instance type can be used under the Amazon Web Services Free Tier
|
28435
|
+
# (`true` \| `false`).
|
28435
28436
|
#
|
28436
28437
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation is
|
28437
28438
|
# supported (`true` \| `false`).
|
@@ -52226,7 +52227,7 @@ module Aws::EC2
|
|
52226
52227
|
# instance_type: "a1.medium", # accepts a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6g.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gd.metal, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, c6i.large, c6i.xlarge, c6i.2xlarge, c6i.4xlarge, c6i.8xlarge, c6i.12xlarge, c6i.16xlarge, c6i.24xlarge, c6i.32xlarge, c6i.metal, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge, cr1.8xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, dl1.24xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, g5.xlarge, g5.2xlarge, g5.4xlarge, g5.8xlarge, g5.12xlarge, g5.16xlarge, g5.24xlarge, g5.48xlarge, g5g.xlarge, g5g.2xlarge, g5g.4xlarge, g5g.8xlarge, g5g.16xlarge, g5g.metal, hi1.4xlarge, hpc6a.48xlarge, hs1.8xlarge, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, im4gn.large, im4gn.xlarge, im4gn.2xlarge, im4gn.4xlarge, im4gn.8xlarge, im4gn.16xlarge, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, is4gen.medium, is4gen.large, is4gen.xlarge, is4gen.2xlarge, is4gen.4xlarge, is4gen.8xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, m6a.large, m6a.xlarge, m6a.2xlarge, m6a.4xlarge, m6a.8xlarge, m6a.12xlarge, m6a.16xlarge, m6a.24xlarge, m6a.32xlarge, m6a.48xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, m6i.metal, mac1.metal, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6g.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, r6gd.metal, r6i.large, r6i.xlarge, r6i.2xlarge, r6i.4xlarge, r6i.8xlarge, r6i.12xlarge, r6i.16xlarge, r6i.24xlarge, r6i.32xlarge, r6i.metal, t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, x2iezn.2xlarge, x2iezn.4xlarge, x2iezn.6xlarge, x2iezn.8xlarge, x2iezn.12xlarge, x2iezn.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, x2idn.16xlarge, x2idn.24xlarge, x2idn.32xlarge, x2iedn.xlarge, x2iedn.2xlarge, x2iedn.4xlarge, x2iedn.8xlarge, x2iedn.16xlarge, x2iedn.24xlarge, x2iedn.32xlarge, c6a.large, c6a.xlarge, c6a.2xlarge, c6a.4xlarge, c6a.8xlarge, c6a.12xlarge, c6a.16xlarge, c6a.24xlarge, c6a.32xlarge, c6a.48xlarge, c6a.metal, m6a.metal, i4i.large, i4i.xlarge, i4i.2xlarge, i4i.4xlarge, i4i.8xlarge, i4i.16xlarge, i4i.32xlarge, i4i.metal, x2idn.metal, x2iedn.metal, c7g.medium, c7g.large, c7g.xlarge, c7g.2xlarge, c7g.4xlarge, c7g.8xlarge, c7g.12xlarge, c7g.16xlarge, mac2.metal, c6id.large, c6id.xlarge, c6id.2xlarge, c6id.4xlarge, c6id.8xlarge, c6id.12xlarge, c6id.16xlarge, c6id.24xlarge, c6id.32xlarge, c6id.metal, m6id.large, m6id.xlarge, m6id.2xlarge, m6id.4xlarge, m6id.8xlarge, m6id.12xlarge, m6id.16xlarge, m6id.24xlarge, m6id.32xlarge, m6id.metal, r6id.large, r6id.xlarge, r6id.2xlarge, r6id.4xlarge, r6id.8xlarge, r6id.12xlarge, r6id.16xlarge, r6id.24xlarge, r6id.32xlarge, r6id.metal, r6a.large, r6a.xlarge, r6a.2xlarge, r6a.4xlarge, r6a.8xlarge, r6a.12xlarge, r6a.16xlarge, r6a.24xlarge, r6a.32xlarge, r6a.48xlarge, r6a.metal, p4de.24xlarge, u-3tb1.56xlarge, u-18tb1.112xlarge, u-24tb1.112xlarge, trn1.2xlarge, trn1.32xlarge, hpc6id.32xlarge, c6in.large, c6in.xlarge, c6in.2xlarge, c6in.4xlarge, c6in.8xlarge, c6in.12xlarge, c6in.16xlarge, c6in.24xlarge, c6in.32xlarge, m6in.large, m6in.xlarge, m6in.2xlarge, m6in.4xlarge, m6in.8xlarge, m6in.12xlarge, m6in.16xlarge, m6in.24xlarge, m6in.32xlarge, m6idn.large, m6idn.xlarge, m6idn.2xlarge, m6idn.4xlarge, m6idn.8xlarge, m6idn.12xlarge, m6idn.16xlarge, m6idn.24xlarge, m6idn.32xlarge, r6in.large, r6in.xlarge, r6in.2xlarge, r6in.4xlarge, r6in.8xlarge, r6in.12xlarge, r6in.16xlarge, r6in.24xlarge, r6in.32xlarge, r6idn.large, r6idn.xlarge, r6idn.2xlarge, r6idn.4xlarge, r6idn.8xlarge, r6idn.12xlarge, r6idn.16xlarge, r6idn.24xlarge, r6idn.32xlarge, c7g.metal, m7g.medium, m7g.large, m7g.xlarge, m7g.2xlarge, m7g.4xlarge, m7g.8xlarge, m7g.12xlarge, m7g.16xlarge, m7g.metal, r7g.medium, r7g.large, r7g.xlarge, r7g.2xlarge, r7g.4xlarge, r7g.8xlarge, r7g.12xlarge, r7g.16xlarge, r7g.metal, c6in.metal, m6in.metal, m6idn.metal, r6in.metal, r6idn.metal, inf2.xlarge, inf2.8xlarge, inf2.24xlarge, inf2.48xlarge, trn1n.32xlarge, i4g.large, i4g.xlarge, i4g.2xlarge, i4g.4xlarge, i4g.8xlarge, i4g.16xlarge, hpc7g.4xlarge, hpc7g.8xlarge, hpc7g.16xlarge, c7gn.medium, c7gn.large, c7gn.xlarge, c7gn.2xlarge, c7gn.4xlarge, c7gn.8xlarge, c7gn.12xlarge, c7gn.16xlarge, p5.48xlarge, m7i.large, m7i.xlarge, m7i.2xlarge, m7i.4xlarge, m7i.8xlarge, m7i.12xlarge, m7i.16xlarge, m7i.24xlarge, m7i.48xlarge, m7i-flex.large, m7i-flex.xlarge, m7i-flex.2xlarge, m7i-flex.4xlarge, m7i-flex.8xlarge, m7a.medium, m7a.large, m7a.xlarge, m7a.2xlarge, m7a.4xlarge, m7a.8xlarge, m7a.12xlarge, m7a.16xlarge, m7a.24xlarge, m7a.32xlarge, m7a.48xlarge, m7a.metal-48xl, hpc7a.12xlarge, hpc7a.24xlarge, hpc7a.48xlarge, hpc7a.96xlarge, c7gd.medium, c7gd.large, c7gd.xlarge, c7gd.2xlarge, c7gd.4xlarge, c7gd.8xlarge, c7gd.12xlarge, c7gd.16xlarge, m7gd.medium, m7gd.large, m7gd.xlarge, m7gd.2xlarge, m7gd.4xlarge, m7gd.8xlarge, m7gd.12xlarge, m7gd.16xlarge, r7gd.medium, r7gd.large, r7gd.xlarge, r7gd.2xlarge, r7gd.4xlarge, r7gd.8xlarge, r7gd.12xlarge, r7gd.16xlarge, r7a.medium, r7a.large, r7a.xlarge, r7a.2xlarge, r7a.4xlarge, r7a.8xlarge, r7a.12xlarge, r7a.16xlarge, r7a.24xlarge, r7a.32xlarge, r7a.48xlarge, c7i.large, c7i.xlarge, c7i.2xlarge, c7i.4xlarge, c7i.8xlarge, c7i.12xlarge, c7i.16xlarge, c7i.24xlarge, c7i.48xlarge, mac2-m2pro.metal, r7iz.large, r7iz.xlarge, r7iz.2xlarge, r7iz.4xlarge, r7iz.8xlarge, r7iz.12xlarge, r7iz.16xlarge, r7iz.32xlarge, c7a.medium, c7a.large, c7a.xlarge, c7a.2xlarge, c7a.4xlarge, c7a.8xlarge, c7a.12xlarge, c7a.16xlarge, c7a.24xlarge, c7a.32xlarge, c7a.48xlarge, c7a.metal-48xl, r7a.metal-48xl, r7i.large, r7i.xlarge, r7i.2xlarge, r7i.4xlarge, r7i.8xlarge, r7i.12xlarge, r7i.16xlarge, r7i.24xlarge, r7i.48xlarge, dl2q.24xlarge, mac2-m2.metal, i4i.12xlarge, i4i.24xlarge, c7i.metal-24xl, c7i.metal-48xl, m7i.metal-24xl, m7i.metal-48xl, r7i.metal-24xl, r7i.metal-48xl, r7iz.metal-16xl, r7iz.metal-32xl, c7gd.metal, m7gd.metal, r7gd.metal, g6.xlarge, g6.2xlarge, g6.4xlarge, g6.8xlarge, g6.12xlarge, g6.16xlarge, g6.24xlarge, g6.48xlarge, gr6.4xlarge, gr6.8xlarge, c7i-flex.large, c7i-flex.xlarge, c7i-flex.2xlarge, c7i-flex.4xlarge, c7i-flex.8xlarge, u7i-12tb.224xlarge, u7in-16tb.224xlarge, u7in-24tb.224xlarge, u7in-32tb.224xlarge, u7ib-12tb.224xlarge, c7gn.metal, r8g.medium, r8g.large, r8g.xlarge, r8g.2xlarge, r8g.4xlarge, r8g.8xlarge, r8g.12xlarge, r8g.16xlarge, r8g.24xlarge, r8g.48xlarge, r8g.metal-24xl, r8g.metal-48xl, mac2-m1ultra.metal, g6e.xlarge, g6e.2xlarge, g6e.4xlarge, g6e.8xlarge, g6e.12xlarge, g6e.16xlarge, g6e.24xlarge, g6e.48xlarge, c8g.medium, c8g.large, c8g.xlarge, c8g.2xlarge, c8g.4xlarge, c8g.8xlarge, c8g.12xlarge, c8g.16xlarge, c8g.24xlarge, c8g.48xlarge, c8g.metal-24xl, c8g.metal-48xl, m8g.medium, m8g.large, m8g.xlarge, m8g.2xlarge, m8g.4xlarge, m8g.8xlarge, m8g.12xlarge, m8g.16xlarge, m8g.24xlarge, m8g.48xlarge, m8g.metal-24xl, m8g.metal-48xl, x8g.medium, x8g.large, x8g.xlarge, x8g.2xlarge, x8g.4xlarge, x8g.8xlarge, x8g.12xlarge, x8g.16xlarge, x8g.24xlarge, x8g.48xlarge, x8g.metal-24xl, x8g.metal-48xl, i7ie.large, i7ie.xlarge, i7ie.2xlarge, i7ie.3xlarge, i7ie.6xlarge, i7ie.12xlarge, i7ie.18xlarge, i7ie.24xlarge, i7ie.48xlarge, i8g.large, i8g.xlarge, i8g.2xlarge, i8g.4xlarge, i8g.8xlarge, i8g.12xlarge, i8g.16xlarge, i8g.24xlarge, i8g.metal-24xl, u7i-6tb.112xlarge, u7i-8tb.112xlarge, u7inh-32tb.480xlarge, p5e.48xlarge, p5en.48xlarge, f2.12xlarge, f2.48xlarge, trn2.48xlarge, c7i-flex.12xlarge, c7i-flex.16xlarge, m7i-flex.12xlarge, m7i-flex.16xlarge, i7ie.metal-24xl, i7ie.metal-48xl, i8g.48xlarge, c8gd.medium, c8gd.large, c8gd.xlarge, c8gd.2xlarge, c8gd.4xlarge, c8gd.8xlarge, c8gd.12xlarge, c8gd.16xlarge, c8gd.24xlarge, c8gd.48xlarge, c8gd.metal-24xl, c8gd.metal-48xl, i7i.large, i7i.xlarge, i7i.2xlarge, i7i.4xlarge, i7i.8xlarge, i7i.12xlarge, i7i.16xlarge, i7i.24xlarge, i7i.48xlarge, i7i.metal-24xl, i7i.metal-48xl, p6-b200.48xlarge, m8gd.medium, m8gd.large, m8gd.xlarge, m8gd.2xlarge, m8gd.4xlarge, m8gd.8xlarge, m8gd.12xlarge, m8gd.16xlarge, m8gd.24xlarge, m8gd.48xlarge, m8gd.metal-24xl, m8gd.metal-48xl, r8gd.medium, r8gd.large, r8gd.xlarge, r8gd.2xlarge, r8gd.4xlarge, r8gd.8xlarge, r8gd.12xlarge, r8gd.16xlarge, r8gd.24xlarge, r8gd.48xlarge, r8gd.metal-24xl, r8gd.metal-48xl, c8gn.medium, c8gn.large, c8gn.xlarge, c8gn.2xlarge, c8gn.4xlarge, c8gn.8xlarge, c8gn.12xlarge, c8gn.16xlarge, c8gn.24xlarge, c8gn.48xlarge, c8gn.metal-24xl, c8gn.metal-48xl, f2.6xlarge, p6e-gb200.36xlarge
|
52227
52228
|
# max_price: "String",
|
52228
52229
|
# subnet_id: "SubnetId",
|
52229
|
-
# availability_zone: "
|
52230
|
+
# availability_zone: "AvailabilityZoneName",
|
52230
52231
|
# weighted_capacity: 1.0,
|
52231
52232
|
# priority: 1.0,
|
52232
52233
|
# placement: {
|
@@ -62998,12 +62999,12 @@ module Aws::EC2
|
|
62998
62999
|
# must be specified here or in a launch template.
|
62999
63000
|
#
|
63000
63001
|
# @option params [String] :instance_type
|
63001
|
-
# The instance type. For more information, see [Amazon EC2
|
63002
|
-
#
|
63002
|
+
# The instance type. For more information, see [Amazon EC2 Instance
|
63003
|
+
# Types Guide][1].
|
63003
63004
|
#
|
63004
63005
|
#
|
63005
63006
|
#
|
63006
|
-
# [1]: https://docs.aws.amazon.com/
|
63007
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html
|
63007
63008
|
#
|
63008
63009
|
# @option params [Integer] :ipv_6_address_count
|
63009
63010
|
# The number of IPv6 addresses to associate with the primary network
|
@@ -63036,8 +63037,8 @@ module Aws::EC2
|
|
63036
63037
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
63037
63038
|
#
|
63038
63039
|
# @option params [String] :key_name
|
63039
|
-
# The name of the key pair.
|
63040
|
-
#
|
63040
|
+
# The name of the key pair. For more information, see [Create a key pair
|
63041
|
+
# for your EC2 instance][1].
|
63041
63042
|
#
|
63042
63043
|
# If you do not specify a key pair, you can't connect to the instance
|
63043
63044
|
# unless you choose an AMI that is configured to allow users another way
|
@@ -63045,8 +63046,7 @@ module Aws::EC2
|
|
63045
63046
|
#
|
63046
63047
|
#
|
63047
63048
|
#
|
63048
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
63049
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html
|
63049
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html
|
63050
63050
|
#
|
63051
63051
|
# @option params [required, Integer] :max_count
|
63052
63052
|
# The maximum number of instances to launch. If you specify a value that
|
@@ -63096,17 +63096,12 @@ module Aws::EC2
|
|
63096
63096
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
63097
63097
|
#
|
63098
63098
|
# @option params [Array<String>] :security_group_ids
|
63099
|
-
# The IDs of the security groups.
|
63100
|
-
# [CreateSecurityGroup][1].
|
63099
|
+
# The IDs of the security groups.
|
63101
63100
|
#
|
63102
63101
|
# If you specify a network interface, you must specify any security
|
63103
63102
|
# groups as part of the network interface instead of using this
|
63104
63103
|
# parameter.
|
63105
63104
|
#
|
63106
|
-
#
|
63107
|
-
#
|
63108
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
63109
|
-
#
|
63110
63105
|
# @option params [Array<String>] :security_groups
|
63111
63106
|
# \[Default VPC\] The names of the security groups.
|
63112
63107
|
#
|
@@ -63126,11 +63121,11 @@ module Aws::EC2
|
|
63126
63121
|
# The user data to make available to the instance. User data must be
|
63127
63122
|
# base64-encoded. Depending on the tool or SDK that you're using, the
|
63128
63123
|
# base64-encoding might be performed for you. For more information, see
|
63129
|
-
# [
|
63124
|
+
# [Run commands at launch using instance user data][1].
|
63130
63125
|
#
|
63131
63126
|
#
|
63132
63127
|
#
|
63133
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
63128
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
63134
63129
|
#
|
63135
63130
|
# @option params [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
63136
63131
|
# An elastic GPU to associate with the instance.
|
@@ -63229,24 +63224,23 @@ module Aws::EC2
|
|
63229
63224
|
#
|
63230
63225
|
# @option params [Types::InstanceMetadataOptionsRequest] :metadata_options
|
63231
63226
|
# The metadata options for the instance. For more information, see
|
63232
|
-
# [Instance
|
63227
|
+
# [Configure the Instance Metadata Service options][1].
|
63233
63228
|
#
|
63234
63229
|
#
|
63235
63230
|
#
|
63236
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
63231
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
63237
63232
|
#
|
63238
63233
|
# @option params [Types::EnclaveOptionsRequest] :enclave_options
|
63239
63234
|
# Indicates whether the instance is enabled for Amazon Web Services
|
63240
|
-
# Nitro Enclaves. For more information, see [
|
63241
|
-
#
|
63242
|
-
# Guide*.
|
63235
|
+
# Nitro Enclaves. For more information, see [Amazon Web Services Nitro
|
63236
|
+
# Enclaves User Guide][1].
|
63243
63237
|
#
|
63244
63238
|
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
63245
63239
|
# on the same instance.
|
63246
63240
|
#
|
63247
63241
|
#
|
63248
63242
|
#
|
63249
|
-
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
63243
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
63250
63244
|
#
|
63251
63245
|
# @option params [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
63252
63246
|
# The options for the instance hostname. The default values are
|
@@ -63258,11 +63252,11 @@ module Aws::EC2
|
|
63258
63252
|
#
|
63259
63253
|
# @option params [Boolean] :disable_api_stop
|
63260
63254
|
# Indicates whether an instance is enabled for stop protection. For more
|
63261
|
-
# information, see [
|
63255
|
+
# information, see [Enable stop protection for your EC2 instances][1].
|
63262
63256
|
#
|
63263
63257
|
#
|
63264
63258
|
#
|
63265
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
63259
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html
|
63266
63260
|
#
|
63267
63261
|
# @option params [Boolean] :enable_primary_ipv_6
|
63268
63262
|
# If you’re launching an instance into a dual-stack or IPv6-only subnet,
|
@@ -63327,7 +63321,8 @@ module Aws::EC2
|
|
63327
63321
|
# randomly generated token is used for the request to ensure
|
63328
63322
|
# idempotency.
|
63329
63323
|
#
|
63330
|
-
# For more information, see [Ensuring
|
63324
|
+
# For more information, see [Ensuring idempotency in Amazon EC2 API
|
63325
|
+
# requests][1].
|
63331
63326
|
#
|
63332
63327
|
# Constraints: Maximum 64 ASCII characters
|
63333
63328
|
#
|
@@ -63336,7 +63331,7 @@ module Aws::EC2
|
|
63336
63331
|
#
|
63337
63332
|
#
|
63338
63333
|
#
|
63339
|
-
# [1]: https://docs.aws.amazon.com/
|
63334
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
63340
63335
|
#
|
63341
63336
|
# @option params [String] :additional_info
|
63342
63337
|
# Reserved.
|
@@ -64259,10 +64254,10 @@ module Aws::EC2
|
|
64259
64254
|
# Services Organization).
|
64260
64255
|
#
|
64261
64256
|
# The report is saved to your specified S3 bucket, using the following
|
64262
|
-
# path structure (with the
|
64257
|
+
# path structure (with the capitalized placeholders representing your
|
64263
64258
|
# specific values):
|
64264
64259
|
#
|
64265
|
-
# `s3://
|
64260
|
+
# `s3://AMZN-S3-DEMO-BUCKET/YOUR-OPTIONAL-S3-PREFIX/ec2_TARGETID_REPORTID_YYYYMMDDTHHMMZ.csv`
|
64266
64261
|
#
|
64267
64262
|
# **Prerequisites for generating a report**
|
64268
64263
|
#
|
@@ -65517,10 +65512,13 @@ module Aws::EC2
|
|
65517
65512
|
# [Stop and start Amazon EC2 instances][2] in the *Amazon EC2 User
|
65518
65513
|
# Guide*.
|
65519
65514
|
#
|
65520
|
-
# When you stop an instance, we shut it down.
|
65515
|
+
# When you stop or hibernate an instance, we shut it down. By default,
|
65516
|
+
# this includes a graceful operating system (OS) shutdown. To bypass the
|
65517
|
+
# graceful shutdown, use the `skipOsShutdown` parameter; however, this
|
65518
|
+
# might risk data integrity.
|
65521
65519
|
#
|
65522
|
-
# You can use the
|
65523
|
-
# to hibernate an instance if the instance is [enabled for
|
65520
|
+
# You can use the StopInstances operation together with the `Hibernate`
|
65521
|
+
# parameter to hibernate an instance if the instance is [enabled for
|
65524
65522
|
# hibernation][3] and meets the [hibernation prerequisites][4]. Stopping
|
65525
65523
|
# an instance doesn't preserve data stored in RAM, while hibernation
|
65526
65524
|
# does. If hibernation fails, a normal shutdown occurs. For more
|
@@ -65528,10 +65526,10 @@ module Aws::EC2
|
|
65528
65526
|
# *Amazon EC2 User Guide*.
|
65529
65527
|
#
|
65530
65528
|
# If your instance appears stuck in the `stopping` state, there might be
|
65531
|
-
# an issue with the underlying host computer. You can use the
|
65532
|
-
# operation together with the Force parameter to force
|
65533
|
-
# instance. For more information, see [Troubleshoot Amazon EC2
|
65534
|
-
# stop issues][6] in the *Amazon EC2 User Guide*.
|
65529
|
+
# an issue with the underlying host computer. You can use the
|
65530
|
+
# StopInstances operation together with the Force parameter to force
|
65531
|
+
# stop your instance. For more information, see [Troubleshoot Amazon EC2
|
65532
|
+
# instance stop issues][6] in the *Amazon EC2 User Guide*.
|
65535
65533
|
#
|
65536
65534
|
# Stopping and hibernating an instance differs from rebooting or
|
65537
65535
|
# terminating it. For example, a stopped or hibernated instance retains
|
@@ -65565,7 +65563,7 @@ module Aws::EC2
|
|
65565
65563
|
# @option params [Boolean] :hibernate
|
65566
65564
|
# Hibernates the instance if the instance was enabled for hibernation at
|
65567
65565
|
# launch. If the instance cannot hibernate successfully, a normal
|
65568
|
-
# shutdown occurs. For more information, see [Hibernate your
|
65566
|
+
# shutdown occurs. For more information, see [Hibernate your Amazon EC2
|
65569
65567
|
# instance][1] in the *Amazon EC2 User Guide*.
|
65570
65568
|
#
|
65571
65569
|
# Default: `false`
|
@@ -65574,6 +65572,16 @@ module Aws::EC2
|
|
65574
65572
|
#
|
65575
65573
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
65576
65574
|
#
|
65575
|
+
# @option params [Boolean] :skip_os_shutdown
|
65576
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
65577
|
+
# instance is stopped.
|
65578
|
+
#
|
65579
|
+
# Bypassing the graceful OS shutdown might result in data loss or
|
65580
|
+
# corruption (for example, memory contents not flushed to disk or loss
|
65581
|
+
# of in-flight IOs) or skipped shutdown scripts.
|
65582
|
+
#
|
65583
|
+
# Default: `false`
|
65584
|
+
#
|
65577
65585
|
# @option params [Boolean] :dry_run
|
65578
65586
|
# Checks whether you have the required permissions for the operation,
|
65579
65587
|
# without actually making the request, and provides an error response.
|
@@ -65635,6 +65643,7 @@ module Aws::EC2
|
|
65635
65643
|
# resp = client.stop_instances({
|
65636
65644
|
# instance_ids: ["InstanceId"], # required
|
65637
65645
|
# hibernate: false,
|
65646
|
+
# skip_os_shutdown: false,
|
65638
65647
|
# dry_run: false,
|
65639
65648
|
# force: false,
|
65640
65649
|
# })
|
@@ -65759,6 +65768,11 @@ module Aws::EC2
|
|
65759
65768
|
# the instance launched. Volumes attached after instance launch continue
|
65760
65769
|
# running.
|
65761
65770
|
#
|
65771
|
+
# By default, the TerminateInstances operation includes a graceful
|
65772
|
+
# operating system (OS) shutdown. To bypass the graceful shutdown, use
|
65773
|
+
# the `skipOsShutdown` parameter; however, this might risk data
|
65774
|
+
# integrity.
|
65775
|
+
#
|
65762
65776
|
# You can stop, start, and terminate EBS-backed instances. You can only
|
65763
65777
|
# terminate instance store-backed instances. What happens to an instance
|
65764
65778
|
# differs if you stop or terminate it. For example, when you stop an
|
@@ -65767,16 +65781,22 @@ module Aws::EC2
|
|
65767
65781
|
# volumes with the `DeleteOnTermination` block device mapping parameter
|
65768
65782
|
# set to `true` are automatically deleted. For more information about
|
65769
65783
|
# the differences between stopping and terminating instances, see
|
65770
|
-
# [
|
65784
|
+
# [Amazon EC2 instance state changes][2] in the *Amazon EC2 User Guide*.
|
65771
65785
|
#
|
65772
|
-
#
|
65773
|
-
#
|
65786
|
+
# When you terminate an instance, we attempt to terminate it forcibly
|
65787
|
+
# after a short while. If your instance appears stuck in the
|
65788
|
+
# shutting-down state after a period of time, there might be an issue
|
65789
|
+
# with the underlying host computer. For more information about
|
65790
|
+
# terminating and troubleshooting terminating your instances, see
|
65791
|
+
# [Terminate Amazon EC2 instances][3] and [Troubleshooting terminating
|
65792
|
+
# your instance][4] in the *Amazon EC2 User Guide*.
|
65774
65793
|
#
|
65775
65794
|
#
|
65776
65795
|
#
|
65777
65796
|
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
65778
65797
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
|
65779
|
-
# [3]: https://docs.aws.amazon.com/
|
65798
|
+
# [3]: https://docs.aws.amazon.com/
|
65799
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesShuttingDown.html
|
65780
65800
|
#
|
65781
65801
|
# @option params [required, Array<String>] :instance_ids
|
65782
65802
|
# The IDs of the instances.
|
@@ -65784,6 +65804,12 @@ module Aws::EC2
|
|
65784
65804
|
# Constraints: Up to 1000 instance IDs. We recommend breaking up this
|
65785
65805
|
# request into smaller batches.
|
65786
65806
|
#
|
65807
|
+
# @option params [Boolean] :skip_os_shutdown
|
65808
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
65809
|
+
# instance is terminated.
|
65810
|
+
#
|
65811
|
+
# Default: `false`
|
65812
|
+
#
|
65787
65813
|
# @option params [Boolean] :dry_run
|
65788
65814
|
# Checks whether you have the required permissions for the operation,
|
65789
65815
|
# without actually making the request, and provides an error response.
|
@@ -65826,6 +65852,7 @@ module Aws::EC2
|
|
65826
65852
|
#
|
65827
65853
|
# resp = client.terminate_instances({
|
65828
65854
|
# instance_ids: ["InstanceId"], # required
|
65855
|
+
# skip_os_shutdown: false,
|
65829
65856
|
# dry_run: false,
|
65830
65857
|
# })
|
65831
65858
|
#
|
@@ -66408,7 +66435,7 @@ module Aws::EC2
|
|
66408
66435
|
tracer: tracer
|
66409
66436
|
)
|
66410
66437
|
context[:gem_name] = 'aws-sdk-ec2'
|
66411
|
-
context[:gem_version] = '1.
|
66438
|
+
context[:gem_version] = '1.541.0'
|
66412
66439
|
Seahorse::Client::Request.new(handlers, context)
|
66413
66440
|
end
|
66414
66441
|
|
@@ -10007,7 +10007,7 @@ module Aws::EC2
|
|
10007
10007
|
FleetLaunchTemplateOverrides.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
10008
10008
|
FleetLaunchTemplateOverrides.add_member(:max_price, Shapes::ShapeRef.new(shape: String, location_name: "maxPrice"))
|
10009
10009
|
FleetLaunchTemplateOverrides.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
10010
|
-
FleetLaunchTemplateOverrides.add_member(:availability_zone, Shapes::ShapeRef.new(shape:
|
10010
|
+
FleetLaunchTemplateOverrides.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "availabilityZone"))
|
10011
10011
|
FleetLaunchTemplateOverrides.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "weightedCapacity"))
|
10012
10012
|
FleetLaunchTemplateOverrides.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "priority"))
|
10013
10013
|
FleetLaunchTemplateOverrides.add_member(:placement, Shapes::ShapeRef.new(shape: PlacementResponse, location_name: "placement"))
|
@@ -10023,7 +10023,7 @@ module Aws::EC2
|
|
10023
10023
|
FleetLaunchTemplateOverridesRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
|
10024
10024
|
FleetLaunchTemplateOverridesRequest.add_member(:max_price, Shapes::ShapeRef.new(shape: String, location_name: "MaxPrice"))
|
10025
10025
|
FleetLaunchTemplateOverridesRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
10026
|
-
FleetLaunchTemplateOverridesRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape:
|
10026
|
+
FleetLaunchTemplateOverridesRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZone"))
|
10027
10027
|
FleetLaunchTemplateOverridesRequest.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "WeightedCapacity"))
|
10028
10028
|
FleetLaunchTemplateOverridesRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "Priority"))
|
10029
10029
|
FleetLaunchTemplateOverridesRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "Placement"))
|
@@ -16116,6 +16116,7 @@ module Aws::EC2
|
|
16116
16116
|
|
16117
16117
|
StopInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
16118
16118
|
StopInstancesRequest.add_member(:hibernate, Shapes::ShapeRef.new(shape: Boolean, location_name: "Hibernate"))
|
16119
|
+
StopInstancesRequest.add_member(:skip_os_shutdown, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipOsShutdown"))
|
16119
16120
|
StopInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
16120
16121
|
StopInstancesRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "force"))
|
16121
16122
|
StopInstancesRequest.struct_class = Types::StopInstancesRequest
|
@@ -16333,6 +16334,7 @@ module Aws::EC2
|
|
16333
16334
|
TerminateConnectionStatusSet.member = Shapes::ShapeRef.new(shape: TerminateConnectionStatus, location_name: "item")
|
16334
16335
|
|
16335
16336
|
TerminateInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
16337
|
+
TerminateInstancesRequest.add_member(:skip_os_shutdown, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipOsShutdown"))
|
16336
16338
|
TerminateInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
16337
16339
|
TerminateInstancesRequest.struct_class = Types::TerminateInstancesRequest
|
16338
16340
|
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -1502,6 +1502,7 @@ module Aws::EC2
|
|
1502
1502
|
#
|
1503
1503
|
# instance.stop({
|
1504
1504
|
# hibernate: false,
|
1505
|
+
# skip_os_shutdown: false,
|
1505
1506
|
# dry_run: false,
|
1506
1507
|
# force: false,
|
1507
1508
|
# })
|
@@ -1509,7 +1510,7 @@ module Aws::EC2
|
|
1509
1510
|
# @option options [Boolean] :hibernate
|
1510
1511
|
# Hibernates the instance if the instance was enabled for hibernation at
|
1511
1512
|
# launch. If the instance cannot hibernate successfully, a normal
|
1512
|
-
# shutdown occurs. For more information, see [Hibernate your
|
1513
|
+
# shutdown occurs. For more information, see [Hibernate your Amazon EC2
|
1513
1514
|
# instance][1] in the *Amazon EC2 User Guide*.
|
1514
1515
|
#
|
1515
1516
|
# Default: `false`
|
@@ -1517,6 +1518,15 @@ module Aws::EC2
|
|
1517
1518
|
#
|
1518
1519
|
#
|
1519
1520
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
1521
|
+
# @option options [Boolean] :skip_os_shutdown
|
1522
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
1523
|
+
# instance is stopped.
|
1524
|
+
#
|
1525
|
+
# Bypassing the graceful OS shutdown might result in data loss or
|
1526
|
+
# corruption (for example, memory contents not flushed to disk or loss
|
1527
|
+
# of in-flight IOs) or skipped shutdown scripts.
|
1528
|
+
#
|
1529
|
+
# Default: `false`
|
1520
1530
|
# @option options [Boolean] :dry_run
|
1521
1531
|
# Checks whether you have the required permissions for the operation,
|
1522
1532
|
# without actually making the request, and provides an error response.
|
@@ -1551,9 +1561,15 @@ module Aws::EC2
|
|
1551
1561
|
# @example Request syntax with placeholder values
|
1552
1562
|
#
|
1553
1563
|
# instance.terminate({
|
1564
|
+
# skip_os_shutdown: false,
|
1554
1565
|
# dry_run: false,
|
1555
1566
|
# })
|
1556
1567
|
# @param [Hash] options ({})
|
1568
|
+
# @option options [Boolean] :skip_os_shutdown
|
1569
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
1570
|
+
# instance is terminated.
|
1571
|
+
#
|
1572
|
+
# Default: `false`
|
1557
1573
|
# @option options [Boolean] :dry_run
|
1558
1574
|
# Checks whether you have the required permissions for the operation,
|
1559
1575
|
# without actually making the request, and provides an error response.
|
@@ -2079,6 +2095,7 @@ module Aws::EC2
|
|
2079
2095
|
#
|
2080
2096
|
# instance.batch_stop({
|
2081
2097
|
# hibernate: false,
|
2098
|
+
# skip_os_shutdown: false,
|
2082
2099
|
# dry_run: false,
|
2083
2100
|
# force: false,
|
2084
2101
|
# })
|
@@ -2086,7 +2103,7 @@ module Aws::EC2
|
|
2086
2103
|
# @option options [Boolean] :hibernate
|
2087
2104
|
# Hibernates the instance if the instance was enabled for hibernation at
|
2088
2105
|
# launch. If the instance cannot hibernate successfully, a normal
|
2089
|
-
# shutdown occurs. For more information, see [Hibernate your
|
2106
|
+
# shutdown occurs. For more information, see [Hibernate your Amazon EC2
|
2090
2107
|
# instance][1] in the *Amazon EC2 User Guide*.
|
2091
2108
|
#
|
2092
2109
|
# Default: `false`
|
@@ -2094,6 +2111,15 @@ module Aws::EC2
|
|
2094
2111
|
#
|
2095
2112
|
#
|
2096
2113
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
2114
|
+
# @option options [Boolean] :skip_os_shutdown
|
2115
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
2116
|
+
# instance is stopped.
|
2117
|
+
#
|
2118
|
+
# Bypassing the graceful OS shutdown might result in data loss or
|
2119
|
+
# corruption (for example, memory contents not flushed to disk or loss
|
2120
|
+
# of in-flight IOs) or skipped shutdown scripts.
|
2121
|
+
#
|
2122
|
+
# Default: `false`
|
2097
2123
|
# @option options [Boolean] :dry_run
|
2098
2124
|
# Checks whether you have the required permissions for the operation,
|
2099
2125
|
# without actually making the request, and provides an error response.
|
@@ -2134,9 +2160,15 @@ module Aws::EC2
|
|
2134
2160
|
# @example Request syntax with placeholder values
|
2135
2161
|
#
|
2136
2162
|
# instance.batch_terminate!({
|
2163
|
+
# skip_os_shutdown: false,
|
2137
2164
|
# dry_run: false,
|
2138
2165
|
# })
|
2139
2166
|
# @param options ({})
|
2167
|
+
# @option options [Boolean] :skip_os_shutdown
|
2168
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
2169
|
+
# instance is terminated.
|
2170
|
+
#
|
2171
|
+
# Default: `false`
|
2140
2172
|
# @option options [Boolean] :dry_run
|
2141
2173
|
# Checks whether you have the required permissions for the operation,
|
2142
2174
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -301,12 +301,12 @@ module Aws::EC2
|
|
301
301
|
# The ID of the AMI. An AMI ID is required to launch an instance and
|
302
302
|
# must be specified here or in a launch template.
|
303
303
|
# @option options [String] :instance_type
|
304
|
-
# The instance type. For more information, see [Amazon EC2
|
305
|
-
#
|
304
|
+
# The instance type. For more information, see [Amazon EC2 Instance
|
305
|
+
# Types Guide][1].
|
306
306
|
#
|
307
307
|
#
|
308
308
|
#
|
309
|
-
# [1]: https://docs.aws.amazon.com/
|
309
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html
|
310
310
|
# @option options [Integer] :ipv_6_address_count
|
311
311
|
# The number of IPv6 addresses to associate with the primary network
|
312
312
|
# interface. Amazon EC2 chooses the IPv6 addresses from the range of
|
@@ -335,8 +335,8 @@ module Aws::EC2
|
|
335
335
|
#
|
336
336
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
337
337
|
# @option options [String] :key_name
|
338
|
-
# The name of the key pair.
|
339
|
-
#
|
338
|
+
# The name of the key pair. For more information, see [Create a key pair
|
339
|
+
# for your EC2 instance][1].
|
340
340
|
#
|
341
341
|
# If you do not specify a key pair, you can't connect to the instance
|
342
342
|
# unless you choose an AMI that is configured to allow users another way
|
@@ -344,8 +344,7 @@ module Aws::EC2
|
|
344
344
|
#
|
345
345
|
#
|
346
346
|
#
|
347
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
348
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html
|
347
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html
|
349
348
|
# @option options [required, Integer] :max_count
|
350
349
|
# The maximum number of instances to launch. If you specify a value that
|
351
350
|
# is more capacity than Amazon EC2 can launch in the target Availability
|
@@ -389,16 +388,11 @@ module Aws::EC2
|
|
389
388
|
#
|
390
389
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
391
390
|
# @option options [Array<String>] :security_group_ids
|
392
|
-
# The IDs of the security groups.
|
393
|
-
# [CreateSecurityGroup][1].
|
391
|
+
# The IDs of the security groups.
|
394
392
|
#
|
395
393
|
# If you specify a network interface, you must specify any security
|
396
394
|
# groups as part of the network interface instead of using this
|
397
395
|
# parameter.
|
398
|
-
#
|
399
|
-
#
|
400
|
-
#
|
401
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
402
396
|
# @option options [Array<String>] :security_groups
|
403
397
|
# \[Default VPC\] The names of the security groups.
|
404
398
|
#
|
@@ -416,11 +410,11 @@ module Aws::EC2
|
|
416
410
|
# The user data to make available to the instance. User data must be
|
417
411
|
# base64-encoded. Depending on the tool or SDK that you're using, the
|
418
412
|
# base64-encoding might be performed for you. For more information, see
|
419
|
-
# [
|
413
|
+
# [Run commands at launch using instance user data][1].
|
420
414
|
#
|
421
415
|
#
|
422
416
|
#
|
423
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
417
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
424
418
|
# @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
425
419
|
# An elastic GPU to associate with the instance.
|
426
420
|
#
|
@@ -508,23 +502,22 @@ module Aws::EC2
|
|
508
502
|
# The license configurations.
|
509
503
|
# @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
|
510
504
|
# The metadata options for the instance. For more information, see
|
511
|
-
# [Instance
|
505
|
+
# [Configure the Instance Metadata Service options][1].
|
512
506
|
#
|
513
507
|
#
|
514
508
|
#
|
515
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
509
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
516
510
|
# @option options [Types::EnclaveOptionsRequest] :enclave_options
|
517
511
|
# Indicates whether the instance is enabled for Amazon Web Services
|
518
|
-
# Nitro Enclaves. For more information, see [
|
519
|
-
#
|
520
|
-
# Guide*.
|
512
|
+
# Nitro Enclaves. For more information, see [Amazon Web Services Nitro
|
513
|
+
# Enclaves User Guide][1].
|
521
514
|
#
|
522
515
|
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
523
516
|
# on the same instance.
|
524
517
|
#
|
525
518
|
#
|
526
519
|
#
|
527
|
-
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
520
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
528
521
|
# @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
529
522
|
# The options for the instance hostname. The default values are
|
530
523
|
# inherited from the subnet. Applies only if creating a network
|
@@ -533,11 +526,11 @@ module Aws::EC2
|
|
533
526
|
# The maintenance and recovery options for the instance.
|
534
527
|
# @option options [Boolean] :disable_api_stop
|
535
528
|
# Indicates whether an instance is enabled for stop protection. For more
|
536
|
-
# information, see [
|
529
|
+
# information, see [Enable stop protection for your EC2 instances][1].
|
537
530
|
#
|
538
531
|
#
|
539
532
|
#
|
540
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
533
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html
|
541
534
|
# @option options [Boolean] :enable_primary_ipv_6
|
542
535
|
# If you’re launching an instance into a dual-stack or IPv6-only subnet,
|
543
536
|
# you can enable assigning a primary IPv6 address. A primary IPv6
|
@@ -594,13 +587,14 @@ module Aws::EC2
|
|
594
587
|
# randomly generated token is used for the request to ensure
|
595
588
|
# idempotency.
|
596
589
|
#
|
597
|
-
# For more information, see [Ensuring
|
590
|
+
# For more information, see [Ensuring idempotency in Amazon EC2 API
|
591
|
+
# requests][1].
|
598
592
|
#
|
599
593
|
# Constraints: Maximum 64 ASCII characters
|
600
594
|
#
|
601
595
|
#
|
602
596
|
#
|
603
|
-
# [1]: https://docs.aws.amazon.com/
|
597
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
604
598
|
# @option options [String] :additional_info
|
605
599
|
# Reserved.
|
606
600
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -562,12 +562,12 @@ module Aws::EC2
|
|
562
562
|
# The ID of the AMI. An AMI ID is required to launch an instance and
|
563
563
|
# must be specified here or in a launch template.
|
564
564
|
# @option options [String] :instance_type
|
565
|
-
# The instance type. For more information, see [Amazon EC2
|
566
|
-
#
|
565
|
+
# The instance type. For more information, see [Amazon EC2 Instance
|
566
|
+
# Types Guide][1].
|
567
567
|
#
|
568
568
|
#
|
569
569
|
#
|
570
|
-
# [1]: https://docs.aws.amazon.com/
|
570
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html
|
571
571
|
# @option options [Integer] :ipv_6_address_count
|
572
572
|
# The number of IPv6 addresses to associate with the primary network
|
573
573
|
# interface. Amazon EC2 chooses the IPv6 addresses from the range of
|
@@ -596,8 +596,8 @@ module Aws::EC2
|
|
596
596
|
#
|
597
597
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
598
598
|
# @option options [String] :key_name
|
599
|
-
# The name of the key pair.
|
600
|
-
#
|
599
|
+
# The name of the key pair. For more information, see [Create a key pair
|
600
|
+
# for your EC2 instance][1].
|
601
601
|
#
|
602
602
|
# If you do not specify a key pair, you can't connect to the instance
|
603
603
|
# unless you choose an AMI that is configured to allow users another way
|
@@ -605,8 +605,7 @@ module Aws::EC2
|
|
605
605
|
#
|
606
606
|
#
|
607
607
|
#
|
608
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
609
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html
|
608
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html
|
610
609
|
# @option options [required, Integer] :max_count
|
611
610
|
# The maximum number of instances to launch. If you specify a value that
|
612
611
|
# is more capacity than Amazon EC2 can launch in the target Availability
|
@@ -650,16 +649,11 @@ module Aws::EC2
|
|
650
649
|
#
|
651
650
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
652
651
|
# @option options [Array<String>] :security_group_ids
|
653
|
-
# The IDs of the security groups.
|
654
|
-
# [CreateSecurityGroup][1].
|
652
|
+
# The IDs of the security groups.
|
655
653
|
#
|
656
654
|
# If you specify a network interface, you must specify any security
|
657
655
|
# groups as part of the network interface instead of using this
|
658
656
|
# parameter.
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
663
657
|
# @option options [Array<String>] :security_groups
|
664
658
|
# \[Default VPC\] The names of the security groups.
|
665
659
|
#
|
@@ -672,11 +666,11 @@ module Aws::EC2
|
|
672
666
|
# The user data to make available to the instance. User data must be
|
673
667
|
# base64-encoded. Depending on the tool or SDK that you're using, the
|
674
668
|
# base64-encoding might be performed for you. For more information, see
|
675
|
-
# [
|
669
|
+
# [Run commands at launch using instance user data][1].
|
676
670
|
#
|
677
671
|
#
|
678
672
|
#
|
679
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
673
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
680
674
|
# @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
681
675
|
# An elastic GPU to associate with the instance.
|
682
676
|
#
|
@@ -764,23 +758,22 @@ module Aws::EC2
|
|
764
758
|
# The license configurations.
|
765
759
|
# @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
|
766
760
|
# The metadata options for the instance. For more information, see
|
767
|
-
# [Instance
|
761
|
+
# [Configure the Instance Metadata Service options][1].
|
768
762
|
#
|
769
763
|
#
|
770
764
|
#
|
771
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
765
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
772
766
|
# @option options [Types::EnclaveOptionsRequest] :enclave_options
|
773
767
|
# Indicates whether the instance is enabled for Amazon Web Services
|
774
|
-
# Nitro Enclaves. For more information, see [
|
775
|
-
#
|
776
|
-
# Guide*.
|
768
|
+
# Nitro Enclaves. For more information, see [Amazon Web Services Nitro
|
769
|
+
# Enclaves User Guide][1].
|
777
770
|
#
|
778
771
|
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
779
772
|
# on the same instance.
|
780
773
|
#
|
781
774
|
#
|
782
775
|
#
|
783
|
-
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
776
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
784
777
|
# @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
785
778
|
# The options for the instance hostname. The default values are
|
786
779
|
# inherited from the subnet. Applies only if creating a network
|
@@ -789,11 +782,11 @@ module Aws::EC2
|
|
789
782
|
# The maintenance and recovery options for the instance.
|
790
783
|
# @option options [Boolean] :disable_api_stop
|
791
784
|
# Indicates whether an instance is enabled for stop protection. For more
|
792
|
-
# information, see [
|
785
|
+
# information, see [Enable stop protection for your EC2 instances][1].
|
793
786
|
#
|
794
787
|
#
|
795
788
|
#
|
796
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
789
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html
|
797
790
|
# @option options [Boolean] :enable_primary_ipv_6
|
798
791
|
# If you’re launching an instance into a dual-stack or IPv6-only subnet,
|
799
792
|
# you can enable assigning a primary IPv6 address. A primary IPv6
|
@@ -850,13 +843,14 @@ module Aws::EC2
|
|
850
843
|
# randomly generated token is used for the request to ensure
|
851
844
|
# idempotency.
|
852
845
|
#
|
853
|
-
# For more information, see [Ensuring
|
846
|
+
# For more information, see [Ensuring idempotency in Amazon EC2 API
|
847
|
+
# requests][1].
|
854
848
|
#
|
855
849
|
# Constraints: Maximum 64 ASCII characters
|
856
850
|
#
|
857
851
|
#
|
858
852
|
#
|
859
|
-
# [1]: https://docs.aws.amazon.com/
|
853
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
860
854
|
# @option options [String] :additional_info
|
861
855
|
# Reserved.
|
862
856
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -8140,7 +8140,7 @@ module Aws::EC2
|
|
8140
8140
|
# The instance type for which to reserve capacity.
|
8141
8141
|
#
|
8142
8142
|
# <note markdown="1"> You can request future-dated Capacity Reservations for instance
|
8143
|
-
# types in the C, M, R, I, and
|
8143
|
+
# types in the C, M, R, I, T, and G instance families only.
|
8144
8144
|
#
|
8145
8145
|
# </note>
|
8146
8146
|
#
|
@@ -8181,9 +8181,9 @@ module Aws::EC2
|
|
8181
8181
|
# The number of instances for which to reserve capacity.
|
8182
8182
|
#
|
8183
8183
|
# <note markdown="1"> You can request future-dated Capacity Reservations for an instance
|
8184
|
-
# count with a minimum of
|
8184
|
+
# count with a minimum of 64 vCPUs. For example, if you request a
|
8185
8185
|
# future-dated Capacity Reservation for `m5.xlarge` instances, you
|
8186
|
-
# must request at least 25 instances (*
|
8186
|
+
# must request at least 25 instances (*16 * m5.xlarge = 64 vCPUs*).
|
8187
8187
|
#
|
8188
8188
|
# </note>
|
8189
8189
|
#
|
@@ -23560,8 +23560,9 @@ module Aws::EC2
|
|
23560
23560
|
# express (NVMe) is supported for EBS volumes (`required` \|
|
23561
23561
|
# `supported` \| `unsupported`).
|
23562
23562
|
#
|
23563
|
-
# * `free-tier-eligible` -
|
23564
|
-
#
|
23563
|
+
# * `free-tier-eligible` - A Boolean that indicates whether this
|
23564
|
+
# instance type can be used under the Amazon Web Services Free Tier
|
23565
|
+
# (`true` \| `false`).
|
23565
23566
|
#
|
23566
23567
|
# * `hibernation-supported` - Indicates whether On-Demand hibernation
|
23567
23568
|
# is supported (`true` \| `false`).
|
@@ -34549,14 +34550,18 @@ module Aws::EC2
|
|
34549
34550
|
# but not both. If neither is specified, Amazon EC2 automatically
|
34550
34551
|
# selects an Availability Zone within the Region.
|
34551
34552
|
#
|
34552
|
-
# This parameter is not supported when using [
|
34553
|
-
# [
|
34553
|
+
# This parameter is not supported when using [CreateFleet][1],
|
34554
|
+
# [CreateImage][2], [DescribeImages][3], [RequestSpotFleet][4],
|
34555
|
+
# [RequestSpotInstances][5], and [RunInstances][6].
|
34554
34556
|
#
|
34555
34557
|
#
|
34556
34558
|
#
|
34557
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34558
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34559
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34559
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html
|
34560
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34561
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
34562
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html
|
34563
|
+
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
|
34564
|
+
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
34560
34565
|
# @return [String]
|
34561
34566
|
#
|
34562
34567
|
# @!attribute [rw] encrypted
|
@@ -34653,14 +34658,18 @@ module Aws::EC2
|
|
34653
34658
|
# but not both. If neither is specified, Amazon EC2 automatically
|
34654
34659
|
# selects an Availability Zone within the Region.
|
34655
34660
|
#
|
34656
|
-
# This parameter is not supported when using [
|
34657
|
-
# [
|
34661
|
+
# This parameter is not supported when using [CreateFleet][1],
|
34662
|
+
# [CreateImage][2], [DescribeImages][3], [RequestSpotFleet][4],
|
34663
|
+
# [RequestSpotInstances][5], and [RunInstances][6].
|
34658
34664
|
#
|
34659
34665
|
#
|
34660
34666
|
#
|
34661
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34662
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34663
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
34667
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet.html
|
34668
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
34669
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
34670
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html
|
34671
|
+
# [5]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
|
34672
|
+
# [6]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
34664
34673
|
# @return [String]
|
34665
34674
|
#
|
34666
34675
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
|
@@ -67489,12 +67498,12 @@ module Aws::EC2
|
|
67489
67498
|
# @return [String]
|
67490
67499
|
#
|
67491
67500
|
# @!attribute [rw] instance_type
|
67492
|
-
# The instance type. For more information, see [Amazon EC2
|
67493
|
-
#
|
67501
|
+
# The instance type. For more information, see [Amazon EC2 Instance
|
67502
|
+
# Types Guide][1].
|
67494
67503
|
#
|
67495
67504
|
#
|
67496
67505
|
#
|
67497
|
-
# [1]: https://docs.aws.amazon.com/
|
67506
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html
|
67498
67507
|
# @return [String]
|
67499
67508
|
#
|
67500
67509
|
# @!attribute [rw] ipv_6_address_count
|
@@ -67532,8 +67541,8 @@ module Aws::EC2
|
|
67532
67541
|
# @return [String]
|
67533
67542
|
#
|
67534
67543
|
# @!attribute [rw] key_name
|
67535
|
-
# The name of the key pair.
|
67536
|
-
#
|
67544
|
+
# The name of the key pair. For more information, see [Create a key
|
67545
|
+
# pair for your EC2 instance][1].
|
67537
67546
|
#
|
67538
67547
|
# If you do not specify a key pair, you can't connect to the instance
|
67539
67548
|
# unless you choose an AMI that is configured to allow users another
|
@@ -67541,8 +67550,7 @@ module Aws::EC2
|
|
67541
67550
|
#
|
67542
67551
|
#
|
67543
67552
|
#
|
67544
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
67545
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html
|
67553
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html
|
67546
67554
|
# @return [String]
|
67547
67555
|
#
|
67548
67556
|
# @!attribute [rw] max_count
|
@@ -67599,16 +67607,11 @@ module Aws::EC2
|
|
67599
67607
|
# @return [String]
|
67600
67608
|
#
|
67601
67609
|
# @!attribute [rw] security_group_ids
|
67602
|
-
# The IDs of the security groups.
|
67603
|
-
# using [CreateSecurityGroup][1].
|
67610
|
+
# The IDs of the security groups.
|
67604
67611
|
#
|
67605
67612
|
# If you specify a network interface, you must specify any security
|
67606
67613
|
# groups as part of the network interface instead of using this
|
67607
67614
|
# parameter.
|
67608
|
-
#
|
67609
|
-
#
|
67610
|
-
#
|
67611
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
67612
67615
|
# @return [Array<String>]
|
67613
67616
|
#
|
67614
67617
|
# @!attribute [rw] security_groups
|
@@ -67632,11 +67635,11 @@ module Aws::EC2
|
|
67632
67635
|
# The user data to make available to the instance. User data must be
|
67633
67636
|
# base64-encoded. Depending on the tool or SDK that you're using, the
|
67634
67637
|
# base64-encoding might be performed for you. For more information,
|
67635
|
-
# see [
|
67638
|
+
# see [Run commands at launch using instance user data][1].
|
67636
67639
|
#
|
67637
67640
|
#
|
67638
67641
|
#
|
67639
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
67642
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
67640
67643
|
# @return [String]
|
67641
67644
|
#
|
67642
67645
|
# @!attribute [rw] elastic_gpu_specification
|
@@ -67746,25 +67749,24 @@ module Aws::EC2
|
|
67746
67749
|
#
|
67747
67750
|
# @!attribute [rw] metadata_options
|
67748
67751
|
# The metadata options for the instance. For more information, see
|
67749
|
-
# [Instance
|
67752
|
+
# [Configure the Instance Metadata Service options][1].
|
67750
67753
|
#
|
67751
67754
|
#
|
67752
67755
|
#
|
67753
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
67756
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
67754
67757
|
# @return [Types::InstanceMetadataOptionsRequest]
|
67755
67758
|
#
|
67756
67759
|
# @!attribute [rw] enclave_options
|
67757
67760
|
# Indicates whether the instance is enabled for Amazon Web Services
|
67758
|
-
# Nitro Enclaves. For more information, see [
|
67759
|
-
#
|
67760
|
-
# Enclaves User Guide*.
|
67761
|
+
# Nitro Enclaves. For more information, see [Amazon Web Services Nitro
|
67762
|
+
# Enclaves User Guide][1].
|
67761
67763
|
#
|
67762
67764
|
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
67763
67765
|
# on the same instance.
|
67764
67766
|
#
|
67765
67767
|
#
|
67766
67768
|
#
|
67767
|
-
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
67769
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
67768
67770
|
# @return [Types::EnclaveOptionsRequest]
|
67769
67771
|
#
|
67770
67772
|
# @!attribute [rw] private_dns_name_options
|
@@ -67779,11 +67781,12 @@ module Aws::EC2
|
|
67779
67781
|
#
|
67780
67782
|
# @!attribute [rw] disable_api_stop
|
67781
67783
|
# Indicates whether an instance is enabled for stop protection. For
|
67782
|
-
# more information, see [
|
67784
|
+
# more information, see [Enable stop protection for your EC2
|
67785
|
+
# instances][1].
|
67783
67786
|
#
|
67784
67787
|
#
|
67785
67788
|
#
|
67786
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
67789
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html
|
67787
67790
|
# @return [Boolean]
|
67788
67791
|
#
|
67789
67792
|
# @!attribute [rw] enable_primary_ipv_6
|
@@ -67857,7 +67860,8 @@ module Aws::EC2
|
|
67857
67860
|
# randomly generated token is used for the request to ensure
|
67858
67861
|
# idempotency.
|
67859
67862
|
#
|
67860
|
-
# For more information, see [Ensuring
|
67863
|
+
# For more information, see [Ensuring idempotency in Amazon EC2 API
|
67864
|
+
# requests][1].
|
67861
67865
|
#
|
67862
67866
|
# Constraints: Maximum 64 ASCII characters
|
67863
67867
|
#
|
@@ -67866,7 +67870,7 @@ module Aws::EC2
|
|
67866
67870
|
#
|
67867
67871
|
#
|
67868
67872
|
#
|
67869
|
-
# [1]: https://docs.aws.amazon.com/
|
67873
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
67870
67874
|
# @return [String]
|
67871
67875
|
#
|
67872
67876
|
# @!attribute [rw] additional_info
|
@@ -72016,8 +72020,8 @@ module Aws::EC2
|
|
72016
72020
|
# @!attribute [rw] hibernate
|
72017
72021
|
# Hibernates the instance if the instance was enabled for hibernation
|
72018
72022
|
# at launch. If the instance cannot hibernate successfully, a normal
|
72019
|
-
# shutdown occurs. For more information, see [Hibernate your
|
72020
|
-
# instance][1] in the *Amazon EC2 User Guide*.
|
72023
|
+
# shutdown occurs. For more information, see [Hibernate your Amazon
|
72024
|
+
# EC2 instance][1] in the *Amazon EC2 User Guide*.
|
72021
72025
|
#
|
72022
72026
|
# Default: `false`
|
72023
72027
|
#
|
@@ -72026,6 +72030,17 @@ module Aws::EC2
|
|
72026
72030
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
72027
72031
|
# @return [Boolean]
|
72028
72032
|
#
|
72033
|
+
# @!attribute [rw] skip_os_shutdown
|
72034
|
+
# Specifies whether to bypass the graceful OS shutdown process when
|
72035
|
+
# the instance is stopped.
|
72036
|
+
#
|
72037
|
+
# Bypassing the graceful OS shutdown might result in data loss or
|
72038
|
+
# corruption (for example, memory contents not flushed to disk or loss
|
72039
|
+
# of in-flight IOs) or skipped shutdown scripts.
|
72040
|
+
#
|
72041
|
+
# Default: `false`
|
72042
|
+
# @return [Boolean]
|
72043
|
+
#
|
72029
72044
|
# @!attribute [rw] dry_run
|
72030
72045
|
# Checks whether you have the required permissions for the operation,
|
72031
72046
|
# without actually making the request, and provides an error response.
|
@@ -72057,6 +72072,7 @@ module Aws::EC2
|
|
72057
72072
|
class StopInstancesRequest < Struct.new(
|
72058
72073
|
:instance_ids,
|
72059
72074
|
:hibernate,
|
72075
|
+
:skip_os_shutdown,
|
72060
72076
|
:dry_run,
|
72061
72077
|
:force)
|
72062
72078
|
SENSITIVE = []
|
@@ -72999,6 +73015,13 @@ module Aws::EC2
|
|
72999
73015
|
# request into smaller batches.
|
73000
73016
|
# @return [Array<String>]
|
73001
73017
|
#
|
73018
|
+
# @!attribute [rw] skip_os_shutdown
|
73019
|
+
# Specifies whether to bypass the graceful OS shutdown process when
|
73020
|
+
# the instance is terminated.
|
73021
|
+
#
|
73022
|
+
# Default: `false`
|
73023
|
+
# @return [Boolean]
|
73024
|
+
#
|
73002
73025
|
# @!attribute [rw] dry_run
|
73003
73026
|
# Checks whether you have the required permissions for the operation,
|
73004
73027
|
# without actually making the request, and provides an error response.
|
@@ -73010,6 +73033,7 @@ module Aws::EC2
|
|
73010
73033
|
#
|
73011
73034
|
class TerminateInstancesRequest < Struct.new(
|
73012
73035
|
:instance_ids,
|
73036
|
+
:skip_os_shutdown,
|
73013
73037
|
:dry_run)
|
73014
73038
|
SENSITIVE = []
|
73015
73039
|
include Aws::Structure
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -14145,6 +14145,7 @@ module Aws
|
|
14145
14145
|
def stop_instances: (
|
14146
14146
|
instance_ids: Array[::String],
|
14147
14147
|
?hibernate: bool,
|
14148
|
+
?skip_os_shutdown: bool,
|
14148
14149
|
?dry_run: bool,
|
14149
14150
|
?force: bool
|
14150
14151
|
) -> _StopInstancesResponseSuccess
|
@@ -14172,6 +14173,7 @@ module Aws
|
|
14172
14173
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#terminate_instances-instance_method
|
14173
14174
|
def terminate_instances: (
|
14174
14175
|
instance_ids: Array[::String],
|
14176
|
+
?skip_os_shutdown: bool,
|
14175
14177
|
?dry_run: bool
|
14176
14178
|
) -> _TerminateInstancesResponseSuccess
|
14177
14179
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateInstancesResponseSuccess
|
data/sig/instance.rbs
CHANGED
@@ -443,6 +443,7 @@ module Aws
|
|
443
443
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#stop-instance_method
|
444
444
|
def stop: (
|
445
445
|
?hibernate: bool,
|
446
|
+
?skip_os_shutdown: bool,
|
446
447
|
?dry_run: bool,
|
447
448
|
?force: bool
|
448
449
|
) -> Types::StopInstancesResult
|
@@ -450,6 +451,7 @@ module Aws
|
|
450
451
|
|
451
452
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#terminate-instance_method
|
452
453
|
def terminate: (
|
454
|
+
?skip_os_shutdown: bool,
|
453
455
|
?dry_run: bool
|
454
456
|
) -> Types::TerminateInstancesResult
|
455
457
|
| (?Hash[Symbol, untyped]) -> Types::TerminateInstancesResult
|
@@ -550,12 +552,14 @@ module Aws
|
|
550
552
|
|
551
553
|
def batch_stop: (
|
552
554
|
?hibernate: bool,
|
555
|
+
?skip_os_shutdown: bool,
|
553
556
|
?dry_run: bool,
|
554
557
|
?force: bool
|
555
558
|
) -> void
|
556
559
|
| (?Hash[Symbol, untyped]) -> void
|
557
560
|
|
558
561
|
def batch_terminate!: (
|
562
|
+
?skip_os_shutdown: bool,
|
559
563
|
?dry_run: bool
|
560
564
|
) -> void
|
561
565
|
| (?Hash[Symbol, untyped]) -> void
|
data/sig/types.rbs
CHANGED
@@ -15459,6 +15459,7 @@ module Aws::EC2
|
|
15459
15459
|
class StopInstancesRequest
|
15460
15460
|
attr_accessor instance_ids: ::Array[::String]
|
15461
15461
|
attr_accessor hibernate: bool
|
15462
|
+
attr_accessor skip_os_shutdown: bool
|
15462
15463
|
attr_accessor dry_run: bool
|
15463
15464
|
attr_accessor force: bool
|
15464
15465
|
SENSITIVE: []
|
@@ -15688,6 +15689,7 @@ module Aws::EC2
|
|
15688
15689
|
|
15689
15690
|
class TerminateInstancesRequest
|
15690
15691
|
attr_accessor instance_ids: ::Array[::String]
|
15692
|
+
attr_accessor skip_os_shutdown: bool
|
15691
15693
|
attr_accessor dry_run: bool
|
15692
15694
|
SENSITIVE: []
|
15693
15695
|
end
|