aws-sdk-ec2 1.334.0 → 1.336.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1496,6 +1496,14 @@ module Aws::EC2
1496
1496
  # The ID of a VPC peering connection.
1497
1497
  # @return [String]
1498
1498
  #
1499
+ # @!attribute [rw] state
1500
+ # The state. The following are the possible values:
1501
+ #
1502
+ # * active
1503
+ #
1504
+ # * blackhole
1505
+ # @return [String]
1506
+ #
1499
1507
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AnalysisRouteTableRoute AWS API Documentation
1500
1508
  #
1501
1509
  class AnalysisRouteTableRoute < Struct.new(
@@ -1508,7 +1516,8 @@ module Aws::EC2
1508
1516
  :network_interface_id,
1509
1517
  :origin,
1510
1518
  :transit_gateway_id,
1511
- :vpc_peering_connection_id)
1519
+ :vpc_peering_connection_id,
1520
+ :state)
1512
1521
  SENSITIVE = []
1513
1522
  include Aws::Structure
1514
1523
  end
@@ -4391,6 +4400,28 @@ module Aws::EC2
4391
4400
  include Aws::Structure
4392
4401
  end
4393
4402
 
4403
+ # Information about instance capacity usage for a Capacity Reservation.
4404
+ #
4405
+ # @!attribute [rw] allocation_type
4406
+ # The usage type. `used` indicates that the instance capacity is in
4407
+ # use by instances that are running in the Capacity Reservation.
4408
+ # @return [String]
4409
+ #
4410
+ # @!attribute [rw] count
4411
+ # The amount of instance capacity associated with the usage. For
4412
+ # example a value of `4` indicates that instance capacity for 4
4413
+ # instances is currently in use.
4414
+ # @return [Integer]
4415
+ #
4416
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityAllocation AWS API Documentation
4417
+ #
4418
+ class CapacityAllocation < Struct.new(
4419
+ :allocation_type,
4420
+ :count)
4421
+ SENSITIVE = []
4422
+ include Aws::Structure
4423
+ end
4424
+
4394
4425
  # Describes a Capacity Reservation.
4395
4426
  #
4396
4427
  # @!attribute [rw] capacity_reservation_id
@@ -4552,6 +4583,10 @@ module Aws::EC2
4552
4583
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cr-cpg.html
4553
4584
  # @return [String]
4554
4585
  #
4586
+ # @!attribute [rw] capacity_allocations
4587
+ # Information about instance capacity usage.
4588
+ # @return [Array<Types::CapacityAllocation>]
4589
+ #
4555
4590
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservation AWS API Documentation
4556
4591
  #
4557
4592
  class CapacityReservation < Struct.new(
@@ -4576,7 +4611,8 @@ module Aws::EC2
4576
4611
  :tags,
4577
4612
  :outpost_arn,
4578
4613
  :capacity_reservation_fleet_id,
4579
- :placement_group_arn)
4614
+ :placement_group_arn,
4615
+ :capacity_allocations)
4580
4616
  SENSITIVE = []
4581
4617
  include Aws::Structure
4582
4618
  end
@@ -24499,10 +24535,10 @@ module Aws::EC2
24499
24535
  # @!attribute [rw] filters
24500
24536
  # The filters. The following are the possible values:
24501
24537
  #
24502
- # * PathFound - A Boolean value that indicates whether a feasible path
24503
- # is found.
24538
+ # * path-found - A Boolean value that indicates whether a feasible
24539
+ # path is found.
24504
24540
  #
24505
- # * Status - The status of the analysis (running \| succeeded \|
24541
+ # * status - The status of the analysis (running \| succeeded \|
24506
24542
  # failed).
24507
24543
  # @return [Array<Types::Filter>]
24508
24544
  #
@@ -24579,15 +24615,13 @@ module Aws::EC2
24579
24615
  # @!attribute [rw] filters
24580
24616
  # The filters. The following are the possible values:
24581
24617
  #
24582
- # * Destination - The ID of the resource.
24583
- #
24584
- # * DestinationPort - The destination port.
24618
+ # * destination - The ID of the resource.
24585
24619
  #
24586
- # * Name - The path name.
24620
+ # * destination-port - The destination port.
24587
24621
  #
