aws-sdk-ec2 1.506.0 → 1.509.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.
@@ -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
@@ -7137,6 +7169,23 @@ module Aws::EC2
7137
7169
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
7138
7170
  # @return [Array<Types::TagSpecification>]
7139
7171
  #
7172
+ # @!attribute [rw] snapshot_copy_completion_duration_minutes
7173
+ # Specify a completion duration, in 15 minute increments, to initiate
7174
+ # a time-based AMI copy. The specified completion duration applies to
7175
+ # each of the snapshots associated with the AMI. Each snapshot
7176
+ # associated with the AMI will be completed within the specified
7177
+ # completion duration, regardless of their size.
7178
+ #
7179
+ # If you do not specify a value, the AMI copy operation is completed
7180
+ # on a best-effort basis.
7181
+ #
7182
+ # For more information, see [ Time-based copies][1].
7183
+ #
7184
+ #
7185
+ #
7186
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/time-based-copies.html
7187
+ # @return [Integer]
7188
+ #
7140
7189
  # @!attribute [rw] dry_run
7141
7190
  # Checks whether you have the required permissions for the action,
7142
7191
  # without actually making the request, and provides an error response.
@@ -7157,6 +7206,7 @@ module Aws::EC2
7157
7206
  :destination_outpost_arn,
7158
7207
  :copy_image_tags,
7159
7208
  :tag_specifications,
7209
+ :snapshot_copy_completion_duration_minutes,
7160
7210
  :dry_run)
7161
7211
  SENSITIVE = []
7162
7212
  include Aws::Structure
@@ -10043,7 +10093,7 @@ module Aws::EC2
10043
10093
  #
10044
10094
  #
10045
10095
  #
10046
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
10096
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
10047
10097
  # @return [Boolean]
10048
10098
  #
10049
10099
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersionRequest AWS API Documentation
@@ -13051,7 +13101,8 @@ module Aws::EC2
13051
13101
  # @return [String]
13052
13102
  #
13053
13103
  # @!attribute [rw] subnet_ids
13054
- # The IDs of the subnets.
13104
+ # The IDs of the subnets. You can specify only one subnet per
13105
+ # Availability Zone.
13055
13106
  # @return [Array<String>]
13056
13107
  #
13057
13108
  # @!attribute [rw] port_ranges
@@ -13116,7 +13167,8 @@ module Aws::EC2
13116
13167
  # @return [String]
13117
13168
  #
13118
13169
  # @!attribute [rw] subnet_ids
13119
- # The IDs of the subnets.
13170
+ # The IDs of the subnets. You can specify only one subnet per
13171
+ # Availability Zone.
13120
13172
  # @return [Array<String>]
13121
13173
  #
13122
13174
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVerifiedAccessEndpointRdsOptions AWS API Documentation
@@ -17613,6 +17665,10 @@ module Aws::EC2
17613
17665
  include Aws::Structure
17614
17666
  end
17615
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
+
17616
17672
  # @!attribute [rw] dry_run
17617
17673
  # Checks whether you have the required permissions for the action,
17618
17674
  # without actually making the request, and provides an error response.
@@ -23488,7 +23544,7 @@ module Aws::EC2
23488
23544
  #
23489
23545
  #
23490
23546
  #
23491
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
23547
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
23492
23548
  # @return [Boolean]
23493
23549
  #
23494
23550
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersionsRequest AWS API Documentation
@@ -32627,6 +32683,65 @@ module Aws::EC2
32627
32683
  include Aws::Structure
32628
32684
  end
32629
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
+
32630
32745
  # Describes the Amazon EBS features supported by the instance type.
32631
32746
  #
32632
32747
  # @!attribute [rw] ebs_optimized_support
@@ -35438,6 +35553,69 @@ module Aws::EC2
35438
35553
  include Aws::Structure
35439
35554
  end
35440
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
+
35441
35619
  # Information about a Capacity Reservation in a Capacity Reservation
35442
35620
  # Fleet.
35443
35621
  #
