aws-sdk-ec2 1.432.0 → 1.437.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7608,7 +7608,7 @@ module Aws::EC2
7608
7608
 
7609
7609
  # @!attribute [rw] client_token
7610
7610
  # Unique, case-sensitive identifier that you provide to ensure the
7611
- # idempotency of the request. For more information, see [How to ensure
7611
+ # idempotency of the request. For more information, see [Ensuring
7612
7612
  # idempotency][1].
7613
7613
  #
7614
7614
  #
@@ -9334,7 +9334,7 @@ module Aws::EC2
9334
9334
  #
9335
9335
  # @!attribute [rw] client_token
9336
9336
  # Unique, case-sensitive identifier that you provide to ensure the
9337
- # idempotency of the request. For more information, see [How to ensure
9337
+ # idempotency of the request. For more information, see [Ensuring
9338
9338
  # idempotency][1].
9339
9339
  #
9340
9340
  # Constraint: Maximum 64 ASCII characters.
@@ -9534,12 +9534,26 @@ module Aws::EC2
9534
9534
  # The tags to assign to the network ACL.
9535
9535
  # @return [Array<Types::TagSpecification>]
9536
9536
  #
9537
+ # @!attribute [rw] client_token
9538
+ # Unique, case-sensitive identifier that you provide to ensure the
9539
+ # idempotency of the request. For more information, see [Ensuring
9540
+ # idempotency][1].
9541
+ #
9542
+ # **A suitable default value is auto-generated.** You should normally
9543
+ # not need to pass this option.
9544
+ #
9545
+ #
9546
+ #
9547
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
9548
+ # @return [String]
9549
+ #
9537
9550
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclRequest AWS API Documentation
9538
9551
  #
9539
9552
  class CreateNetworkAclRequest < Struct.new(
9540
9553
  :dry_run,
9541
9554
  :vpc_id,
9542
- :tag_specifications)
9555
+ :tag_specifications,
9556
+ :client_token)
9543
9557
  SENSITIVE = []
9544
9558
  include Aws::Structure
9545
9559
  end
@@ -9548,10 +9562,17 @@ module Aws::EC2
9548
9562
  # Information about the network ACL.
9549
9563
  # @return [Types::NetworkAcl]
9550
9564
  #
9565
+ # @!attribute [rw] client_token
9566
+ # Unique, case-sensitive identifier to ensure the idempotency of the
9567
+ # request. Only returned if a client token was provided in the
9568
+ # request.
9569
+ # @return [String]
9570
+ #
9551
9571
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclResult AWS API Documentation
9552
9572
  #
9553
9573
  class CreateNetworkAclResult < Struct.new(
9554
- :network_acl)
9574
+ :network_acl,
9575
+ :client_token)
9555
9576
  SENSITIVE = []
9556
9577
  include Aws::Structure
9557
9578
  end
@@ -10369,12 +10390,26 @@ module Aws::EC2
10369
10390
  # The tags to assign to the route table.
10370
10391
  # @return [Array<Types::TagSpecification>]
10371
10392
  #
10393
+ # @!attribute [rw] client_token
10394
+ # Unique, case-sensitive identifier that you provide to ensure the
10395
+ # idempotency of the request. For more information, see [Ensuring
10396
+ # idempotency][1].
10397
+ #
10398
+ # **A suitable default value is auto-generated.** You should normally
10399
+ # not need to pass this option.
10400
+ #
10401
+ #
10402
+ #
10403
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html
10404
+ # @return [String]
10405
+ #
10372
10406
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableRequest AWS API Documentation
10373
10407
  #
10374
10408
  class CreateRouteTableRequest < Struct.new(
10375
10409
  :dry_run,
10376
10410
  :vpc_id,
10377
- :tag_specifications)
10411
+ :tag_specifications,
10412
+ :client_token)
10378
10413
  SENSITIVE = []
10379
10414
  include Aws::Structure
10380
10415
  end
@@ -10383,10 +10418,17 @@ module Aws::EC2
10383
10418
  # Information about the route table.
10384
10419
  # @return [Types::RouteTable]
10385
10420
  #
10421
+ # @!attribute [rw] client_token
10422
+ # Unique, case-sensitive identifier to ensure the idempotency of the
10423
+ # request. Only returned if a client token was provided in the
10424
+ # request.
10425
+ # @return [String]
10426
+ #
10386
10427
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableResult AWS API Documentation
10387
10428
  #
10388
10429
  class CreateRouteTableResult < Struct.new(
10389
- :route_table)
10430
+ :route_table,
10431
+ :client_token)
10390
10432
  SENSITIVE = []
10391
10433
  include Aws::Structure
10392
10434
  end
@@ -16477,11 +16519,11 @@ module Aws::EC2
16477
16519
  # * `opt-in-status` - The opt-in status (`opted-in` \| `not-opted-in`
16478
16520
  # \| `opt-in-not-required`).
16479
16521
  #
16480
- # * `parent-zoneID` - The ID of the zone that handles some of the
16522
+ # * `parent-zone-id` - The ID of the zone that handles some of the
16481
16523
  # Local Zone and Wavelength Zone control plane operations, such as
16482
16524
  # API calls.
16483
16525
  #
16484
- # * `parent-zoneName` - The ID of the zone that handles some of the
16526
+ # * `parent-zone-name` - The ID of the zone that handles some of the
16485
16527
  # Local Zone and Wavelength Zone control plane operations, such as
16486
16528
  # API calls.
16487
16529
  #
@@ -16744,11 +16786,13 @@ module Aws::EC2
16744
16786
  # @return [String]
16745
16787
  #
16746
16788
  # @!attribute [rw] max_results
16747
- # The maximum number of results to return for the request in a single
16748
- # page. The remaining results can be seen by sending another request
16749
- # with the returned `nextToken` value. This value can be between 5 and
16750
- # 500. If `maxResults` is given a larger value than 500, you receive
16751
- # an error.
16789
+ # The maximum number of items to return for this request. To get the
16790
+ # next page of items, make another request with the token returned in
16791
+ # the output. For more information, see [Pagination][1].
16792
+ #
16793
+ #
16794
+ #
16795
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
16752
16796
  # @return [Integer]
