aws-sdk-ec2 1.507.0 → 1.508.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 +123 -26
- data/lib/aws-sdk-ec2/client_api.rb +48 -1
- data/lib/aws-sdk-ec2/image.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +427 -55
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +39 -2
- data/sig/image.rbs +2 -2
- data/sig/types.rbs +45 -0
- metadata +2 -2
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -3922,6 +3922,38 @@ module Aws::EC2
|
|
3922
3922
|
include Aws::Structure
|
3923
3923
|
end
|
3924
3924
|
|
3925
|
+
# Describes a block device mapping, which defines the EBS volumes and
|
3926
|
+
# instance store volumes to attach to an instance at launch.
|
3927
|
+
#
|
3928
|
+
# @!attribute [rw] device_name
|
3929
|
+
# The device name (for example, `/dev/sdh` or `xvdh`).
|
3930
|
+
# @return [String]
|
3931
|
+
#
|
3932
|
+
# @!attribute [rw] virtual_name
|
3933
|
+
# The virtual device name.
|
3934
|
+
# @return [String]
|
3935
|
+
#
|
3936
|
+
# @!attribute [rw] ebs
|
3937
|
+
# Parameters used to automatically set up EBS volumes when the
|
3938
|
+
# instance is launched.
|
3939
|
+
# @return [Types::EbsBlockDeviceResponse]
|
3940
|
+
#
|
3941
|
+
# @!attribute [rw] no_device
|
3942
|
+
# Suppresses the specified device included in the block device
|
3943
|
+
# mapping.
|
3944
|
+
# @return [String]
|
3945
|
+
#
|
3946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BlockDeviceMappingResponse AWS API Documentation
|
3947
|
+
#
|
3948
|
+
class BlockDeviceMappingResponse < Struct.new(
|
3949
|
+
:device_name,
|
3950
|
+
:virtual_name,
|
3951
|
+
:ebs,
|
3952
|
+
:no_device)
|
3953
|
+
SENSITIVE = []
|
3954
|
+
include Aws::Structure
|
3955
|
+
end
|
3956
|
+
|
3925
3957
|
# The state of VPC Block Public Access (BPA).
|
3926
3958
|
#
|
3927
3959
|
# @!attribute [rw] internet_gateway_block_mode
|
@@ -10061,7 +10093,7 @@ module Aws::EC2
|
|
10061
10093
|
#
|
10062
10094
|
#
|
10063
10095
|
#
|
10064
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
10096
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
|
10065
10097
|
# @return [Boolean]
|
10066
10098
|
#
|
10067
10099
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersionRequest AWS API Documentation
|
@@ -17633,6 +17665,10 @@ module Aws::EC2
|
|
17633
17665
|
include Aws::Structure
|
17634
17666
|
end
|
17635
17667
|
|
17668
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImageResult AWS API Documentation
|
17669
|
+
#
|
17670
|
+
class DeregisterImageResult < Aws::EmptyStructure; end
|
17671
|
+
|
17636
17672
|
# @!attribute [rw] dry_run
|
17637
17673
|
# Checks whether you have the required permissions for the action,
|
17638
17674
|
# without actually making the request, and provides an error response.
|
@@ -23508,7 +23544,7 @@ module Aws::EC2
|
|
23508
23544
|
#
|
23509
23545
|
#
|
23510
23546
|
#
|
23511
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
23547
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
|
23512
23548
|
# @return [Boolean]
|
23513
23549
|
#
|
23514
23550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersionsRequest AWS API Documentation
|
@@ -32647,6 +32683,65 @@ module Aws::EC2
|
|
32647
32683
|
include Aws::Structure
|
32648
32684
|
end
|
32649
32685
|
|
32686
|
+
# Describes a block device for an EBS volume.
|
32687
|
+
#
|
32688
|
+
# @!attribute [rw] encrypted
|
32689
|
+
# Indicates whether the volume is encrypted.
|
32690
|
+
# @return [Boolean]
|
32691
|
+
#
|
32692
|
+
# @!attribute [rw] delete_on_termination
|
32693
|
+
# Indicates whether the volume is deleted on instance termination.
|
32694
|
+
# @return [Boolean]
|
32695
|
+
#
|
32696
|
+
# @!attribute [rw] iops
|
32697
|
+
# The number of I/O operations per second (IOPS). For `gp3`, `io1`,
|
32698
|
+
# and `io2` volumes, this represents the number of IOPS that are
|
32699
|
+
# provisioned for the volume. For `gp2` volumes, this represents the
|
32700
|
+
# baseline performance of the volume and the rate at which the volume
|
32701
|
+
# accumulates I/O credits for bursting.
|
32702
|
+
# @return [Integer]
|
32703
|
+
#
|
32704
|
+
# @!attribute [rw] throughput
|
32705
|
+
# The throughput that the volume supports, in MiB/s.
|
32706
|
+
# @return [Integer]
|
32707
|
+
#
|
32708
|
+
# @!attribute [rw] kms_key_id
|
32709
|
+
# Identifier (key ID, key alias, key ARN, or alias ARN) of the
|
32710
|
+
# customer managed KMS key to use for EBS encryption.
|
32711
|
+
# @return [String]
|
32712
|
+
#
|
32713
|
+
# @!attribute [rw] snapshot_id
|
32714
|
+
# The ID of the snapshot.
|
32715
|
+
# @return [String]
|
32716
|
+
#
|
32717
|
+
# @!attribute [rw] volume_size
|
32718
|
+
# The size of the volume, in GiBs.
|
32719
|
+
# @return [Integer]
|
32720
|
+
#
|
32721
|
+
# @!attribute [rw] volume_type
|
32722
|
+
# The volume type. For more information, see [Amazon EBS volume
|
32723
|
+
# types][1] in the *Amazon EBS User Guide*.
|
32724
|
+
#
|
32725
|
+
#
|
32726
|
+
#
|
32727
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
|
32728
|
+
# @return [String]
|
32729
|
+
#
|
32730
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDeviceResponse AWS API Documentation
|
32731
|
+
#
|
32732
|
+
class EbsBlockDeviceResponse < Struct.new(
|
32733
|
+
:encrypted,
|
32734
|
+
:delete_on_termination,
|
32735
|
+
:iops,
|
32736
|
+
:throughput,
|
32737
|
+
:kms_key_id,
|
32738
|
+
:snapshot_id,
|
32739
|
+
:volume_size,
|
32740
|
+
:volume_type)
|
32741
|
+
SENSITIVE = []
|
32742
|
+
include Aws::Structure
|
32743
|
+
end
|
32744
|
+
|
32650
32745
|
# Describes the Amazon EBS features supported by the instance type.
|
32651
32746
|
#
|
32652
32747
|
# @!attribute [rw] ebs_optimized_support
|
@@ -35458,6 +35553,69 @@ module Aws::EC2
|
|
35458
35553
|
include Aws::Structure
|
35459
35554
|
end
|
35460
35555
|
|
35556
|
+
# Describes a block device mapping, which defines the EBS volumes and
|
35557
|
+
# instance store volumes to attach to an instance at launch.
|
35558
|
+
#
|
35559
|
+
# To override a block device mapping specified in the launch template:
|
35560
|
+
#
|
35561
|
+
# * Specify the exact same `DeviceName` here as specified in the launch
|
35562
|
+
# template.
|
35563
|
+
#
|
35564
|
+
# * Only specify the parameters you want to change.
|
35565
|
+
#
|
35566
|
+
# * Any parameters you don't specify here will keep their original
|
35567
|
+
# launch template values.
|
35568
|
+
#
|
35569
|
+
# To add a new block device mapping:
|
35570
|
+
#
|
35571
|
+
# * Specify a `DeviceName` that doesn't exist in the launch template.
|
35572
|
+
#
|
35573
|
+
# * Specify all desired parameters here.
|
35574
|
+
#
|
35575
|
+
# @!attribute [rw] device_name
|
35576
|
+
# The device name (for example, `/dev/sdh` or `xvdh`).
|
35577
|
+
# @return [String]
|
35578
|
+
#
|
35579
|
+
# @!attribute [rw] virtual_name
|
35580
|
+
# The virtual device name (`ephemeralN`). Instance store volumes are
|
35581
|
+
# numbered starting from 0. An instance type with 2 available instance
|
35582
|
+
# store volumes can specify mappings for `ephemeral0` and
|
35583
|
+
# `ephemeral1`. The number of available instance store volumes depends
|
35584
|
+
# on the instance type. After you connect to the instance, you must
|
35585
|
+
# mount the volume.
|
35586
|
+
#
|
35587
|
+
# NVMe instance store volumes are automatically enumerated and
|
35588
|
+
# assigned a device name. Including them in your block device mapping
|
35589
|
+
# has no effect.
|
35590
|
+
#
|
35591
|
+
# Constraints: For M3 instances, you must specify instance store
|
35592
|
+
# volumes in the block device mapping for the instance. When you
|
35593
|
+
# launch an M3 instance, we ignore any instance store volumes
|
35594
|
+
# specified in the block device mapping for the AMI.
|
35595
|
+
# @return [String]
|
35596
|
+
#
|
35597
|
+
# @!attribute [rw] ebs
|
35598
|
+
# Parameters used to automatically set up EBS volumes when the
|
35599
|
+
# instance is launched.
|
35600
|
+
# @return [Types::FleetEbsBlockDeviceRequest]
|
35601
|
+
#
|
35602
|
+
# @!attribute [rw] no_device
|
35603
|
+
# To omit the device from the block device mapping, specify an empty
|
35604
|
+
# string. When this property is specified, the device is removed from
|
35605
|
+
# the block device mapping regardless of the assigned value.
|
35606
|
+
# @return [String]
|
35607
|
+
#
|
35608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetBlockDeviceMappingRequest AWS API Documentation
|
35609
|
+
#
|
35610
|
+
class FleetBlockDeviceMappingRequest < Struct.new(
|
35611
|
+
:device_name,
|
35612
|
+
:virtual_name,
|
35613
|
+
:ebs,
|
35614
|
+
:no_device)
|
35615
|
+
SENSITIVE = []
|
35616
|
+
include Aws::Structure
|
35617
|
+
end
|
35618
|
+
|
35461
35619
|
# Information about a Capacity Reservation in a Capacity Reservation
|
35462
35620
|
# Fleet.
|
35463
35621
|
#
|
@@ -35706,6 +35864,163 @@ module Aws::EC2
|
|
35706
35864
|
include Aws::Structure
|
35707
35865
|
end
|
35708
35866
|
|
35867
|
+
# Describes a block device for an EBS volume.
|
35868
|
+
#
|
35869
|
+
# @!attribute [rw] encrypted
|
35870
|
+
# Indicates whether the encryption state of an EBS volume is changed
|
35871
|
+
# while being restored from a backing snapshot. The effect of setting
|
35872
|
+
# the encryption state to `true` depends on the volume origin (new or
|
35873
|
+
# from a snapshot), starting encryption state, ownership, and whether
|
35874
|
+
# encryption by default is enabled. For more information, see [Amazon
|
35875
|
+
# EBS encryption][1] in the *Amazon EBS User Guide*.
|
35876
|
+
#
|
35877
|
+
# In no case can you remove encryption from an encrypted volume.
|
35878
|
+
#
|
35879
|
+
# Encrypted volumes can only be attached to instances that support
|
35880
|
+
# Amazon EBS encryption. For more information, see [Supported instance
|
35881
|
+
# types][2].
|
35882
|
+
#
|
35883
|
+
# This parameter is not returned by .
|
35884
|
+
#
|
35885
|
+
# For and , whether you can include this parameter, and the allowed
|
35886
|
+
# values differ depending on the type of block device mapping you are
|
35887
|
+
# creating.
|
35888
|
+
#
|
35889
|
+
# * If you are creating a block device mapping for a **new (empty)
|
35890
|
+
# volume**, you can include this parameter, and specify either
|
35891
|
+
# `true` for an encrypted volume, or `false` for an unencrypted
|
35892
|
+
# volume. If you omit this parameter, it defaults to `false`
|
35893
|
+
# (unencrypted).
|
35894
|
+
#
|
35895
|
+
# * If you are creating a block device mapping from an **existing
|
35896
|
+
# encrypted or unencrypted snapshot**, you must omit this parameter.
|
35897
|
+
# If you include this parameter, the request will fail, regardless
|
35898
|
+
# of the value that you specify.
|
35899
|
+
#
|
35900
|
+
# * If you are creating a block device mapping from an **existing
|
35901
|
+
# unencrypted volume**, you can include this parameter, but you must
|
35902
|
+
# specify `false`. If you specify `true`, the request will fail. In
|
35903
|
+
# this case, we recommend that you omit the parameter.
|
35904
|
+
#
|
35905
|
+
# * If you are creating a block device mapping from an **existing
|
35906
|
+
# encrypted volume**, you can include this parameter, and specify
|
35907
|
+
# either `true` or `false`. However, if you specify `false`, the
|
35908
|
+
# parameter is ignored and the block device mapping is always
|
35909
|
+
# encrypted. In this case, we recommend that you omit the parameter.
|
35910
|
+
#
|
35911
|
+
#
|
35912
|
+
#
|
35913
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
|
35914
|
+
# [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances
|
35915
|
+
# @return [Boolean]
|
35916
|
+
#
|
35917
|
+
# @!attribute [rw] delete_on_termination
|
35918
|
+
# Indicates whether the EBS volume is deleted on instance termination.
|
35919
|
+
# For more information, see [Preserve data when an instance is
|
35920
|
+
# terminated][1] in the *Amazon EC2 User Guide*.
|
35921
|
+
#
|
35922
|
+
#
|
35923
|
+
#
|
35924
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/preserving-volumes-on-termination.html
|
35925
|
+
# @return [Boolean]
|
35926
|
+
#
|
35927
|
+
# @!attribute [rw] iops
|
35928
|
+
# The number of I/O operations per second (IOPS). For `gp3`, `io1`,
|
35929
|
+
# and `io2` volumes, this represents the number of IOPS that are
|
35930
|
+
# provisioned for the volume. For `gp2` volumes, this represents the
|
35931
|
+
# baseline performance of the volume and the rate at which the volume
|
35932
|
+
# accumulates I/O credits for bursting.
|
35933
|
+
#
|
35934
|
+
# The following are the supported values for each volume type:
|
35935
|
+
#
|
35936
|
+
# * `gp3`: 3,000 - 16,000 IOPS
|
35937
|
+
#
|
35938
|
+
# * `io1`: 100 - 64,000 IOPS
|
35939
|
+
#
|
35940
|
+
# * `io2`: 100 - 256,000 IOPS
|
35941
|
+
#
|
35942
|
+
# For `io2` volumes, you can achieve up to 256,000 IOPS on [instances
|
35943
|
+
# built on the Nitro System][1]. On other instances, you can achieve
|
35944
|
+
# performance up to 32,000 IOPS.
|
35945
|
+
#
|
35946
|
+
# This parameter is required for `io1` and `io2` volumes. The default
|
35947
|
+
# for `gp3` volumes is 3,000 IOPS.
|
35948
|
+
#
|
35949
|
+
#
|
35950
|
+
#
|
35951
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
35952
|
+
# @return [Integer]
|
35953
|
+
#
|
35954
|
+
# @!attribute [rw] throughput
|
35955
|
+
# The throughput that the volume supports, in MiB/s.
|
35956
|
+
#
|
35957
|
+
# This parameter is valid only for `gp3` volumes.
|
35958
|
+
#
|
35959
|
+
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
35960
|
+
# @return [Integer]
|
35961
|
+
#
|
35962
|
+
# @!attribute [rw] kms_key_id
|
35963
|
+
# Identifier (key ID, key alias, key ARN, or alias ARN) of the
|
35964
|
+
# customer managed KMS key to use for EBS encryption.
|
35965
|
+
#
|
35966
|
+
# This parameter is only supported on `BlockDeviceMapping` objects
|
35967
|
+
# called by [RunInstances][1], [RequestSpotFleet][2], and
|
35968
|
+
# [RequestSpotInstances][3].
|
35969
|
+
#
|
35970
|
+
#
|
35971
|
+
#
|
35972
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
35973
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html
|
35974
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
|
35975
|
+
# @return [String]
|
35976
|
+
#
|
35977
|
+
# @!attribute [rw] snapshot_id
|
35978
|
+
# The ID of the snapshot.
|
35979
|
+
# @return [String]
|
35980
|
+
#
|
35981
|
+
# @!attribute [rw] volume_size
|
35982
|
+
# The size of the volume, in GiBs. You must specify either a snapshot
|
35983
|
+
# ID or a volume size. If you specify a snapshot, the default is the
|
35984
|
+
# snapshot size. You can specify a volume size that is equal to or
|
35985
|
+
# larger than the snapshot size.
|
35986
|
+
#
|
35987
|
+
# The following are the supported sizes for each volume type:
|
35988
|
+
#
|
35989
|
+
# * `gp2` and `gp3`: 1 - 16,384 GiB
|
35990
|
+
#
|
35991
|
+
# * `io1`: 4 - 16,384 GiB
|
35992
|
+
#
|
35993
|
+
# * `io2`: 4 - 65,536 GiB
|
35994
|
+
#
|
35995
|
+
# * `st1` and `sc1`: 125 - 16,384 GiB
|
35996
|
+
#
|
35997
|
+
# * `standard`: 1 - 1024 GiB
|
35998
|
+
# @return [Integer]
|
35999
|
+
#
|
36000
|
+
# @!attribute [rw] volume_type
|
36001
|
+
# The volume type. For more information, see [Amazon EBS volume
|
36002
|
+
# types][1] in the *Amazon EBS User Guide*.
|
36003
|
+
#
|
36004
|
+
#
|
36005
|
+
#
|
36006
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
|
36007
|
+
# @return [String]
|
36008
|
+
#
|
36009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetEbsBlockDeviceRequest AWS API Documentation
|
36010
|
+
#
|
36011
|
+
class FleetEbsBlockDeviceRequest < Struct.new(
|
36012
|
+
:encrypted,
|
36013
|
+
:delete_on_termination,
|
36014
|
+
:iops,
|
36015
|
+
:throughput,
|
36016
|
+
:kms_key_id,
|
36017
|
+
:snapshot_id,
|
36018
|
+
:volume_size,
|
36019
|
+
:volume_type)
|
36020
|
+
SENSITIVE = []
|
36021
|
+
include Aws::Structure
|
36022
|
+
end
|
36023
|
+
|
35709
36024
|
# Describes a launch template and overrides.
|
35710
36025
|
#
|
35711
36026
|
# @!attribute [rw] launch_template_specification
|
@@ -35771,6 +36086,10 @@ module Aws::EC2
|
|
35771
36086
|
#
|
35772
36087
|
# If you specify a maximum price, your instances will be interrupted
|
35773
36088
|
# more frequently than if you do not specify this parameter.
|
36089
|
+
#
|
36090
|
+
# If you specify a maximum price, it must be more than USD $0.001.
|
36091
|
+
# Specifying a value below USD $0.001 will result in an
|
36092
|
+
# `InvalidParameterValue` error message.
|
35774
36093
|
# @return [String]
|
35775
36094
|
#
|
35776
36095
|
# @!attribute [rw] subnet_id
|
@@ -35879,6 +36198,17 @@ module Aws::EC2
|
|
35879
36198
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
|
35880
36199
|
# @return [String]
|
35881
36200
|
#
|
36201
|
+
# @!attribute [rw] block_device_mappings
|
36202
|
+
# The block device mapping, which defines the EBS volumes and instance
|
36203
|
+
# store volumes to attach to the instance at launch. For more
|
36204
|
+
# information, see [Block device mappings for volumes on Amazon EC2
|
36205
|
+
# instances][1] in the *Amazon EC2 User Guide*.
|
36206
|
+
#
|
36207
|
+
#
|
36208
|
+
#
|
36209
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
|
36210
|
+
# @return [Array<Types::BlockDeviceMappingResponse>]
|
36211
|
+
#
|
35882
36212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateOverrides AWS API Documentation
|
35883
36213
|
#
|
35884
36214
|
class FleetLaunchTemplateOverrides < Struct.new(
|
@@ -35890,7 +36220,8 @@ module Aws::EC2
|
|
35890
36220
|
:priority,
|
35891
36221
|
:placement,
|
35892
36222
|
:instance_requirements,
|
35893
|
-
:image_id
|
36223
|
+
:image_id,
|
36224
|
+
:block_device_mappings)
|
35894
36225
|
SENSITIVE = []
|
35895
36226
|
include Aws::Structure
|
35896
36227
|
end
|
@@ -35916,6 +36247,10 @@ module Aws::EC2
|
|
35916
36247
|
#
|
35917
36248
|
# If you specify a maximum price, your instances will be interrupted
|
35918
36249
|
# more frequently than if you do not specify this parameter.
|
36250
|
+
#
|
36251
|
+
# If you specify a maximum price, it must be more than USD $0.001.
|
36252
|
+
# Specifying a value below USD $0.001 will result in an
|
36253
|
+
# `InvalidParameterValue` error message.
|
35919
36254
|
# @return [String]
|
35920
36255
|
#
|
35921
36256
|
# @!attribute [rw] subnet_id
|
@@ -35972,6 +36307,33 @@ module Aws::EC2
|
|
35972
36307
|
# The location where the instance launched, if applicable.
|
35973
36308
|
# @return [Types::Placement]
|
35974
36309
|
#
|
36310
|
+
# @!attribute [rw] block_device_mappings
|
36311
|
+
# The block device mapping, which defines the EBS volumes and instance
|
36312
|
+
# store volumes to attach to the instance at launch. For more
|
36313
|
+
# information, see [Block device mappings for volumes on Amazon EC2
|
36314
|
+
# instances][1] in the *Amazon EC2 User Guide*.
|
36315
|
+
#
|
36316
|
+
# To override a block device mapping specified in the launch template:
|
36317
|
+
#
|
36318
|
+
# * Specify the exact same `DeviceName` here as specified in the
|
36319
|
+
# launch template.
|
36320
|
+
#
|
36321
|
+
# * Only specify the parameters you want to change.
|
36322
|
+
#
|
36323
|
+
# * Any parameters you don't specify here will keep their original
|
36324
|
+
# launch template values.
|
36325
|
+
#
|
36326
|
+
# To add a new block device mapping:
|
36327
|
+
#
|
36328
|
+
# * Specify a `DeviceName` that doesn't exist in the launch template.
|
36329
|
+
#
|
36330
|
+
# * Specify all desired parameters here.
|
36331
|
+
#
|
36332
|
+
#
|
36333
|
+
#
|
36334
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
|
36335
|
+
# @return [Array<Types::FleetBlockDeviceMappingRequest>]
|
36336
|
+
#
|
35975
36337
|
# @!attribute [rw] instance_requirements
|
35976
36338
|
# The attributes for the instance types. When you specify instance
|
35977
36339
|
# attributes, Amazon EC2 will identify instance types with those
|
@@ -36037,6 +36399,7 @@ module Aws::EC2
|
|
36037
36399
|
:weighted_capacity,
|
36038
36400
|
:priority,
|
36039
36401
|
:placement,
|
36402
|
+
:block_device_mappings,
|
36040
36403
|
:instance_requirements,
|
36041
36404
|
:image_id)
|
36042
36405
|
SENSITIVE = []
|
@@ -44001,6 +44364,9 @@ module Aws::EC2
|
|
44001
44364
|
# * For instance types with Inference accelerators, specify
|
44002
44365
|
# `inference`.
|
44003
44366
|
#
|
44367
|
+
# * For instance types with Inference accelerators, specify
|
44368
|
+
# `inference`.
|
44369
|
+
#
|
44004
44370
|
# Default: Any accelerator type
|
44005
44371
|
# @return [Array<String>]
|
44006
44372
|
#
|
@@ -47684,7 +48050,7 @@ module Aws::EC2
|
|
47684
48050
|
#
|
47685
48051
|
# @!attribute [rw] amd_sev_snp
|
47686
48052
|
# Indicates whether the instance is enabled for AMD SEV-SNP. For more
|
47687
|
-
# information, see [AMD SEV-SNP][1].
|
48053
|
+
# information, see [AMD SEV-SNP for Amazon EC2 instances][1].
|
47688
48054
|
#
|
47689
48055
|
#
|
47690
48056
|
#
|
@@ -47717,7 +48083,7 @@ module Aws::EC2
|
|
47717
48083
|
# @!attribute [rw] amd_sev_snp
|
47718
48084
|
# Indicates whether to enable the instance for AMD SEV-SNP. AMD
|
47719
48085
|
# SEV-SNP is supported with M6a, R6a, and C6a instance types only. For
|
47720
|
-
# more information, see [AMD SEV-SNP][1].
|
48086
|
+
# more information, see [AMD SEV-SNP for Amazon EC2 instances][1].
|
47721
48087
|
#
|
47722
48088
|
#
|
47723
48089
|
#
|
@@ -47822,7 +48188,7 @@ module Aws::EC2
|
|
47822
48188
|
#
|
47823
48189
|
#
|
47824
48190
|
#
|
47825
|
-
# [1]: https://docs.aws.amazon.com/
|
48191
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html
|
47826
48192
|
# @return [Integer]
|
47827
48193
|
#
|
47828
48194
|
# @!attribute [rw] kms_key_id
|
@@ -48005,9 +48371,8 @@ module Aws::EC2
|
|
48005
48371
|
end
|
48006
48372
|
|
48007
48373
|
# Indicates whether the instance is enabled for Amazon Web Services
|
48008
|
-
# Nitro Enclaves. For more information, see [What is
|
48009
|
-
#
|
48010
|
-
# Guide*.
|
48374
|
+
# Nitro Enclaves. For more information, see [What is Nitro Enclaves?][1]
|
48375
|
+
# in the *Amazon Web Services Nitro Enclaves User Guide*.
|
48011
48376
|
#
|
48012
48377
|
#
|
48013
48378
|
#
|
@@ -48175,8 +48540,9 @@ module Aws::EC2
|
|
48175
48540
|
include Aws::Structure
|
48176
48541
|
end
|
48177
48542
|
|
48178
|
-
# The metadata options for the instance. For more information, see
|
48179
|
-
#
|
48543
|
+
# The metadata options for the instance. For more information, see [Use
|
48544
|
+
# instance metadata to manage your EC2 instance][1] in the *Amazon EC2
|
48545
|
+
# User Guide*.
|
48180
48546
|
#
|
48181
48547
|
#
|
48182
48548
|
#
|
@@ -48238,14 +48604,14 @@ module Aws::EC2
|
|
48238
48604
|
# @!attribute [rw] instance_metadata_tags
|
48239
48605
|
# Set to `enabled` to allow access to instance tags from the instance
|
48240
48606
|
# metadata. Set to `disabled` to turn off access to instance tags from
|
48241
|
-
# the instance metadata. For more information, see [
|
48242
|
-
#
|
48607
|
+
# the instance metadata. For more information, see [View tags for your
|
48608
|
+
# EC2 instances using instance metadata][1].
|
48243
48609
|
#
|
48244
48610
|
# Default: `disabled`
|
48245
48611
|
#
|
48246
48612
|
#
|
48247
48613
|
#
|
48248
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
48614
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html
|
48249
48615
|
# @return [String]
|
48250
48616
|
#
|
48251
48617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMetadataOptions AWS API Documentation
|
@@ -48261,8 +48627,9 @@ module Aws::EC2
|
|
48261
48627
|
include Aws::Structure
|
48262
48628
|
end
|
48263
48629
|
|
48264
|
-
# The metadata options for the instance. For more information, see
|
48265
|
-
#
|
48630
|
+
# The metadata options for the instance. For more information, see [Use
|
48631
|
+
# instance metadata to manage your EC2 instance][1] in the *Amazon EC2
|
48632
|
+
# User Guide*.
|
48266
48633
|
#
|
48267
48634
|
#
|
48268
48635
|
#
|
@@ -48317,14 +48684,14 @@ module Aws::EC2
|
|
48317
48684
|
# @!attribute [rw] instance_metadata_tags
|
48318
48685
|
# Set to `enabled` to allow access to instance tags from the instance
|
48319
48686
|
# metadata. Set to `disabled` to turn off access to instance tags from
|
48320
|
-
# the instance metadata. For more information, see [
|
48321
|
-
#
|
48687
|
+
# the instance metadata. For more information, see [View tags for your
|
48688
|
+
# EC2 instances using instance metadata][1].
|
48322
48689
|
#
|
48323
48690
|
# Default: `disabled`
|
48324
48691
|
#
|
48325
48692
|
#
|
48326
48693
|
#
|
48327
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
48694
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html
|
48328
48695
|
# @return [String]
|
48329
48696
|
#
|
48330
48697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMetadataOptionsRequest AWS API Documentation
|
@@ -48348,7 +48715,7 @@ module Aws::EC2
|
|
48348
48715
|
# Use this option when you launch an instance in a Wavelength Zone and
|
48349
48716
|
# want to associate a Carrier IP address with the network interface.
|
48350
48717
|
# For more information about Carrier IP addresses, see [Carrier IP
|
48351
|
-
#
|
48718
|
+
# address][1] in the *Wavelength Developer Guide*.
|
48352
48719
|
#
|
48353
48720
|
#
|
48354
48721
|
#
|
@@ -48552,7 +48919,8 @@ module Aws::EC2
|
|
48552
48919
|
# @!attribute [rw] interface_type
|
48553
48920
|
# The type of network interface. To create an Elastic Fabric Adapter
|
48554
48921
|
# (EFA), specify `efa` or `efa`. For more information, see [Elastic
|
48555
|
-
# Fabric Adapter][1] in the
|
48922
|
+
# Fabric Adapter for AI/ML and HPC workloads on Amazon EC2][1] in the
|
48923
|
+
# *Amazon EC2 User Guide*.
|
48556
48924
|
#
|
48557
48925
|
# If you are not creating an EFA, specify `interface` or omit this
|
48558
48926
|
# parameter.
|
@@ -49070,14 +49438,13 @@ module Aws::EC2
|
|
49070
49438
|
# The options for Spot Instances.
|
49071
49439
|
#
|
49072
49440
|
# @!attribute [rw] max_price
|
49073
|
-
# The maximum hourly price you're willing to pay for
|
49074
|
-
#
|
49075
|
-
#
|
49076
|
-
#
|
49077
|
-
#
|
49078
|
-
#
|
49079
|
-
#
|
49080
|
-
# parameter.
|
49441
|
+
# The maximum hourly price you're willing to pay for a Spot Instance.
|
49442
|
+
# We do not recommend using this parameter because it can lead to
|
49443
|
+
# increased interruptions. If you do not specify this parameter, you
|
49444
|
+
# will pay the current Spot price. If you do specify this parameter,
|
49445
|
+
# it must be more than USD $0.001. Specifying a value below USD $0.001
|
49446
|
+
# will result in an `InvalidParameterValue` error message when the
|
49447
|
+
# launch template is used to launch an instance.
|
49081
49448
|
# @return [String]
|
49082
49449
|
#
|
49083
49450
|
# @!attribute [rw] spot_instance_type
|
@@ -49116,10 +49483,13 @@ module Aws::EC2
|
|
49116
49483
|
# The options for Spot Instances.
|
49117
49484
|
#
|
49118
49485
|
# @!attribute [rw] max_price
|
49119
|
-
# The maximum hourly price you're willing to pay for
|
49120
|
-
#
|
49121
|
-
#
|
49122
|
-
#
|
49486
|
+
# The maximum hourly price you're willing to pay for a Spot Instance.
|
49487
|
+
# We do not recommend using this parameter because it can lead to
|
49488
|
+
# increased interruptions. If you do not specify this parameter, you
|
49489
|
+
# will pay the current Spot price. If you do specify this parameter,
|
49490
|
+
# it must be more than USD $0.001. Specifying a value below USD $0.001
|
49491
|
+
# will result in an `InvalidParameterValue` error message when the
|
49492
|
+
# launch template is used to launch an instance.
|
49123
49493
|
#
|
49124
49494
|
# If you specify a maximum price, your Spot Instances will be
|
49125
49495
|
# interrupted more frequently than if you do not specify this
|
@@ -52451,7 +52821,7 @@ module Aws::EC2
|
|
52451
52821
|
# @!attribute [rw] client_token
|
52452
52822
|
# Unique, case-sensitive identifier you provide to ensure the
|
52453
52823
|
# idempotency of the request. For more information, see [Ensuring
|
52454
|
-
# idempotency][1].
|
52824
|
+
# idempotency in Amazon EC2 API requests][1].
|
52455
52825
|
#
|
52456
52826
|
# Constraint: Maximum 128 ASCII characters.
|
52457
52827
|
#
|
@@ -60865,11 +61235,11 @@ module Aws::EC2
|
|
60865
61235
|
#
|
60866
61236
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
60867
61237
|
# For more information, see [User provided kernels][1] in the *Amazon
|
60868
|
-
#
|
61238
|
+
# Linux 2 User Guide*.
|
60869
61239
|
#
|
60870
61240
|
#
|
60871
61241
|
#
|
60872
|
-
# [1]: https://docs.aws.amazon.com/
|
61242
|
+
# [1]: https://docs.aws.amazon.com/linux/al2/ug/UserProvidedKernels.html
|
60873
61243
|
# @return [String]
|
60874
61244
|
#
|
60875
61245
|
# @!attribute [rw] ebs_optimized
|
@@ -61008,8 +61378,8 @@ module Aws::EC2
|
|
61008
61378
|
# @!attribute [rw] user_data
|
61009
61379
|
# The user data to make available to the instance. You must provide
|
61010
61380
|
# base64-encoded text. User data is limited to 16 KB. For more
|
61011
|
-
# information, see [Run commands
|
61012
|
-
#
|
61381
|
+
# information, see [Run commands when you launch an EC2 instance with
|
61382
|
+
# user data input][1] in the *Amazon EC2 User Guide*.
|
61013
61383
|
#
|
61014
61384
|
# If you are creating the launch template for use with Batch, the user
|
61015
61385
|
# data must be provided in the [MIME multi-part archive format][2].
|
@@ -61020,7 +61390,7 @@ module Aws::EC2
|
|
61020
61390
|
#
|
61021
61391
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
61022
61392
|
# [2]: https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive
|
61023
|
-
# [3]: https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html
|
61393
|
+
# [3]: https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html#lt-user-data
|
61024
61394
|
# @return [String]
|
61025
61395
|
#
|
61026
61396
|
# @!attribute [rw] tag_specifications
|
@@ -61091,8 +61461,8 @@ module Aws::EC2
|
|
61091
61461
|
# @return [Types::CreditSpecificationRequest]
|
61092
61462
|
#
|
61093
61463
|
# @!attribute [rw] cpu_options
|
61094
|
-
# The CPU options for the instance. For more information, see
|
61095
|
-
#
|
61464
|
+
# The CPU options for the instance. For more information, see [CPU
|
61465
|
+
# options for Amazon EC2 instances][1] in the *Amazon EC2 User Guide*.
|
61096
61466
|
#
|
61097
61467
|
#
|
61098
61468
|
#
|
@@ -61125,18 +61495,19 @@ module Aws::EC2
|
|
61125
61495
|
#
|
61126
61496
|
# @!attribute [rw] metadata_options
|
61127
61497
|
# The metadata options for the instance. For more information, see
|
61128
|
-
# [Instance
|
61498
|
+
# [Configure the Instance Metadata Service options][1] in the *Amazon
|
61499
|
+
# EC2 User Guide*.
|
61129
61500
|
#
|
61130
61501
|
#
|
61131
61502
|
#
|
61132
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
61503
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
61133
61504
|
# @return [Types::LaunchTemplateInstanceMetadataOptionsRequest]
|
61134
61505
|
#
|
61135
61506
|
# @!attribute [rw] enclave_options
|
61136
61507
|
# Indicates whether the instance is enabled for Amazon Web Services
|
61137
|
-
# Nitro Enclaves. For more information, see [What is
|
61138
|
-
#
|
61139
|
-
#
|
61508
|
+
# Nitro Enclaves. For more information, see [What is Nitro
|
61509
|
+
# Enclaves?][1] in the *Amazon Web Services Nitro Enclaves User
|
61510
|
+
# Guide*.
|
61140
61511
|
#
|
61141
61512
|
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
61142
61513
|
# on the same instance.
|
@@ -61207,8 +61578,8 @@ module Aws::EC2
|
|
61207
61578
|
#
|
61208
61579
|
# @!attribute [rw] disable_api_stop
|
61209
61580
|
# Indicates whether to enable the instance for stop protection. For
|
61210
|
-
# more information, see [Enable stop protection for your
|
61211
|
-
# in the *Amazon EC2 User Guide*.
|
61581
|
+
# more information, see [Enable stop protection for your EC2
|
61582
|
+
# instances][1] in the *Amazon EC2 User Guide*.
|
61212
61583
|
#
|
61213
61584
|
#
|
61214
61585
|
#
|
@@ -62458,7 +62829,7 @@ module Aws::EC2
|
|
62458
62829
|
#
|
62459
62830
|
#
|
62460
62831
|
#
|
62461
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
62832
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
|
62462
62833
|
# @return [String]
|
62463
62834
|
#
|
62464
62835
|
# @!attribute [rw] instance_type
|
@@ -62554,8 +62925,8 @@ module Aws::EC2
|
|
62554
62925
|
# @return [Types::CreditSpecification]
|
62555
62926
|
#
|
62556
62927
|
# @!attribute [rw] cpu_options
|
62557
|
-
# The CPU options for the instance. For more information, see
|
62558
|
-
#
|
62928
|
+
# The CPU options for the instance. For more information, see [CPU
|
62929
|
+
# options for Amazon EC2 instances][1] in the *Amazon EC2 User Guide*.
|
62559
62930
|
#
|
62560
62931
|
#
|
62561
62932
|
#
|
@@ -62582,11 +62953,12 @@ module Aws::EC2
|
|
62582
62953
|
#
|
62583
62954
|
# @!attribute [rw] metadata_options
|
62584
62955
|
# The metadata options for the instance. For more information, see
|
62585
|
-
# [Instance
|
62956
|
+
# [Configure the Instance Metadata Service options][1] in the *Amazon
|
62957
|
+
# EC2 User Guide*.
|
62586
62958
|
#
|
62587
62959
|
#
|
62588
62960
|
#
|
62589
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
62961
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
62590
62962
|
# @return [Types::LaunchTemplateInstanceMetadataOptions]
|
62591
62963
|
#
|
62592
62964
|
# @!attribute [rw] enclave_options
|
@@ -62613,8 +62985,8 @@ module Aws::EC2
|
|
62613
62985
|
#
|
62614
62986
|
# @!attribute [rw] disable_api_stop
|
62615
62987
|
# Indicates whether the instance is enabled for stop protection. For
|
62616
|
-
# more information, see [Enable stop protection for your
|
62617
|
-
# in the *Amazon EC2 User Guide*.
|
62988
|
+
# more information, see [Enable stop protection for your EC2
|
62989
|
+
# instances][1] in the *Amazon EC2 User Guide*.
|
62618
62990
|
#
|
62619
62991
|
#
|
62620
62992
|
#
|