aws-sdk-ec2 1.281.0 → 1.282.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1884,7 +1884,7 @@ module Aws::EC2
1884
1884
  end
1885
1885
 
1886
1886
  # @!attribute [rw] ipv_6_cidr_block_association
1887
- # Information about the IPv6 CIDR block association.
1887
+ # Information about the IPv6 association.
1888
1888
  # @return [Types::SubnetIpv6CidrBlockAssociation]
1889
1889
  #
1890
1890
  # @!attribute [rw] subnet_id
@@ -6933,6 +6933,7 @@ module Aws::EC2
6933
6933
  # {
6934
6934
  # availability_zone: "String", # required
6935
6935
  # dry_run: false,
6936
+ # ipv_6_native: false,
6936
6937
  # }
6937
6938
  #
6938
6939
  # @!attribute [rw] availability_zone
@@ -6946,11 +6947,18 @@ module Aws::EC2
6946
6947
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
6947
6948
  # @return [Boolean]
6948
6949
  #
6950
+ # @!attribute [rw] ipv_6_native
6951
+ # Indicates whether to create an IPv6 only subnet. If you already have
6952
+ # a default subnet for this Availability Zone, you must delete it
6953
+ # before you can create an IPv6 only subnet.
6954
+ # @return [Boolean]
6955
+ #
6949
6956
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetRequest AWS API Documentation
6950
6957
  #
6951
6958
  class CreateDefaultSubnetRequest < Struct.new(
6952
6959
  :availability_zone,
6953
- :dry_run)
6960
+ :dry_run,
6961
+ :ipv_6_native)
6954
6962
  SENSITIVE = []
6955
6963
  include Aws::Structure
6956
6964
  end
@@ -8420,6 +8428,11 @@ module Aws::EC2
8420
8428
  # max: 1,
8421
8429
  # },
8422
8430
  # },
8431
+ # private_dns_name_options: {
8432
+ # hostname_type: "ip-name", # accepts ip-name, resource-name
8433
+ # enable_resource_name_dns_a_record: false,
8434
+ # enable_resource_name_dns_aaaa_record: false,
8435
+ # },
8423
8436
  # },
8424
8437
  # tag_specifications: [
8425
8438
  # {
@@ -8707,6 +8720,11 @@ module Aws::EC2
8707
8720
  # max: 1,
8708
8721
  # },
8709
8722
  # },
8723
+ # private_dns_name_options: {
8724
+ # hostname_type: "ip-name", # accepts ip-name, resource-name
8725
+ # enable_resource_name_dns_a_record: false,
8726
+ # enable_resource_name_dns_aaaa_record: false,
8727
+ # },
8710
8728
  # },
8711
8729
  # }
8712
8730
  #
@@ -10614,11 +10632,12 @@ module Aws::EC2
10614
10632
  # ],
10615
10633
  # availability_zone: "String",
10616
10634
  # availability_zone_id: "String",
10617
- # cidr_block: "String", # required
10635
+ # cidr_block: "String",
10618
10636
  # ipv_6_cidr_block: "String",
10619
10637
  # outpost_arn: "String",
10620
10638
  # vpc_id: "VpcId", # required
10621
10639
  # dry_run: false,
10640
+ # ipv_6_native: false,
10622
10641
  # }
10623
10642
  #
10624
10643
  # @!attribute [rw] tag_specifications
@@ -10654,11 +10673,15 @@ module Aws::EC2
10654
10673
  # example, `10.0.0.0/24`. We modify the specified CIDR block to its
10655
10674
  # canonical form; for example, if you specify `100.68.0.18/18`, we
10656
10675
  # modify it to `100.68.0.0/18`.
10676
+ #
10677
+ # This parameter is not supported for an IPv6 only subnet.
10657
10678
  # @return [String]
10658
10679
  #
10659
10680
  # @!attribute [rw] ipv_6_cidr_block
10660
10681
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
10661
10682
  # size must use a /64 prefix length.
10683
+ #
10684
+ # This parameter is required for an IPv6 only subnet.
10662
10685
  # @return [String]
10663
10686
  #
10664
10687
  # @!attribute [rw] outpost_arn
@@ -10678,6 +10701,10 @@ module Aws::EC2
10678
10701
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
10679
10702
  # @return [Boolean]
10680
10703
  #
10704
+ # @!attribute [rw] ipv_6_native
10705
+ # Indicates whether to create an IPv6 only subnet.
10706
+ # @return [Boolean]
10707
+ #
10681
10708
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetRequest AWS API Documentation
10682
10709
  #
10683
10710
  class CreateSubnetRequest < Struct.new(
@@ -10688,7 +10715,8 @@ module Aws::EC2
10688
10715
  :ipv_6_cidr_block,
10689
10716
  :outpost_arn,
10690
10717
  :vpc_id,
10691
- :dry_run)
10718
+ :dry_run,
10719
+ :ipv_6_native)
10692
10720
  SENSITIVE = []
10693
10721
  include Aws::Structure
10694
10722
  end
@@ -24489,8 +24517,8 @@ module Aws::EC2
24489
24517
  # or `cidrBlock` as the filter names.
24490
24518
  #
24491
24519
  # * `default-for-az` - Indicates whether this is the default subnet
24492
- # for the Availability Zone. You can also use `defaultForAz` as the
24493
- # filter name.
24520
+ # for the Availability Zone (`true` \| `false`). You can also use
24521
+ # `defaultForAz` as the filter name.
24494
24522
  #
24495
24523
  # * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
24496
24524
  # associated with the subnet.
@@ -24501,6 +24529,9 @@ module Aws::EC2
24501
24529
  # * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
24502
24530
  # block associated with the subnet.
24503
24531
  #
24532
+ # * `ipv6-native` - Indicates whether this is an IPv6 only subnet
24533
+ # (`true` \| `false`).
24534
+ #
24504
24535
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
24505
24536
  #
24506
24537
  # * `owner-id` - The ID of the Amazon Web Services account that owns
@@ -31567,6 +31598,12 @@ module Aws::EC2
31567
31598
  # The amount of time (in seconds) that Amazon EC2 waits before
31568
31599
  # terminating the old Spot Instance after launching a new replacement
31569
31600
  # Spot Instance.