24588
- # * Protocol - The protocol.
24622
+ # * protocol - The protocol.
24589
24623
  #
24590
- # * Source - The ID of the resource.
24624
+ # * source - The ID of the resource.
24591
24625
  # @return [Array<Types::Filter>]
24592
24626
  #
24593
24627
  # @!attribute [rw] max_results
@@ -27606,10 +27640,22 @@ module Aws::EC2
27606
27640
  # information to be returned for the subnet. You can also use `cidr`
27607
27641
  # or `cidrBlock` as the filter names.
27608
27642
  #
27643
+ # * `customer-owned-ipv4-pool` - The customer-owned IPv4 address pool
27644
+ # associated with the subnet.
27645
+ #
27609
27646
  # * `default-for-az` - Indicates whether this is the default subnet
27610
27647
  # for the Availability Zone (`true` \| `false`). You can also use
27611
27648
  # `defaultForAz` as the filter name.
27612
27649
  #
27650
+ # * `enable-dns64` - Indicates whether DNS queries made to the
27651
+ # Amazon-provided DNS Resolver in this subnet should return
27652
+ # synthetic IPv6 addresses for IPv4-only destinations.
27653
+ #
27654
+ # * `enable-lni-at-device-index` - Indicates the device position for
27655
+ # local network interfaces in this subnet. For example, `1`
27656
+ # indicates local network interfaces in this subnet are the
27657
+ # secondary network interface (eth1).
27658
+ #
27613
27659
  # * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
27614
27660
  # associated with the subnet.
27615
27661
  #
@@ -27622,11 +27668,33 @@ module Aws::EC2
27622
27668
  # * `ipv6-native` - Indicates whether this is an IPv6 only subnet
27623
27669
  # (`true` \| `false`).
27624
27670
  #
27671
+ # * `map-customer-owned-ip-on-launch` - Indicates whether a network
27672
+ # interface created in this subnet (including a network interface
27673
+ # created by RunInstances) receives a customer-owned IPv4 address.
27674
+ #
27675
+ # * `map-public-ip-on-launch` - Indicates whether instances launched
27676
+ # in this subnet receive a public IPv4 address.
27677
+ #
27625
27678
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
27626
27679
  #
27627
27680
  # * `owner-id` - The ID of the Amazon Web Services account that owns
27628
27681
  # the subnet.
27629
27682
  #
27683
+ # * `private-dns-name-options-on-launch.hostname-type` - The type of
27684
+ # hostname to assign to instances in the subnet at launch. For
27685
+ # IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS
27686
+ # name can be based on the instance IPv4 address (ip-name) or the
27687
+ # instance ID (resource-name). For IPv6 only subnets, an instance
27688
+ # DNS name must be based on the instance ID (resource-name).
27689
+ #
27690
+ # * `private-dns-name-options-on-launch.enable-resource-name-dns-a-record`
27691
+ # - Indicates whether to respond to DNS queries for instance
27692
+ # hostnames with DNS A records.
27693
+ #
27694
+ # * `private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record`
27695
+ # - Indicates whether to respond to DNS queries for instance
27696
+ # hostnames with DNS AAAA records.
27697
+ #
27630
27698
  # * `state` - The state of the subnet (`pending` \| `available`).
27631
27699
  #
27632
27700
  # * `subnet-arn` - The Amazon Resource Name (ARN) of the subnet.
@@ -33851,6 +33919,14 @@ module Aws::EC2
33851
33919
  # The transit gateway attachment.
33852
33920
  # @return [Types::AnalysisComponent]
33853
33921
  #
33922
+ # @!attribute [rw] component_account
33923
+ # The Amazon Web Services account for the component.
33924
+ # @return [String]
33925
+ #
33926
+ # @!attribute [rw] component_region
33927
+ # The Region for the component.
33928
+ # @return [String]
33929
+ #
33854
33930
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Explanation AWS API Documentation
33855
33931
  #
33856
33932
  class Explanation < Struct.new(
@@ -33902,7 +33978,9 @@ module Aws::EC2
33902
33978
  :transit_gateway,
33903
33979
  :transit_gateway_route_table,
33904
33980
  :transit_gateway_route_table_route,
33905
- :transit_gateway_attachment)
33981
+ :transit_gateway_attachment,
33982
+ :component_account,
33983
+ :component_region)
33906
33984
  SENSITIVE = []