16753
16797
  #
16754
16798
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityBlockOfferingsRequest AWS API Documentation
@@ -16793,11 +16837,13 @@ module Aws::EC2
16793
16837
  # @return [String]
16794
16838
  #
16795
16839
  # @!attribute [rw] max_results
16796
- # The maximum number of results to return for the request in a single
16797
- # page. The remaining results can be seen by sending another request
16798
- # with the returned `nextToken` value. This value can be between 5 and
16799
- # 500. If `maxResults` is given a larger value than 500, you receive
16800
- # an error.
16840
+ # The maximum number of items to return for this request. To get the
16841
+ # next page of items, make another request with the token returned in
16842
+ # the output. For more information, see [Pagination][1].
16843
+ #
16844
+ #
16845
+ #
16846
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
16801
16847
  # @return [Integer]
16802
16848
  #
16803
16849
  # @!attribute [rw] filters
@@ -16862,11 +16908,13 @@ module Aws::EC2
16862
16908
  # @return [String]
16863
16909
  #
16864
16910
  # @!attribute [rw] max_results
16865
- # The maximum number of results to return for the request in a single
16866
- # page. The remaining results can be seen by sending another request
16867
- # with the returned `nextToken` value. This value can be between 5 and
16868
- # 500. If `maxResults` is given a larger value than 500, you receive
16869
- # an error.
16911
+ # The maximum number of items to return for this request. To get the
16912
+ # next page of items, make another request with the token returned in
16913
+ # the output. For more information, see [Pagination][1].
16914
+ #
16915
+ #
16916
+ #
16917
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
16870
16918
  # @return [Integer]
16871
16919
  #
16872
16920
  # @!attribute [rw] filters
@@ -23736,6 +23784,9 @@ module Aws::EC2
23736
23784
  # @!attribute [rw] filters
23737
23785
  # The filters.
23738
23786
  #
23787
+ # * `association.gateway-id` - The ID of the gateway involved in the
23788
+ # association.
23789
+ #
23739
23790
  # * `association.route-table-association-id` - The ID of an
23740
23791
  # association ID for the route table.
23741
23792
  #
@@ -30065,13 +30116,27 @@ module Aws::EC2
30065
30116
  # The ID of the EBS volume.
30066
30117
  # @return [String]
30067
30118
  #
30119
+ # @!attribute [rw] associated_resource
30120
+ # The ARN of the Amazon ECS or Fargate task to which the volume is
30121
+ # attached.
30122
+ # @return [String]
30123
+ #
30124
+ # @!attribute [rw] volume_owner_id
30125
+ # The ID of the Amazon Web Services account that owns the volume.
30126
+ #
30127
+ # This parameter is returned only for volumes that are attached to
30128
+ # Fargate tasks.
30129
+ # @return [String]
30130
+ #
30068
30131
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInstanceBlockDevice AWS API Documentation
30069
30132
  #
30070
30133
  class EbsInstanceBlockDevice < Struct.new(
30071
30134
  :attach_time,
30072
30135
  :delete_on_termination,
30073
30136
  :status,
30074
- :volume_id)
30137
+ :volume_id,
30138
+ :associated_resource,
30139
+ :volume_owner_id)
30075
30140
  SENSITIVE = []
30076
30141
  include Aws::Structure
30077
30142
  end
@@ -30281,6 +30346,12 @@ module Aws::EC2
30281
30346
  include Aws::Structure
30282
30347
  end
30283
30348
 
30349
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30350
+ # workloads that require graphics acceleration, we recommend that you
30351
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30352
+ #
30353
+ # </note>
30354
+ #
30284
30355
  # Describes the association between an instance and an Elastic Graphics
30285
30356
  # accelerator.
30286
30357
  #
@@ -30313,6 +30384,12 @@ module Aws::EC2
30313
30384
  include Aws::Structure
30314
30385
  end
30315
30386
 
30387
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30388
+ # workloads that require graphics acceleration, we recommend that you
30389
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30390
+ #
30391
+ # </note>
30392
+ #
30316
30393
  # Describes the status of an Elastic Graphics accelerator.
30317
30394
  #
30318
30395
  # @!attribute [rw] status
@@ -30327,6 +30404,12 @@ module Aws::EC2
30327
30404
  include Aws::Structure
30328
30405
  end
30329
30406
 
30407
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30408
+ # workloads that require graphics acceleration, we recommend that you
30409
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30410
+ #
30411
+ # </note>
30412
+ #
30330
30413
  # A specification for an Elastic Graphics accelerator.
30331
30414
  #
30332
30415
  # @!attribute [rw] type
@@ -30348,10 +30431,22 @@ module Aws::EC2
30348
30431
  include Aws::Structure
30349
30432
  end
30350
30433
 
30351
- # Describes an elastic GPU.
30434
+ # Deprecated.
30435
+ #
30436
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30437
+ # workloads that require graphics acceleration, we recommend that you
30438
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30439
+ #
30440
+ # </note>
30352
30441
  #
30353
30442
  # @!attribute [rw] type
30354
- # The elastic GPU type.
30443
+ # Deprecated.
30444
+ #
30445
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30446
+ # workloads that require graphics acceleration, we recommend that you
30447
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30448
+ #
30449
+ # </note>
30355
30450
  # @return [String]
30356
30451
  #
30357
30452
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ElasticGpuSpecificationResponse AWS API Documentation
@@ -30362,6 +30457,12 @@ module Aws::EC2
30362
30457
  include Aws::Structure
30363
30458
  end
30364
30459
 
30460
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
30461
+ # workloads that require graphics acceleration, we recommend that you
30462
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
30463
+ #
30464
+ # </note>
30465
+ #
30365
30466
  # Describes an Elastic Graphics accelerator.
30366
30467
  #
30367
30468
  # @!attribute [rw] elastic_gpu_id
@@ -30594,13 +30695,17 @@ module Aws::EC2
30594
30695
  end
30595
30696
 
30596
30697
  # @!attribute [rw] source