31601
+ #
31602
+ # Valid only when `replacementStrategy` is set to
31603
+ # `launch-before-terminate`.
31604
+ #
31605
+ # Valid values: Minimum value of `120` seconds. Maximum value of
31606
+ # `7200` seconds.
31570
31607
  # @return [Integer]
31571
31608
  #
31572
31609
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetSpotCapacityRebalance AWS API Documentation
@@ -31617,6 +31654,12 @@ module Aws::EC2
31617
31654
  # The amount of time (in seconds) that Amazon EC2 waits before
31618
31655
  # terminating the old Spot Instance after launching a new replacement
31619
31656
  # Spot Instance.
31657
+ #
31658
+ # Valid only when `ReplacementStrategy` is set to
31659
+ # `launch-before-terminate`.
31660
+ #
31661
+ # Valid values: Minimum value of `120` seconds. Maximum value of
31662
+ # `7200` seconds.
31620
31663
  # @return [Integer]
31621
31664
  #
31622
31665
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetSpotCapacityRebalanceRequest AWS API Documentation
@@ -36373,6 +36416,14 @@ module Aws::EC2
36373
36416
  # The time that the usage operation was last updated.
36374
36417
  # @return [Time]
36375
36418
  #
36419
+ # @!attribute [rw] private_dns_name_options
36420
+ # The options for the instance hostname.
36421
+ # @return [Types::PrivateDnsNameOptionsResponse]
36422
+ #
36423
+ # @!attribute [rw] ipv_6_address
36424
+ # The IPv6 address assigned to the instance.
36425
+ # @return [String]
36426
+ #
36376
36427
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Instance AWS API Documentation
36377
36428
  #
36378
36429
  class Instance < Struct.new(
@@ -36427,7 +36478,9 @@ module Aws::EC2
36427
36478
  :boot_mode,
36428
36479
  :platform_details,
36429
36480
  :usage_operation,
36430
- :usage_operation_update_time)
36481
+ :usage_operation_update_time,
36482
+ :private_dns_name_options,
36483
+ :ipv_6_address)
36431
36484
  SENSITIVE = []
36432
36485
  include Aws::Structure
36433
36486
  end
@@ -41227,6 +41280,71 @@ module Aws::EC2
41227
41280
  include Aws::Structure
41228
41281
  end
41229
41282
 
41283
+ # Describes the options for instance hostnames.
41284
+ #
41285
+ # @!attribute [rw] hostname_type
41286
+ # The type of hostname to assign to an instance.
41287
+ # @return [String]
41288
+ #
41289
+ # @!attribute [rw] enable_resource_name_dns_a_record
41290
+ # Indicates whether to respond to DNS queries for instance hostnames
41291
+ # with DNS A records.
41292
+ # @return [Boolean]
41293
+ #
41294
+ # @!attribute [rw] enable_resource_name_dns_aaaa_record
41295
+ # Indicates whether to respond to DNS queries for instance hostnames
41296
+ # with DNS AAAA records.
41297
+ # @return [Boolean]
41298
+ #
41299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatePrivateDnsNameOptions AWS API Documentation
41300
+ #
41301
+ class LaunchTemplatePrivateDnsNameOptions < Struct.new(
41302
+ :hostname_type,
41303
+ :enable_resource_name_dns_a_record,
41304
+ :enable_resource_name_dns_aaaa_record)
41305
+ SENSITIVE = []
41306
+ include Aws::Structure
41307
+ end
41308
+
41309
+ # Describes the options for instance hostnames.
41310
+ #
41311
+ # @note When making an API call, you may pass LaunchTemplatePrivateDnsNameOptionsRequest
41312
+ # data as a hash:
41313
+ #
41314
+ # {
41315
+ # hostname_type: "ip-name", # accepts ip-name, resource-name
41316
+ # enable_resource_name_dns_a_record: false,
41317
+ # enable_resource_name_dns_aaaa_record: false,
41318
+ # }
41319
+ #
41320
+ # @!attribute [rw] hostname_type
41321
+ # The type of hostname for Amazon EC2 instances. For IPv4 only
41322
+ # subnets, an instance DNS name must be based on the instance IPv4
41323
+ # address. For IPv6 native subnets, an instance DNS name must be based
41324
+ # on the instance ID. For dual-stack subnets, you can specify whether
41325
+ # DNS names use the instance IPv4 address or the instance ID.
41326
+ # @return [String]
41327
+ #
41328
+ # @!attribute [rw] enable_resource_name_dns_a_record
41329
+ # Indicates whether to respond to DNS queries for instance hostnames
41330
+ # with DNS A records.
41331
+ # @return [Boolean]
41332
+ #
41333
+ # @!attribute [rw] enable_resource_name_dns_aaaa_record
41334
+ # Indicates whether to respond to DNS queries for instance hostnames
41335
+ # with DNS AAAA records.
41336
+ # @return [Boolean]
41337
+ #
41338
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatePrivateDnsNameOptionsRequest AWS API Documentation
41339
+ #
41340
+ class LaunchTemplatePrivateDnsNameOptionsRequest < Struct.new(
41341
+ :hostname_type,
41342
+ :enable_resource_name_dns_a_record,
41343
+ :enable_resource_name_dns_aaaa_record)
41344
+ SENSITIVE = []
41345
+ include Aws::Structure
41346
+ end
41347
+
41230
41348
  # The launch template to use. You must specify either the launch
41231
41349
  # template ID or launch template name in the request, but not both.
41232
41350
  #
@@ -43295,8 +43413,8 @@ module Aws::EC2
43295
43413
  #
43296
43414
  # To add instance store volumes to an Amazon EBS-backed instance, you
43297
43415
  # must add them when you launch the instance. For more information,
43298
- # see [Updating the block device mapping when launching an
43299
- # instance][1] in the *Amazon EC2 User Guide*.
43416
+ # see [Update the block device mapping when launching an instance][1]
43417
+ # in the *Amazon EC2 User Guide*.
43300
43418
  #
43301
43419
  #
43302
43420
  #
@@ -43732,14 +43850,11 @@ module Aws::EC2
43732
43850
  # @return [Integer]
43733
43851
  #
43734
43852
  # @!attribute [rw] http_endpoint