@@ -35686,6 +35864,163 @@ module Aws::EC2
35686
35864
  include Aws::Structure
35687
35865
  end
35688
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
+
35689
36024
  # Describes a launch template and overrides.
35690
36025
  #
35691
36026
  # @!attribute [rw] launch_template_specification
@@ -35751,6 +36086,10 @@ module Aws::EC2
35751
36086
  #
35752
36087
  # If you specify a maximum price, your instances will be interrupted
35753
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.
35754
36093
  # @return [String]
35755
36094
  #
35756
36095
  # @!attribute [rw] subnet_id
@@ -35859,6 +36198,17 @@ module Aws::EC2
35859
36198
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
35860
36199
  # @return [String]
35861
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
+ #
35862
36212
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateOverrides AWS API Documentation
35863
36213
  #
35864
36214
  class FleetLaunchTemplateOverrides < Struct.new(
@@ -35870,7 +36220,8 @@ module Aws::EC2
35870
36220
  :priority,
35871
36221
  :placement,
35872
36222
  :instance_requirements,
35873
- :image_id)
36223
+ :image_id,
36224
+ :block_device_mappings)
35874
36225
  SENSITIVE = []
35875
36226
  include Aws::Structure
35876
36227
  end
@@ -35896,6 +36247,10 @@ module Aws::EC2
35896
36247
  #
35897
36248
  # If you specify a maximum price, your instances will be interrupted
35898
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.
35899
36254
  # @return [String]
35900
36255
  #
35901
36256
  # @!attribute [rw] subnet_id
@@ -35952,6 +36307,33 @@ module Aws::EC2
35952
36307
  # The location where the instance launched, if applicable.
35953
36308
  # @return [Types::Placement]
35954
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
+ #
35955
36337
  # @!attribute [rw] instance_requirements
35956
36338
  # The attributes for the instance types. When you specify instance
35957
36339
  # attributes, Amazon EC2 will identify instance types with those
@@ -36017,6 +36399,7 @@ module Aws::EC2
36017
36399
  :weighted_capacity,
36018
36400
  :priority,
36019
36401
  :placement,
36402
+ :block_device_mappings,
36020
36403
  :instance_requirements,
36021
36404
  :image_id)
36022
36405
  SENSITIVE = []
@@ -43981,6 +44364,9 @@ module Aws::EC2
43981
44364
  # * For instance types with Inference accelerators, specify
43982
44365
  # `inference`.
43983
44366
  #
44367
+ # * For instance types with Inference accelerators, specify
44368
+ # `inference`.
44369
+ #
43984
44370
  # Default: Any accelerator type
43985
44371
  # @return [Array<String>]
43986
44372
  #
@@ -47664,7 +48050,7 @@ module Aws::EC2
47664
48050
  #
47665
48051
  # @!attribute [rw] amd_sev_snp
47666
48052
  # Indicates whether the instance is enabled for AMD SEV-SNP. For more
47667
- # information, see [AMD SEV-SNP][1].
48053
+ # information, see [AMD SEV-SNP for Amazon EC2 instances][1].
47668
48054
  #
47669
48055
  #
47670
48056
  #
@@ -47697,7 +48083,7 @@ module Aws::EC2
47697
48083
  # @!attribute [rw] amd_sev_snp
47698
48084
  # Indicates whether to enable the instance for AMD SEV-SNP. AMD
47699
48085
  # SEV-SNP is supported with M6a, R6a, and C6a instance types only. For
47700
- # more information, see [AMD SEV-SNP][1].
48086
+ # more information, see [AMD SEV-SNP for Amazon EC2 instances][1].
47701
48087
  #
47702
48088
  #
47703
48089
  #
@@ -47802,7 +48188,7 @@ module Aws::EC2
47802
48188
  #
47803
48189
  #
47804
48190
  #
47805
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
48191
+ # [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html
47806
48192
  # @return [Integer]
47807
48193
  #
47808
48194
  # @!attribute [rw] kms_key_id
@@ -47985,9 +48371,8 @@ module Aws::EC2
47985
48371
  end