33907
33985
  include Aws::Structure
33908
33986
  end
@@ -35054,7 +35132,7 @@ module Aws::EC2
35054
35132
  # @!attribute [rw] instance_type
35055
35133
  # The instance type.
35056
35134
  #
35057
- # <note markdown="1"> If you specify `InstanceTypes`, you can't specify
35135
+ # <note markdown="1"> If you specify `InstanceType`, you can't specify
35058
35136
  # `InstanceRequirements`.
35059
35137
  #
35060
35138
  # </note>
@@ -35111,7 +35189,7 @@ module Aws::EC2
35111
35189
  # attributes.
35112
35190
  #
35113
35191
  # <note markdown="1"> If you specify `InstanceRequirements`, you can't specify
35114
- # `InstanceTypes`.
35192
+ # `InstanceType`.
35115
35193
  #
35116
35194
  # </note>
35117
35195
  # @return [Types::InstanceRequirements]
@@ -35205,7 +35283,7 @@ module Aws::EC2
35205
35283
  # @!attribute [rw] instance_type
35206
35284
  # The instance type.
35207
35285
  #
35208
- # <note markdown="1"> If you specify `InstanceTypes`, you can't specify
35286
+ # <note markdown="1"> If you specify `InstanceType`, you can't specify
35209
35287
  # `InstanceRequirements`.
35210
35288
  #
35211
35289
  # </note>
@@ -35265,7 +35343,7 @@ module Aws::EC2
35265
35343
  # attributes.
35266
35344
  #
35267
35345
  # <note markdown="1"> If you specify `InstanceRequirements`, you can't specify
35268
- # `InstanceTypes`.
35346
+ # `InstanceType`.
35269
35347
  #
35270
35348
  # </note>
35271
35349
  # @return [Types::InstanceRequirementsRequest]
@@ -41775,16 +41853,16 @@ module Aws::EC2
41775
41853
  # The state of token usage for your instance metadata requests.
41776
41854
  #
41777
41855
  # If the state is `optional`, you can choose to retrieve instance
41778
- # metadata with or without a signed token header on your request. If
41779
- # you retrieve the IAM role credentials without a token, the version
41780
- # 1.0 role credentials are returned. If you retrieve the IAM role
41781
- # credentials using a valid signed token, the version 2.0 role
41856
+ # metadata with or without a session token on your request. If you
41857
+ # retrieve the IAM role credentials without a token, the version 1.0
41858
+ # role credentials are returned. If you retrieve the IAM role
41859
+ # credentials using a valid session token, the version 2.0 role
41782
41860
  # credentials are returned.
41783
41861
  #
41784
- # If the state is `required`, you must send a signed token header with
41785
- # any instance metadata retrieval requests. In this state, retrieving
41786
- # the IAM role credentials always returns the version 2.0 credentials;
41787
- # the version 1.0 credentials are not available.
41862
+ # If the state is `required`, you must send a session token with any
41863
+ # instance metadata retrieval requests. In this state, retrieving the
41864
+ # IAM role credentials always returns the version 2.0 credentials; the
41865
+ # version 1.0 credentials are not available.
41788
41866
  #
41789
41867
  # Default: `optional`
41790
41868
  # @return [String]
@@ -41854,16 +41932,16 @@ module Aws::EC2
41854
41932
  # The state of token usage for your instance metadata requests.
41855
41933
  #
41856
41934
  # If the state is `optional`, you can choose to retrieve instance
41857
- # metadata with or without a signed token header on your request. If
41858
- # you retrieve the IAM role credentials without a token, the version
41859
- # 1.0 role credentials are returned. If you retrieve the IAM role
41860
- # credentials using a valid signed token, the version 2.0 role
41935
+ # metadata with or without a session token on your request. If you
41936
+ # retrieve the IAM role credentials without a token, the version 1.0
41937
+ # role credentials are returned. If you retrieve the IAM role
41938
+ # credentials using a valid session token, the version 2.0 role
41861
41939
  # credentials are returned.
41862
41940
  #