43735
- # This parameter enables or disables the HTTP metadata endpoint on
43736
- # your instances. If the parameter is not specified, the existing
43737
- # state is maintained.
43738
- #
43739
- # <note markdown="1"> If you specify a value of `disabled`, you will not be able to access
43740
- # your instance metadata.
43853
+ # Enables or disables the HTTP metadata endpoint on your instances. If
43854
+ # the parameter is not specified, the existing state is maintained.
43741
43855
  #
43742
- # </note>
43856
+ # If you specify a value of `disabled`, you cannot access your
43857
+ # instance metadata.
43743
43858
  # @return [String]
43744
43859
  #
43745
43860
  # @!attribute [rw] dry_run
@@ -43751,7 +43866,8 @@ module Aws::EC2
43751
43866
  #
43752
43867
  # @!attribute [rw] http_protocol_ipv_6
43753
43868
  # Enables or disables the IPv6 endpoint for the instance metadata
43754
- # service.
43869
+ # service. This setting applies only if you have enabled the HTTP
43870
+ # metadata endpoint.
43755
43871
  # @return [String]
43756
43872
  #
43757
43873
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMetadataOptionsRequest AWS API Documentation
@@ -43831,7 +43947,8 @@ module Aws::EC2
43831
43947
  # @return [String]
43832
43948
  #
43833
43949
  # @!attribute [rw] partition_number
43834
- # Reserved for future use.
43950
+ # The number of the partition in which to place the instance. Valid
43951
+ # only if the placement group strategy is set to `partition`.
43835
43952
  # @return [Integer]
43836
43953
  #
43837
43954
  # @!attribute [rw] host_resource_group_arn
@@ -44089,6 +44206,71 @@ module Aws::EC2
44089
44206
  include Aws::Structure
44090
44207
  end
44091
44208
 
44209
+ # @note When making an API call, you may pass ModifyPrivateDnsNameOptionsRequest
44210
+ # data as a hash:
44211
+ #
44212
+ # {
44213
+ # dry_run: false,
44214
+ # instance_id: "InstanceId",
44215
+ # private_dns_hostname_type: "ip-name", # accepts ip-name, resource-name
44216
+ # enable_resource_name_dns_a_record: false,
44217
+ # enable_resource_name_dns_aaaa_record: false,
44218
+ # }
44219
+ #
44220
+ # @!attribute [rw] dry_run
44221
+ # Checks whether you have the required permissions for the action,
44222
+ # without actually making the request, and provides an error response.
44223
+ # If you have the required permissions, the error response is
44224
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
44225
+ # @return [Boolean]
44226
+ #
44227
+ # @!attribute [rw] instance_id
44228
+ # The ID of the instance.
44229
+ # @return [String]
44230
+ #
44231
+ # @!attribute [rw] private_dns_hostname_type
44232
+ # The type of hostname for EC2 instances. For IPv4 only subnets, an
44233
+ # instance DNS name must be based on the instance IPv4 address. For
44234
+ # IPv6 only subnets, an instance DNS name must be based on the
44235
+ # instance ID. For dual-stack subnets, you can specify whether DNS
44236
+ # names use the instance IPv4 address or the instance ID.
44237
+ # @return [String]
44238
+ #
44239
+ # @!attribute [rw] enable_resource_name_dns_a_record
44240
+ # Indicates whether to respond to DNS queries for instance hostnames
44241
+ # with DNS A records.
44242
+ # @return [Boolean]
44243
+ #
44244
+ # @!attribute [rw] enable_resource_name_dns_aaaa_record
44245
+ # Indicates whether to respond to DNS queries for instance hostnames
44246
+ # with DNS AAAA records.
44247
+ # @return [Boolean]
44248
+ #
44249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyPrivateDnsNameOptionsRequest AWS API Documentation
44250
+ #
44251
+ class ModifyPrivateDnsNameOptionsRequest < Struct.new(
44252
+ :dry_run,
44253
+ :instance_id,
44254
+ :private_dns_hostname_type,
44255
+ :enable_resource_name_dns_a_record,
44256
+ :enable_resource_name_dns_aaaa_record)
44257
+ SENSITIVE = []
44258
+ include Aws::Structure
44259
+ end
44260
+
44261
+ # @!attribute [rw] return
44262
+ # Returns `true` if the request succeeds; otherwise, it returns an
44263
+ # error.
44264
+ # @return [Boolean]
44265
+ #
44266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyPrivateDnsNameOptionsResult AWS API Documentation
44267
+ #
44268
+ class ModifyPrivateDnsNameOptionsResult < Struct.new(
44269
+ :return)
44270
+ SENSITIVE = []
44271
+ include Aws::Structure
44272
+ end
44273
+
44092
44274
  # Contains the parameters for ModifyReservedInstances.
44093
44275
  #
44094
44276
  # @note When making an API call, you may pass ModifyReservedInstancesRequest
@@ -44435,6 +44617,13 @@ module Aws::EC2
44435
44617
  # enable_dns_64: {
44436
44618
  # value: false,
44437
44619
  # },
44620
+ # private_dns_hostname_type_on_launch: "ip-name", # accepts ip-name, resource-name
44621
+ # enable_resource_name_dns_a_record_on_launch: {
44622
+ # value: false,
44623
+ # },
44624
+ # enable_resource_name_dns_aaaa_record_on_launch: {
44625
+ # value: false,
44626
+ # },
44438
44627
  # }
44439
44628
  #
44440
44629
  # @!attribute [rw] assign_ipv_6_address_on_creation
@@ -44480,6 +44669,25 @@ module Aws::EC2
44480
44669
  # IPv4-only destinations.
44481
44670
  # @return [Types::AttributeBooleanValue]
44482
44671
  #
44672
+ # @!attribute [rw] private_dns_hostname_type_on_launch
44673
+ # The type of hostnames to assign to instances in the subnet at
44674
+ # launch. For IPv4 only subnets, an instance DNS name must be based on
44675
+ # the instance IPv4 address. For IPv6 only subnets, an instance DNS
44676
+ # name must be based on the instance ID. For dual-stack subnets, you
44677
+ # can specify whether DNS names use the instance IPv4 address or the
44678
+ # instance ID.
44679
+ # @return [String]
44680
+ #
44681
+ # @!attribute [rw] enable_resource_name_dns_a_record_on_launch
44682
+ # Indicates whether to respond to DNS queries for instance hostnames
44683
+ # with DNS A records.
44684
+ # @return [Types::AttributeBooleanValue]
44685
+ #
44686
+ # @!attribute [rw] enable_resource_name_dns_aaaa_record_on_launch
44687
+ # Indicates whether to respond to DNS queries for instance hostnames
44688
+ # with DNS AAAA records.
44689
+ # @return [Types::AttributeBooleanValue]
44690
+ #
44483
44691
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttributeRequest AWS API Documentation
44484
44692
  #