30597
- # The source Region or Availability Zone that the metric subscription
30598
- # is enabled for. For example, `us-east-1`.
30698
+ # The source Region (like `us-east-1`) or Availability Zone ID (like
30699
+ # `use1-az1`) that the metric subscription is enabled for. If you use
30700
+ # Availability Zone IDs, the Source and Destination Availability Zones
30701
+ # must be in the same Region.
30599
30702
  # @return [String]
30600
30703
  #
30601
30704
  # @!attribute [rw] destination
30602
- # The target Region or Availability Zone that the metric subscription
30603
- # is enabled for. For example, `eu-west-1`.
30705
+ # The target Region (like `us-east-2`) or Availability Zone ID (like
30706
+ # `use2-az2`) that the metric subscription is enabled for. If you use
30707
+ # Availability Zone IDs, the Source and Destination Availability Zones
30708
+ # must be in the same Region.
30604
30709
  # @return [String]
30605
30710
  #
30606
30711
  # @!attribute [rw] metric
@@ -31187,6 +31292,9 @@ module Aws::EC2
31187
31292
  # snapshots in the Region. Users in the account will no longer be
31188
31293
  # able to request new public sharing. However, snapshots that are
31189
31294
  # already publicly shared, remain publicly available.
31295
+ #
31296
+ # `unblocked` is not a valid value for
31297
+ # **EnableSnapshotBlockPublicAccess**.
31190
31298
  # @return [String]
31191
31299
  #
31192
31300
  # @!attribute [rw] dry_run
@@ -33767,13 +33875,13 @@ module Aws::EC2
33767
33875
  # @return [String]
33768
33876
  #
33769
33877
  # @!attribute [rw] max_results
33770
- # The maximum number of results to return for the request in a single
33771
- # page. The remaining results can be seen by sending another request
33772
- # with the returned `nextToken` value. This value can be between 5 and
33773
- # 500. If `maxResults` is given a larger value than 500, you receive
33774
- # an error.
33878
+ # The maximum number of items to return for this request. To get the
33879
+ # next page of items, make another request with the token returned in
33880
+ # the output. For more information, see [Pagination][1].
33881
+ #
33882
+ #
33775
33883
  #
33776
- # Valid range: Minimum value of 1. Maximum value of 1000.
33884
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
33777
33885
  # @return [Integer]
33778
33886
  #
33779
33887
  # @!attribute [rw] dry_run
@@ -34174,11 +34282,13 @@ module Aws::EC2
34174
34282
  # @return [String]
34175
34283
  #
34176
34284
  # @!attribute [rw] max_results
34177
- # The maximum number of results to return for the request in a single
34178
- # page. The remaining results can be seen by sending another request
34179
- # with the returned `nextToken` value. This value can be between 5 and
34180
- # 500. If `maxResults` is given a larger value than 500, you receive
34181
- # an error.
34285
+ # The maximum number of items to return for this request. To get the
34286
+ # next page of items, make another request with the token returned in
34287
+ # the output. For more information, see [Pagination][1].
34288
+ #
34289
+ #
34290
+ #
34291
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
34182
34292
  # @return [Integer]
34183
34293
  #
34184
34294
  # @!attribute [rw] dry_run
@@ -35386,8 +35496,6 @@ module Aws::EC2
35386
35496
  #
35387
35497
  # @!attribute [rw] target_capacity_unit_type
35388
35498
  # The unit for the target capacity.
35389
- #
35390
- # Default: `units` (translates to number of instances)
35391
35499
  # @return [String]
35392
35500
  #
35393
35501
  # @!attribute [rw] single_availability_zone
@@ -38453,7 +38561,13 @@ module Aws::EC2
38453
38561
  # @return [String]
38454
38562
  #
38455
38563
  # @!attribute [rw] elastic_gpu_associations
38456
- # The Elastic GPU associated with the instance.
38564
+ # Deprecated.
38565
+ #
38566
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
38567
+ # workloads that require graphics acceleration, we recommend that you
38568
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
38569
+ #
38570
+ # </note>
38457
38571
  # @return [Array<Types::ElasticGpuAssociation>]
38458
38572
  #
38459
38573
  # @!attribute [rw] elastic_inference_accelerator_associations
@@ -39348,23 +39462,22 @@ module Aws::EC2
39348
39462
  # The metadata options for the instance.
39349
39463
  #
39350
39464
  # @!attribute [rw] http_tokens
39351
- # IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to
39352
- # `optional` (in other words, set the use of IMDSv2 to `optional`) or
39353
- # `required` (in other words, set the use of IMDSv2 to `required`).
39354
- #
39355
- # * `optional` - When IMDSv2 is optional, you can choose to retrieve
39356
- # instance metadata with or without a session token in your request.
39357
- # If you retrieve the IAM role credentials without a token, the
39358
- # IMDSv1 role credentials are returned. If you retrieve the IAM role
39359
- # credentials using a valid session token, the IMDSv2 role
39360
- # credentials are returned.
39361
- #
39362
- # * `required` - When IMDSv2 is required, you must send a session
39363
- # token with any instance metadata retrieval requests. In this
39364
- # state, retrieving the IAM role credentials always returns IMDSv2
39465
+ # Indicates whether IMDSv2 is required.
39466
+ #
39467
+ # * `optional` - IMDSv2 is optional. You can choose whether to send a
39468
+ # session token in your instance metadata retrieval requests. If you
39469
+ # retrieve IAM role credentials without a session token, you receive
39470
+ # the IMDSv1 role credentials. If you retrieve IAM role credentials
39471
+ # using a valid session token, you receive the IMDSv2 role
39472
+ # credentials.
39473
+ #
39474
+ # * `required` - IMDSv2 is required. You must send a session token in
39475
+ # your instance metadata retrieval requests. With this option,
39476
+ # retrieving the IAM role credentials always returns IMDSv2
39365
39477
  # credentials; IMDSv1 credentials are not available.
39366
39478
  #
39367
- # Default: `optional`
39479
+ # Default: If the value of `ImdsSupport` for the Amazon Machine Image
39480
+ # (AMI) for your instance is `v2.0`, the default is `required`.
39368
39481
  # @return [String]