47986
48372
 
47987
48373
  # Indicates whether the instance is enabled for Amazon Web Services
47988
- # Nitro Enclaves. For more information, see [What is Amazon Web Services
47989
- # Nitro Enclaves?][1] in the *Amazon Web Services Nitro Enclaves User
47990
- # Guide*.
48374
+ # Nitro Enclaves. For more information, see [What is Nitro Enclaves?][1]
48375
+ # in the *Amazon Web Services Nitro Enclaves User Guide*.
47991
48376
  #
47992
48377
  #
47993
48378
  #
@@ -48155,8 +48540,9 @@ module Aws::EC2
48155
48540
  include Aws::Structure
48156
48541
  end
48157
48542
 
48158
- # The metadata options for the instance. For more information, see
48159
- # [Instance metadata and user data][1] in the *Amazon EC2 User Guide*.
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*.
48160
48546
  #
48161
48547
  #
48162
48548
  #
@@ -48218,14 +48604,14 @@ module Aws::EC2
48218
48604
  # @!attribute [rw] instance_metadata_tags
48219
48605
  # Set to `enabled` to allow access to instance tags from the instance
48220
48606
  # metadata. Set to `disabled` to turn off access to instance tags from
48221
- # the instance metadata. For more information, see [Work with instance
48222
- # tags using the instance metadata][1].
48607
+ # the instance metadata. For more information, see [View tags for your
48608
+ # EC2 instances using instance metadata][1].
48223
48609
  #
48224
48610
  # Default: `disabled`
48225
48611
  #
48226
48612
  #
48227
48613
  #
48228
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS
48614
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html
48229
48615
  # @return [String]
48230
48616
  #
48231
48617
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMetadataOptions AWS API Documentation
@@ -48241,8 +48627,9 @@ module Aws::EC2
48241
48627
  include Aws::Structure
48242
48628
  end
48243
48629
 
48244
- # The metadata options for the instance. For more information, see
48245
- # [Instance metadata and user data][1] in the *Amazon EC2 User Guide*.
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*.
48246
48633
  #
48247
48634
  #
48248
48635
  #
@@ -48297,14 +48684,14 @@ module Aws::EC2
48297
48684
  # @!attribute [rw] instance_metadata_tags
48298
48685
  # Set to `enabled` to allow access to instance tags from the instance
48299
48686
  # metadata. Set to `disabled` to turn off access to instance tags from
48300
- # the instance metadata. For more information, see [Work with instance
48301
- # tags using the instance metadata][1].
48687
+ # the instance metadata. For more information, see [View tags for your
48688
+ # EC2 instances using instance metadata][1].
48302
48689
  #
48303
48690
  # Default: `disabled`
48304
48691
  #
48305
48692
  #
48306
48693
  #
48307
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS
48694
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/work-with-tags-in-IMDS.html
48308
48695
  # @return [String]
48309
48696
  #
48310
48697
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMetadataOptionsRequest AWS API Documentation
@@ -48328,7 +48715,7 @@ module Aws::EC2
48328
48715
  # Use this option when you launch an instance in a Wavelength Zone and
48329
48716
  # want to associate a Carrier IP address with the network interface.
48330
48717
  # For more information about Carrier IP addresses, see [Carrier IP
48331
- # addresses][1] in the *Wavelength Developer Guide*.
48718
+ # address][1] in the *Wavelength Developer Guide*.
48332
48719
  #
48333
48720
  #
48334
48721
  #
@@ -48532,7 +48919,8 @@ module Aws::EC2
48532
48919
  # @!attribute [rw] interface_type
48533
48920
  # The type of network interface. To create an Elastic Fabric Adapter
48534
48921
  # (EFA), specify `efa` or `efa`. For more information, see [Elastic
48535
- # Fabric Adapter][1] in the *Amazon EC2 User Guide*.
48922
+ # Fabric Adapter for AI/ML and HPC workloads on Amazon EC2][1] in the
48923
+ # *Amazon EC2 User Guide*.
48536
48924
  #