44485
44693
  class ModifySubnetAttributeRequest < Struct.new(
@@ -44488,7 +44696,10 @@ module Aws::EC2
44488
44696
  :subnet_id,
44489
44697
  :map_customer_owned_ip_on_launch,
44490
44698
  :customer_owned_ipv_4_pool,
44491
- :enable_dns_64)
44699
+ :enable_dns_64,
44700
+ :private_dns_hostname_type_on_launch,
44701
+ :enable_resource_name_dns_a_record_on_launch,
44702
+ :enable_resource_name_dns_aaaa_record_on_launch)
44492
44703
  SENSITIVE = []
44493
44704
  include Aws::Structure
44494
44705
  end
@@ -46933,6 +47144,15 @@ module Aws::EC2
46933
47144
  # through a transit gateway, including on-premises networks.
46934
47145
  # @return [Boolean]
46935
47146
  #
47147
+ # @!attribute [rw] ipv_6_native
47148
+ # Indicates whether this is an IPv6 only network interface.
47149
+ # @return [Boolean]
47150
+ #
47151
+ # @!attribute [rw] ipv_6_address
47152
+ # The IPv6 globally unique address associated with the network
47153
+ # interface.
47154
+ # @return [String]
47155
+ #
46936
47156
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInterface AWS API Documentation
46937
47157
  #
46938
47158
  class NetworkInterface < Struct.new(
@@ -46959,7 +47179,9 @@ module Aws::EC2
46959
47179
  :subnet_id,
46960
47180
  :tag_set,
46961
47181
  :vpc_id,
46962
- :deny_all_igw_traffic)
47182
+ :deny_all_igw_traffic,
47183
+ :ipv_6_native,
47184
+ :ipv_6_address)
46963
47185
  SENSITIVE = []
46964
47186
  include Aws::Structure
46965
47187
  end
@@ -47280,36 +47502,48 @@ module Aws::EC2
47280
47502
  # Describes the configuration of On-Demand Instances in an EC2 Fleet.
47281
47503
  #
47282
47504
  # @!attribute [rw] allocation_strategy
47283
- # The order of the launch template overrides to use in fulfilling
47284
- # On-Demand capacity. If you specify `lowest-price`, EC2 Fleet uses
47285
- # price to determine the order, launching the lowest price first. If
47286
- # you specify `prioritized`, EC2 Fleet uses the priority that you
47287
- # assigned to each launch template override, launching the highest
47288
- # priority first. If you do not specify a value, EC2 Fleet defaults to
47289
- # `lowest-price`.
47505
+ # The strategy that determines the order of the launch template
47506
+ # overrides to use in fulfilling On-Demand capacity.
47507
+ #
47508
+ # `lowest-price` - EC2 Fleet uses price to determine the order,
47509
+ # launching the lowest price first.
47510
+ #
47511
+ # `prioritized` - EC2 Fleet uses the priority that you assigned to
47512
+ # each launch template override, launching the highest priority first.
47513
+ #
47514
+ # Default: `lowest-price`
47290
47515
  # @return [String]
47291
47516
  #
47292
47517
  # @!attribute [rw] capacity_reservation_options
47293
47518
  # The strategy for using unused Capacity Reservations for fulfilling
47294
- # On-Demand capacity. Supported only for fleets of type `instant`.
47519
+ # On-Demand capacity.
47520
+ #
47521
+ # Supported only for fleets of type `instant`.
47295
47522
  # @return [Types::CapacityReservationOptions]
47296
47523
  #
47297
47524
  # @!attribute [rw] single_instance_type
47298
47525
  # Indicates that the fleet uses a single instance type to launch all
47299
- # On-Demand Instances in the fleet. Supported only for fleets of type
47300
- # `instant`.
47526
+ # On-Demand Instances in the fleet.
47527
+ #
47528
+ # Supported only for fleets of type `instant`.
47301
47529
  # @return [Boolean]
47302
47530
  #
47303
47531
  # @!attribute [rw] single_availability_zone
47304
47532
  # Indicates that the fleet launches all On-Demand Instances into a
47305
- # single Availability Zone. Supported only for fleets of type
47306
- # `instant`.
47533
+ # single Availability Zone.
47534
+ #
47535
+ # Supported only for fleets of type `instant`.
47307
47536
  # @return [Boolean]
47308
47537
  #
47309
47538
  # @!attribute [rw] min_target_capacity
47310
47539
  # The minimum target capacity for On-Demand Instances in the fleet. If
47311
47540
  # the minimum target capacity is not reached, the fleet launches no
47312
47541
  # instances.
47542
+ #
47543
+ # Supported only for fleets of type `instant`.
47544
+ #
47545
+ # At least one of the following must be specified:
47546
+ # `SingleAvailabilityZone` \| `SingleInstanceType`
47313
47547
  # @return [Integer]
47314
47548
  #
47315
47549
  # @!attribute [rw] max_total_price
@@ -47347,36 +47581,48 @@ module Aws::EC2
47347
47581
  # }
47348
47582
  #
47349
47583
  # @!attribute [rw] allocation_strategy
47350
- # The order of the launch template overrides to use in fulfilling
47351
- # On-Demand capacity. If you specify `lowest-price`, EC2 Fleet uses
47352
- # price to determine the order, launching the lowest price first. If
47353
- # you specify `prioritized`, EC2 Fleet uses the priority that you
47354
- # assigned to each launch template override, launching the highest
47355
- # priority first. If you do not specify a value, EC2 Fleet defaults to
47356
- # `lowest-price`.
47584
+ # The strategy that determines the order of the launch template
47585
+ # overrides to use in fulfilling On-Demand capacity.
47586
+ #
47587
+ # `lowest-price` - EC2 Fleet uses price to determine the order,
47588
+ # launching the lowest price first.
47589
+ #
47590
+ # `prioritized` - EC2 Fleet uses the priority that you assigned to
47591
+ # each launch template override, launching the highest priority first.
47592
+ #
47593
+ # Default: `lowest-price`
47357
47594
  # @return [String]