39369
39482
  #
39370
39483
  # @!attribute [rw] http_put_response_hop_limit
@@ -39429,24 +39542,19 @@ module Aws::EC2
39429
39542
  # @return [String]
39430
39543
  #
39431
39544
  # @!attribute [rw] http_tokens
39432
- # IMDSv2 uses token-backed sessions. Indicates whether the use of HTTP
39433
- # tokens is `optional` (in other words, indicates whether the use of
39434
- # IMDSv2 is `optional`) or `required` (in other words, indicates
39435
- # whether the use of IMDSv2 is `required`).
39436
- #
39437
- # * `optional` - When IMDSv2 is optional, you can choose to retrieve
39438
- # instance metadata with or without a session token in your request.
39439
- # If you retrieve the IAM role credentials without a token, the
39440
- # IMDSv1 role credentials are returned. If you retrieve the IAM role
39441
- # credentials using a valid session token, the IMDSv2 role
39442
- # credentials are returned.
39443
- #
39444
- # * `required` - When IMDSv2 is required, you must send a session
39445
- # token with any instance metadata retrieval requests. In this
39446
- # state, retrieving the IAM role credentials always returns IMDSv2
39447
- # credentials; IMDSv1 credentials are not available.
39545
+ # Indicates whether IMDSv2 is required.
39546
+ #
39547
+ # * `optional` - IMDSv2 is optional. You can choose whether to send a
39548
+ # session token in your instance metadata retrieval requests. If you
39549
+ # retrieve IAM role credentials without a session token, you receive
39550
+ # the IMDSv1 role credentials. If you retrieve IAM role credentials
39551
+ # using a valid session token, you receive the IMDSv2 role
39552
+ # credentials.
39448
39553
  #
39449
- # Default: `optional`
39554
+ # * `required` - IMDSv2 is required. You must send a session token in
39555
+ # your instance metadata retrieval requests. With this option,
39556
+ # retrieving the IAM role credentials always returns IMDSv2
39557
+ # credentials; IMDSv1 credentials are not available.
39450
39558
  # @return [String]
39451
39559
  #
39452
39560
  # @!attribute [rw] http_put_response_hop_limit
@@ -40089,25 +40197,36 @@ module Aws::EC2
40089
40197
  # @return [Array<String>]
40090
40198
  #
40091
40199
  # @!attribute [rw] spot_max_price_percentage_over_lowest_price
40092
- # The price protection threshold for Spot Instances. This is the
40093
- # maximum you’ll pay for a Spot Instance, expressed as a percentage
40094
- # above the least expensive current generation M, C, or R instance
40095
- # type with your specified attributes. When Amazon EC2 selects
40096
- # instance types with your attributes, it excludes instance types
40097
- # priced above your threshold.
40200
+ # \[Price protection\] The price protection threshold for Spot
40201
+ # Instances, as a percentage higher than an identified Spot price. The
40202
+ # identified Spot price is the Spot price of the lowest priced current
40203
+ # generation C, M, or R instance type with your specified attributes.
40204
+ # If no current generation C, M, or R instance type matches your
40205
+ # attributes, then the identified Spot price is from the lowest priced
40206
+ # current generation instance types, and failing that, from the lowest
40207
+ # priced previous generation instance types that match your
40208
+ # attributes. When Amazon EC2 selects instance types with your
40209
+ # attributes, it will exclude instance types whose Spot price exceeds
40210
+ # your specified threshold.
40098
40211
  #
40099
40212
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40100
40213
  # percentage.
40101
40214
  #
40102
- # To turn off price protection, specify a high value, such as
40103
- # `999999`.
40215
+ # To indicate no price protection threshold, specify a high value,
40216
+ # such as `999999`.
40217
+ #
40218
+ # If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the
40219
+ # price protection threshold is applied based on the per-vCPU or
40220
+ # per-memory price instead of the per-instance price.
40104
40221
  #
40105
40222
  # This parameter is not supported for [GetSpotPlacementScores][1] and
40106
40223
  # [GetInstanceTypesFromInstanceRequirements][2].
40107
40224
  #
40108
- # <note markdown="1"> If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the
40109
- # price protection threshold is applied based on the per-vCPU or
40110
- # per-memory price instead of the per-instance price.
40225
+ # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40226
+ # `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
40227
+ # If you don't specify either, then
40228
+ # `SpotMaxPricePercentageOverLowestPrice` is used and the value for
40229
+ # that parameter defaults to `100`.
40111
40230
  #
40112
40231
  # </note>
40113
40232
  #
@@ -40120,12 +40239,13 @@ module Aws::EC2
40120
40239
  # @return [Integer]
40121
40240
  #
40122
40241
  # @!attribute [rw] on_demand_max_price_percentage_over_lowest_price
40123
- # The price protection threshold for On-Demand Instances. This is the
40124
- # maximum you’ll pay for an On-Demand Instance, expressed as a
40125
- # percentage above the least expensive current generation M, C, or R
40126
- # instance type with your specified attributes. When Amazon EC2
40127
- # selects instance types with your attributes, it excludes instance
40128
- # types priced above your threshold.
40242
+ # \[Price protection\] The price protection threshold for On-Demand
40243
+ # Instances, as a percentage higher than an identified On-Demand
40244
+ # price. The identified On-Demand price is the price of the lowest
40245
+ # priced current generation C, M, or R instance type with your
40246
+ # specified attributes. When Amazon EC2 selects instance types with
40247
+ # your attributes, it will exclude instance types whose price exceeds
40248
+ # your specified threshold.
40129
40249
  #
40130
40250
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40131
40251
  # percentage.
@@ -40361,6 +40481,38 @@ module Aws::EC2
40361
40481
  # Default: All instance types
40362
40482
  # @return [Array<String>]
40363
40483
  #