41863
- # If the state is `required`, you must send a signed token header with
41864
- # any instance metadata retrieval requests. In this state, retrieving
41865
- # the IAM role credential always returns the version 2.0 credentials;
41866
- # the version 1.0 credentials are not available.
41941
+ # If the state is `required`, you must send a session token with any
41942
+ # instance metadata retrieval requests. In this state, retrieving the
41943
+ # IAM role credentials always returns the version 2.0 credentials; the
41944
+ # version 1.0 credentials are not available.
41867
41945
  #
41868
41946
  # Default: `optional`
41869
41947
  # @return [String]
@@ -42374,13 +42452,13 @@ module Aws::EC2
42374
42452
  # attributes, Amazon EC2 will identify instance types with these
42375
42453
  # attributes.
42376
42454
  #
42377
- # When you specify multiple parameters, you get instance types that
42378
- # satisfy all of the specified parameters. If you specify multiple
42379
- # values for a parameter, you get instance types that satisfy any of the
42380
- # specified values.
42455
+ # When you specify multiple attributes, you get instance types that
42456
+ # satisfy all of the specified attributes. If you specify multiple
42457
+ # values for an attribute, you get instance types that satisfy any of
42458
+ # the specified values.
42381
42459
  #
42382
- # <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other parameters are
42383
- # optional. Any unspecified optional parameter is set to its default.
42460
+ # <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other attributes are
42461
+ # optional. Any unspecified optional attribute is set to its default.
42384
42462
  #
42385
42463
  # </note>
42386
42464
  #
@@ -42481,10 +42559,12 @@ module Aws::EC2
42481
42559
  # @return [Types::MemoryGiBPerVCpu]
42482
42560
  #
42483
42561
  # @!attribute [rw] excluded_instance_types
42484
- # The instance types to exclude. You can use strings with one or more
42485
- # wild cards, represented by an asterisk (`*`), to exclude an instance
42486
- # type, size, or generation. The following are examples: `m5.8xlarge`,
42487
- # `c5*.*`, `m5a.*`, `r*`, `*3*`.
42562
+ # The instance types to exclude.
42563
+ #
42564
+ # You can use strings with one or more wild cards, represented by an
42565
+ # asterisk (`*`), to exclude an instance type, size, or generation.
42566
+ # The following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`,
42567
+ # `*3*`.
42488
42568
  #
42489
42569
  # For example, if you specify `c5*`,Amazon EC2 will exclude the entire
42490
42570
  # C5 instance family, which includes all C5a and C5n instance types.
@@ -42734,6 +42814,11 @@ module Aws::EC2
42734
42814
  #
42735
42815
  # * For instance types with Xilinx VU9P FPGAs, specify `vu9p`.
42736
42816
  #
42817
+ # * For instance types with Amazon Web Services Inferentia GPUs,
42818
+ # specify `inferentia`.
42819
+ #
42820
+ # * For instance types with NVIDIA GRID K520 GPUs, specify `k520`.
42821
+ #
42737
42822
  # Default: Any accelerator
42738
42823
  # @return [Array<String>]
42739
42824
  #
@@ -42775,13 +42860,13 @@ module Aws::EC2
42775
42860
  # attributes, Amazon EC2 will identify instance types with these
42776
42861
  # attributes.
42777
42862
  #
42778
- # When you specify multiple parameters, you get instance types that
42779
- # satisfy all of the specified parameters. If you specify multiple
42780
- # values for a parameter, you get instance types that satisfy any of the
42781
- # specified values.
42863
+ # When you specify multiple attributes, you get instance types that
42864
+ # satisfy all of the specified attributes. If you specify multiple
42865
+ # values for an attribute, you get instance types that satisfy any of
42866
+ # the specified values.
42782
42867
  #
42783
- # <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other parameters are
42784
- # optional. Any unspecified optional parameter is set to its default.
42868
+ # <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other attributes are
42869
+ # optional. Any unspecified optional attribute is set to its default.
42785
42870
  #
42786
42871
  # </note>
42787
42872
  #
@@ -42882,10 +42967,12 @@ module Aws::EC2
42882
42967
  # @return [Types::MemoryGiBPerVCpuRequest]
42883
42968
  #
42884
42969
  # @!attribute [rw] excluded_instance_types