47358
47595
  #
47359
47596
  # @!attribute [rw] capacity_reservation_options
47360
47597
  # The strategy for using unused Capacity Reservations for fulfilling
47361
- # On-Demand capacity. Supported only for fleets of type `instant`.
47598
+ # On-Demand capacity.
47599
+ #
47600
+ # Supported only for fleets of type `instant`.
47362
47601
  # @return [Types::CapacityReservationOptionsRequest]
47363
47602
  #
47364
47603
  # @!attribute [rw] single_instance_type
47365
47604
  # Indicates that the fleet uses a single instance type to launch all
47366
- # On-Demand Instances in the fleet. Supported only for fleets of type
47367
- # `instant`.
47605
+ # On-Demand Instances in the fleet.
47606
+ #
47607
+ # Supported only for fleets of type `instant`.
47368
47608
  # @return [Boolean]
47369
47609
  #
47370
47610
  # @!attribute [rw] single_availability_zone
47371
47611
  # Indicates that the fleet launches all On-Demand Instances into a
47372
- # single Availability Zone. Supported only for fleets of type
47373
- # `instant`.
47612
+ # single Availability Zone.
47613
+ #
47614
+ # Supported only for fleets of type `instant`.
47374
47615
  # @return [Boolean]
47375
47616
  #
47376
47617
  # @!attribute [rw] min_target_capacity
47377
47618
  # The minimum target capacity for On-Demand Instances in the fleet. If
47378
47619
  # the minimum target capacity is not reached, the fleet launches no
47379
47620
  # instances.
47621
+ #
47622
+ # Supported only for fleets of type `instant`.
47623
+ #
47624
+ # At least one of the following must be specified:
47625
+ # `SingleAvailabilityZone` \| `SingleInstanceType`
47380
47626
  # @return [Integer]
47381
47627
  #
47382
47628
  # @!attribute [rw] max_total_price
@@ -47865,8 +48111,8 @@ module Aws::EC2
47865
48111
  # @return [String]
47866
48112
  #
47867
48113
  # @!attribute [rw] partition_number
47868
- # The number of the partition the instance is in. Valid only if the
47869
- # placement group strategy is set to `partition`.
48114
+ # The number of the partition that the instance is in. Valid only if
48115
+ # the placement group strategy is set to `partition`.
47870
48116
  #
47871
48117
  # This parameter is not supported by [CreateFleet][1].
47872
48118
  #
@@ -48314,6 +48560,101 @@ module Aws::EC2
48314
48560
  include Aws::Structure
48315
48561
  end
48316
48562
 
48563
+ # Describes the options for instance hostnames.
48564
+ #
48565
+ # @!attribute [rw] hostname_type
48566
+ # The type of hostname for EC2 instances. For IPv4 only subnets, an
48567
+ # instance DNS name must be based on the instance IPv4 address. For
48568
+ # IPv6 only subnets, an instance DNS name must be based on the
48569
+ # instance ID. For dual-stack subnets, you can specify whether DNS
48570
+ # names use the instance IPv4 address or the instance ID.
48571
+ # @return [String]
48572
+ #
48573
+ # @!attribute [rw] enable_resource_name_dns_a_record
48574
+ # Indicates whether to respond to DNS queries for instance hostnames
48575
+ # with DNS A records.
48576
+ # @return [Boolean]
48577
+ #
48578
+ # @!attribute [rw] enable_resource_name_dns_aaaa_record
48579
+ # Indicates whether to respond to DNS queries for instance hostname
48580
+ # with DNS AAAA records.
48581
+ # @return [Boolean]
48582
+ #
48583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrivateDnsNameOptionsOnLaunch AWS API Documentation
48584
+ #
48585
+ class PrivateDnsNameOptionsOnLaunch < Struct.new(
48586
+ :hostname_type,
48587
+ :enable_resource_name_dns_a_record,
48588
+ :enable_resource_name_dns_aaaa_record)
48589
+ SENSITIVE = []
48590
+ include Aws::Structure
48591
+ end
48592
+
48593
+ # Describes the options for instance hostnames.
48594
+ #
48595
+ # @note When making an API call, you may pass PrivateDnsNameOptionsRequest
48596
+ # data as a hash:
48597
+ #
48598
+ # {
48599
+ # hostname_type: "ip-name", # accepts ip-name, resource-name
48600
+ # enable_resource_name_dns_a_record: false,
48601
+ # enable_resource_name_dns_aaaa_record: false,
48602
+ # }
48603
+ #
48604
+ # @!attribute [rw] hostname_type
48605
+ # The type of hostname for EC2 instances. For IPv4 only subnets, an
48606
+ # instance DNS name must be based on the instance IPv4 address. For
48607
+ # IPv6 only subnets, an instance DNS name must be based on the
48608
+ # instance ID. For dual-stack subnets, you can specify whether DNS
48609
+ # names use the instance IPv4 address or the instance ID.
48610
+ # @return [String]
48611
+ #
48612
+ # @!attribute [rw] enable_resource_name_dns_a_record
48613
+ # Indicates whether to respond to DNS queries for instance hostnames
48614
+ # with DNS A records.
48615
+ # @return [Boolean]
48616
+ #
48617
+ # @!attribute [rw] enable_resource_name_dns_aaaa_record
48618
+ # Indicates whether to respond to DNS queries for instance hostnames
48619
+ # with DNS AAAA records.
48620
+ # @return [Boolean]
48621
+ #
48622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrivateDnsNameOptionsRequest AWS API Documentation
48623
+ #
48624
+ class PrivateDnsNameOptionsRequest < Struct.new(
48625
+ :hostname_type,
48626
+ :enable_resource_name_dns_a_record,
48627
+ :enable_resource_name_dns_aaaa_record)
48628
+ SENSITIVE = []
48629
+ include Aws::Structure
48630
+ end
48631
+
48632
+ # Describes the options for instance hostnames.
48633
+ #
48634
+ # @!attribute [rw] hostname_type
48635
+ # The type of hostname to assign to an instance.
48636
+ # @return [String]
48637
+ #
48638
+ # @!attribute [rw] enable_resource_name_dns_a_record
48639
+ # Indicates whether to respond to DNS queries for instance hostnames
48640
+ # with DNS A records.
48641
+ # @return [Boolean]
48642
+ #
48643
+ # @!attribute [rw] enable_resource_name_dns_aaaa_record
48644
+ # Indicates whether to respond to DNS queries for instance hostnames
48645
+ # with DNS AAAA records.
48646
+ # @return [Boolean]
48647
+ #
48648
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrivateDnsNameOptionsResponse AWS API Documentation
48649
+ #
48650
+ class PrivateDnsNameOptionsResponse < Struct.new(
48651
+ :hostname_type,
48652
+ :enable_resource_name_dns_a_record,
48653
+ :enable_resource_name_dns_aaaa_record)
48654
+ SENSITIVE = []
48655
+ include Aws::Structure
48656
+ end
48657
+
48317
48658
  # Describes a secondary private IPv4 address for a network interface.