40484
+ # @!attribute [rw] max_spot_price_as_percentage_of_optimal_on_demand_price
40485
+ # \[Price protection\] The price protection threshold for Spot
40486
+ # Instances, as a percentage of an identified On-Demand price. The
40487
+ # identified On-Demand price is the price of the lowest priced current
40488
+ # generation C, M, or R instance type with your specified attributes.
40489
+ # If no current generation C, M, or R instance type matches your
40490
+ # attributes, then the identified price is from the lowest priced
40491
+ # current generation instance types, and failing that, from the lowest
40492
+ # priced previous generation instance types that match your
40493
+ # attributes. When Amazon EC2 selects instance types with your
40494
+ # attributes, it will exclude instance types whose price exceeds your
40495
+ # specified threshold.
40496
+ #
40497
+ # The parameter accepts an integer, which Amazon EC2 interprets as a
40498
+ # percentage.
40499
+ #
40500
+ # To indicate no price protection threshold, specify a high value,
40501
+ # such as `999999`.
40502
+ #
40503
+ # If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
40504
+ # price protection threshold is based on the per vCPU or per memory
40505
+ # price instead of the per instance price.
40506
+ #
40507
+ # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40508
+ # `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
40509
+ # If you don't specify either, then
40510
+ # `SpotMaxPricePercentageOverLowestPrice` is used and the value for
40511
+ # that parameter defaults to `100`.
40512
+ #
40513
+ # </note>
40514
+ # @return [Integer]
40515
+ #
40364
40516
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceRequirements AWS API Documentation
40365
40517
  #
40366
40518
  class InstanceRequirements < Struct.new(
@@ -40386,7 +40538,8 @@ module Aws::EC2
40386
40538
  :accelerator_names,
40387
40539
  :accelerator_total_memory_mi_b,
40388
40540
  :network_bandwidth_gbps,
40389
- :allowed_instance_types)
40541
+ :allowed_instance_types,
40542
+ :max_spot_price_as_percentage_of_optimal_on_demand_price)
40390
40543
  SENSITIVE = []
40391
40544
  include Aws::Structure
40392
40545
  end
@@ -40514,25 +40667,36 @@ module Aws::EC2
40514
40667
  # @return [Array<String>]
40515
40668
  #
40516
40669
  # @!attribute [rw] spot_max_price_percentage_over_lowest_price
40517
- # The price protection threshold for Spot Instance. This is the
40518
- # maximum you’ll pay for an Spot Instance, expressed as a percentage
40519
- # above the least expensive current generation M, C, or R instance
40520
- # type with your specified attributes. When Amazon EC2 selects
40521
- # instance types with your attributes, it excludes instance types
40522
- # priced above your threshold.
40670
+ # \[Price protection\] The price protection threshold for Spot
40671
+ # Instances, as a percentage higher than an identified Spot price. The
40672
+ # identified Spot price is the Spot price of the lowest priced current
40673
+ # generation C, M, or R instance type with your specified attributes.
40674
+ # If no current generation C, M, or R instance type matches your
40675
+ # attributes, then the identified Spot price is from the lowest priced
40676
+ # current generation instance types, and failing that, from the lowest
40677
+ # priced previous generation instance types that match your
40678
+ # attributes. When Amazon EC2 selects instance types with your
40679
+ # attributes, it will exclude instance types whose Spot price exceeds
40680
+ # your specified threshold.
40523
40681
  #
40524
40682
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40525
40683
  # percentage.
40526
40684
  #
40527
- # To turn off price protection, specify a high value, such as
40528
- # `999999`.
40685
+ # To indicate no price protection threshold, specify a high value,
40686
+ # such as `999999`.
40687
+ #
40688
+ # If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the
40689
+ # price protection threshold is applied based on the per-vCPU or
40690
+ # per-memory price instead of the per-instance price.
40529
40691
  #
40530
40692
  # This parameter is not supported for [GetSpotPlacementScores][1] and
40531
40693
  # [GetInstanceTypesFromInstanceRequirements][2].
40532
40694
  #
40533
- # <note markdown="1"> If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the
40534
- # price protection threshold is applied based on the per-vCPU or
40535
- # per-memory price instead of the per-instance price.
40695
+ # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40696
+ # `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
40697
+ # If you don't specify either, then
40698
+ # `SpotMaxPricePercentageOverLowestPrice` is used and the value for
40699
+ # that parameter defaults to `100`.
40536
40700
  #
40537
40701
  # </note>
40538
40702
  #
@@ -40545,18 +40709,19 @@ module Aws::EC2
40545
40709
  # @return [Integer]
40546
40710
  #
40547
40711
  # @!attribute [rw] on_demand_max_price_percentage_over_lowest_price
40548
- # The price protection threshold for On-Demand Instances. This is the
40549
- # maximum you’ll pay for an On-Demand Instance, expressed as a
40550
- # percentage above the least expensive current generation M, C, or R
40551
- # instance type with your specified attributes. When Amazon EC2
40552
- # selects instance types with your attributes, it excludes instance
40553
- # types priced above your threshold.
40712
+ # \[Price protection\] The price protection threshold for On-Demand
40713
+ # Instances, as a percentage higher than an identified On-Demand
40714
+ # price. The identified On-Demand price is the price of the lowest
40715
+ # priced current generation C, M, or R instance type with your
40716
+ # specified attributes. When Amazon EC2 selects instance types with
40717
+ # your attributes, it will exclude instance types whose price exceeds
40718
+ # your specified threshold.
40554
40719
  #
40555
40720
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40556
40721
  # percentage.
40557
40722
  #
40558
- # To turn off price protection, specify a high value, such as
40559
- # `999999`.
40723
+ # To indicate no price protection threshold, specify a high value,
40724
+ # such as `999999`.
40560
40725
  #
40561
40726
  # This parameter is not supported for [GetSpotPlacementScores][1] and
40562
40727
  # [GetInstanceTypesFromInstanceRequirements][2].
@@ -40791,6 +40956,38 @@ module Aws::EC2
40791
40956
  # Default: All instance types
40792
40957
  # @return [Array<String>]
40793
40958
  #