42885
- # The instance types to exclude. You can use strings with one or more
42886
- # wild cards, represented by an asterisk (`*`), to exclude an instance
42887
- # family, type, size, or generation. The following are examples:
42888
- # `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`.
42970
+ # The instance types to exclude.
42971
+ #
42972
+ # You can use strings with one or more wild cards, represented by an
42973
+ # asterisk (`*`), to exclude an instance family, type, size, or
42974
+ # generation. The following are examples: `m5.8xlarge`, `c5*.*`,
42975
+ # `m5a.*`, `r*`, `*3*`.
42889
42976
  #
42890
42977
  # For example, if you specify `c5*`,Amazon EC2 will exclude the entire
42891
42978
  # C5 instance family, which includes all C5a and C5n instance types.
@@ -43135,6 +43222,11 @@ module Aws::EC2
43135
43222
  #
43136
43223
  # * For instance types with Xilinx VU9P FPGAs, specify ` vu9p`.
43137
43224
  #
43225
+ # * For instance types with Amazon Web Services Inferentia GPUs,
43226
+ # specify `inferentia`.
43227
+ #
43228
+ # * For instance types with NVIDIA GRID K520 GPUs, specify `k520`.
43229
+ #
43138
43230
  # Default: Any accelerator
43139
43231
  # @return [Array<String>]
43140
43232
  #
@@ -45123,17 +45215,6 @@ module Aws::EC2
45123
45215
 
45124
45216
  # Describes the launch specification for an instance.
45125
45217
  #
45126
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
45127
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
45128
- # from EC2-Classic to a VPC][1] in the *Amazon EC2 User Guide for Linux
45129
- # Instances*.
45130
- #
45131
- # </note>
45132
- #
45133
- #
45134
- #
45135
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
45136
- #
45137
45218
  # @!attribute [rw] user_data
45138
45219
  # The Base64-encoded user data for the instance.
45139
45220
  # @return [String]
@@ -46661,7 +46742,7 @@ module Aws::EC2
46661
46742
  # same way as when you specify a list of instance types.
46662
46743
  #
46663
46744
  # <note markdown="1"> If you specify `InstanceRequirements`, you can't specify
46664
- # `InstanceTypes`.
46745
+ # `InstanceType`.
46665
46746
  #
46666
46747
  # </note>
46667
46748
  # @return [Types::InstanceRequirements]
@@ -49631,16 +49712,16 @@ module Aws::EC2
49631
49712
  # `optional`.
49632
49713
  #
49633
49714
  # If the state is `optional`, you can choose to retrieve instance
49634
- # metadata with or without a signed token header on your request. If
49635
- # you retrieve the IAM role credentials without a token, the version
49636
- # 1.0 role credentials are returned. If you retrieve the IAM role
49637
- # credentials using a valid signed token, the version 2.0 role
49715
+ # metadata with or without a session token on your request. If you
49716
+ # retrieve the IAM role credentials without a token, the version 1.0
49717
+ # role credentials are returned. If you retrieve the IAM role
49718
+ # credentials using a valid session token, the version 2.0 role
49638
49719
  # credentials are returned.
49639
49720
  #
49640
- # If the state is `required`, you must send a signed token header with
49641
- # any instance metadata retrieval requests. In this state, retrieving
49642
- # the IAM role credential always returns the version 2.0 credentials;
49643
- # the version 1.0 credentials are not available.
49721
+ # If the state is `required`, you must send a session token with any
49722
+ # instance metadata retrieval requests. In this state, retrieving the
49723
+ # IAM role credentials always returns the version 2.0 credentials; the
49724
+ # version 1.0 credentials are not available.
49644
49725
  # @return [String]
49645
49726
  #
49646
49727
  # @!attribute [rw] http_put_response_hop_limit
@@ -54375,6 +54456,14 @@ module Aws::EC2
54375
54456
  # The route in a transit gateway route table.
54376
54457
  # @return [Types::TransitGatewayRouteTableRoute]
54377
54458
  #
54459
+ # @!attribute [rw] explanations
54460
+ # The explanation codes.
54461
+ # @return [Array<Types::Explanation>]
54462
+ #
54463
+ # @!attribute [rw] elastic_load_balancer_listener
54464
+ # The load balancer listener.
54465
+ # @return [Types::AnalysisComponent]
54466
+ #
54378
54467
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PathComponent AWS API Documentation
54379
54468
  #