48318
48659
  #
48319
48660
  # @note When making an API call, you may pass PrivateIpAddressSpecification
@@ -50546,6 +50887,11 @@ module Aws::EC2
50546
50887
  # max: 1,
50547
50888
  # },
50548
50889
  # },
50890
+ # private_dns_name_options: {
50891
+ # hostname_type: "ip-name", # accepts ip-name, resource-name
50892
+ # enable_resource_name_dns_a_record: false,
50893
+ # enable_resource_name_dns_aaaa_record: false,
50894
+ # },
50549
50895
  # }
50550
50896
  #
50551
50897
  # @!attribute [rw] kernel_id
@@ -50786,6 +51132,11 @@ module Aws::EC2
50786
51132
  # `InstanceTypes`.
50787
51133
  # @return [Types::InstanceRequirementsRequest]
50788
51134
  #
51135
+ # @!attribute [rw] private_dns_name_options
51136
+ # The options for the instance hostname. The default values are
51137
+ # inherited from the subnet.
51138
+ # @return [Types::LaunchTemplatePrivateDnsNameOptionsRequest]
51139
+ #
50789
51140
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestLaunchTemplateData AWS API Documentation
50790
51141
  #
50791
51142
  class RequestLaunchTemplateData < Struct.new(
@@ -50816,7 +51167,8 @@ module Aws::EC2
50816
51167
  :hibernation_options,
50817
51168
  :metadata_options,
50818
51169
  :enclave_options,
50819
- :instance_requirements)
51170
+ :instance_requirements,
51171
+ :private_dns_name_options)
50820
51172
  SENSITIVE = []
50821
51173
  include Aws::Structure
50822
51174
  end
@@ -52640,6 +52992,10 @@ module Aws::EC2
52640
52992
  # `InstanceTypes`.
52641
52993
  # @return [Types::InstanceRequirements]
52642
52994
  #
52995
+ # @!attribute [rw] private_dns_name_options
52996
+ # The options for the instance hostname.
52997
+ # @return [Types::LaunchTemplatePrivateDnsNameOptions]
52998
+ #
52643
52999
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData AWS API Documentation
52644
53000
  #
52645
53001
  class ResponseLaunchTemplateData < Struct.new(
@@ -52670,7 +53026,8 @@ module Aws::EC2
52670
53026
  :hibernation_options,
52671
53027
  :metadata_options,
52672
53028
  :enclave_options,
52673
- :instance_requirements)
53029
+ :instance_requirements,
53030
+ :private_dns_name_options)
52674
53031
  SENSITIVE = []
52675
53032
  include Aws::Structure
52676
53033
  end
@@ -53528,6 +53885,11 @@ module Aws::EC2
53528
53885
  # enclave_options: {
53529
53886
  # enabled: false,
53530
53887
  # },
53888
+ # private_dns_name_options: {
53889
+ # hostname_type: "ip-name", # accepts ip-name, resource-name
53890
+ # enable_resource_name_dns_a_record: false,
53891
+ # enable_resource_name_dns_aaaa_record: false,
53892
+ # },
53531
53893
  # }
53532
53894
  #
53533
53895
  # @!attribute [rw] block_device_mappings
@@ -53692,8 +54054,8 @@ module Aws::EC2
53692
54054
  #
53693
54055
  # @!attribute [rw] user_data
53694
54056
  # The user data to make available to the instance. For more
53695
- # information, see [Running commands on your Linux instance at
53696
- # launch][1] (Linux) and [Adding User Data][2] (Windows). If you are
54057
+ # information, see [Run commands on your Linux instance at launch][1]
54058
+ # and [Run commands on your Windows instance at launch][2]. If you are
53697
54059
  # using a command line tool, base64-encoding is performed for you, and
53698
54060
  # you can load the text from a file. Otherwise, you must provide
53699
54061
  # base64-encoded text. User data is limited to 16 KB.
@@ -53701,7 +54063,7 @@ module Aws::EC2
53701
54063
  #
53702
54064
  #
53703
54065
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
53704
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html#instancedata-add-user-data
54066
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-windows-user-data.html
53705
54067
  # @return [String]
53706
54068
  #
53707
54069
  # @!attribute [rw] additional_info
@@ -53859,7 +54221,7 @@ module Aws::EC2
53859
54221
  #
53860
54222
  # @!attribute [rw] cpu_options
53861
54223
  # The CPU options for the instance. For more information, see
53862
- # [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
54224
+ # [Optimize CPU options][1] in the *Amazon EC2 User Guide*.
53863
54225
  #
53864
54226
  #
53865
54227
  #
@@ -53914,6 +54276,11 @@ module Aws::EC2
53914
54276
  # [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
53915
54277
  # @return [Types::EnclaveOptionsRequest]
53916
54278
  #
54279
+ # @!attribute [rw] private_dns_name_options
54280
+ # The options for the instance hostname. The default values are
54281
+ # inherited from the subnet.
54282
+ # @return [Types::PrivateDnsNameOptionsRequest]
54283
+ #
53917
54284
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstancesRequest AWS API Documentation
53918
54285
  #
53919
54286
  class RunInstancesRequest < Struct.new(
@@ -53953,7 +54320,8 @@ module Aws::EC2
53953
54320
  :hibernation_options,
53954
54321
  :license_specifications,
53955
54322
  :metadata_options,
53956
- :enclave_options)
54323
+ :enclave_options,
54324
+ :private_dns_name_options)
53957
54325
  SENSITIVE = []
53958
54326
  include Aws::Structure
53959
54327
  end