40959
+ # @!attribute [rw] max_spot_price_as_percentage_of_optimal_on_demand_price
40960
+ # \[Price protection\] The price protection threshold for Spot
40961
+ # Instances, as a percentage of an identified On-Demand price. The
40962
+ # identified On-Demand price is the price of the lowest priced current
40963
+ # generation C, M, or R instance type with your specified attributes.
40964
+ # If no current generation C, M, or R instance type matches your
40965
+ # attributes, then the identified price is from the lowest priced
40966
+ # current generation instance types, and failing that, from the lowest
40967
+ # priced previous generation instance types that match your
40968
+ # attributes. When Amazon EC2 selects instance types with your
40969
+ # attributes, it will exclude instance types whose price exceeds your
40970
+ # specified threshold.
40971
+ #
40972
+ # The parameter accepts an integer, which Amazon EC2 interprets as a
40973
+ # percentage.
40974
+ #
40975
+ # To indicate no price protection threshold, specify a high value,
40976
+ # such as `999999`.
40977
+ #
40978
+ # If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
40979
+ # price protection threshold is based on the per vCPU or per memory
40980
+ # price instead of the per instance price.
40981
+ #
40982
+ # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40983
+ # `MaxSpotPriceAsPercentageOfOptimalOnDemandPrice` can be specified.
40984
+ # If you don't specify either, then
40985
+ # `SpotMaxPricePercentageOverLowestPrice` is used and the value for
40986
+ # that parameter defaults to `100`.
40987
+ #
40988
+ # </note>
40989
+ # @return [Integer]
40990
+ #
40794
40991
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceRequirementsRequest AWS API Documentation
40795
40992
  #
40796
40993
  class InstanceRequirementsRequest < Struct.new(
@@ -40816,7 +41013,8 @@ module Aws::EC2
40816
41013
  :accelerator_names,
40817
41014
  :accelerator_total_memory_mi_b,
40818
41015
  :network_bandwidth_gbps,
40819
- :allowed_instance_types)
41016
+ :allowed_instance_types,
41017
+ :max_spot_price_as_percentage_of_optimal_on_demand_price)
40820
41018
  SENSITIVE = []
40821
41019
  include Aws::Structure
40822
41020
  end
@@ -45047,10 +45245,9 @@ module Aws::EC2
45047
45245
  # Valid Values lists all resource types for Amazon EC2 that can be
45048
45246
  # tagged. When you create a launch template, you can specify tags for
45049
45247
  # the following resource types only: `instance` \| `volume` \|
45050
- # `elastic-gpu` \| `network-interface` \| `spot-instances-request`. If
45051
- # the instance does not include the resource type that you specify,
45052
- # the instance launch fails. For example, not all instance types
45053
- # include an Elastic GPU.
45248
+ # `network-interface` \| `spot-instances-request`. If the instance
45249
+ # does not include the resource type that you specify, the instance
45250
+ # launch fails. For example, not all instance types include a volume.
45054
45251
  #
45055
45252
  # To tag a resource after it has been created, see [CreateTags][1].
45056
45253
  #
@@ -47051,7 +47248,9 @@ module Aws::EC2
47051
47248
  # Modifies the `DeleteOnTermination` attribute for volumes that are
47052
47249
  # currently attached. The volume must be owned by the caller. If no
47053
47250
  # value is specified for `DeleteOnTermination`, the default is `true`
47054
- # and the volume is deleted when the instance is terminated.
47251
+ # and the volume is deleted when the instance is terminated. You
47252
+ # can't modify the `DeleteOnTermination` attribute for volumes that
47253
+ # are attached to Fargate tasks.
47055
47254
  #
47056
47255
  # To add instance store volumes to an Amazon EBS-backed instance, you
47057
47256
  # must add them when you launch the instance. For more information,
@@ -47451,23 +47650,22 @@ module Aws::EC2
47451
47650
  # @return [String]
47452
47651
  #
47453
47652
  # @!attribute [rw] http_tokens
47454
- # IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to
47455
- # `optional` (in other words, set the use of IMDSv2 to `optional`) or
47456
- # `required` (in other words, set the use of IMDSv2 to `required`).
47457
- #
47458
- # * `optional` - When IMDSv2 is optional, you can choose to retrieve
47459
- # instance metadata with or without a session token in your request.
47460
- # If you retrieve the IAM role credentials without a token, the
47461
- # IMDSv1 role credentials are returned. If you retrieve the IAM role
47462
- # credentials using a valid session token, the IMDSv2 role
47463
- # credentials are returned.
47464
- #
47465
- # * `required` - When IMDSv2 is required, you must send a session
47466
- # token with any instance metadata retrieval requests. In this
47467
- # state, retrieving the IAM role credentials always returns IMDSv2
47653
+ # Indicates whether IMDSv2 is required.
47654
+ #
47655
+ # * `optional` - IMDSv2 is optional. You can choose whether to send a
47656
+ # session token in your instance metadata retrieval requests. If you
47657
+ # retrieve IAM role credentials without a session token, you receive
47658
+ # the IMDSv1 role credentials. If you retrieve IAM role credentials
47659
+ # using a valid session token, you receive the IMDSv2 role
47660
+ # credentials.
47661
+ #
47662
+ # * `required` - IMDSv2 is required. You must send a session token in
47663
+ # your instance metadata retrieval requests. With this option,
47664
+ # retrieving the IAM role credentials always returns IMDSv2
47468
47665
  # credentials; IMDSv1 credentials are not available.
47469
47666
  #
47470
- # Default: `optional`
47667
+ # Default: If the value of `ImdsSupport` for the Amazon Machine Image
47668
+ # (AMI) for your instance is `v2.0`, the default is `required`.
47471
47669
  # @return [String]
47472
47670
  #
47473
47671
  # @!attribute [rw] http_put_response_hop_limit
@@ -48499,6 +48697,16 @@ module Aws::EC2
48499
48697
  # Specify `true` to indicate that network interfaces attached to
48500
48698
  # instances created in the specified subnet should be assigned a
48501
48699
  # public IPv4 address.