54380
54469
  class PathComponent < Struct.new(
@@ -54392,7 +54481,9 @@ module Aws::EC2
54392
54481
  :vpc,
54393
54482
  :additional_details,
54394
54483
  :transit_gateway,
54395
- :transit_gateway_route_table_route)
54484
+ :transit_gateway_route_table_route,
54485
+ :explanations,
54486
+ :elastic_load_balancer_listener)
54396
54487
  SENSITIVE = []
54397
54488
  include Aws::Structure
54398
54489
  end
@@ -58192,7 +58283,7 @@ module Aws::EC2
58192
58283
  # attributes.
58193
58284
  #
58194
58285
  # If you specify `InstanceRequirements`, you can't specify
58195
- # `InstanceTypes`.
58286
+ # `InstanceType`.
58196
58287
  # @return [Types::InstanceRequirementsRequest]
58197
58288
  #
58198
58289
  # @!attribute [rw] private_dns_name_options
@@ -59035,16 +59126,6 @@ module Aws::EC2
59035
59126
  # owner, requester, and security group information that applies to all
59036
59127
  # instances in the launch request.
59037
59128
  #
59038
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
59039
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
59040
- # from EC2-Classic to a VPC][1] in the *Amazon EC2 User Guide*.
59041
- #
59042
- # </note>
59043
- #
59044
- #
59045
- #
59046
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
59047
- #
59048
59129
  # @!attribute [rw] groups
59049
59130
  # \[EC2-Classic only\] The security groups.
59050
59131
  # @return [Array<Types::GroupIdentifier>]
@@ -59345,17 +59426,6 @@ module Aws::EC2
59345
59426
  # Describes the configuration settings for the modified Reserved
59346
59427
  # Instances.
59347
59428
  #
59348
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
59349
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
59350
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
59351
- # User Guide*.
59352
- #
59353
- # </note>
59354
- #
59355
- #
59356
- #
59357
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
59358
- #
59359
59429
  # @note When making an API call, you may pass ReservedInstancesConfiguration
59360
59430
  # data as a hash:
59361
59431
  #
@@ -61968,17 +62038,6 @@ module Aws::EC2
61968
62038
 
61969
62039
  # Describes a Scheduled Instance.
61970
62040
  #
61971
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
61972
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
61973
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
61974
- # User Guide*.
61975
- #
61976
- # </note>
61977
- #
61978
- #
61979
- #
61980
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
61981
- #
61982
62041
  # @!attribute [rw] availability_zone
61983
62042
  # The Availability Zone.
61984
62043
  # @return [String]
@@ -62063,17 +62122,6 @@ module Aws::EC2
62063
62122
 
62064
62123
  # Describes a schedule that is available for your Scheduled Instances.
62065
62124
  #
62066
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
62067
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
62068
- # from EC2-Classic to a VPC][1] in the *Amazon Elastic Compute Cloud
62069
- # User Guide*.
62070
- #
62071
- # </note>
62072
- #
62073
- #
62074
- #
62075
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
62076
- #
62077
62125
  # @!attribute [rw] availability_zone
62078
62126
  # The Availability Zone.
62079
62127
  # @return [String]
@@ -64232,17 +64280,9 @@ module Aws::EC2
64232
64280
  # `SpotFleetLaunchSpecification`; you must use
64233
64281
  # [LaunchTemplateConfig][1].
64234
64282
  #
64235
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
64236
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
64237
- # from EC2-Classic to a VPC][2] in the *Amazon EC2 User Guide for Linux
64238
- # Instances*.
64239
- #
64240
- # </note>
64241
- #
64242
64283
  #
64243
64284
  #
64244
64285
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html
64245
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
64246
64286
  #
64247
64287
  # @note When making an API call, you may pass SpotFleetLaunchSpecification
64248
64288
  # data as a hash:
@@ -64518,7 +64558,7 @@ module Aws::EC2
64518
64558
  # attributes.
64519
64559
  #
64520
64560
  # <note markdown="1"> If you specify `InstanceRequirements`, you can't specify
64521
- # `InstanceTypes`.
64561
+ # `InstanceType`.
64522
64562
  #
64523
64563
  # </note>