48537
48925
  # If you are not creating an EFA, specify `interface` or omit this
48538
48926
  # parameter.
@@ -49050,14 +49438,13 @@ module Aws::EC2
49050
49438
  # The options for Spot Instances.
49051
49439
  #
49052
49440
  # @!attribute [rw] max_price
49053
- # The maximum hourly price you're willing to pay for the Spot
49054
- # Instances. We do not recommend using this parameter because it can
49055
- # lead to increased interruptions. If you do not specify this
49056
- # parameter, you will pay the current Spot price.
49057
- #
49058
- # If you specify a maximum price, your Spot Instances will be
49059
- # interrupted more frequently than if you do not specify this
49060
- # 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.
49061
49448
  # @return [String]
49062
49449
  #
49063
49450
  # @!attribute [rw] spot_instance_type
@@ -49096,10 +49483,13 @@ module Aws::EC2
49096
49483
  # The options for Spot Instances.
49097
49484
  #
49098
49485
  # @!attribute [rw] max_price
49099
- # The maximum hourly price you're willing to pay for the Spot
49100
- # Instances. We do not recommend using this parameter because it can
49101
- # lead to increased interruptions. If you do not specify this
49102
- # parameter, you will pay the current Spot price.
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.
49103
49493
  #
49104
49494
  # If you specify a maximum price, your Spot Instances will be
49105
49495
  # interrupted more frequently than if you do not specify this
@@ -52431,7 +52821,7 @@ module Aws::EC2
52431
52821
  # @!attribute [rw] client_token
52432
52822
  # Unique, case-sensitive identifier you provide to ensure the
52433
52823
  # idempotency of the request. For more information, see [Ensuring
52434
- # idempotency][1].
52824
+ # idempotency in Amazon EC2 API requests][1].
52435
52825
  #
52436
52826
  # Constraint: Maximum 128 ASCII characters.
52437
52827
  #
@@ -60845,11 +61235,11 @@ module Aws::EC2
60845
61235
  #
60846
61236
  # We recommend that you use PV-GRUB instead of kernels and RAM disks.
60847
61237
  # For more information, see [User provided kernels][1] in the *Amazon
60848
- # EC2 User Guide*.
61238
+ # Linux 2 User Guide*.
60849
61239
  #
60850
61240
  #
60851
61241
  #
60852
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
61242
+ # [1]: https://docs.aws.amazon.com/linux/al2/ug/UserProvidedKernels.html
60853
61243
  # @return [String]
60854
61244
  #
60855
61245
  # @!attribute [rw] ebs_optimized
@@ -60988,8 +61378,8 @@ module Aws::EC2
60988
61378
  # @!attribute [rw] user_data
60989
61379
  # The user data to make available to the instance. You must provide
60990
61380
  # base64-encoded text. User data is limited to 16 KB. For more
60991
- # information, see [Run commands on your Amazon EC2 instance at
60992
- # launch][1] in the *Amazon EC2 User Guide*.
61381
+ # information, see [Run commands when you launch an EC2 instance with
61382
+ # user data input][1] in the *Amazon EC2 User Guide*.
60993
61383
  #
60994
61384
  # If you are creating the launch template for use with Batch, the user
60995
61385
  # data must be provided in the [MIME multi-part archive format][2].
@@ -61000,7 +61390,7 @@ module Aws::EC2
61000
61390
  #
61001
61391
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
61002
61392
  # [2]: https://cloudinit.readthedocs.io/en/latest/topics/format.html#mime-multi-part-archive
61003
- # [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
61004
61394
  # @return [String]
61005
61395
  #
61006
61396
  # @!attribute [rw] tag_specifications
@@ -61071,8 +61461,8 @@ module Aws::EC2
61071
61461
  # @return [Types::CreditSpecificationRequest]
61072
61462
  #
61073
61463
  # @!attribute [rw] cpu_options
61074
- # The CPU options for the instance. For more information, see
61075
- # [Optimize CPU options][1] in the *Amazon EC2 User Guide*.
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*.
61076
61466
  #