48700
+ #
48701
+ # Starting on February 1, 2024, Amazon Web Services will charge for
48702
+ # all public IPv4 addresses, including public IPv4 addresses
48703
+ # associated with running instances and Elastic IP addresses. For more
48704
+ # information, see the *Public IPv4 Address* tab on the [Amazon VPC
48705
+ # pricing page][1].
48706
+ #
48707
+ #
48708
+ #
48709
+ # [1]: http://aws.amazon.com/vpc/pricing/
48502
48710
  # @return [Types::AttributeBooleanValue]
48503
48711
  #
48504
48712
  # @!attribute [rw] subnet_id
@@ -50471,7 +50679,7 @@ module Aws::EC2
50471
50679
  #
50472
50680
  # Constraints: A value between 60 and half of `Phase2LifetimeSeconds`.
50473
50681
  #
50474
- # Default: `540`
50682
+ # Default: `270`
50475
50683
  # @return [Integer]
50476
50684
  #
50477
50685
  # @!attribute [rw] rekey_fuzz_percentage
@@ -55680,7 +55888,13 @@ module Aws::EC2
55680
55888
  # @return [Array<Types::LaunchTemplateTagSpecificationRequest>]
55681
55889
  #
55682
55890
  # @!attribute [rw] elastic_gpu_specifications
55683
- # An elastic GPU to associate with the instance.
55891
+ # Deprecated.
55892
+ #
55893
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
55894
+ # workloads that require graphics acceleration, we recommend that you
55895
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
55896
+ #
55897
+ # </note>
55684
55898
  # @return [Array<Types::ElasticGpuSpecification>]
55685
55899
  #
55686
55900
  # @!attribute [rw] elastic_inference_accelerators
@@ -57132,7 +57346,13 @@ module Aws::EC2
57132
57346
  # @return [Array<Types::LaunchTemplateTagSpecification>]
57133
57347
  #
57134
57348
  # @!attribute [rw] elastic_gpu_specifications
57135
- # The elastic GPU specification.
57349
+ # Deprecated.
57350
+ #
57351
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
57352
+ # workloads that require graphics acceleration, we recommend that you
57353
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
57354
+ #
57355
+ # </note>
57136
57356
  # @return [Array<Types::ElasticGpuSpecificationResponse>]
57137
57357
  #
57138
57358
  # @!attribute [rw] elastic_inference_accelerators
@@ -58324,15 +58544,13 @@ module Aws::EC2
58324
58544
  # @return [String]
58325
58545
  #
58326
58546
  # @!attribute [rw] elastic_gpu_specification
58327
- # An elastic GPU to associate with the instance. An Elastic GPU is a
58328
- # GPU resource that you can attach to your Windows instance to
58329
- # accelerate the graphics performance of your applications. For more
58330
- # information, see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2
58331
- # User Guide*.
58332
- #
58547
+ # Deprecated.
58333
58548
  #
58549
+ # <note markdown="1"> Amazon Elastic Graphics reached end of life on January 8, 2024. For
58550
+ # workloads that require graphics acceleration, we recommend that you
58551
+ # use Amazon EC2 G4ad, G4dn, or G5 instances.
58334
58552
  #
58335
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/elastic-graphics.html
58553
+ # </note>
58336
58554
  # @return [Array<Types::ElasticGpuSpecification>]
58337
58555
  #
58338
58556
  # @!attribute [rw] elastic_inference_accelerators
@@ -58367,8 +58585,6 @@ module Aws::EC2
58367
58585
  #
58368
58586
  # * Volumes
58369
58587
  #
58370
- # * Elastic graphics
58371
- #
58372
58588
  # * Spot Instance requests
58373
58589
  #
58374
58590
  # * Network interfaces
@@ -59171,6 +59387,16 @@ module Aws::EC2
59171
59387
  # network interface, not an existing one. You cannot specify more than
59172
59388
  # one network interface in the request. If launching into a default
59173
59389
  # subnet, the default value is `true`.
59390
+ #
59391
+ # Starting on February 1, 2024, Amazon Web Services will charge for
59392
+ # all public IPv4 addresses, including public IPv4 addresses
59393
+ # associated with running instances and Elastic IP addresses. For more
59394
+ # information, see the *Public IPv4 Address* tab on the [Amazon VPC
59395
+ # pricing page][1].
59396
+ #
59397
+ #
59398
+ #
59399
+ # [1]: http://aws.amazon.com/vpc/pricing/
59174
59400
  # @return [Boolean]
59175
59401
  #
59176
59402
  # @!attribute [rw] delete_on_termination
@@ -61201,10 +61427,10 @@ module Aws::EC2
61201
61427
  # @return [String]
61202
61428
  #
61203
61429
  # @!attribute [rw] target_capacity_unit_type
61204
- # The unit for the target capacity. `TargetCapacityUnitType` can only
61205
- # be specified when `InstanceRequirements` is specified.
61430
+ # The unit for the target capacity. You can specify this parameter
61431
+ # only when using attribute-based instance type selection.
61206
61432
  #
61207
- # Default: `units` (translates to number of instances)
61433
+ # Default: `units` (the number of instances)
61208
61434
  # @return [String]
61209
61435
  #
61210
61436
  # @!attribute [rw] tag_specifications
@@ -62273,7 +62499,7 @@ module Aws::EC2
62273
62499
  # because of an increase in the Spot price.
62274
62500
  #
62275
62501
  # * `Client.InstanceInitiatedShutdown`: The instance was shut down
62276
- # using the `shutdown -h` command from the instance.
62502
+ # from the operating system of the instance.
62277
62503
  #
62278
62504
  # * `Client.InstanceTerminated`: The instance was terminated or
62279
62505
  # rebooted during AMI creation.
@@ -62474,6 +62700,16 @@ module Aws::EC2
62474
62700
  # @!attribute [rw] map_public_ip_on_launch
62475
62701
  # Indicates whether instances launched in this subnet receive a public
62476
62702
  # IPv4 address.
62703
+ #
62704
+ # Starting on February 1, 2024, Amazon Web Services will charge for
62705
+ # all public IPv4 addresses, including public IPv4 addresses
62706
+ # associated with running instances and Elastic IP addresses. For more
62707
+ # information, see the *Public IPv4 Address* tab on the [Amazon VPC
62708
+ # pricing page][1].
62709
+ #
62710
+ #
62711
+ #
62712
+ # [1]: http://aws.amazon.com/vpc/pricing/
62477
62713
  # @return [Boolean]