64524
64564
  # @return [Types::InstanceRequirements]
@@ -64894,20 +64934,28 @@ module Aws::EC2
64894
64934
  # }
64895
64935
  #
64896
64936
  # @!attribute [rw] allocation_strategy
64897
- # Indicates how to allocate the target Spot Instance capacity across
64898
- # the Spot Instance pools specified by the Spot Fleet request.
64899
- #
64900
- # If the allocation strategy is `lowestPrice`, Spot Fleet launches
64901
- # instances from the Spot Instance pools with the lowest price. This
64902
- # is the default allocation strategy.
64903
- #
64904
- # If the allocation strategy is `diversified`, Spot Fleet launches
64905
- # instances from all the Spot Instance pools that you specify.
64937
+ # The strategy that determines how to allocate the target Spot
64938
+ # Instance capacity across the Spot Instance pools specified by the
64939
+ # Spot Fleet launch configuration. For more information, see
64940
+ # [Allocation strategies for Spot Instances][1] in the *Amazon EC2
64941
+ # User Guide for Linux Instances*.
64942
+ #
64943
+ # `lowestPrice` - Spot Fleet launches instances from the lowest-price
64944
+ # Spot Instance pool that has available capacity. If the cheapest pool
64945
+ # doesn't have available capacity, the Spot Instances come from the
64946
+ # next cheapest pool that has available capacity. If a pool runs out
64947
+ # of capacity before fulfilling your desired capacity, Spot Fleet will
64948
+ # continue to fulfill your request by drawing from the next cheapest
64949
+ # pool. To ensure that your desired capacity is met, you might receive
64950
+ # Spot Instances from several pools.
64951
+ #
64952
+ # `diversified` - Spot Fleet launches instances from all of the Spot
64953
+ # Instance pools that you specify.
64906
64954
  #
64907
- # If the allocation strategy is `capacityOptimized` (recommended),
64908
- # Spot Fleet launches instances from Spot Instance pools with optimal
64909
- # capacity for the number of instances that are launching. To give
64910
- # certain instance types a higher chance of launching first, use
64955
+ # `capacityOptimized` (recommended) - Spot Fleet launches instances
64956
+ # from Spot Instance pools with optimal capacity for the number of
64957
+ # instances that are launching. To give certain instance types a
64958
+ # higher chance of launching first, use
64911
64959
  # `capacityOptimizedPrioritized`. Set a priority for each instance
64912
64960
  # type by using the `Priority` parameter for
64913
64961
  # `LaunchTemplateOverrides`. You can assign the same priority to
@@ -64917,6 +64965,12 @@ module Aws::EC2
64917
64965
  # uses a launch template. Note that if the
64918
64966
  # `OnDemandAllocationStrategy` is set to `prioritized`, the same
64919
64967
  # priority is applied when fulfilling On-Demand capacity.
64968
+ #
64969
+ # Default: `lowestPrice`
64970
+ #
64971
+ #
64972
+ #
64973
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-allocation-strategy.html
64920
64974
  # @return [String]
64921
64975
  #
64922
64976
  # @!attribute [rw] on_demand_allocation_strategy
@@ -65125,15 +65179,14 @@ module Aws::EC2
65125
65179
  # The value for `ResourceType` must be `spot-fleet-request`, otherwise
65126
65180
  # the Spot Fleet request fails. To tag instances at launch, specify
65127
65181
  # the tags in the [launch template][1] (valid only if you use
65128
- # `LaunchTemplateConfigs`) or in the [ `SpotFleetTagSpecification`
65129
- # ][2] (valid only if you use `LaunchSpecifications`). For information
65130
- # about tagging after launch, see [Tagging Your Resources][3].
65182
+ # `LaunchTemplateConfigs`) or in the ` SpotFleetTagSpecification `
65183
+ # (valid only if you use `LaunchSpecifications`). For information
65184
+ # about tagging after launch, see [Tagging Your Resources][2].
65131
65185
  #
65132
65186
  #
65133
65187
  #
65134
65188
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html#create-launch-template
65135
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetTagSpecification.html
65136
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
65189
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-resources
65137
65190
  # @return [Array<Types::TagSpecification>]
65138
65191
  #