61077
61467
  #
61078
61468
  #
@@ -61105,18 +61495,19 @@ module Aws::EC2
61105
61495
  #
61106
61496
  # @!attribute [rw] metadata_options
61107
61497
  # The metadata options for the instance. For more information, see
61108
- # [Instance metadata and user data][1] in the *Amazon EC2 User Guide*.
61498
+ # [Configure the Instance Metadata Service options][1] in the *Amazon
61499
+ # EC2 User Guide*.
61109
61500
  #
61110
61501
  #
61111
61502
  #
61112
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
61503
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
61113
61504
  # @return [Types::LaunchTemplateInstanceMetadataOptionsRequest]
61114
61505
  #
61115
61506
  # @!attribute [rw] enclave_options
61116
61507
  # Indicates whether the instance is enabled for Amazon Web Services
61117
- # Nitro Enclaves. For more information, see [What is Amazon Web
61118
- # Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
61119
- # Enclaves User Guide*.
61508
+ # Nitro Enclaves. For more information, see [What is Nitro
61509
+ # Enclaves?][1] in the *Amazon Web Services Nitro Enclaves User
61510
+ # Guide*.
61120
61511
  #
61121
61512
  # You can't enable Amazon Web Services Nitro Enclaves and hibernation
61122
61513
  # on the same instance.
@@ -61187,8 +61578,8 @@ module Aws::EC2
61187
61578
  #
61188
61579
  # @!attribute [rw] disable_api_stop
61189
61580
  # Indicates whether to enable the instance for stop protection. For
61190
- # more information, see [Enable stop protection for your instance][1]
61191
- # 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*.
61192
61583
  #
61193
61584
  #
61194
61585
  #
@@ -62438,7 +62829,7 @@ module Aws::EC2
62438
62829
  #
62439
62830
  #
62440
62831
  #
62441
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#use-an-ssm-parameter-instead-of-an-ami-id
62832
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
62442
62833
  # @return [String]
62443
62834
  #
62444
62835
  # @!attribute [rw] instance_type
@@ -62534,8 +62925,8 @@ module Aws::EC2
62534
62925
  # @return [Types::CreditSpecification]
62535
62926
  #
62536
62927
  # @!attribute [rw] cpu_options
62537
- # The CPU options for the instance. For more information, see
62538
- # [Optimize CPU options][1] in the *Amazon EC2 User Guide*.
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*.
62539
62930
  #
62540
62931
  #
62541
62932
  #
@@ -62562,11 +62953,12 @@ module Aws::EC2
62562
62953
  #
62563
62954
  # @!attribute [rw] metadata_options
62564
62955
  # The metadata options for the instance. For more information, see
62565
- # [Instance metadata and user data][1] in the *Amazon EC2 User Guide*.
62956
+ # [Configure the Instance Metadata Service options][1] in the *Amazon
62957
+ # EC2 User Guide*.
62566
62958
  #
62567
62959
  #
62568
62960
  #
62569
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
62961
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
62570
62962
  # @return [Types::LaunchTemplateInstanceMetadataOptions]
62571
62963
  #
62572
62964
  # @!attribute [rw] enclave_options
@@ -62593,8 +62985,8 @@ module Aws::EC2
62593
62985
  #
62594
62986
  # @!attribute [rw] disable_api_stop
62595
62987
  # Indicates whether the instance is enabled for stop protection. For
62596
- # more information, see [Enable stop protection for your instance][1]
62597
- # 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*.
62598
62990
  #
62599
62991
  #
62600
62992
  #
@@ -65087,11 +65479,6 @@ module Aws::EC2
65087
65479
  # @return [String]
65088
65480
  #
65089
65481
  # @!attribute [rw] transit_gateway_id
65090
- # <note markdown="1"> This parameter is in preview and may not be available for your
65091
- # account.
65092
- #
65093
- # </note>
65094
- #
65095
65482
  # The ID of the transit gateway (if applicable).
65096
65483
  # @return [String]
65097
65484
  #