@@ -56204,6 +56572,12 @@ module Aws::EC2
56204
56572
  # The amount of time (in seconds) that Amazon EC2 waits before
56205
56573
  # terminating the old Spot Instance after launching a new replacement
56206
56574
  # Spot Instance.
56575
+ #
56576
+ # Valid only when `ReplacementStrategy` is set to
56577
+ # `launch-before-terminate`.
56578
+ #
56579
+ # Valid values: Minimum value of `120` seconds. Maximum value of
56580
+ # `7200` seconds.
56207
56581
  # @return [Integer]
56208
56582
  #
56209
56583
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SpotCapacityRebalance AWS API Documentation
@@ -57486,20 +57860,20 @@ module Aws::EC2
57486
57860
  # Describes the configuration of Spot Instances in an EC2 Fleet.
57487
57861
  #
57488
57862
  # @!attribute [rw] allocation_strategy
57489
- # Indicates how to allocate the target Spot Instance capacity across
57490
- # the Spot Instance pools specified by the EC2 Fleet.
57863
+ # The strategy that determines how to allocate the target Spot
57864
+ # Instance capacity across the Spot Instance pools specified by the
57865
+ # EC2 Fleet.
57491
57866
  #
57492
- # If the allocation strategy is `lowest-price`, EC2 Fleet launches
57493
- # instances from the Spot Instance pools with the lowest price. This
57494
- # is the default allocation strategy.
57867
+ # `lowest-price` - EC2 Fleet launches instances from the Spot Instance
57868
+ # pools with the lowest price.
57495
57869
  #
57496
- # If the allocation strategy is `diversified`, EC2 Fleet launches
57497
- # instances from all of the Spot Instance pools that you specify.
57870
+ # `diversified` - EC2 Fleet launches instances from all of the Spot
57871
+ # Instance pools that you specify.
57498
57872
  #
57499
- # If the allocation strategy is `capacity-optimized` (recommended),
57500
- # EC2 Fleet launches instances from Spot Instance pools with optimal
57501
- # capacity for the number of instances that are launching. To give
57502
- # certain instance types a higher chance of launching first, use
57873
+ # `capacity-optimized` (recommended) - EC2 Fleet launches instances
57874
+ # from Spot Instance pools with optimal capacity for the number of
57875
+ # instances that are launching. To give certain instance types a
57876
+ # higher chance of launching first, use
57503
57877
  # `capacity-optimized-prioritized`. Set a priority for each instance
57504
57878
  # type by using the `Priority` parameter for
57505
57879
  # `LaunchTemplateOverrides`. You can assign the same priority to
@@ -57509,6 +57883,8 @@ module Aws::EC2
57509
57883
  # uses a launch template. Note that if the On-Demand
57510
57884
  # `AllocationStrategy` is set to `prioritized`, the same priority is
57511
57885
  # applied when fulfilling On-Demand capacity.
57886
+ #
57887
+ # Default: `lowest-price`
57512
57888
  # @return [String]
57513
57889
  #
57514
57890
  # @!attribute [rw] maintenance_strategies
@@ -57518,13 +57894,14 @@ module Aws::EC2
57518
57894
  # @return [Types::FleetSpotMaintenanceStrategies]
57519
57895
  #
57520
57896
  # @!attribute [rw] instance_interruption_behavior
57521
- # The behavior when a Spot Instance is interrupted. The default is
57522
- # `terminate`.
57897
+ # The behavior when a Spot Instance is interrupted.
57898
+ #
57899
+ # Default: `terminate`
57523
57900
  # @return [String]
57524
57901
  #
57525
57902
  # @!attribute [rw] instance_pools_to_use_count
57526
57903
  # The number of Spot pools across which to allocate your target Spot
57527
- # capacity. Valid only when **AllocationStrategy** is set to
57904
+ # capacity. Supported only when `AllocationStrategy` is set to
57528
57905
  # `lowest-price`. EC2 Fleet selects the cheapest Spot pools and evenly
57529
57906
  # allocates your target Spot capacity across the number of Spot pools
57530
57907
  # that you specify.
@@ -57542,19 +57919,27 @@ module Aws::EC2
57542
57919
  #
57543
57920
  # @!attribute [rw] single_instance_type
57544
57921
  # Indicates that the fleet uses a single instance type to launch all
57545
- # Spot Instances in the fleet. Supported only for fleets of type
57546
- # `instant`.
57922
+ # Spot Instances in the fleet.
57923
+ #
57924
+ # Supported only for fleets of type `instant`.
57547
57925
  # @return [Boolean]
57548
57926
  #
57549
57927
  # @!attribute [rw] single_availability_zone
57550
57928
  # Indicates that the fleet launches all Spot Instances into a single
57551
- # Availability Zone. Supported only for fleets of type `instant`.
57929
+ # Availability Zone.
57930
+ #
57931
+ # Supported only for fleets of type `instant`.
57552
57932
  # @return [Boolean]
57553
57933
  #
57554
57934
  # @!attribute [rw] min_target_capacity
57555
57935
  # The minimum target capacity for Spot Instances in the fleet. If the
57556
57936
  # minimum target capacity is not reached, the fleet launches no
57557
57937
  # instances.
57938
+ #
57939
+ # Supported only for fleets of type `instant`.
57940
+ #
57941
+ # At least one of the following must be specified:
57942
+ # `SingleAvailabilityZone` \| `SingleInstanceType`
57558
57943
  # @return [Integer]
57559
57944
  #
57560
57945
  # @!attribute [rw] max_total_price
@@ -57599,20 +57984,20 @@ module Aws::EC2
57599
57984
  # }
57600
57985
  #
57601
57986
  # @!attribute [rw] allocation_strategy
57602
- # Indicates how to allocate the target Spot Instance capacity across
57603
- # the Spot Instance pools specified by the EC2 Fleet.
57987
+ # The strategy that determines how to allocate the target Spot
57988
+ # Instance capacity across the Spot Instance pools specified by the
57989
+ # EC2 Fleet.
57604
57990
  #
57605
- # If the allocation strategy is `lowest-price`, EC2 Fleet launches
57606
- # instances from the Spot Instance pools with the lowest price. This
57607
- # is the default allocation strategy.
57991
+ # `lowest-price` - EC2 Fleet launches instances from the Spot Instance
57992
+ # pools with the lowest price.
57608
57993
  #