65139
65192
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotFleetRequestConfigData AWS API Documentation
@@ -65187,12 +65240,8 @@ module Aws::EC2
65187
65240
  # @!attribute [rw] resource_type
65188
65241
  # The type of resource. Currently, the only resource type that is
65189
65242
  # supported is `instance`. To tag the Spot Fleet request on creation,
65190
- # use the `TagSpecifications` parameter in [
65191
- # `SpotFleetRequestConfigData` ][1].
65192
- #
65193
- #
65194
- #
65195
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotFleetRequestConfigData.html
65243
+ # use the `TagSpecifications` parameter in `
65244
+ # SpotFleetRequestConfigData `.
65196
65245
  # @return [String]
65197
65246
  #
65198
65247
  # @!attribute [rw] tags
@@ -65498,10 +65547,18 @@ module Aws::EC2
65498
65547
  # @!attribute [rw] allocation_strategy
65499
65548
  # The strategy that determines how to allocate the target Spot
65500
65549
  # Instance capacity across the Spot Instance pools specified by the
65501
- # EC2 Fleet.
65550
+ # EC2 Fleet launch configuration. For more information, see
65551
+ # [Allocation strategies for Spot Instances][1] in the *Amazon EC2
65552
+ # User Guide*.
65502
65553
  #
65503
- # `lowest-price` - EC2 Fleet launches instances from the Spot Instance
65504
- # pools with the lowest price.
65554
+ # `lowest-price` - EC2 Fleet launches instances from the lowest-price
65555
+ # Spot Instance pool that has available capacity. If the cheapest pool
65556
+ # doesn't have available capacity, the Spot Instances come from the
65557
+ # next cheapest pool that has available capacity. If a pool runs out
65558
+ # of capacity before fulfilling your desired capacity, EC2 Fleet will
65559
+ # continue to fulfill your request by drawing from the next cheapest
65560
+ # pool. To ensure that your desired capacity is met, you might receive
65561
+ # Spot Instances from several pools.
65505
65562
  #
65506
65563
  # `diversified` - EC2 Fleet launches instances from all of the Spot
65507
65564
  # Instance pools that you specify.
@@ -65521,6 +65578,10 @@ module Aws::EC2
65521
65578
  # applied when fulfilling On-Demand capacity.
65522
65579
  #
65523
65580
  # Default: `lowest-price`
65581
+ #
65582
+ #
65583
+ #
65584
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html
65524
65585
  # @return [String]
65525
65586
  #
65526
65587
  # @!attribute [rw] maintenance_strategies
@@ -65628,10 +65689,18 @@ module Aws::EC2
65628
65689
  # @!attribute [rw] allocation_strategy
65629
65690
  # The strategy that determines how to allocate the target Spot
65630
65691
  # Instance capacity across the Spot Instance pools specified by the
65631
- # EC2 Fleet.
65692
+ # EC2 Fleet launch configuration. For more information, see
65693
+ # [Allocation strategies for Spot Instances][1] in the *Amazon EC2
65694
+ # User Guide*.
65632
65695
  #
65633
- # `lowest-price` - EC2 Fleet launches instances from the Spot Instance
65634
- # pools with the lowest price.
65696
+ # `lowest-price` - EC2 Fleet launches instances from the lowest-price
65697
+ # Spot Instance pool that has available capacity. If the cheapest pool
65698
+ # doesn't have available capacity, the Spot Instances come from the
65699
+ # next cheapest pool that has available capacity. If a pool runs out
65700
+ # of capacity before fulfilling your desired capacity, EC2 Fleet will
65701
+ # continue to fulfill your request by drawing from the next cheapest
65702
+ # pool. To ensure that your desired capacity is met, you might receive
65703
+ # Spot Instances from several pools.
65635
65704
  #
65636
65705
  # `diversified` - EC2 Fleet launches instances from all of the Spot
65637
65706
  # Instance pools that you specify.
@@ -65651,6 +65720,10 @@ module Aws::EC2
65651
65720
  # applied when fulfilling On-Demand capacity.
65652
65721
  #
65653
65722
  # Default: `lowest-price`
65723
+ #
65724
+ #
65725
+ #
65726
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html
65654
65727
  # @return [String]
65655
65728
  #
65656
65729
  # @!attribute [rw] maintenance_strategies