@@ -73100,6 +73487,9 @@ module Aws::EC2
73100
73487
  # Indicates whether the VPC is the default VPC.
73101
73488
  # @return [Boolean]
73102
73489
  #
73490
+ # @!attribute [rw] encryption_control
73491
+ # @return [Types::VpcEncryptionControl]
73492
+ #
73103
73493
  # @!attribute [rw] tags
73104
73494
  # Any tags assigned to the VPC.
73105
73495
  # @return [Array<Types::Tag>]
@@ -73132,6 +73522,7 @@ module Aws::EC2
73132
73522
  :ipv_6_cidr_block_association_set,
73133
73523
  :cidr_block_association_set,
73134
73524
  :is_default,
73525
+ :encryption_control,
73135
73526
  :tags,
73136
73527
  :block_public_access_states,
73137
73528
  :vpc_id,
@@ -73391,6 +73782,83 @@ module Aws::EC2
73391
73782
  include Aws::Structure
73392
73783
  end
73393
73784
 
73785
+ # @!attribute [rw] vpc_id
73786
+ # @return [String]
73787
+ #
73788
+ # @!attribute [rw] vpc_encryption_control_id
73789
+ # @return [String]
73790
+ #
73791
+ # @!attribute [rw] mode
73792
+ # @return [String]
73793
+ #
73794
+ # @!attribute [rw] state
73795
+ # @return [String]
73796
+ #
73797
+ # @!attribute [rw] state_message
73798
+ # @return [String]
73799
+ #
73800
+ # @!attribute [rw] resource_exclusions
73801
+ # @return [Types::VpcEncryptionControlExclusions]
73802
+ #
73803
+ # @!attribute [rw] tags
73804
+ # @return [Array<Types::Tag>]
73805
+ #
73806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEncryptionControl AWS API Documentation
73807
+ #
73808
+ class VpcEncryptionControl < Struct.new(
73809
+ :vpc_id,
73810
+ :vpc_encryption_control_id,
73811
+ :mode,
73812
+ :state,
73813
+ :state_message,
73814
+ :resource_exclusions,
73815
+ :tags)
73816
+ SENSITIVE = []
73817
+ include Aws::Structure
73818
+ end
73819
+
73820
+ # @!attribute [rw] state
73821
+ # @return [String]
73822
+ #
73823
+ # @!attribute [rw] state_message
73824
+ # @return [String]
73825
+ #
73826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEncryptionControlExclusion AWS API Documentation
73827
+ #
73828
+ class VpcEncryptionControlExclusion < Struct.new(
73829
+ :state,
73830
+ :state_message)
73831
+ SENSITIVE = []
73832
+ include Aws::Structure
73833
+ end
73834
+
73835
+ # @!attribute [rw] internet_gateway
73836
+ # @return [Types::VpcEncryptionControlExclusion]
73837
+ #
73838
+ # @!attribute [rw] egress_only_internet_gateway
73839
+ # @return [Types::VpcEncryptionControlExclusion]
73840
+ #
73841
+ # @!attribute [rw] nat_gateway
73842
+ # @return [Types::VpcEncryptionControlExclusion]
73843
+ #
73844
+ # @!attribute [rw] virtual_private_gateway
73845
+ # @return [Types::VpcEncryptionControlExclusion]
73846
+ #
73847
+ # @!attribute [rw] vpc_peering
73848
+ # @return [Types::VpcEncryptionControlExclusion]
73849
+ #
73850
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpcEncryptionControlExclusions AWS API Documentation
73851
+ #
73852
+ class VpcEncryptionControlExclusions < Struct.new(
73853
+ :internet_gateway,
73854
+ :egress_only_internet_gateway,
73855
+ :nat_gateway,
73856
+ :virtual_private_gateway,
73857
+ :vpc_peering)
73858
+ SENSITIVE = []
73859
+ include Aws::Structure
73860
+ end
73861
+
73394
73862
  # Describes a VPC endpoint.
73395
73863
  #
73396
73864
  # @!attribute [rw] vpc_endpoint_id