57609
- # If the allocation strategy is `diversified`, EC2 Fleet launches
57610
- # instances from all of the Spot Instance pools that you specify.
57994
+ # `diversified` - EC2 Fleet launches instances from all of the Spot
57995
+ # Instance pools that you specify.
57611
57996
  #
57612
- # If the allocation strategy is `capacity-optimized` (recommended),
57613
- # EC2 Fleet launches instances from Spot Instance pools with optimal
57614
- # capacity for the number of instances that are launching. To give
57615
- # certain instance types a higher chance of launching first, use
57997
+ # `capacity-optimized` (recommended) - EC2 Fleet launches instances
57998
+ # from Spot Instance pools with optimal capacity for the number of
57999
+ # instances that are launching. To give certain instance types a
58000
+ # higher chance of launching first, use
57616
58001
  # `capacity-optimized-prioritized`. Set a priority for each instance
57617
58002
  # type by using the `Priority` parameter for
57618
58003
  # `LaunchTemplateOverrides`. You can assign the same priority to
@@ -57622,6 +58007,8 @@ module Aws::EC2
57622
58007
  # uses a launch template. Note that if the On-Demand
57623
58008
  # `AllocationStrategy` is set to `prioritized`, the same priority is
57624
58009
  # applied when fulfilling On-Demand capacity.
58010
+ #
58011
+ # Default: `lowest-price`
57625
58012
  # @return [String]
57626
58013
  #
57627
58014
  # @!attribute [rw] maintenance_strategies
@@ -57630,13 +58017,14 @@ module Aws::EC2
57630
58017
  # @return [Types::FleetSpotMaintenanceStrategiesRequest]
57631
58018
  #
57632
58019
  # @!attribute [rw] instance_interruption_behavior
57633
- # The behavior when a Spot Instance is interrupted. The default is
57634
- # `terminate`.
58020
+ # The behavior when a Spot Instance is interrupted.
58021
+ #
58022
+ # Default: `terminate`
57635
58023
  # @return [String]
57636
58024
  #
57637
58025
  # @!attribute [rw] instance_pools_to_use_count
57638
58026
  # The number of Spot pools across which to allocate your target Spot
57639
- # capacity. Valid only when Spot **AllocationStrategy** is set to
58027
+ # capacity. Supported only when Spot `AllocationStrategy` is set to
57640
58028
  # `lowest-price`. EC2 Fleet selects the cheapest Spot pools and evenly
57641
58029
  # allocates your target Spot capacity across the number of Spot pools
57642
58030
  # that you specify.
@@ -57654,19 +58042,27 @@ module Aws::EC2
57654
58042
  #
57655
58043
  # @!attribute [rw] single_instance_type
57656
58044
  # Indicates that the fleet uses a single instance type to launch all
57657
- # Spot Instances in the fleet. Supported only for fleets of type
57658
- # `instant`.
58045
+ # Spot Instances in the fleet.
58046
+ #
58047
+ # Supported only for fleets of type `instant`.
57659
58048
  # @return [Boolean]
57660
58049
  #
57661
58050
  # @!attribute [rw] single_availability_zone
57662
58051
  # Indicates that the fleet launches all Spot Instances into a single
57663
- # Availability Zone. Supported only for fleets of type `instant`.
58052
+ # Availability Zone.
58053
+ #
58054
+ # Supported only for fleets of type `instant`.
57664
58055
  # @return [Boolean]
57665
58056
  #
57666
58057
  # @!attribute [rw] min_target_capacity
57667
58058
  # The minimum target capacity for Spot Instances in the fleet. If the
57668
58059
  # minimum target capacity is not reached, the fleet launches no
57669
58060
  # instances.
58061
+ #
58062
+ # Supported only for fleets of type `instant`.
58063
+ #
58064
+ # At least one of the following must be specified:
58065
+ # `SingleAvailabilityZone` \| `SingleInstanceType`
57670
58066
  # @return [Integer]
57671
58067
  #
57672
58068
  # @!attribute [rw] max_total_price
@@ -58357,6 +58753,16 @@ module Aws::EC2
58357
58753
  # IPv4-only destinations.
58358
58754
  # @return [Boolean]
58359
58755
  #
58756
+ # @!attribute [rw] ipv_6_native
58757
+ # Indicates whether this is an IPv6 only subnet.
58758
+ # @return [Boolean]
58759
+ #
58760
+ # @!attribute [rw] private_dns_name_options_on_launch
58761
+ # The type of hostnames to assign to instances in the subnet at
58762
+ # launch. An instance hostname is based on the IPv4 address or ID of
58763
+ # the instance.
58764
+ # @return [Types::PrivateDnsNameOptionsOnLaunch]
58765
+ #
58360
58766
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Subnet AWS API Documentation
58361
58767
  #
58362
58768
  class Subnet < Struct.new(
@@ -58377,7 +58783,9 @@ module Aws::EC2
58377
58783
  :tags,
58378
58784
  :subnet_arn,
58379
58785
  :outpost_arn,
58380
- :enable_dns_64)
58786
+ :enable_dns_64,
58787
+ :ipv_6_native,
58788
+ :private_dns_name_options_on_launch)
58381
58789
  SENSITIVE = []
58382
58790
  include Aws::Structure
58383
58791
  end
@@ -58465,10 +58873,10 @@ module Aws::EC2
58465
58873
  include Aws::Structure
58466
58874
  end
58467
58875
 
58468
- # Describes an IPv6 CIDR block associated with a subnet.
58876
+ # Describes an association between a subnet and an IPv6 CIDR block.
58469
58877
  #
58470
58878
  # @!attribute [rw] association_id
58471
- # The association ID for the CIDR block.
58879
+ # The ID of the association.
58472
58880
  # @return [String]
58473
58881
  #
58474
58882
  # @!attribute [rw] ipv_6_cidr_block
@@ -58476,7 +58884,7 @@ module Aws::EC2
58476
58884
  # @return [String]
58477
58885
  #
58478
58886
  # @!attribute [rw] ipv_6_cidr_block_state
58479
- # Information about the state of the CIDR block.
58887
+ # The state of the CIDR block.
58480
58888
  # @return [Types::SubnetCidrBlockState]
58481
58889
  #
58482
58890
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SubnetIpv6CidrBlockAssociation AWS API Documentation