aws-sdk-ec2 1.80.0 → 1.81.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +3 -0
- data/lib/aws-sdk-ec2/client.rb +245 -177
- data/lib/aws-sdk-ec2/client_api.rb +8 -2
- data/lib/aws-sdk-ec2/dhcp_options.rb +3 -3
- data/lib/aws-sdk-ec2/image.rb +8 -8
- data/lib/aws-sdk-ec2/instance.rb +8 -7
- data/lib/aws-sdk-ec2/internet_gateway.rb +3 -3
- data/lib/aws-sdk-ec2/network_acl.rb +3 -3
- data/lib/aws-sdk-ec2/network_interface.rb +4 -4
- data/lib/aws-sdk-ec2/placement_group.rb +2 -2
- data/lib/aws-sdk-ec2/resource.rb +51 -26
- data/lib/aws-sdk-ec2/route_table.rb +3 -3
- data/lib/aws-sdk-ec2/security_group.rb +32 -23
- data/lib/aws-sdk-ec2/snapshot.rb +3 -3
- data/lib/aws-sdk-ec2/subnet.rb +43 -22
- data/lib/aws-sdk-ec2/tag.rb +5 -5
- data/lib/aws-sdk-ec2/types.rb +326 -206
- data/lib/aws-sdk-ec2/volume.rb +6 -3
- data/lib/aws-sdk-ec2/vpc.rb +6 -6
- data/lib/aws-sdk-ec2/vpc_address.rb +5 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -395,9 +395,9 @@ module Aws::EC2
|
|
395
395
|
# If you have the required permissions, the error response is
|
396
396
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
397
397
|
# @option options [required, Array<Types::Tag>] :tags
|
398
|
-
#
|
399
|
-
#
|
400
|
-
#
|
398
|
+
# The tags. The `value` parameter is required, but if you don't want
|
399
|
+
# the tag to have a value, specify the parameter with no value, and we
|
400
|
+
# set the value to an empty string.
|
401
401
|
# @return [Tag::Collection]
|
402
402
|
def create_tags(options = {})
|
403
403
|
batch = []
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -326,6 +326,7 @@ module Aws::EC2
|
|
326
326
|
# ],
|
327
327
|
# secondary_private_ip_address_count: 1,
|
328
328
|
# subnet_id: "String",
|
329
|
+
# interface_type: "String",
|
329
330
|
# },
|
330
331
|
# ],
|
331
332
|
# private_ip_address: "String",
|
@@ -395,9 +396,8 @@ module Aws::EC2
|
|
395
396
|
# not blank and its encryption status is used for the volume encryption
|
396
397
|
# status.
|
397
398
|
# @option options [String] :image_id
|
398
|
-
# The ID of the AMI
|
399
|
-
#
|
400
|
-
# launch template.
|
399
|
+
# The ID of the AMI. An AMI is required to launch an instance and must
|
400
|
+
# be specified here or in a launch template.
|
401
401
|
# @option options [String] :instance_type
|
402
402
|
# The instance type. For more information, see [Instance Types][1] in
|
403
403
|
# the *Amazon Elastic Compute Cloud User Guide*.
|
@@ -408,7 +408,7 @@ module Aws::EC2
|
|
408
408
|
#
|
409
409
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
410
410
|
# @option options [Integer] :ipv_6_address_count
|
411
|
-
# \[EC2-VPC\]
|
411
|
+
# \[EC2-VPC\] The number of IPv6 addresses to associate with the primary
|
412
412
|
# network interface. Amazon EC2 chooses the IPv6 addresses from the
|
413
413
|
# range of your subnet. You cannot specify this option and the option to
|
414
414
|
# assign specific IPv6 addresses in the same request. You can specify
|
@@ -471,11 +471,14 @@ module Aws::EC2
|
|
471
471
|
#
|
472
472
|
# [1]: http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2
|
473
473
|
# @option options [Types::RunInstancesMonitoringEnabled] :monitoring
|
474
|
-
#
|
474
|
+
# Specifies whether detailed monitoring is enabled for the instance.
|
475
475
|
# @option options [Types::Placement] :placement
|
476
476
|
# The placement for the instance.
|
477
477
|
# @option options [String] :ramdisk_id
|
478
|
-
# The ID of the RAM disk.
|
478
|
+
# The ID of the RAM disk to select. Some kernels require additional
|
479
|
+
# drivers at launch. Check the kernel requirements for information about
|
480
|
+
# whether you need to specify a RAM disk. To find kernel requirements,
|
481
|
+
# go to the AWS Resource Center and search for the kernel ID.
|
479
482
|
#
|
480
483
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
481
484
|
# For more information, see [ PV-GRUB][1] in the *Amazon Elastic Compute
|
@@ -505,7 +508,8 @@ module Aws::EC2
|
|
505
508
|
# see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
|
506
509
|
# [Adding User Data][2] (Windows). If you are using a command line tool,
|
507
510
|
# base64-encoding is performed for you, and you can load the text from a
|
508
|
-
# file. Otherwise, you must provide base64-encoded text.
|
511
|
+
# file. Otherwise, you must provide base64-encoded text. User data is
|
512
|
+
# limited to 16 KB.
|
509
513
|
#
|
510
514
|
#
|
511
515
|
#
|
@@ -555,10 +559,7 @@ module Aws::EC2
|
|
555
559
|
#
|
556
560
|
# Default: `stop`
|
557
561
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
558
|
-
# The network interfaces.
|
559
|
-
#
|
560
|
-
# You cannot specify this option and the network interfaces option in
|
561
|
-
# the same request.
|
562
|
+
# The network interfaces to associate with the instance.
|
562
563
|
# @option options [String] :private_ip_address
|
563
564
|
# \[EC2-VPC\] The primary IPv4 address. You must specify a value from
|
564
565
|
# the IPv4 address range of the subnet.
|
@@ -572,9 +573,20 @@ module Aws::EC2
|
|
572
573
|
# You cannot specify this option and the network interfaces option in
|
573
574
|
# the same request.
|
574
575
|
# @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
575
|
-
# An elastic GPU to associate with the instance.
|
576
|
+
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
577
|
+
# resource that you can attach to your Windows instance to accelerate
|
578
|
+
# the graphics performance of your applications. For more information,
|
579
|
+
# see [ Amazon EC2 Elastic GPUs][1] in the *Amazon Elastic Compute Cloud
|
580
|
+
# User Guide*.
|
581
|
+
#
|
582
|
+
#
|
583
|
+
#
|
584
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
|
576
585
|
# @option options [Array<Types::ElasticInferenceAccelerator>] :elastic_inference_accelerators
|
577
|
-
# An elastic inference accelerator.
|
586
|
+
# An elastic inference accelerator to associate with the instance.
|
587
|
+
# Elastic inference accelerators are a resource you can attach to your
|
588
|
+
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
589
|
+
# workloads.
|
578
590
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
579
591
|
# The tags to apply to the resources during launch. You can only tag
|
580
592
|
# instances and volumes on launch. The specified tags are applied to all
|
@@ -592,9 +604,9 @@ module Aws::EC2
|
|
592
604
|
# when **InstanceInterruptionBehavior** is set to either `hibernate` or
|
593
605
|
# `stop`.
|
594
606
|
# @option options [Types::CreditSpecificationRequest] :credit_specification
|
595
|
-
# The credit option for CPU usage of the instance. Valid values
|
596
|
-
# `standard` and `unlimited`. To change this attribute after launch,
|
597
|
-
# ModifyInstanceCreditSpecification. For more information, see
|
607
|
+
# The credit option for CPU usage of the T2 or T3 instance. Valid values
|
608
|
+
# are `standard` and `unlimited`. To change this attribute after launch,
|
609
|
+
# use ModifyInstanceCreditSpecification. For more information, see
|
598
610
|
# [Burstable Performance Instances][1] in the *Amazon Elastic Compute
|
599
611
|
# Cloud User Guide*.
|
600
612
|
#
|
@@ -662,6 +674,7 @@ module Aws::EC2
|
|
662
674
|
# },
|
663
675
|
# ],
|
664
676
|
# secondary_private_ip_address_count: 1,
|
677
|
+
# interface_type: "efa", # accepts efa
|
665
678
|
# })
|
666
679
|
# @param [Hash] options ({})
|
667
680
|
# @option options [String] :description
|
@@ -706,6 +719,14 @@ module Aws::EC2
|
|
706
719
|
#
|
707
720
|
#
|
708
721
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
722
|
+
# @option options [String] :interface_type
|
723
|
+
# Indicates whether the network interface is an Elastic Fabric Adapter
|
724
|
+
# (EFA). Only specify this parameter to create an EFA. For more
|
725
|
+
# information, see [Elastic Fabric
|
726
|
+
# Adapter](AWSEC2/latest/UserGuide/efa.html) in the *Amazon Elastic
|
727
|
+
# Compute Cloud User Guide*.
|
728
|
+
#
|
729
|
+
# If you are not creating an EFA ENI, omit this parameter.
|
709
730
|
# @return [NetworkInterface]
|
710
731
|
def create_network_interface(options = {})
|
711
732
|
options = options.merge(subnet_id: @id)
|
@@ -735,9 +756,9 @@ module Aws::EC2
|
|
735
756
|
# If you have the required permissions, the error response is
|
736
757
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
737
758
|
# @option options [required, Array<Types::Tag>] :tags
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
759
|
+
# The tags. The `value` parameter is required, but if you don't want
|
760
|
+
# the tag to have a value, specify the parameter with no value, and we
|
761
|
+
# set the value to an empty string.
|
741
762
|
# @return [Tag::Collection]
|
742
763
|
def create_tags(options = {})
|
743
764
|
batch = []
|
@@ -980,8 +1001,8 @@ module Aws::EC2
|
|
980
1001
|
# * `placement-partition-number` - The partition in which the instance
|
981
1002
|
# is located.
|
982
1003
|
#
|
983
|
-
# * `platform` - The platform.
|
984
|
-
#
|
1004
|
+
# * `platform` - The platform. To list only Windows instances, use
|
1005
|
+
# `windows`.
|
985
1006
|
#
|
986
1007
|
# * `private-dns-name` - The private IPv4 DNS name of the instance.
|
987
1008
|
#
|
@@ -1184,7 +1205,7 @@ module Aws::EC2
|
|
1184
1205
|
# being managed by an AWS service (for example, AWS Management
|
1185
1206
|
# Console, Auto Scaling, and so on).
|
1186
1207
|
#
|
1187
|
-
# * `source-
|
1208
|
+
# * `source-dest-check` - Indicates whether the network interface
|
1188
1209
|
# performs source/destination checking. A value of `true` means
|
1189
1210
|
# checking is enabled, and `false` means checking is disabled. The
|
1190
1211
|
# value must be `false` for the network interface to perform network
|
data/lib/aws-sdk-ec2/tag.rb
CHANGED
@@ -211,11 +211,11 @@ module Aws::EC2
|
|
211
211
|
# If you have the required permissions, the error response is
|
212
212
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
213
213
|
# @option options [Array<Types::Tag>] :tags
|
214
|
-
#
|
215
|
-
#
|
216
|
-
#
|
217
|
-
#
|
218
|
-
#
|
214
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
215
|
+
# delete specific tags. If you specify a tag key without a tag value, we
|
216
|
+
# delete any tag with this key regardless of its value. If you specify a
|
217
|
+
# tag key with an empty string as the tag value, we delete the tag only
|
218
|
+
# if its value is an empty string.
|
219
219
|
#
|
220
220
|
# If you omit this parameter, we delete all user-defined tags for the
|
221
221
|
# specified resources. We do not delete AWS-generated tags (tags that
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -445,15 +445,21 @@ module Aws::EC2
|
|
445
445
|
# }
|
446
446
|
#
|
447
447
|
# @!attribute [rw] auto_placement
|
448
|
-
#
|
449
|
-
#
|
450
|
-
#
|
448
|
+
# Indicates whether the host accepts any untargeted instance launches
|
449
|
+
# that match its instance type configuration, or if it only accepts
|
450
|
+
# Host tenancy instance launches that specify its unique host ID. For
|
451
|
+
# more information, see [ Understanding Instance Placement and Host
|
452
|
+
# Affinity][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
451
453
|
#
|
452
|
-
# Default:
|
454
|
+
# Default: `on`
|
455
|
+
#
|
456
|
+
#
|
457
|
+
#
|
458
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-understanding
|
453
459
|
# @return [String]
|
454
460
|
#
|
455
461
|
# @!attribute [rw] availability_zone
|
456
|
-
# The Availability Zone
|
462
|
+
# The Availability Zone in which to allocate the Dedicated Host.
|
457
463
|
# @return [String]
|
458
464
|
#
|
459
465
|
# @!attribute [rw] client_token
|
@@ -467,7 +473,7 @@ module Aws::EC2
|
|
467
473
|
# @return [String]
|
468
474
|
#
|
469
475
|
# @!attribute [rw] instance_type
|
470
|
-
#
|
476
|
+
# Specifies the instance type for which to configure your Dedicated
|
471
477
|
# Hosts. When you specify the instance type, that is the only instance
|
472
478
|
# type that you can launch onto that host.
|
473
479
|
# @return [String]
|
@@ -700,7 +706,8 @@ module Aws::EC2
|
|
700
706
|
# @return [String]
|
701
707
|
#
|
702
708
|
# @!attribute [rw] public_ip
|
703
|
-
# The Elastic IP address
|
709
|
+
# The Elastic IP address to associate with the instance. This is
|
710
|
+
# required for EC2-Classic.
|
704
711
|
# @return [String]
|
705
712
|
#
|
706
713
|
# @!attribute [rw] allow_reassociation
|
@@ -724,6 +731,9 @@ module Aws::EC2
|
|
724
731
|
# \[EC2-VPC\] The ID of the network interface. If the instance has
|
725
732
|
# more than one network interface, you must specify a network
|
726
733
|
# interface ID.
|
734
|
+
#
|
735
|
+
# For EC2-VPC, you can specify either the instance ID or the network
|
736
|
+
# interface ID, but not both.
|
727
737
|
# @return [String]
|
728
738
|
#
|
729
739
|
# @!attribute [rw] private_ip_address
|
@@ -1638,15 +1648,21 @@ module Aws::EC2
|
|
1638
1648
|
# }
|
1639
1649
|
#
|
1640
1650
|
# @!attribute [rw] cidr_ip
|
1641
|
-
# The
|
1642
|
-
# specifying a source security group.
|
1651
|
+
# The IPv4 address range, in CIDR format. You can't specify this
|
1652
|
+
# parameter when specifying a source security group. To specify an
|
1653
|
+
# IPv6 address range, use a set of IP permissions.
|
1654
|
+
#
|
1655
|
+
# Alternatively, use a set of IP permissions to specify multiple rules
|
1656
|
+
# and a description for the rule.
|
1643
1657
|
# @return [String]
|
1644
1658
|
#
|
1645
1659
|
# @!attribute [rw] from_port
|
1646
|
-
# The start of port range for the TCP and UDP protocols, or an
|
1647
|
-
#
|
1648
|
-
#
|
1649
|
-
#
|
1660
|
+
# The start of port range for the TCP and UDP protocols, or an ICMP
|
1661
|
+
# type number. For the ICMP type number, use `-1` to specify all
|
1662
|
+
# types. If you specify all ICMP types, you must specify all codes.
|
1663
|
+
#
|
1664
|
+
# Alternatively, use a set of IP permissions to specify multiple rules
|
1665
|
+
# and a description for the rule.
|
1650
1666
|
# @return [Integer]
|
1651
1667
|
#
|
1652
1668
|
# @!attribute [rw] group_id
|
@@ -1662,19 +1678,19 @@ module Aws::EC2
|
|
1662
1678
|
# @return [String]
|
1663
1679
|
#
|
1664
1680
|
# @!attribute [rw] ip_permissions
|
1665
|
-
# The sets of IP permissions.
|
1666
|
-
# a single command.
|
1681
|
+
# The sets of IP permissions.
|
1667
1682
|
# @return [Array<Types::IpPermission>]
|
1668
1683
|
#
|
1669
1684
|
# @!attribute [rw] ip_protocol
|
1670
1685
|
# The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
|
1671
|
-
# Numbers][1]).
|
1672
|
-
#
|
1673
|
-
#
|
1674
|
-
#
|
1675
|
-
#
|
1676
|
-
#
|
1677
|
-
#
|
1686
|
+
# Numbers][1]). To specify `icmpv6`, use a set of IP permissions.
|
1687
|
+
#
|
1688
|
+
# \[VPC only\] Use `-1` to specify all protocols. If you specify `-1`
|
1689
|
+
# or a protocol other than `tcp`, `udp`, or `icmp`, traffic on all
|
1690
|
+
# ports is allowed, regardless of any ports you specify.
|
1691
|
+
#
|
1692
|
+
# Alternatively, use a set of IP permissions to specify multiple rules
|
1693
|
+
# and a description for the rule.
|
1678
1694
|
#
|
1679
1695
|
#
|
1680
1696
|
#
|
@@ -1703,10 +1719,12 @@ module Aws::EC2
|
|
1703
1719
|
# @return [String]
|
1704
1720
|
#
|
1705
1721
|
# @!attribute [rw] to_port
|
1706
|
-
# The end of port range for the TCP and UDP protocols, or an
|
1707
|
-
#
|
1708
|
-
#
|
1709
|
-
#
|
1722
|
+
# The end of port range for the TCP and UDP protocols, or an ICMP code
|
1723
|
+
# number. For the ICMP code number, use `-1` to specify all codes. If
|
1724
|
+
# you specify all ICMP types, you must specify all codes.
|
1725
|
+
#
|
1726
|
+
# Alternatively, use a set of IP permissions to specify multiple rules
|
1727
|
+
# and a description for the rule.
|
1710
1728
|
# @return [Integer]
|
1711
1729
|
#
|
1712
1730
|
# @!attribute [rw] dry_run
|
@@ -4849,26 +4867,37 @@ module Aws::EC2
|
|
4849
4867
|
# @return [String]
|
4850
4868
|
#
|
4851
4869
|
# @!attribute [rw] deliver_logs_permission_arn
|
4852
|
-
# The ARN for the IAM role that
|
4853
|
-
# group.
|
4870
|
+
# The ARN for the IAM role that permits Amazon EC2 to publish flow
|
4871
|
+
# logs to a CloudWatch Logs log group in your account.
|
4872
|
+
#
|
4873
|
+
# If you specify `LogDestinationType` as `s3`, do not specify
|
4874
|
+
# `DeliverLogsPermissionArn` or `LogGroupName`.
|
4854
4875
|
# @return [String]
|
4855
4876
|
#
|
4856
4877
|
# @!attribute [rw] log_group_name
|
4857
|
-
# The name of
|
4878
|
+
# The name of a new or existing CloudWatch Logs log group where Amazon
|
4879
|
+
# EC2 publishes your flow logs.
|
4880
|
+
#
|
4881
|
+
# If you specify `LogDestinationType` as `s3`, do not specify
|
4882
|
+
# `DeliverLogsPermissionArn` or `LogGroupName`.
|
4858
4883
|
# @return [String]
|
4859
4884
|
#
|
4860
4885
|
# @!attribute [rw] resource_ids
|
4861
|
-
#
|
4886
|
+
# The ID of the subnet, network interface, or VPC for which you want
|
4887
|
+
# to create a flow log.
|
4862
4888
|
#
|
4863
4889
|
# Constraints: Maximum of 1000 resources
|
4864
4890
|
# @return [Array<String>]
|
4865
4891
|
#
|
4866
4892
|
# @!attribute [rw] resource_type
|
4867
|
-
# The type of resource
|
4893
|
+
# The type of resource for which to create the flow log. For example,
|
4894
|
+
# if you specified a VPC ID for the `ResourceId` property, specify
|
4895
|
+
# `VPC` for this property.
|
4868
4896
|
# @return [String]
|
4869
4897
|
#
|
4870
4898
|
# @!attribute [rw] traffic_type
|
4871
|
-
# The type of traffic to log.
|
4899
|
+
# The type of traffic to log. You can log traffic that the resource
|
4900
|
+
# accepts or rejects, or all traffic.
|
4872
4901
|
# @return [String]
|
4873
4902
|
#
|
4874
4903
|
# @!attribute [rw] log_destination_type
|
@@ -4878,14 +4907,17 @@ module Aws::EC2
|
|
4878
4907
|
# `cloud-watch-logs`. To publish flow log data to Amazon S3, specify
|
4879
4908
|
# `s3`.
|
4880
4909
|
#
|
4910
|
+
# If you specify `LogDestinationType` as `s3`, do not specify
|
4911
|
+
# `DeliverLogsPermissionArn` or `LogGroupName`.
|
4912
|
+
#
|
4881
4913
|
# Default: `cloud-watch-logs`
|
4882
4914
|
# @return [String]
|
4883
4915
|
#
|
4884
4916
|
# @!attribute [rw] log_destination
|
4885
4917
|
# Specifies the destination to which the flow log data is to be
|
4886
|
-
# published. Flow log data can be published to
|
4918
|
+
# published. Flow log data can be published to a CloudWatch Logs log
|
4887
4919
|
# group or an Amazon S3 bucket. The value specified for this parameter
|
4888
|
-
# depends on the value specified for LogDestinationType
|
4920
|
+
# depends on the value specified for `LogDestinationType`.
|
4889
4921
|
#
|
4890
4922
|
# If LogDestinationType is not specified or `cloud-watch-logs`,
|
4891
4923
|
# specify the Amazon Resource Name (ARN) of the CloudWatch Logs log
|
@@ -5261,6 +5293,7 @@ module Aws::EC2
|
|
5261
5293
|
# description: "String",
|
5262
5294
|
# device_index: 1,
|
5263
5295
|
# groups: ["String"],
|
5296
|
+
# interface_type: "String",
|
5264
5297
|
# ipv_6_address_count: 1,
|
5265
5298
|
# ipv_6_addresses: [
|
5266
5299
|
# {
|
@@ -5343,14 +5376,14 @@ module Aws::EC2
|
|
5343
5376
|
# capacity_reservation_id: "String",
|
5344
5377
|
# },
|
5345
5378
|
# },
|
5346
|
-
# hibernation_options: {
|
5347
|
-
# configured: false,
|
5348
|
-
# },
|
5349
5379
|
# license_specifications: [
|
5350
5380
|
# {
|
5351
5381
|
# license_configuration_arn: "String",
|
5352
5382
|
# },
|
5353
5383
|
# ],
|
5384
|
+
# hibernation_options: {
|
5385
|
+
# configured: false,
|
5386
|
+
# },
|
5354
5387
|
# },
|
5355
5388
|
# }
|
5356
5389
|
#
|
@@ -5447,6 +5480,7 @@ module Aws::EC2
|
|
5447
5480
|
# description: "String",
|
5448
5481
|
# device_index: 1,
|
5449
5482
|
# groups: ["String"],
|
5483
|
+
# interface_type: "String",
|
5450
5484
|
# ipv_6_address_count: 1,
|
5451
5485
|
# ipv_6_addresses: [
|
5452
5486
|
# {
|
@@ -5529,14 +5563,14 @@ module Aws::EC2
|
|
5529
5563
|
# capacity_reservation_id: "String",
|
5530
5564
|
# },
|
5531
5565
|
# },
|
5532
|
-
# hibernation_options: {
|
5533
|
-
# configured: false,
|
5534
|
-
# },
|
5535
5566
|
# license_specifications: [
|
5536
5567
|
# {
|
5537
5568
|
# license_configuration_arn: "String",
|
5538
5569
|
# },
|
5539
5570
|
# ],
|
5571
|
+
# hibernation_options: {
|
5572
|
+
# configured: false,
|
5573
|
+
# },
|
5540
5574
|
# },
|
5541
5575
|
# }
|
5542
5576
|
#
|
@@ -5886,6 +5920,7 @@ module Aws::EC2
|
|
5886
5920
|
# },
|
5887
5921
|
# ],
|
5888
5922
|
# secondary_private_ip_address_count: 1,
|
5923
|
+
# interface_type: "efa", # accepts efa
|
5889
5924
|
# subnet_id: "String", # required
|
5890
5925
|
# }
|
5891
5926
|
#
|
@@ -5948,6 +5983,16 @@ module Aws::EC2
|
|
5948
5983
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI
|
5949
5984
|
# @return [Integer]
|
5950
5985
|
#
|
5986
|
+
# @!attribute [rw] interface_type
|
5987
|
+
# Indicates whether the network interface is an Elastic Fabric Adapter
|
5988
|
+
# (EFA). Only specify this parameter to create an EFA. For more
|
5989
|
+
# information, see [Elastic Fabric
|
5990
|
+
# Adapter](AWSEC2/latest/UserGuide/efa.html) in the *Amazon Elastic
|
5991
|
+
# Compute Cloud User Guide*.
|
5992
|
+
#
|
5993
|
+
# If you are not creating an EFA ENI, omit this parameter.
|
5994
|
+
# @return [String]
|
5995
|
+
#
|
5951
5996
|
# @!attribute [rw] subnet_id
|
5952
5997
|
# The ID of the subnet to associate with the network interface.
|
5953
5998
|
# @return [String]
|
@@ -5963,6 +6008,7 @@ module Aws::EC2
|
|
5963
6008
|
:private_ip_address,
|
5964
6009
|
:private_ip_addresses,
|
5965
6010
|
:secondary_private_ip_address_count,
|
6011
|
+
:interface_type,
|
5966
6012
|
:subnet_id)
|
5967
6013
|
include Aws::Structure
|
5968
6014
|
end
|
@@ -6487,9 +6533,9 @@ module Aws::EC2
|
|
6487
6533
|
# @return [Array<String>]
|
6488
6534
|
#
|
6489
6535
|
# @!attribute [rw] tags
|
6490
|
-
#
|
6491
|
-
#
|
6492
|
-
#
|
6536
|
+
# The tags. The `value` parameter is required, but if you don't want
|
6537
|
+
# the tag to have a value, specify the parameter with no value, and we
|
6538
|
+
# set the value to an empty string.
|
6493
6539
|
# @return [Array<Types::Tag>]
|
6494
6540
|
#
|
6495
6541
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTagsRequest AWS API Documentation
|
@@ -6593,7 +6639,7 @@ module Aws::EC2
|
|
6593
6639
|
# @return [String]
|
6594
6640
|
#
|
6595
6641
|
# @!attribute [rw] blackhole
|
6596
|
-
# Indicates whether
|
6642
|
+
# Indicates whether to drop traffic if the target isn't available.
|
6597
6643
|
# @return [Boolean]
|
6598
6644
|
#
|
6599
6645
|
# @!attribute [rw] dry_run
|
@@ -8627,11 +8673,11 @@ module Aws::EC2
|
|
8627
8673
|
# @return [Array<String>]
|
8628
8674
|
#
|
8629
8675
|
# @!attribute [rw] tags
|
8630
|
-
#
|
8631
|
-
#
|
8632
|
-
#
|
8633
|
-
#
|
8634
|
-
#
|
8676
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
8677
|
+
# delete specific tags. If you specify a tag key without a tag value,
|
8678
|
+
# we delete any tag with this key regardless of its value. If you
|
8679
|
+
# specify a tag key with an empty string as the tag value, we delete
|
8680
|
+
# the tag only if its value is an empty string.
|
8635
8681
|
#
|
8636
8682
|
# If you omit this parameter, we delete all user-defined tags for the
|
8637
8683
|
# specified resources. We do not delete AWS-generated tags (tags that
|
@@ -9424,13 +9470,13 @@ module Aws::EC2
|
|
9424
9470
|
# }
|
9425
9471
|
#
|
9426
9472
|
# @!attribute [rw] bundle_ids
|
9427
|
-
#
|
9473
|
+
# The bundle task IDs.
|
9428
9474
|
#
|
9429
9475
|
# Default: Describes all your bundle tasks.
|
9430
9476
|
# @return [Array<String>]
|
9431
9477
|
#
|
9432
9478
|
# @!attribute [rw] filters
|
9433
|
-
#
|
9479
|
+
# The filters.
|
9434
9480
|
#
|
9435
9481
|
# * `bundle-id` - The ID of the bundle task.
|
9436
9482
|
#
|
@@ -10059,7 +10105,7 @@ module Aws::EC2
|
|
10059
10105
|
# }
|
10060
10106
|
#
|
10061
10107
|
# @!attribute [rw] conversion_task_ids
|
10062
|
-
#
|
10108
|
+
# The conversion task IDs.
|
10063
10109
|
# @return [Array<String>]
|
10064
10110
|
#
|
10065
10111
|
# @!attribute [rw] dry_run
|
@@ -10315,7 +10361,7 @@ module Aws::EC2
|
|
10315
10361
|
# }
|
10316
10362
|
#
|
10317
10363
|
# @!attribute [rw] elastic_gpu_ids
|
10318
|
-
#
|
10364
|
+
# The Elastic Graphics accelerator IDs.
|
10319
10365
|
# @return [Array<String>]
|
10320
10366
|
#
|
10321
10367
|
# @!attribute [rw] dry_run
|
@@ -10326,7 +10372,7 @@ module Aws::EC2
|
|
10326
10372
|
# @return [Boolean]
|
10327
10373
|
#
|
10328
10374
|
# @!attribute [rw] filters
|
10329
|
-
#
|
10375
|
+
# The filters.
|
10330
10376
|
#
|
10331
10377
|
# * `availability-zone` - The Availability Zone in which the Elastic
|
10332
10378
|
# Graphics accelerator resides.
|
@@ -10400,7 +10446,7 @@ module Aws::EC2
|
|
10400
10446
|
# }
|
10401
10447
|
#
|
10402
10448
|
# @!attribute [rw] export_task_ids
|
10403
|
-
#
|
10449
|
+
# The export task IDs.
|
10404
10450
|
# @return [Array<String>]
|
10405
10451
|
#
|
10406
10452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasksRequest AWS API Documentation
|
@@ -10598,7 +10644,7 @@ module Aws::EC2
|
|
10598
10644
|
# @return [String]
|
10599
10645
|
#
|
10600
10646
|
# @!attribute [rw] filters
|
10601
|
-
#
|
10647
|
+
# The filters.
|
10602
10648
|
#
|
10603
10649
|
# * `instance-type` - The instance type.
|
10604
10650
|
#
|
@@ -10713,7 +10759,7 @@ module Aws::EC2
|
|
10713
10759
|
# @return [Array<String>]
|
10714
10760
|
#
|
10715
10761
|
# @!attribute [rw] filters
|
10716
|
-
#
|
10762
|
+
# The filters.
|
10717
10763
|
#
|
10718
10764
|
# * `activity-status` - The progress of the EC2 Fleet ( `error` \|
|
10719
10765
|
# `pending-fulfillment` \| `pending-termination` \| `fulfilled`).
|
@@ -10914,7 +10960,7 @@ module Aws::EC2
|
|
10914
10960
|
# @return [Boolean]
|
10915
10961
|
#
|
10916
10962
|
# @!attribute [rw] fpga_image_ids
|
10917
|
-
#
|
10963
|
+
# The AFI IDs.
|
10918
10964
|
# @return [Array<String>]
|
10919
10965
|
#
|
10920
10966
|
# @!attribute [rw] owners
|
@@ -10924,7 +10970,7 @@ module Aws::EC2
|
|
10924
10970
|
# @return [Array<String>]
|
10925
10971
|
#
|
10926
10972
|
# @!attribute [rw] filters
|
10927
|
-
#
|
10973
|
+
# The filters.
|
10928
10974
|
#
|
10929
10975
|
# * `create-time` - The creation time of the AFI.
|
10930
10976
|
#
|
@@ -10979,7 +11025,7 @@ module Aws::EC2
|
|
10979
11025
|
end
|
10980
11026
|
|
10981
11027
|
# @!attribute [rw] fpga_images
|
10982
|
-
# Information about
|
11028
|
+
# Information about the FPGA images.
|
10983
11029
|
# @return [Array<Types::FpgaImage>]
|
10984
11030
|
#
|
10985
11031
|
# @!attribute [rw] next_token
|
@@ -11013,7 +11059,7 @@ module Aws::EC2
|
|
11013
11059
|
# }
|
11014
11060
|
#
|
11015
11061
|
# @!attribute [rw] filter
|
11016
|
-
#
|
11062
|
+
# The filters.
|
11017
11063
|
#
|
11018
11064
|
# * `instance-family` - The instance family of the offering (for
|
11019
11065
|
# example, `m4`).
|
@@ -11100,7 +11146,7 @@ module Aws::EC2
|
|
11100
11146
|
# }
|
11101
11147
|
#
|
11102
11148
|
# @!attribute [rw] filter
|
11103
|
-
#
|
11149
|
+
# The filters.
|
11104
11150
|
#
|
11105
11151
|
# * `instance-family` - The instance family (for example, `m4`).
|
11106
11152
|
#
|
@@ -11122,7 +11168,7 @@ module Aws::EC2
|
|
11122
11168
|
# @return [Array<Types::Filter>]
|
11123
11169
|
#
|
11124
11170
|
# @!attribute [rw] host_reservation_id_set
|
11125
|
-
#
|
11171
|
+
# The host reservation IDs.
|
11126
11172
|
# @return [Array<String>]
|
11127
11173
|
#
|
11128
11174
|
# @!attribute [rw] max_results
|
@@ -11180,7 +11226,7 @@ module Aws::EC2
|
|
11180
11226
|
# }
|
11181
11227
|
#
|
11182
11228
|
# @!attribute [rw] filter
|
11183
|
-
#
|
11229
|
+
# The filters.
|
11184
11230
|
#
|
11185
11231
|
# * `auto-placement` - Whether auto-placement is enabled or disabled
|
11186
11232
|
# (`on` \| `off`).
|
@@ -11266,11 +11312,11 @@ module Aws::EC2
|
|
11266
11312
|
# }
|
11267
11313
|
#
|
11268
11314
|
# @!attribute [rw] association_ids
|
11269
|
-
#
|
11315
|
+
# The IAM instance profile associations.
|
11270
11316
|
# @return [Array<String>]
|
11271
11317
|
#
|
11272
11318
|
# @!attribute [rw] filters
|
11273
|
-
#
|
11319
|
+
# The filters.
|
11274
11320
|
#
|
11275
11321
|
# * `instance-id` - The ID of the instance.
|
11276
11322
|
#
|
@@ -11299,7 +11345,7 @@ module Aws::EC2
|
|
11299
11345
|
end
|
11300
11346
|
|
11301
11347
|
# @!attribute [rw] iam_instance_profile_associations
|
11302
|
-
# Information about
|
11348
|
+
# Information about the IAM instance profile associations.
|
11303
11349
|
# @return [Array<Types::IamInstanceProfileAssociation>]
|
11304
11350
|
#
|
11305
11351
|
# @!attribute [rw] next_token
|
@@ -11461,7 +11507,7 @@ module Aws::EC2
|
|
11461
11507
|
# @return [Array<String>]
|
11462
11508
|
#
|
11463
11509
|
# @!attribute [rw] filters
|
11464
|
-
#
|
11510
|
+
# The filters.
|
11465
11511
|
#
|
11466
11512
|
# * `architecture` - The image architecture (`i386` \| `x86_64`).
|
11467
11513
|
#
|
@@ -11554,7 +11600,7 @@ module Aws::EC2
|
|
11554
11600
|
# @return [Array<Types::Filter>]
|
11555
11601
|
#
|
11556
11602
|
# @!attribute [rw] image_ids
|
11557
|
-
#
|
11603
|
+
# The image IDs.
|
11558
11604
|
#
|
11559
11605
|
# Default: Describes all images available to you.
|
11560
11606
|
# @return [Array<String>]
|
@@ -11697,7 +11743,7 @@ module Aws::EC2
|
|
11697
11743
|
# @return [Boolean]
|
11698
11744
|
#
|
11699
11745
|
# @!attribute [rw] filters
|
11700
|
-
#
|
11746
|
+
# The filters.
|
11701
11747
|
# @return [Array<Types::Filter>]
|
11702
11748
|
#
|
11703
11749
|
# @!attribute [rw] import_task_ids
|
@@ -12205,8 +12251,8 @@ module Aws::EC2
|
|
12205
12251
|
# * `placement-partition-number` - The partition in which the instance
|
12206
12252
|
# is located.
|
12207
12253
|
#
|
12208
|
-
# * `platform` - The platform.
|
12209
|
-
#
|
12254
|
+
# * `platform` - The platform. To list only Windows instances, use
|
12255
|
+
# `windows`.
|
12210
12256
|
#
|
12211
12257
|
# * `private-dns-name` - The private IPv4 DNS name of the instance.
|
12212
12258
|
#
|
@@ -13212,7 +13258,7 @@ module Aws::EC2
|
|
13212
13258
|
# being managed by an AWS service (for example, AWS Management
|
13213
13259
|
# Console, Auto Scaling, and so on).
|
13214
13260
|
#
|
13215
|
-
# * `source-
|
13261
|
+
# * `source-dest-check` - Indicates whether the network interface
|
13216
13262
|
# performs source/destination checking. A value of `true` means
|
13217
13263
|
# checking is enabled, and `false` means checking is disabled. The
|
13218
13264
|
# value must be `false` for the network interface to perform network
|
@@ -14253,7 +14299,7 @@ module Aws::EC2
|
|
14253
14299
|
# @return [Boolean]
|
14254
14300
|
#
|
14255
14301
|
# @!attribute [rw] filters
|
14256
|
-
#
|
14302
|
+
# The filters.
|
14257
14303
|
#
|
14258
14304
|
# * `availability-zone` - The Availability Zone (for example,
|
14259
14305
|
# `us-west-2a`).
|
@@ -14360,7 +14406,7 @@ module Aws::EC2
|
|
14360
14406
|
# @return [Boolean]
|
14361
14407
|
#
|
14362
14408
|
# @!attribute [rw] filters
|
14363
|
-
#
|
14409
|
+
# The filters.
|
14364
14410
|
#
|
14365
14411
|
# * `availability-zone` - The Availability Zone (for example,
|
14366
14412
|
# `us-west-2a`).
|
@@ -14385,7 +14431,7 @@ module Aws::EC2
|
|
14385
14431
|
# @return [String]
|
14386
14432
|
#
|
14387
14433
|
# @!attribute [rw] scheduled_instance_ids
|
14388
|
-
#
|
14434
|
+
# The Scheduled Instance IDs.
|
14389
14435
|
# @return [Array<String>]
|
14390
14436
|
#
|
14391
14437
|
# @!attribute [rw] slot_start_time_range
|
@@ -14707,6 +14753,9 @@ module Aws::EC2
|
|
14707
14753
|
#
|
14708
14754
|
# * `description` - A description of the snapshot.
|
14709
14755
|
#
|
14756
|
+
# * `encrypted` - Indicates whether the snapshot is encrypted (`true`
|
14757
|
+
# \| `false`)
|
14758
|
+
#
|
14710
14759
|
# * `owner-alias` - Value from an Amazon-maintained list (`amazon` \|
|
14711
14760
|
# `self` \| `all` \| `aws-marketplace` \| `microsoft`) of snapshot
|
14712
14761
|
# owners. Not to be confused with the user-configured AWS account
|
@@ -15578,7 +15627,7 @@ module Aws::EC2
|
|
15578
15627
|
# @return [Boolean]
|
15579
15628
|
#
|
15580
15629
|
# @!attribute [rw] filters
|
15581
|
-
#
|
15630
|
+
# The filters.
|
15582
15631
|
#
|
15583
15632
|
# * `key` - The tag key.
|
15584
15633
|
#
|
@@ -16281,7 +16330,8 @@ module Aws::EC2
|
|
16281
16330
|
#
|
16282
16331
|
# * `create-time` - The time stamp when the volume was created.
|
16283
16332
|
#
|
16284
|
-
# * `encrypted` -
|
16333
|
+
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
16334
|
+
# `false`)
|
16285
16335
|
#
|
16286
16336
|
# * `size` - The size of the volume, in GiB.
|
16287
16337
|
#
|
@@ -18346,18 +18396,19 @@ module Aws::EC2
|
|
18346
18396
|
# @!attribute [rw] volume_size
|
18347
18397
|
# The size of the volume, in GiB.
|
18348
18398
|
#
|
18399
|
+
# Default: If you're creating the volume from a snapshot and don't
|
18400
|
+
# specify a volume size, the default is the snapshot size.
|
18401
|
+
#
|
18349
18402
|
# Constraints: 1-16384 for General Purpose SSD (`gp2`), 4-16384 for
|
18350
18403
|
# Provisioned IOPS SSD (`io1`), 500-16384 for Throughput Optimized HDD
|
18351
18404
|
# (`st1`), 500-16384 for Cold HDD (`sc1`), and 1-1024 for Magnetic
|
18352
18405
|
# (`standard`) volumes. If you specify a snapshot, the volume size
|
18353
18406
|
# must be equal to or larger than the snapshot size.
|
18354
|
-
#
|
18355
|
-
# Default: If you're creating the volume from a snapshot and don't
|
18356
|
-
# specify a volume size, the default is the snapshot size.
|
18357
18407
|
# @return [Integer]
|
18358
18408
|
#
|
18359
18409
|
# @!attribute [rw] volume_type
|
18360
|
-
# The volume type
|
18410
|
+
# The volume type. If you set the type to `io1`, you must also set the
|
18411
|
+
# **Iops** property.
|
18361
18412
|
#
|
18362
18413
|
# Default: `standard`
|
18363
18414
|
# @return [String]
|
@@ -18606,7 +18657,7 @@ module Aws::EC2
|
|
18606
18657
|
#
|
18607
18658
|
# @!attribute [rw] type
|
18608
18659
|
# The type of elastic inference accelerator. The possible values are
|
18609
|
-
# eia1.small
|
18660
|
+
# `eia1.small`, `eia1.medium`, and `eia1.large`.
|
18610
18661
|
# @return [String]
|
18611
18662
|
#
|
18612
18663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticInferenceAccelerator AWS API Documentation
|
@@ -18701,11 +18752,14 @@ module Aws::EC2
|
|
18701
18752
|
# }
|
18702
18753
|
#
|
18703
18754
|
# @!attribute [rw] gateway_id
|
18704
|
-
# The ID of the virtual private gateway.
|
18755
|
+
# The ID of the virtual private gateway that is attached to a VPC. The
|
18756
|
+
# virtual private gateway must be attached to the same VPC that the
|
18757
|
+
# routing tables are associated with.
|
18705
18758
|
# @return [String]
|
18706
18759
|
#
|
18707
18760
|
# @!attribute [rw] route_table_id
|
18708
|
-
# The ID of the route table.
|
18761
|
+
# The ID of the route table. The routing table must be associated with
|
18762
|
+
# the same VPC that the virtual private gateway is attached to.
|
18709
18763
|
# @return [String]
|
18710
18764
|
#
|
18711
18765
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagationRequest AWS API Documentation
|
@@ -18814,7 +18868,7 @@ module Aws::EC2
|
|
18814
18868
|
include Aws::Structure
|
18815
18869
|
end
|
18816
18870
|
|
18817
|
-
# Describes
|
18871
|
+
# Describes an EC2 Fleet or Spot Fleet event.
|
18818
18872
|
#
|
18819
18873
|
# @!attribute [rw] event_description
|
18820
18874
|
# The description of the event.
|
@@ -18825,8 +18879,9 @@ module Aws::EC2
|
|
18825
18879
|
#
|
18826
18880
|
# The following are the `error` events:
|
18827
18881
|
#
|
18828
|
-
# * `iamFleetRoleInvalid` - The Spot Fleet did not have
|
18829
|
-
# permissions either to launch or terminate an
|
18882
|
+
# * `iamFleetRoleInvalid` - The EC2 Fleet or Spot Fleet did not have
|
18883
|
+
# the required permissions either to launch or terminate an
|
18884
|
+
# instance.
|
18830
18885
|
#
|
18831
18886
|
# * `spotFleetRequestConfigurationInvalid` - The configuration is not
|
18832
18887
|
# valid. For more information, see the description of the event.
|
@@ -18836,35 +18891,39 @@ module Aws::EC2
|
|
18836
18891
|
#
|
18837
18892
|
# The following are the `fleetRequestChange` events:
|
18838
18893
|
#
|
18839
|
-
# * `active` - The Spot Fleet has been validated
|
18840
|
-
# attempting to maintain the target number of
|
18841
|
-
# Instances.
|
18894
|
+
# * `active` - The EC2 Fleet or Spot Fleet request has been validated
|
18895
|
+
# and Amazon EC2 is attempting to maintain the target number of
|
18896
|
+
# running Spot Instances.
|
18842
18897
|
#
|
18843
|
-
# * `cancelled` - The Spot Fleet is canceled and
|
18844
|
-
# Instances. The Spot Fleet will be
|
18845
|
-
# instances were terminated.
|
18898
|
+
# * `cancelled` - The EC2 Fleet or Spot Fleet request is canceled and
|
18899
|
+
# has no running Spot Instances. The EC2 Fleet or Spot Fleet will be
|
18900
|
+
# deleted two days after its instances were terminated.
|
18846
18901
|
#
|
18847
|
-
# * `cancelled_running` - The
|
18848
|
-
# launch additional Spot Instances. Existing
|
18849
|
-
# to run until they are interrupted or
|
18902
|
+
# * `cancelled_running` - The EC2 Fleet or Spot Fleet request is
|
18903
|
+
# canceled and does not launch additional Spot Instances. Existing
|
18904
|
+
# Spot Instances continue to run until they are interrupted or
|
18905
|
+
# terminated.
|
18850
18906
|
#
|
18851
|
-
# * `cancelled_terminating` - The
|
18852
|
-
# Instances are terminating.
|
18907
|
+
# * `cancelled_terminating` - The EC2 Fleet or Spot Fleet request is
|
18908
|
+
# canceled and its Spot Instances are terminating.
|
18853
18909
|
#
|
18854
|
-
# * `expired` - The Spot Fleet request has expired. A
|
18855
|
-
# indicates that the instances were terminated, if
|
18856
|
-
# created with `TerminateInstancesWithExpiration`
|
18910
|
+
# * `expired` - The EC2 Fleet or Spot Fleet request has expired. A
|
18911
|
+
# subsequent event indicates that the instances were terminated, if
|
18912
|
+
# the request was created with `TerminateInstancesWithExpiration`
|
18913
|
+
# set.
|
18857
18914
|
#
|
18858
|
-
# * `modify_in_progress` - A request to modify the
|
18859
|
-
# was accepted and is in progress.
|
18915
|
+
# * `modify_in_progress` - A request to modify the EC2 Fleet or Spot
|
18916
|
+
# Fleet request was accepted and is in progress.
|
18860
18917
|
#
|
18861
|
-
# * `modify_successful` - The Spot Fleet request was
|
18918
|
+
# * `modify_successful` - The EC2 Fleet or Spot Fleet request was
|
18919
|
+
# modified.
|
18862
18920
|
#
|
18863
18921
|
# * `price_update` - The price for a launch configuration was adjusted
|
18864
18922
|
# because it was too high. This change is permanent.
|
18865
18923
|
#
|
18866
|
-
# * `submitted` - The Spot Fleet request is being
|
18867
|
-
# EC2 is preparing to launch the target number
|
18924
|
+
# * `submitted` - The EC2 Fleet or Spot Fleet request is being
|
18925
|
+
# evaluated and Amazon EC2 is preparing to launch the target number
|
18926
|
+
# of Spot Instances.
|
18868
18927
|
#
|
18869
18928
|
# The following are the `instanceChange` events:
|
18870
18929
|
#
|
@@ -19808,11 +19867,11 @@ module Aws::EC2
|
|
19808
19867
|
# @return [String]
|
19809
19868
|
#
|
19810
19869
|
# @!attribute [rw] load_permissions
|
19811
|
-
#
|
19870
|
+
# The load permissions.
|
19812
19871
|
# @return [Array<Types::LoadPermission>]
|
19813
19872
|
#
|
19814
19873
|
# @!attribute [rw] product_codes
|
19815
|
-
#
|
19874
|
+
# The product codes.
|
19816
19875
|
# @return [Array<Types::ProductCode>]
|
19817
19876
|
#
|
19818
19877
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FpgaImageAttribute AWS API Documentation
|
@@ -21084,7 +21143,7 @@ module Aws::EC2
|
|
21084
21143
|
# Describes an image attribute.
|
21085
21144
|
#
|
21086
21145
|
# @!attribute [rw] block_device_mappings
|
21087
|
-
#
|
21146
|
+
# The block device mapping entries.
|
21088
21147
|
# @return [Array<Types::BlockDeviceMapping>]
|
21089
21148
|
#
|
21090
21149
|
# @!attribute [rw] image_id
|
@@ -21092,11 +21151,11 @@ module Aws::EC2
|
|
21092
21151
|
# @return [String]
|
21093
21152
|
#
|
21094
21153
|
# @!attribute [rw] launch_permissions
|
21095
|
-
#
|
21154
|
+
# The launch permissions.
|
21096
21155
|
# @return [Array<Types::LaunchPermission>]
|
21097
21156
|
#
|
21098
21157
|
# @!attribute [rw] product_codes
|
21099
|
-
#
|
21158
|
+
# The product codes.
|
21100
21159
|
# @return [Array<Types::ProductCode>]
|
21101
21160
|
#
|
21102
21161
|
# @!attribute [rw] description
|
@@ -21603,11 +21662,11 @@ module Aws::EC2
|
|
21603
21662
|
# @return [String]
|
21604
21663
|
#
|
21605
21664
|
# @!attribute [rw] group_ids
|
21606
|
-
#
|
21665
|
+
# The security group IDs.
|
21607
21666
|
# @return [Array<String>]
|
21608
21667
|
#
|
21609
21668
|
# @!attribute [rw] group_names
|
21610
|
-
#
|
21669
|
+
# The security group names.
|
21611
21670
|
# @return [Array<String>]
|
21612
21671
|
#
|
21613
21672
|
# @!attribute [rw] instance_initiated_shutdown_behavior
|
@@ -21773,7 +21832,7 @@ module Aws::EC2
|
|
21773
21832
|
# @return [String]
|
21774
21833
|
#
|
21775
21834
|
# @!attribute [rw] volumes
|
21776
|
-
#
|
21835
|
+
# The volumes.
|
21777
21836
|
# @return [Array<Types::ImportInstanceVolumeDetailItem>]
|
21778
21837
|
#
|
21779
21838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstanceTaskDetails AWS API Documentation
|
@@ -22824,6 +22883,10 @@ module Aws::EC2
|
|
22824
22883
|
# The ID of the VPC.
|
22825
22884
|
# @return [String]
|
22826
22885
|
#
|
22886
|
+
# @!attribute [rw] interface_type
|
22887
|
+
# Describes the type of network interface.
|
22888
|
+
# @return [String]
|
22889
|
+
#
|
22827
22890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterface AWS API Documentation
|
22828
22891
|
#
|
22829
22892
|
class InstanceNetworkInterface < Struct.new(
|
@@ -22841,7 +22904,8 @@ module Aws::EC2
|
|
22841
22904
|
:source_dest_check,
|
22842
22905
|
:status,
|
22843
22906
|
:subnet_id,
|
22844
|
-
:vpc_id
|
22907
|
+
:vpc_id,
|
22908
|
+
:interface_type)
|
22845
22909
|
include Aws::Structure
|
22846
22910
|
end
|
22847
22911
|
|
@@ -22931,6 +22995,7 @@ module Aws::EC2
|
|
22931
22995
|
# ],
|
22932
22996
|
# secondary_private_ip_address_count: 1,
|
22933
22997
|
# subnet_id: "String",
|
22998
|
+
# interface_type: "String",
|
22934
22999
|
# }
|
22935
23000
|
#
|
22936
23001
|
# @!attribute [rw] associate_public_ip_address
|
@@ -23009,6 +23074,10 @@ module Aws::EC2
|
|
23009
23074
|
# only if creating a network interface when launching an instance.
|
23010
23075
|
# @return [String]
|
23011
23076
|
#
|
23077
|
+
# @!attribute [rw] interface_type
|
23078
|
+
# The type of interface.
|
23079
|
+
# @return [String]
|
23080
|
+
#
|
23012
23081
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceSpecification AWS API Documentation
|
23013
23082
|
#
|
23014
23083
|
class InstanceNetworkInterfaceSpecification < Struct.new(
|
@@ -23023,7 +23092,8 @@ module Aws::EC2
|
|
23023
23092
|
:private_ip_address,
|
23024
23093
|
:private_ip_addresses,
|
23025
23094
|
:secondary_private_ip_address_count,
|
23026
|
-
:subnet_id
|
23095
|
+
:subnet_id,
|
23096
|
+
:interface_type)
|
23027
23097
|
include Aws::Structure
|
23028
23098
|
end
|
23029
23099
|
|
@@ -23347,16 +23417,16 @@ module Aws::EC2
|
|
23347
23417
|
# @return [Integer]
|
23348
23418
|
#
|
23349
23419
|
# @!attribute [rw] ip_protocol
|
23350
|
-
# The IP protocol name (`tcp`, `udp`, `icmp`) or number (see
|
23351
|
-
# Numbers][1]).
|
23420
|
+
# The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see
|
23421
|
+
# [Protocol Numbers][1]).
|
23352
23422
|
#
|
23353
|
-
# \[
|
23423
|
+
# \[VPC only\] Use `-1` to specify all protocols. When authorizing
|
23354
23424
|
# security group rules, specifying `-1` or a protocol number other
|
23355
|
-
# than `tcp`, `udp`, `icmp`, or `
|
23356
|
-
#
|
23357
|
-
#
|
23358
|
-
#
|
23359
|
-
#
|
23425
|
+
# than `tcp`, `udp`, `icmp`, or `icmpv6` allows traffic on all ports,
|
23426
|
+
# regardless of any port range you specify. For `tcp`, `udp`, and
|
23427
|
+
# `icmp`, you must specify a port range. For `icmpv6`, the port range
|
23428
|
+
# is optional; if you omit the port range, traffic for all types and
|
23429
|
+
# codes is allowed.
|
23360
23430
|
#
|
23361
23431
|
#
|
23362
23432
|
#
|
@@ -23368,21 +23438,19 @@ module Aws::EC2
|
|
23368
23438
|
# @return [Array<Types::IpRange>]
|
23369
23439
|
#
|
23370
23440
|
# @!attribute [rw] ipv_6_ranges
|
23371
|
-
# \[
|
23441
|
+
# \[VPC only\] The IPv6 ranges.
|
23372
23442
|
# @return [Array<Types::Ipv6Range>]
|
23373
23443
|
#
|
23374
23444
|
# @!attribute [rw] prefix_list_ids
|
23375
|
-
# \[
|
23376
|
-
#
|
23377
|
-
#
|
23378
|
-
# security group.
|
23445
|
+
# \[VPC only\] The prefix list IDs for an AWS service. With outbound
|
23446
|
+
# rules, this is the AWS service to access through a VPC endpoint from
|
23447
|
+
# instances associated with the security group.
|
23379
23448
|
# @return [Array<Types::PrefixListId>]
|
23380
23449
|
#
|
23381
23450
|
# @!attribute [rw] to_port
|
23382
23451
|
# The end of port range for the TCP and UDP protocols, or an
|
23383
|
-
# ICMP/ICMPv6 code. A value of `-1` indicates all ICMP/ICMPv6 codes
|
23384
|
-
#
|
23385
|
-
# you must specify all codes.
|
23452
|
+
# ICMP/ICMPv6 code. A value of `-1` indicates all ICMP/ICMPv6 codes.
|
23453
|
+
# If you specify all ICMP/ICMPv6 types, you must specify all codes.
|
23386
23454
|
# @return [Integer]
|
23387
23455
|
#
|
23388
23456
|
# @!attribute [rw] user_id_group_pairs
|
@@ -24059,12 +24127,16 @@ module Aws::EC2
|
|
24059
24127
|
# performance of the volume and the rate at which the volume
|
24060
24128
|
# accumulates I/O credits for bursting. For more information about
|
24061
24129
|
# General Purpose SSD baseline performance, I/O credits, and bursting,
|
24062
|
-
# see Amazon EBS Volume Types in the Amazon Elastic Compute
|
24063
|
-
# Guide
|
24130
|
+
# see [Amazon EBS Volume Types][1] in the *Amazon Elastic Compute
|
24131
|
+
# Cloud User Guide*.
|
24064
24132
|
#
|
24065
24133
|
# Condition: This parameter is required for requests to create io1
|
24066
24134
|
# volumes; it is not used in requests to create gp2, st1, sc1, or
|
24067
24135
|
# standard volumes.
|
24136
|
+
#
|
24137
|
+
#
|
24138
|
+
#
|
24139
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
|
24068
24140
|
# @return [Integer]
|
24069
24141
|
#
|
24070
24142
|
# @!attribute [rw] kms_key_id
|
@@ -24297,6 +24369,10 @@ module Aws::EC2
|
|
24297
24369
|
# The IDs of one or more security groups.
|
24298
24370
|
# @return [Array<String>]
|
24299
24371
|
#
|
24372
|
+
# @!attribute [rw] interface_type
|
24373
|
+
# The type of network interface.
|
24374
|
+
# @return [String]
|
24375
|
+
#
|
24300
24376
|
# @!attribute [rw] ipv_6_address_count
|
24301
24377
|
# The number of IPv6 addresses for the network interface.
|
24302
24378
|
# @return [Integer]
|
@@ -24334,6 +24410,7 @@ module Aws::EC2
|
|
24334
24410
|
:description,
|
24335
24411
|
:device_index,
|
24336
24412
|
:groups,
|
24413
|
+
:interface_type,
|
24337
24414
|
:ipv_6_address_count,
|
24338
24415
|
:ipv_6_addresses,
|
24339
24416
|
:network_interface_id,
|
@@ -24355,6 +24432,7 @@ module Aws::EC2
|
|
24355
24432
|
# description: "String",
|
24356
24433
|
# device_index: 1,
|
24357
24434
|
# groups: ["String"],
|
24435
|
+
# interface_type: "String",
|
24358
24436
|
# ipv_6_address_count: 1,
|
24359
24437
|
# ipv_6_addresses: [
|
24360
24438
|
# {
|
@@ -24395,6 +24473,10 @@ module Aws::EC2
|
|
24395
24473
|
# The IDs of one or more security groups.
|
24396
24474
|
# @return [Array<String>]
|
24397
24475
|
#
|
24476
|
+
# @!attribute [rw] interface_type
|
24477
|
+
# The type of networking interface.
|
24478
|
+
# @return [String]
|
24479
|
+
#
|
24398
24480
|
# @!attribute [rw] ipv_6_address_count
|
24399
24481
|
# The number of IPv6 addresses to assign to a network interface.
|
24400
24482
|
# Amazon EC2 automatically selects the IPv6 addresses from the subnet
|
@@ -24437,6 +24519,7 @@ module Aws::EC2
|
|
24437
24519
|
:description,
|
24438
24520
|
:device_index,
|
24439
24521
|
:groups,
|
24522
|
+
:interface_type,
|
24440
24523
|
:ipv_6_address_count,
|
24441
24524
|
:ipv_6_addresses,
|
24442
24525
|
:network_interface_id,
|
@@ -25309,19 +25392,19 @@ module Aws::EC2
|
|
25309
25392
|
# @return [String]
|
25310
25393
|
#
|
25311
25394
|
# @!attribute [rw] user_ids
|
25312
|
-
#
|
25313
|
-
#
|
25395
|
+
# The AWS account IDs. This parameter is valid only when modifying the
|
25396
|
+
# `loadPermission` attribute.
|
25314
25397
|
# @return [Array<String>]
|
25315
25398
|
#
|
25316
25399
|
# @!attribute [rw] user_groups
|
25317
|
-
#
|
25318
|
-
#
|
25400
|
+
# The user groups. This parameter is valid only when modifying the
|
25401
|
+
# `loadPermission` attribute.
|
25319
25402
|
# @return [Array<String>]
|
25320
25403
|
#
|
25321
25404
|
# @!attribute [rw] product_codes
|
25322
|
-
#
|
25323
|
-
#
|
25324
|
-
#
|
25405
|
+
# The product codes. After you add a product code to an AFI, it can't
|
25406
|
+
# be removed. This parameter is valid only when modifying the
|
25407
|
+
# `productCodes` attribute.
|
25325
25408
|
# @return [Array<String>]
|
25326
25409
|
#
|
25327
25410
|
# @!attribute [rw] load_permission
|
@@ -25540,18 +25623,18 @@ module Aws::EC2
|
|
25540
25623
|
# @return [String]
|
25541
25624
|
#
|
25542
25625
|
# @!attribute [rw] product_codes
|
25543
|
-
#
|
25544
|
-
#
|
25626
|
+
# The DevPay product codes. After you add a product code to an AMI, it
|
25627
|
+
# can't be removed.
|
25545
25628
|
# @return [Array<String>]
|
25546
25629
|
#
|
25547
25630
|
# @!attribute [rw] user_groups
|
25548
|
-
#
|
25631
|
+
# The user groups. This parameter can be used only when the
|
25549
25632
|
# `Attribute` parameter is `launchPermission`.
|
25550
25633
|
# @return [Array<String>]
|
25551
25634
|
#
|
25552
25635
|
# @!attribute [rw] user_ids
|
25553
|
-
#
|
25554
|
-
#
|
25636
|
+
# The AWS account IDs. This parameter can be used only when the
|
25637
|
+
# `Attribute` parameter is `launchPermission`.
|
25555
25638
|
# @return [Array<String>]
|
25556
25639
|
#
|
25557
25640
|
# @!attribute [rw] value
|
@@ -25901,7 +25984,7 @@ module Aws::EC2
|
|
25901
25984
|
# Checks whether you have the required permissions for the action,
|
25902
25985
|
# without actually making the request, and provides an error response.
|
25903
25986
|
# If you have the required permissions, the error response is
|
25904
|
-
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation
|
25987
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25905
25988
|
# @return [Boolean]
|
25906
25989
|
#
|
25907
25990
|
# @!attribute [rw] instance_id
|
@@ -27391,7 +27474,7 @@ module Aws::EC2
|
|
27391
27474
|
# @return [Array<Types::GroupIdentifier>]
|
27392
27475
|
#
|
27393
27476
|
# @!attribute [rw] interface_type
|
27394
|
-
# The type of interface.
|
27477
|
+
# The type of network interface.
|
27395
27478
|
# @return [String]
|
27396
27479
|
#
|
27397
27480
|
# @!attribute [rw] ipv_6_addresses
|
@@ -27903,6 +27986,9 @@ module Aws::EC2
|
|
27903
27986
|
#
|
27904
27987
|
# @!attribute [rw] availability_zone
|
27905
27988
|
# The Availability Zone of the instance.
|
27989
|
+
#
|
27990
|
+
# If not specified, an Availability Zone will be automatically chosen
|
27991
|
+
# for you based on the load balancing criteria for the region.
|
27906
27992
|
# @return [String]
|
27907
27993
|
#
|
27908
27994
|
# @!attribute [rw] affinity
|
@@ -28694,7 +28780,7 @@ module Aws::EC2
|
|
28694
28780
|
# @return [Boolean]
|
28695
28781
|
#
|
28696
28782
|
# @!attribute [rw] purchase_requests
|
28697
|
-
#
|
28783
|
+
# The purchase requests.
|
28698
28784
|
# @return [Array<Types::PurchaseRequest>]
|
28699
28785
|
#
|
28700
28786
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstancesRequest AWS API Documentation
|
@@ -28830,7 +28916,7 @@ module Aws::EC2
|
|
28830
28916
|
# @return [String]
|
28831
28917
|
#
|
28832
28918
|
# @!attribute [rw] block_device_mappings
|
28833
|
-
#
|
28919
|
+
# The block device mapping entries.
|
28834
28920
|
# @return [Array<Types::BlockDeviceMapping>]
|
28835
28921
|
#
|
28836
28922
|
# @!attribute [rw] description
|
@@ -29600,6 +29686,7 @@ module Aws::EC2
|
|
29600
29686
|
# description: "String",
|
29601
29687
|
# device_index: 1,
|
29602
29688
|
# groups: ["String"],
|
29689
|
+
# interface_type: "String",
|
29603
29690
|
# ipv_6_address_count: 1,
|
29604
29691
|
# ipv_6_addresses: [
|
29605
29692
|
# {
|
@@ -29682,14 +29769,14 @@ module Aws::EC2
|
|
29682
29769
|
# capacity_reservation_id: "String",
|
29683
29770
|
# },
|
29684
29771
|
# },
|
29685
|
-
# hibernation_options: {
|
29686
|
-
# configured: false,
|
29687
|
-
# },
|
29688
29772
|
# license_specifications: [
|
29689
29773
|
# {
|
29690
29774
|
# license_configuration_arn: "String",
|
29691
29775
|
# },
|
29692
29776
|
# ],
|
29777
|
+
# hibernation_options: {
|
29778
|
+
# configured: false,
|
29779
|
+
# },
|
29693
29780
|
# }
|
29694
29781
|
#
|
29695
29782
|
# @!attribute [rw] kernel_id
|
@@ -29733,7 +29820,11 @@ module Aws::EC2
|
|
29733
29820
|
# @return [Array<Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>]
|
29734
29821
|
#
|
29735
29822
|
# @!attribute [rw] image_id
|
29736
|
-
# The ID of the AMI, which you can get by using DescribeImages.
|
29823
|
+
# The ID of the AMI, which you can get by using [DescribeImages][1].
|
29824
|
+
#
|
29825
|
+
#
|
29826
|
+
#
|
29827
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
29737
29828
|
# @return [String]
|
29738
29829
|
#
|
29739
29830
|
# @!attribute [rw] instance_type
|
@@ -29747,11 +29838,16 @@ module Aws::EC2
|
|
29747
29838
|
#
|
29748
29839
|
# @!attribute [rw] key_name
|
29749
29840
|
# The name of the key pair. You can create a key pair using
|
29750
|
-
# CreateKeyPair or ImportKeyPair.
|
29841
|
+
# [CreateKeyPair][1] or [ImportKeyPair][2].
|
29751
29842
|
#
|
29752
29843
|
# If you do not specify a key pair, you can't connect to the instance
|
29753
29844
|
# unless you choose an AMI that is configured to allow users another
|
29754
29845
|
# way to log in.
|
29846
|
+
#
|
29847
|
+
#
|
29848
|
+
#
|
29849
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateKeyPair.html
|
29850
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html
|
29755
29851
|
# @return [String]
|
29756
29852
|
#
|
29757
29853
|
# @!attribute [rw] monitoring
|
@@ -29777,7 +29873,11 @@ module Aws::EC2
|
|
29777
29873
|
# @!attribute [rw] disable_api_termination
|
29778
29874
|
# If set to `true`, you can't terminate the instance using the Amazon
|
29779
29875
|
# EC2 console, CLI, or API. To change this attribute to `false` after
|
29780
|
-
# launch, use ModifyInstanceAttribute.
|
29876
|
+
# launch, use [ ModifyInstanceAttribute][1].
|
29877
|
+
#
|
29878
|
+
#
|
29879
|
+
#
|
29880
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceAttribute.html
|
29781
29881
|
# @return [Boolean]
|
29782
29882
|
#
|
29783
29883
|
# @!attribute [rw] instance_initiated_shutdown_behavior
|
@@ -29854,6 +29954,10 @@ module Aws::EC2
|
|
29854
29954
|
# Availability Zone).
|
29855
29955
|
# @return [Types::LaunchTemplateCapacityReservationSpecificationRequest]
|
29856
29956
|
#
|
29957
|
+
# @!attribute [rw] license_specifications
|
29958
|
+
# The license configurations.
|
29959
|
+
# @return [Array<Types::LaunchTemplateLicenseConfigurationRequest>]
|
29960
|
+
#
|
29857
29961
|
# @!attribute [rw] hibernation_options
|
29858
29962
|
# Indicates whether an instance is enabled for hibernation. This
|
29859
29963
|
# parameter is valid only if the instance meets the [hibernation
|
@@ -29867,10 +29971,6 @@ module Aws::EC2
|
|
29867
29971
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
29868
29972
|
# @return [Types::LaunchTemplateHibernationOptionsRequest]
|
29869
29973
|
#
|
29870
|
-
# @!attribute [rw] license_specifications
|
29871
|
-
# The license configurations.
|
29872
|
-
# @return [Array<Types::LaunchTemplateLicenseConfigurationRequest>]
|
29873
|
-
#
|
29874
29974
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestLaunchTemplateData AWS API Documentation
|
29875
29975
|
#
|
29876
29976
|
class RequestLaunchTemplateData < Struct.new(
|
@@ -29897,8 +29997,8 @@ module Aws::EC2
|
|
29897
29997
|
:credit_specification,
|
29898
29998
|
:cpu_options,
|
29899
29999
|
:capacity_reservation_specification,
|
29900
|
-
:
|
29901
|
-
:
|
30000
|
+
:license_specifications,
|
30001
|
+
:hibernation_options)
|
29902
30002
|
include Aws::Structure
|
29903
30003
|
end
|
29904
30004
|
|
@@ -29977,6 +30077,7 @@ module Aws::EC2
|
|
29977
30077
|
# ],
|
29978
30078
|
# secondary_private_ip_address_count: 1,
|
29979
30079
|
# subnet_id: "String",
|
30080
|
+
# interface_type: "String",
|
29980
30081
|
# },
|
29981
30082
|
# ],
|
29982
30083
|
# placement: {
|
@@ -30149,6 +30250,7 @@ module Aws::EC2
|
|
30149
30250
|
# ],
|
30150
30251
|
# secondary_private_ip_address_count: 1,
|
30151
30252
|
# subnet_id: "String",
|
30253
|
+
# interface_type: "String",
|
30152
30254
|
# },
|
30153
30255
|
# ],
|
30154
30256
|
# placement: {
|
@@ -30365,6 +30467,7 @@ module Aws::EC2
|
|
30365
30467
|
# ],
|
30366
30468
|
# secondary_private_ip_address_count: 1,
|
30367
30469
|
# subnet_id: "String",
|
30470
|
+
# interface_type: "String",
|
30368
30471
|
# },
|
30369
30472
|
# ],
|
30370
30473
|
# placement: {
|
@@ -30457,7 +30560,8 @@ module Aws::EC2
|
|
30457
30560
|
# @return [String]
|
30458
30561
|
#
|
30459
30562
|
# @!attribute [rw] user_data
|
30460
|
-
# The Base64-encoded user data for the instance.
|
30563
|
+
# The Base64-encoded user data for the instance. User data is limited
|
30564
|
+
# to 16 KB.
|
30461
30565
|
# @return [String]
|
30462
30566
|
#
|
30463
30567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotLaunchSpecification AWS API Documentation
|
@@ -31300,6 +31404,10 @@ module Aws::EC2
|
|
31300
31404
|
# Information about the Capacity Reservation targeting option.
|
31301
31405
|
# @return [Types::LaunchTemplateCapacityReservationSpecificationResponse]
|
31302
31406
|
#
|
31407
|
+
# @!attribute [rw] license_specifications
|
31408
|
+
# The license configurations.
|
31409
|
+
# @return [Array<Types::LaunchTemplateLicenseConfiguration>]
|
31410
|
+
#
|
31303
31411
|
# @!attribute [rw] hibernation_options
|
31304
31412
|
# Indicates whether an instance is configured for hibernation. For
|
31305
31413
|
# more information, see [Hibernate Your Instance][1] in the *Amazon
|
@@ -31310,10 +31418,6 @@ module Aws::EC2
|
|
31310
31418
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
31311
31419
|
# @return [Types::LaunchTemplateHibernationOptions]
|
31312
31420
|
#
|
31313
|
-
# @!attribute [rw] license_specifications
|
31314
|
-
# The license configurations.
|
31315
|
-
# @return [Array<Types::LaunchTemplateLicenseConfiguration>]
|
31316
|
-
#
|
31317
31421
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData AWS API Documentation
|
31318
31422
|
#
|
31319
31423
|
class ResponseLaunchTemplateData < Struct.new(
|
@@ -31340,8 +31444,8 @@ module Aws::EC2
|
|
31340
31444
|
:credit_specification,
|
31341
31445
|
:cpu_options,
|
31342
31446
|
:capacity_reservation_specification,
|
31343
|
-
:
|
31344
|
-
:
|
31447
|
+
:license_specifications,
|
31448
|
+
:hibernation_options)
|
31345
31449
|
include Aws::Structure
|
31346
31450
|
end
|
31347
31451
|
|
@@ -31950,6 +32054,7 @@ module Aws::EC2
|
|
31950
32054
|
# ],
|
31951
32055
|
# secondary_private_ip_address_count: 1,
|
31952
32056
|
# subnet_id: "String",
|
32057
|
+
# interface_type: "String",
|
31953
32058
|
# },
|
31954
32059
|
# ],
|
31955
32060
|
# private_ip_address: "String",
|
@@ -32021,9 +32126,8 @@ module Aws::EC2
|
|
32021
32126
|
# @return [Array<Types::BlockDeviceMapping>]
|
32022
32127
|
#
|
32023
32128
|
# @!attribute [rw] image_id
|
32024
|
-
# The ID of the AMI
|
32025
|
-
#
|
32026
|
-
# in a launch template.
|
32129
|
+
# The ID of the AMI. An AMI is required to launch an instance and must
|
32130
|
+
# be specified here or in a launch template.
|
32027
32131
|
# @return [String]
|
32028
32132
|
#
|
32029
32133
|
# @!attribute [rw] instance_type
|
@@ -32038,11 +32142,11 @@ module Aws::EC2
|
|
32038
32142
|
# @return [String]
|
32039
32143
|
#
|
32040
32144
|
# @!attribute [rw] ipv_6_address_count
|
32041
|
-
# \[EC2-VPC\]
|
32042
|
-
# network interface. Amazon EC2 chooses the IPv6 addresses
|
32043
|
-
# range of your subnet. You cannot specify this option and
|
32044
|
-
# to assign specific IPv6 addresses in the same request.
|
32045
|
-
# specify this option if you've specified a minimum number of
|
32145
|
+
# \[EC2-VPC\] The number of IPv6 addresses to associate with the
|
32146
|
+
# primary network interface. Amazon EC2 chooses the IPv6 addresses
|
32147
|
+
# from the range of your subnet. You cannot specify this option and
|
32148
|
+
# the option to assign specific IPv6 addresses in the same request.
|
32149
|
+
# You can specify this option if you've specified a minimum number of
|
32046
32150
|
# instances to launch.
|
32047
32151
|
#
|
32048
32152
|
# You cannot specify this option and the network interfaces option in
|
@@ -32113,7 +32217,7 @@ module Aws::EC2
|
|
32113
32217
|
# @return [Integer]
|
32114
32218
|
#
|
32115
32219
|
# @!attribute [rw] monitoring
|
32116
|
-
#
|
32220
|
+
# Specifies whether detailed monitoring is enabled for the instance.
|
32117
32221
|
# @return [Types::RunInstancesMonitoringEnabled]
|
32118
32222
|
#
|
32119
32223
|
# @!attribute [rw] placement
|
@@ -32121,7 +32225,11 @@ module Aws::EC2
|
|
32121
32225
|
# @return [Types::Placement]
|
32122
32226
|
#
|
32123
32227
|
# @!attribute [rw] ramdisk_id
|
32124
|
-
# The ID of the RAM disk.
|
32228
|
+
# The ID of the RAM disk to select. Some kernels require additional
|
32229
|
+
# drivers at launch. Check the kernel requirements for information
|
32230
|
+
# about whether you need to specify a RAM disk. To find kernel
|
32231
|
+
# requirements, go to the AWS Resource Center and search for the
|
32232
|
+
# kernel ID.
|
32125
32233
|
#
|
32126
32234
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
32127
32235
|
# For more information, see [ PV-GRUB][1] in the *Amazon Elastic
|
@@ -32165,7 +32273,7 @@ module Aws::EC2
|
|
32165
32273
|
# Launch][1] (Linux) and [Adding User Data][2] (Windows). If you are
|
32166
32274
|
# using a command line tool, base64-encoding is performed for you, and
|
32167
32275
|
# you can load the text from a file. Otherwise, you must provide
|
32168
|
-
# base64-encoded text.
|
32276
|
+
# base64-encoded text. User data is limited to 16 KB.
|
32169
32277
|
#
|
32170
32278
|
#
|
32171
32279
|
#
|
@@ -32232,10 +32340,7 @@ module Aws::EC2
|
|
32232
32340
|
# @return [String]
|
32233
32341
|
#
|
32234
32342
|
# @!attribute [rw] network_interfaces
|
32235
|
-
# The network interfaces.
|
32236
|
-
#
|
32237
|
-
# You cannot specify this option and the network interfaces option in
|
32238
|
-
# the same request.
|
32343
|
+
# The network interfaces to associate with the instance.
|
32239
32344
|
# @return [Array<Types::InstanceNetworkInterfaceSpecification>]
|
32240
32345
|
#
|
32241
32346
|
# @!attribute [rw] private_ip_address
|
@@ -32253,11 +32358,22 @@ module Aws::EC2
|
|
32253
32358
|
# @return [String]
|
32254
32359
|
#
|
32255
32360
|
# @!attribute [rw] elastic_gpu_specification
|
32256
|
-
# An elastic GPU to associate with the instance.
|
32361
|
+
# An elastic GPU to associate with the instance. An Elastic GPU is a
|
32362
|
+
# GPU resource that you can attach to your Windows instance to
|
32363
|
+
# accelerate the graphics performance of your applications. For more
|
32364
|
+
# information, see [ Amazon EC2 Elastic GPUs][1] in the *Amazon
|
32365
|
+
# Elastic Compute Cloud User Guide*.
|
32366
|
+
#
|
32367
|
+
#
|
32368
|
+
#
|
32369
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
|
32257
32370
|
# @return [Array<Types::ElasticGpuSpecification>]
|
32258
32371
|
#
|
32259
32372
|
# @!attribute [rw] elastic_inference_accelerators
|
32260
|
-
# An elastic inference accelerator.
|
32373
|
+
# An elastic inference accelerator to associate with the instance.
|
32374
|
+
# Elastic inference accelerators are a resource you can attach to your
|
32375
|
+
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
32376
|
+
# workloads.
|
32261
32377
|
# @return [Array<Types::ElasticInferenceAccelerator>]
|
32262
32378
|
#
|
32263
32379
|
# @!attribute [rw] tag_specifications
|
@@ -32283,11 +32399,11 @@ module Aws::EC2
|
|
32283
32399
|
# @return [Types::InstanceMarketOptionsRequest]
|
32284
32400
|
#
|
32285
32401
|
# @!attribute [rw] credit_specification
|
32286
|
-
# The credit option for CPU usage of the instance. Valid
|
32287
|
-
# `standard` and `unlimited`. To change this attribute
|
32288
|
-
# use ModifyInstanceCreditSpecification. For more
|
32289
|
-
# [Burstable Performance Instances][1] in the *Amazon
|
32290
|
-
# Cloud User Guide*.
|
32402
|
+
# The credit option for CPU usage of the T2 or T3 instance. Valid
|
32403
|
+
# values are `standard` and `unlimited`. To change this attribute
|
32404
|
+
# after launch, use ModifyInstanceCreditSpecification. For more
|
32405
|
+
# information, see [Burstable Performance Instances][1] in the *Amazon
|
32406
|
+
# Elastic Compute Cloud User Guide*.
|
32291
32407
|
#
|
32292
32408
|
# Default: `standard` (T2 instances) or `unlimited` (T3 instances)
|
32293
32409
|
#
|
@@ -33057,7 +33173,7 @@ module Aws::EC2
|
|
33057
33173
|
# }
|
33058
33174
|
#
|
33059
33175
|
# @!attribute [rw] block_device_mappings
|
33060
|
-
#
|
33176
|
+
# The block device mapping entries.
|
33061
33177
|
# @return [Array<Types::ScheduledInstancesBlockDeviceMapping>]
|
33062
33178
|
#
|
33063
33179
|
# @!attribute [rw] ebs_optimized
|
@@ -33096,7 +33212,7 @@ module Aws::EC2
|
|
33096
33212
|
# @return [Types::ScheduledInstancesMonitoring]
|
33097
33213
|
#
|
33098
33214
|
# @!attribute [rw] network_interfaces
|
33099
|
-
#
|
33215
|
+
# The network interfaces.
|
33100
33216
|
# @return [Array<Types::ScheduledInstancesNetworkInterface>]
|
33101
33217
|
#
|
33102
33218
|
# @!attribute [rw] placement
|
@@ -33108,7 +33224,7 @@ module Aws::EC2
|
|
33108
33224
|
# @return [String]
|
33109
33225
|
#
|
33110
33226
|
# @!attribute [rw] security_group_ids
|
33111
|
-
# The IDs of
|
33227
|
+
# The IDs of the security groups.
|
33112
33228
|
# @return [Array<String>]
|
33113
33229
|
#
|
33114
33230
|
# @!attribute [rw] subnet_id
|
@@ -33211,7 +33327,7 @@ module Aws::EC2
|
|
33211
33327
|
# @return [Integer]
|
33212
33328
|
#
|
33213
33329
|
# @!attribute [rw] groups
|
33214
|
-
# The IDs of
|
33330
|
+
# The IDs of the security groups.
|
33215
33331
|
# @return [Array<String>]
|
33216
33332
|
#
|
33217
33333
|
# @!attribute [rw] ipv_6_address_count
|
@@ -33220,7 +33336,7 @@ module Aws::EC2
|
|
33220
33336
|
# @return [Integer]
|
33221
33337
|
#
|
33222
33338
|
# @!attribute [rw] ipv_6_addresses
|
33223
|
-
#
|
33339
|
+
# The specific IPv6 addresses from the subnet range.
|
33224
33340
|
# @return [Array<Types::ScheduledInstancesIpv6Address>]
|
33225
33341
|
#
|
33226
33342
|
# @!attribute [rw] network_interface_id
|
@@ -33427,7 +33543,7 @@ module Aws::EC2
|
|
33427
33543
|
# @return [String]
|
33428
33544
|
#
|
33429
33545
|
# @!attribute [rw] ip_permissions_egress
|
33430
|
-
# \[
|
33546
|
+
# \[VPC only\] The outbound rules associated with the security group.
|
33431
33547
|
# @return [Array<Types::IpPermission>]
|
33432
33548
|
#
|
33433
33549
|
# @!attribute [rw] tags
|
@@ -33435,7 +33551,7 @@ module Aws::EC2
|
|
33435
33551
|
# @return [Array<Types::Tag>]
|
33436
33552
|
#
|
33437
33553
|
# @!attribute [rw] vpc_id
|
33438
|
-
# \[
|
33554
|
+
# \[VPC only\] The ID of the VPC for the security group.
|
33439
33555
|
# @return [String]
|
33440
33556
|
#
|
33441
33557
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroup AWS API Documentation
|
@@ -33522,8 +33638,8 @@ module Aws::EC2
|
|
33522
33638
|
# @return [Boolean]
|
33523
33639
|
#
|
33524
33640
|
# @!attribute [rw] manages_vpc_endpoints
|
33525
|
-
# Indicates whether the service manages it's VPC
|
33526
|
-
# Management of the service VPC
|
33641
|
+
# Indicates whether the service manages it's VPC endpoints.
|
33642
|
+
# Management of the service VPC endpoints using the VPC endpoint API
|
33527
33643
|
# is restricted.
|
33528
33644
|
# @return [Boolean]
|
33529
33645
|
#
|
@@ -33592,8 +33708,8 @@ module Aws::EC2
|
|
33592
33708
|
# @return [Boolean]
|
33593
33709
|
#
|
33594
33710
|
# @!attribute [rw] manages_vpc_endpoints
|
33595
|
-
# Indicates whether the service manages it's VPC
|
33596
|
-
# Management of the service VPC
|
33711
|
+
# Indicates whether the service manages it's VPC endpoints.
|
33712
|
+
# Management of the service VPC endpoints using the VPC endpoint API
|
33597
33713
|
# is restricted.
|
33598
33714
|
# @return [Boolean]
|
33599
33715
|
#
|
@@ -34045,6 +34161,7 @@ module Aws::EC2
|
|
34045
34161
|
# ],
|
34046
34162
|
# secondary_private_ip_address_count: 1,
|
34047
34163
|
# subnet_id: "String",
|
34164
|
+
# interface_type: "String",
|
34048
34165
|
# },
|
34049
34166
|
# ],
|
34050
34167
|
# placement: {
|
@@ -34327,6 +34444,7 @@ module Aws::EC2
|
|
34327
34444
|
# ],
|
34328
34445
|
# secondary_private_ip_address_count: 1,
|
34329
34446
|
# subnet_id: "String",
|
34447
|
+
# interface_type: "String",
|
34330
34448
|
# },
|
34331
34449
|
# ],
|
34332
34450
|
# placement: {
|
@@ -34448,11 +34566,13 @@ module Aws::EC2
|
|
34448
34566
|
# @return [String]
|
34449
34567
|
#
|
34450
34568
|
# @!attribute [rw] launch_specifications
|
34451
|
-
# The launch specifications for the Spot Fleet request.
|
34569
|
+
# The launch specifications for the Spot Fleet request. If you specify
|
34570
|
+
# `LaunchSpecifications`, you can't specify `LaunchTemplateConfigs`.
|
34452
34571
|
# @return [Array<Types::SpotFleetLaunchSpecification>]
|
34453
34572
|
#
|
34454
34573
|
# @!attribute [rw] launch_template_configs
|
34455
|
-
# The launch template and overrides.
|
34574
|
+
# The launch template and overrides. If you specify
|
34575
|
+
# `LaunchTemplateConfigs`, you can't specify `LaunchSpecifications`.
|
34456
34576
|
# @return [Array<Types::LaunchTemplateConfig>]
|
34457
34577
|
#
|
34458
34578
|
# @!attribute [rw] spot_price
|
@@ -37516,7 +37636,7 @@ module Aws::EC2
|
|
37516
37636
|
# @return [Boolean]
|
37517
37637
|
#
|
37518
37638
|
# @!attribute [rw] requester_managed
|
37519
|
-
# Indicates whether the VPC
|
37639
|
+
# Indicates whether the VPC endpoint is being managed by its service.
|
37520
37640
|
# @return [Boolean]
|
37521
37641
|
#
|
37522
37642
|
# @!attribute [rw] network_interface_ids
|