62478
62714
  #
62479
62715
  # @!attribute [rw] map_customer_owned_ip_on_launch
@@ -62883,8 +63119,8 @@ module Aws::EC2
62883
63119
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptions
62884
63120
  #
62885
63121
  # @!attribute [rw] total_target_capacity
62886
- # The number of units to request, filled using
62887
- # `DefaultTargetCapacityType`.
63122
+ # The number of units to request, filled the default target capacity
63123
+ # type.
62888
63124
  # @return [Integer]
62889
63125
  #
62890
63126
  # @!attribute [rw] on_demand_target_capacity
@@ -62900,15 +63136,11 @@ module Aws::EC2
62900
63136
  # @return [Integer]
62901
63137
  #
62902
63138
  # @!attribute [rw] default_target_capacity_type
62903
- # The default `TotalTargetCapacity`, which is either `Spot` or
62904
- # `On-Demand`.
63139
+ # The default target capacity type.
62905
63140
  # @return [String]
62906
63141
  #
62907
63142
  # @!attribute [rw] target_capacity_unit_type
62908
- # The unit for the target capacity. `TargetCapacityUnitType` can only
62909
- # be specified when `InstanceRequirements` is specified.
62910
- #
62911
- # Default: `units` (translates to number of instances)
63143
+ # The unit for the target capacity.
62912
63144
  # @return [String]
62913
63145
  #
62914
63146
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetCapacitySpecification AWS API Documentation
@@ -62937,7 +63169,7 @@ module Aws::EC2
62937
63169
  # request, EC2 Fleet will launch instances until it reaches the maximum
62938
63170
  # amount that you're willing to pay. When the maximum amount you're
62939
63171
  # willing to pay is reached, the fleet stops launching instances even if
62940
- # it hasnt met the target capacity. The `MaxTotalPrice` parameters are
63172
+ # it hasn't met the target capacity. The `MaxTotalPrice` parameters are
62941
63173
  # located in [OnDemandOptionsRequest][1] and [SpotOptionsRequest][2].
62942
63174
  #
62943
63175
  #
@@ -62946,8 +63178,8 @@ module Aws::EC2
62946
63178
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_SpotOptionsRequest
62947
63179
  #
62948
63180
  # @!attribute [rw] total_target_capacity
62949
- # The number of units to request, filled using
62950
- # `DefaultTargetCapacityType`.
63181
+ # The number of units to request, filled using the default target
63182
+ # capacity type.
62951
63183
  # @return [Integer]
62952
63184
  #
62953
63185
  # @!attribute [rw] on_demand_target_capacity
@@ -62959,15 +63191,14 @@ module Aws::EC2
62959
63191
  # @return [Integer]
62960
63192
  #
62961
63193
  # @!attribute [rw] default_target_capacity_type
62962
- # The default `TotalTargetCapacity`, which is either `Spot` or
62963
- # `On-Demand`.
63194
+ # The default target capacity type.
62964
63195
  # @return [String]
62965
63196
  #
62966
63197
  # @!attribute [rw] target_capacity_unit_type
62967
- # The unit for the target capacity. `TargetCapacityUnitType` can only
62968
- # be specified when `InstanceRequirements` is specified.
63198
+ # The unit for the target capacity. You can specify this parameter
63199
+ # only when using attributed-based instance type selection.
62969
63200
  #
62970
- # Default: `units` (translates to number of instances)
63201
+ # Default: `units` (the number of instances)
62971
63202
  # @return [String]
62972
63203
  #
62973
63204
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TargetCapacitySpecificationRequest AWS API Documentation
@@ -66756,10 +66987,16 @@ module Aws::EC2
66756
66987
  #
66757
66988
  # @!attribute [rw] device
66758
66989
  # The device name.
66990
+ #
66991
+ # If the volume is attached to a Fargate task, this parameter returns
66992
+ # `null`.
66759
66993
  # @return [String]
66760
66994
  #
66761
66995
  # @!attribute [rw] instance_id
66762
66996
  # The ID of the instance.
66997
+ #
66998
+ # If the volume is attached to a Fargate task, this parameter returns
66999
+ # `null`.
66763
67000
  # @return [String]
66764
67001
  #
66765
67002
  # @!attribute [rw] state
@@ -66774,6 +67011,19 @@ module Aws::EC2
66774
67011
  # Indicates whether the EBS volume is deleted on instance termination.
66775
67012
  # @return [Boolean]
66776
67013
  #
67014
+ # @!attribute [rw] associated_resource
67015
+ # The ARN of the Amazon ECS or Fargate task to which the volume is
67016
+ # attached.
67017
+ # @return [String]
67018
+ #
67019
+ # @!attribute [rw] instance_owning_service
67020
+ # The service principal of Amazon Web Services service that owns the
67021
+ # underlying instance to which the volume is attached.
67022
+ #
67023
+ # This parameter is returned only for volumes that are attached to
67024
+ # Fargate tasks.
67025
+ # @return [String]
67026
+ #
66777
67027
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeAttachment AWS API Documentation
66778
67028
  #
66779
67029
  class VolumeAttachment < Struct.new(
@@ -66782,7 +67032,9 @@ module Aws::EC2
66782
67032
  :instance_id,
66783
67033
  :state,
66784
67034
  :volume_id,
66785
- :delete_on_termination)
67035
+ :delete_on_termination,
67036
+ :associated_resource,
67037
+ :instance_owning_service)
66786
67038
  SENSITIVE = []
66787
67039
  include Aws::Structure
66788
67040
  end
@@ -67999,7 +68251,7 @@ module Aws::EC2
67999
68251
  #
68000
68252
  # Constraints: A value between 60 and half of `Phase2LifetimeSeconds`.
68001
68253
  #
68002
- # Default: `540`
68254
+ # Default: `270`
68003
68255
  # @return [Integer]
68004
68256
  #
68005
68257
  # @!attribute [rw] rekey_fuzz_percentage