aws-sdk-ec2 1.438.0 → 1.442.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3235,9 +3235,7 @@ module Aws::EC2
3235
3235
  # @return [String]
3236
3236
  #
3237
3237
  # @!attribute [rw] ip_permissions
3238
- # The sets of IP permissions. You can't specify a destination
3239
- # security group and a CIDR IP address range in the same set of
3240
- # permissions.
3238
+ # The permissions for the security group rules.
3241
3239
  # @return [Array<Types::IpPermission>]
3242
3240
  #
3243
3241
  # @!attribute [rw] tag_specifications
@@ -3245,30 +3243,27 @@ module Aws::EC2
3245
3243
  # @return [Array<Types::TagSpecification>]
3246
3244
  #
3247
3245
  # @!attribute [rw] cidr_ip
3248
- # Not supported. Use a set of IP permissions to specify the CIDR.
3246
+ # Not supported. Use IP permissions instead.
3249
3247
  # @return [String]
3250
3248
  #
3251
3249
  # @!attribute [rw] from_port
3252
- # Not supported. Use a set of IP permissions to specify the port.
3250
+ # Not supported. Use IP permissions instead.
3253
3251
  # @return [Integer]
3254
3252
  #
3255
3253
  # @!attribute [rw] ip_protocol
3256
- # Not supported. Use a set of IP permissions to specify the protocol
3257
- # name or number.
3254
+ # Not supported. Use IP permissions instead.
3258
3255
  # @return [String]
3259
3256
  #
3260
3257
  # @!attribute [rw] to_port
3261
- # Not supported. Use a set of IP permissions to specify the port.
3258
+ # Not supported. Use IP permissions instead.
3262
3259
  # @return [Integer]
3263
3260
  #
3264
3261
  # @!attribute [rw] source_security_group_name
3265
- # Not supported. Use a set of IP permissions to specify a destination
3266
- # security group.
3262
+ # Not supported. Use IP permissions instead.
3267
3263
  # @return [String]
3268
3264
  #
3269
3265
  # @!attribute [rw] source_security_group_owner_id
3270
- # Not supported. Use a set of IP permissions to specify a destination
3271
- # security group.
3266
+ # Not supported. Use IP permissions instead.
3272
3267
  # @return [String]
3273
3268
  #
3274
3269
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgressRequest AWS API Documentation
@@ -3307,51 +3302,50 @@ module Aws::EC2
3307
3302
  end
3308
3303
 
3309
3304
  # @!attribute [rw] cidr_ip
3310
- # The IPv4 address range, in CIDR format. You can't specify this
3311
- # parameter when specifying a source security group. To specify an
3312
- # IPv6 address range, use a set of IP permissions.
3305
+ # The IPv4 address range, in CIDR format.
3306
+ #
3307
+ # To specify an IPv6 address range, use IP permissions instead.
3313
3308
  #
3314
- # Alternatively, use a set of IP permissions to specify multiple rules
3315
- # and a description for the rule.
3309
+ # To specify multiple rules and descriptions for the rules, use IP
3310
+ # permissions instead.
3316
3311
  # @return [String]
3317
3312
  #
3318
3313
  # @!attribute [rw] from_port
3319
3314
  # If the protocol is TCP or UDP, this is the start of the port range.
3320
- # If the protocol is ICMP, this is the type number. A value of -1
3321
- # indicates all ICMP types. If you specify all ICMP types, you must
3322
- # specify all ICMP codes.
3315
+ # If the protocol is ICMP, this is the ICMP type or -1 (all ICMP
3316
+ # types).
3323
3317
  #
3324
- # Alternatively, use a set of IP permissions to specify multiple rules
3325
- # and a description for the rule.
3318
+ # To specify multiple rules and descriptions for the rules, use IP
3319
+ # permissions instead.
3326
3320
  # @return [Integer]
3327
3321
  #
3328
3322
  # @!attribute [rw] group_id
3329
- # The ID of the security group. You must specify either the security
3330
- # group ID or the security group name in the request. For security
3331
- # groups in a nondefault VPC, you must specify the security group ID.
3323
+ # The ID of the security group.
3332
3324
  # @return [String]
3333
3325
  #
3334
3326
  # @!attribute [rw] group_name
3335
- # \[Default VPC\] The name of the security group. You must specify
3336
- # either the security group ID or the security group name in the
3337
- # request. For security groups in a nondefault VPC, you must specify
3338
- # the security group ID.
3327
+ # \[Default VPC\] The name of the security group. For security groups
3328
+ # for a default VPC you can specify either the ID or the name of the
3329
+ # security group. For security groups for a nondefault VPC, you must
3330
+ # specify the ID of the security group.
3339
3331
  # @return [String]
3340
3332
  #
3341
3333
  # @!attribute [rw] ip_permissions
3342
- # The sets of IP permissions.
3334
+ # The permissions for the security group rules.
3343
3335
  # @return [Array<Types::IpPermission>]
3344
3336
  #
3345
3337
  # @!attribute [rw] ip_protocol
3346
3338
  # The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
3347
- # Numbers][1]). To specify `icmpv6`, use a set of IP permissions.
3339
+ # Numbers][1]). To specify all protocols, use `-1`.
3340
+ #
3341
+ # To specify `icmpv6`, use IP permissions instead.
3348
3342
  #
3349
- # Use `-1` to specify all protocols. If you specify `-1` or a protocol
3350
- # other than `tcp`, `udp`, or `icmp`, traffic on all ports is allowed,
3351
- # regardless of any ports you specify.
3343
+ # If you specify a protocol other than one of the supported values,
3344
+ # traffic is allowed on all ports, regardless of any ports that you
3345
+ # specify.
3352
3346
  #
3353
- # Alternatively, use a set of IP permissions to specify multiple rules
3354
- # and a description for the rule.
3347
+ # To specify multiple rules and descriptions for the rules, use IP
3348
+ # permissions instead.
3355
3349
  #
3356
3350
  #
3357
3351
  #
@@ -3359,34 +3353,29 @@ module Aws::EC2
3359
3353
  # @return [String]
3360
3354
  #
3361
3355
  # @!attribute [rw] source_security_group_name
3362
- # \[Default VPC\] The name of the source security group. You can't
3363
- # specify this parameter in combination with the following parameters:
3364
- # the CIDR IP address range, the start of the port range, the IP
3365
- # protocol, and the end of the port range. Creates rules that grant
3366
- # full ICMP, UDP, and TCP access. To create a rule with a specific IP
3367
- # protocol and port range, use a set of IP permissions instead. The
3368
- # source security group must be in the same VPC.
3356
+ # \[Default VPC\] The name of the source security group.
3357
+ #
3358
+ # The rule grants full ICMP, UDP, and TCP access. To create a rule
3359
+ # with a specific protocol and port range, specify a set of IP
3360
+ # permissions instead.
3369
3361
  # @return [String]
3370
3362
  #
3371
3363
  # @!attribute [rw] source_security_group_owner_id
3372
- # \[Nondefault VPC\] The Amazon Web Services account ID for the source
3373
- # security group, if the source security group is in a different
3374
- # account. You can't specify this parameter in combination with the
3375
- # following parameters: the CIDR IP address range, the IP protocol,
3376
- # the start of the port range, and the end of the port range. Creates
3377
- # rules that grant full ICMP, UDP, and TCP access. To create a rule
3378
- # with a specific IP protocol and port range, use a set of IP
3379
- # permissions instead.
3364
+ # The Amazon Web Services account ID for the source security group, if
3365
+ # the source security group is in a different account.
3366
+ #
3367
+ # The rule grants full ICMP, UDP, and TCP access. To create a rule
3368
+ # with a specific protocol and port range, use IP permissions instead.
3380
3369
  # @return [String]
3381
3370
  #
3382
3371
  # @!attribute [rw] to_port
3383
3372
  # If the protocol is TCP or UDP, this is the end of the port range. If
3384
- # the protocol is ICMP, this is the code. A value of -1 indicates all
3385
- # ICMP codes. If you specify all ICMP types, you must specify all ICMP
3386
- # codes.
3373
+ # the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes).
3374
+ # If the start port is -1 (all ICMP types), then the end port must be
3375
+ # -1 (all ICMP codes).
3387
3376
  #
3388
- # Alternatively, use a set of IP permissions to specify multiple rules
3389
- # and a description for the rule.
3377
+ # To specify multiple rules and descriptions for the rules, use IP
3378
+ # permissions instead.
3390
3379
  # @return [Integer]
3391
3380
  #
3392
3381
  # @!attribute [rw] dry_run
@@ -3397,7 +3386,7 @@ module Aws::EC2
3397
3386
  # @return [Boolean]
3398
3387
  #
3399
3388
  # @!attribute [rw] tag_specifications
3400
- # \[VPC Only\] The tags applied to the security group rule.
3389
+ # The tags applied to the security group rule.
3401
3390
  # @return [Array<Types::TagSpecification>]
3402
3391
  #
3403
3392
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngressRequest AWS API Documentation
@@ -3674,11 +3663,7 @@ module Aws::EC2
3674
3663
  # @!attribute [rw] instance_id
3675
3664
  # The ID of the instance to bundle.
3676
3665
  #
3677
- # Type: String
3678
- #
3679
3666
  # Default: None
3680
- #
3681
- # Required: Yes
3682
3667
  # @return [String]
3683
3668
  #
3684
3669
  # @!attribute [rw] storage
@@ -6365,11 +6350,11 @@ module Aws::EC2
6365
6350
  # snapshot. The default KMS key for Amazon EBS is used unless you
6366
6351
  # specify a non-default Key Management Service (KMS) KMS key using
6367
6352
  # `KmsKeyId`. For more information, see [Amazon EBS encryption][1] in
6368
- # the *Amazon EC2 User Guide*.
6353
+ # the *Amazon EBS User Guide*.
6369
6354
  #
6370
6355
  #
6371
6356
  #
6372
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
6357
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
6373
6358
  # @return [Boolean]
6374
6359
  #
6375
6360
  # @!attribute [rw] kms_key_id
@@ -6419,12 +6404,12 @@ module Aws::EC2
6419
6404
  # the destination Outpost. You cannot copy an AMI from an Outpost to a
6420
6405
  # Region, from one Outpost to another, or within the same Outpost.
6421
6406
  #
6422
- # For more information, see [ Copy AMIs from an Amazon Web Services
6423
- # Region to an Outpost][1] in the *Amazon EC2 User Guide*.
6407
+ # For more information, see [Copy AMIs from an Amazon Web Services
6408
+ # Region to an Outpost][1] in the *Amazon EBS User Guide*.
6424
6409
  #
6425
6410
  #
6426
6411
  #
6427
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-amis
6412
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-amis
6428
6413
  # @return [String]
6429
6414
  #
6430
6415
  # @!attribute [rw] dry_run
@@ -6448,6 +6433,25 @@ module Aws::EC2
6448
6433
  # Default: Your user-defined AMI tags are not copied.
6449
6434
  # @return [Boolean]
6450
6435
  #
6436
+ # @!attribute [rw] tag_specifications
6437
+ # The tags to apply to the new AMI and new snapshots. You can tag the
6438
+ # AMI, the snapshots, or both.
6439
+ #
6440
+ # * To tag the new AMI, the value for `ResourceType` must be `image`.
6441
+ #
6442
+ # * To tag the new snapshots, the value for `ResourceType` must be
6443
+ # `snapshot`. The same tag is applied to all the new snapshots.
6444
+ #
6445
+ # If you specify other values for `ResourceType`, the request fails.
6446
+ #
6447
+ # To tag an AMI or snapshot after it has been created, see
6448
+ # [CreateTags][1].
6449
+ #
6450
+ #
6451
+ #
6452
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
6453
+ # @return [Array<Types::TagSpecification>]
6454
+ #
6451
6455
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImageRequest AWS API Documentation
6452
6456
  #
6453
6457
  class CopyImageRequest < Struct.new(
@@ -6460,7 +6464,8 @@ module Aws::EC2
6460
6464
  :source_region,
6461
6465
  :destination_outpost_arn,
6462
6466
  :dry_run,
6463
- :copy_image_tags)
6467
+ :copy_image_tags,
6468
+ :tag_specifications)
6464
6469
  SENSITIVE = []
6465
6470
  include Aws::Structure
6466
6471
  end
@@ -6492,12 +6497,11 @@ module Aws::EC2
6492
6497
  # the same Outpost.
6493
6498
  #
6494
6499
  # For more information, see [ Copy snapshots from an Amazon Web
6495
- # Services Region to an Outpost][1] in the *Amazon Elastic Compute
6496
- # Cloud User Guide*.
6500
+ # Services Region to an Outpost][1] in the *Amazon EBS User Guide*.
6497
6501
  #
6498
6502
  #
6499
6503
  #
6500
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#copy-snapshots
6504
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#copy-snapshots
6501
6505
  # @return [String]
6502
6506
  #
6503
6507
  # @!attribute [rw] destination_region
@@ -6518,12 +6522,12 @@ module Aws::EC2
6518
6522
  # Otherwise, omit this parameter. Encrypted snapshots are encrypted,
6519
6523
  # even if you omit this parameter and encryption by default is not
6520
6524
  # enabled. You cannot set this parameter to false. For more
6521
- # information, see [Amazon EBS encryption][1] in the *Amazon Elastic
6522
- # Compute Cloud User Guide*.
6525
+ # information, see [Amazon EBS encryption][1] in the *Amazon EBS User
6526
+ # Guide*.
6523
6527
  #
6524
6528
  #
6525
6529
  #
6526
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
6530
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html
6527
6531
  # @return [Boolean]
6528
6532
  #
6529
6533
  # @!attribute [rw] kms_key_id
@@ -7922,10 +7926,12 @@ module Aws::EC2
7922
7926
  #
7923
7927
  # @!attribute [rw] deliver_logs_permission_arn
7924
7928
  # The ARN of the IAM role that allows Amazon EC2 to publish flow logs
7925
- # to a CloudWatch Logs log group in your account.
7929
+ # to the log destination.
7926
7930
  #
7927
7931
  # This parameter is required if the destination type is
7928
- # `cloud-watch-logs` and unsupported otherwise.
7932
+ # `cloud-watch-logs`, or if the destination type is
7933
+ # `kinesis-data-firehose` and the delivery stream and the resources to
7934
+ # monitor are in different accounts.
7929
7935
  # @return [String]
7930
7936
  #
7931
7937
  # @!attribute [rw] deliver_cross_account_role
@@ -10517,11 +10523,11 @@ module Aws::EC2
10517
10523
  # volume.
10518
10524
  #
10519
10525
  # For more information, see [Create local snapshots from volumes on an
10520
- # Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
10526
+ # Outpost][1] in the *Amazon EBS User Guide*.
10521
10527
  #
10522
10528
  #
10523
10529
  #
10524
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
10530
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-snapshot
10525
10531
  # @return [String]
10526
10532
  #
10527
10533
  # @!attribute [rw] volume_id
@@ -10579,12 +10585,11 @@ module Aws::EC2
10579
10585
  # instance.
10580
10586
  #
10581
10587
  # For more information, see [ Create multi-volume local snapshots from
10582
- # instances on an Outpost][1] in the *Amazon Elastic Compute Cloud
10583
- # User Guide*.
10588
+ # instances on an Outpost][1] in the *Amazon EBS User Guide*.
10584
10589
  #
10585
10590
  #
10586
10591
  #
10587
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-multivol-snapshot
10592
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#create-multivol-snapshot
10588
10593
  # @return [String]
10589
10594
  #
10590
10595
  # @!attribute [rw] tag_specifications
@@ -11857,8 +11862,13 @@ module Aws::EC2
11857
11862
  # @return [String]
11858
11863
  #
11859
11864
  # @!attribute [rw] security_group_referencing_support
11865
+ # <note markdown="1"> This parameter is in preview and may not be available for your
11866
+ # account.
11867
+ #
11868
+ # </note>
11869
+ #
11860
11870
  # Enables you to reference a security group across VPCs attached to a
11861
- # transit gateway (TGW). Use this option to simplify security group
11871
+ # transit gateway. Use this option to simplify security group
11862
11872
  # management and control of instance-to-instance traffic across VPCs
11863
11873
  # that are connected by transit gateway. You can also use this option
11864
11874
  # to migrate from VPC peering (which was the only option that
@@ -11869,14 +11879,6 @@ module Aws::EC2
11869
11879
  # If you don't enable or disable SecurityGroupReferencingSupport in
11870
11880
  # the request, the attachment will inherit the security group
11871
11881
  # referencing support setting on the transit gateway.
11872
- #
11873
- # For important information about this feature, see [Create a transit
11874
- # gateway attachment to a VPC][1] in the *Amazon Web Services Transit
11875
- # Gateway Guide*.
11876
- #
11877
- #
11878
- #
11879
- # [1]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#create-vpc-attachment
11880
11882
  # @return [String]
11881
11883
  #
11882
11884
  # @!attribute [rw] ipv_6_support
@@ -12415,8 +12417,7 @@ module Aws::EC2
12415
12417
  # setting the encryption state to `true` depends on the volume origin
12416
12418
  # (new or from a snapshot), starting encryption state, ownership, and
12417
12419
  # whether encryption by default is enabled. For more information, see
12418
- # [Encryption by default][1] in the *Amazon Elastic Compute Cloud User
12419
- # Guide*.
12420
+ # [Encryption by default][1] in the *Amazon EBS User Guide*.
12420
12421
  #
12421
12422
  # Encrypted Amazon EBS volumes must be attached to instances that
12422
12423
  # support Amazon EBS encryption. For more information, see [Supported
@@ -12424,8 +12425,8 @@ module Aws::EC2
12424
12425
  #
12425
12426
  #
12426
12427
  #
12427
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default
12428
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
12428
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/work-with-ebs-encr.html#encryption-by-default
12429
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances
12429
12430
  # @return [Boolean]
12430
12431
  #
12431
12432
  # @!attribute [rw] iops
@@ -12524,13 +12525,13 @@ module Aws::EC2
12524
12525
  # be used as boot volumes.
12525
12526
  #
12526
12527
  # For more information, see [Amazon EBS volume types][1] in the
12527
- # *Amazon Elastic Compute Cloud User Guide*.
12528
+ # *Amazon EBS User Guide*.
12528
12529
  #
12529
12530
  # Default: `gp2`
12530
12531
  #
12531
12532
  #
12532
12533
  #
12533
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
12534
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
12534
12535
  # @return [String]
12535
12536
  #
12536
12537
  # @!attribute [rw] dry_run
@@ -12549,13 +12550,13 @@ module Aws::EC2
12549
12550
  # Multi-Attach, you can attach the volume to up to 16 [Instances built
12550
12551
  # on the Nitro System][1] in the same Availability Zone. This
12551
12552
  # parameter is supported with `io1` and `io2` volumes only. For more
12552
- # information, see [ Amazon EBS Multi-Attach][2] in the *Amazon
12553
- # Elastic Compute Cloud User Guide*.
12553
+ # information, see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS
12554
+ # User Guide*.
12554
12555
  #
12555
12556
  #
12556
12557
  #
12557
12558
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
12558
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html
12559
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
12559
12560
  # @return [Boolean]
12560
12561
  #
12561
12562
  # @!attribute [rw] throughput
@@ -16512,7 +16513,7 @@ module Aws::EC2
16512
16513
  # Local Zones, use the name of the group associated with the Local
16513
16514
  # Zone (for example, `us-west-2-lax-1`) For Wavelength Zones, use
16514
16515
  # the name of the group associated with the Wavelength Zone (for
16515
- # example, `us-east-1-wl1-bos-wlz-1`).
16516
+ # example, `us-east-1-wl1`).
16516
16517
  #
16517
16518
  # * `message` - The Zone message.
16518
16519
  #
@@ -25098,7 +25099,8 @@ module Aws::EC2
25098
25099
  #
25099
25100
  # @!attribute [rw] next_token
25100
25101
  # The token to include in another request to get the next page of
25101
- # items. This value is `null` when there are no more items to return.
25102
+ # items. This value is an empty string (`""`) or `null` when there are
25103
+ # no more items to return.
25102
25104
  # @return [String]
25103
25105
  #
25104
25106
  # @!attribute [rw] spot_price_history
@@ -29958,11 +29960,11 @@ module Aws::EC2
29958
29960
  #
29959
29961
  # @!attribute [rw] volume_type
29960
29962
  # The volume type. For more information, see [Amazon EBS volume
29961
- # types][1] in the *Amazon EC2 User Guide*.
29963
+ # types][1] in the *Amazon EBS User Guide*.
29962
29964
  #
29963
29965
  #
29964
29966
  #
29965
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
29967
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
29966
29968
  # @return [String]
29967
29969
  #
29968
29970
  # @!attribute [rw] kms_key_id
@@ -30004,7 +30006,7 @@ module Aws::EC2
30004
30006
  # the encryption state to `true` depends on the volume origin (new or
30005
30007
  # from a snapshot), starting encryption state, ownership, and whether
30006
30008
  # encryption by default is enabled. For more information, see [Amazon
30007
- # EBS encryption][1] in the *Amazon EC2 User Guide*.
30009
+ # EBS encryption][1] in the *Amazon EBS User Guide*.
30008
30010
  #
30009
30011
  # In no case can you remove encryption from an encrypted volume.
30010
30012
  #
@@ -30042,8 +30044,8 @@ module Aws::EC2
30042
30044
  #
30043
30045
  #
30044
30046
  #
30045
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters
30046
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
30047
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption.html#encryption-parameters
30048
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html#ebs-encryption_supported_instances
30047
30049
  # @return [Boolean]
30048
30050
  #
30049
30051
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
@@ -33023,6 +33025,15 @@ module Aws::EC2
33023
33025
  #
33024
33026
  # @!attribute [rw] weighted_capacity
33025
33027
  # The number of units provided by the specified instance type.
33028
+ #
33029
+ # <note markdown="1"> When specifying weights, the price used in the `lowest-price` and
33030
+ # `price-capacity-optimized` allocation strategies is per *unit* hour
33031
+ # (where the instance price is divided by the specified weight).
33032
+ # However, if all the specified weights are above the requested
33033
+ # `TargetCapacity`, resulting in only 1 instance being launched, the
33034
+ # price used is per *instance* hour.
33035
+ #
33036
+ # </note>
33026
33037
  # @return [Float]
33027
33038
  #
33028
33039
  # @!attribute [rw] priority
@@ -33118,6 +33129,15 @@ module Aws::EC2
33118
33129
  #
33119
33130
  # @!attribute [rw] weighted_capacity
33120
33131
  # The number of units provided by the specified instance type.
33132
+ #
33133
+ # <note markdown="1"> When specifying weights, the price used in the `lowest-price` and
33134
+ # `price-capacity-optimized` allocation strategies is per *unit* hour
33135
+ # (where the instance price is divided by the specified weight).
33136
+ # However, if all the specified weights are above the requested
33137
+ # `TargetCapacity`, resulting in only 1 instance being launched, the
33138
+ # price used is per *instance* hour.
33139
+ #
33140
+ # </note>
33121
33141
  # @return [Float]
33122
33142
  #
33123
33143
  # @!attribute [rw] priority
@@ -39502,6 +39522,8 @@ module Aws::EC2
39502
39522
  # @!attribute [rw] http_protocol_ipv_6
39503
39523
  # Enables or disables the IPv6 endpoint for the instance metadata
39504
39524
  # service.
39525
+ #
39526
+ # Default: `disabled`
39505
39527
  # @return [String]
39506
39528
  #
39507
39529
  # @!attribute [rw] instance_metadata_tags
@@ -39562,9 +39584,9 @@ module Aws::EC2
39562
39584
  # requests. The larger the number, the further instance metadata
39563
39585
  # requests can travel.
39564
39586
  #
39565
- # Default: 1
39587
+ # Default: `1`
39566
39588
  #
39567
- # Possible values: Integers from 1 to 64
39589
+ # Possible values: Integers from `1` to `64`
39568
39590
  # @return [Integer]
39569
39591
  #
39570
39592
  # @!attribute [rw] http_endpoint
@@ -39578,6 +39600,8 @@ module Aws::EC2
39578
39600
  # @!attribute [rw] http_protocol_ipv_6
39579
39601
  # Indicates whether the IPv6 endpoint for the instance metadata
39580
39602
  # service is enabled or disabled.
39603
+ #
39604
+ # Default: `disabled`
39581
39605
  # @return [String]
39582
39606
  #
39583
39607
  # @!attribute [rw] instance_metadata_tags
@@ -39831,11 +39855,10 @@ module Aws::EC2
39831
39855
  # one network interface in the request. If launching into a default
39832
39856
  # subnet, the default value is `true`.
39833
39857
  #
39834
- # Starting on February 1, 2024, Amazon Web Services will charge for
39835
- # all public IPv4 addresses, including public IPv4 addresses
39836
- # associated with running instances and Elastic IP addresses. For more
39837
- # information, see the *Public IPv4 Address* tab on the [Amazon VPC
39838
- # pricing page][1].
39858
+ # Amazon Web Services charges for all public IPv4 addresses, including
39859
+ # public IPv4 addresses associated with running instances and Elastic
39860
+ # IP addresses. For more information, see the *Public IPv4 Address*
39861
+ # tab on the [Amazon VPC pricing page][1].
39839
39862
  #
39840
39863
  #
39841
39864
  #
@@ -40212,9 +40235,6 @@ module Aws::EC2
40212
40235
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40213
40236
  # percentage.
40214
40237
  #
40215
- # To indicate no price protection threshold, specify a high value,
40216
- # such as `999999`.
40217
- #
40218
40238
  # If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the
40219
40239
  # price protection threshold is applied based on the per-vCPU or
40220
40240
  # per-memory price instead of the per-instance price.
@@ -40224,9 +40244,12 @@ module Aws::EC2
40224
40244
  #
40225
40245
  # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40226
40246
  # `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`.
40247
+ # If you don't specify either, Amazon EC2 will automatically apply
40248
+ # optimal price protection to consistently select from a wide range of
40249
+ # instance types. To indicate no price protection threshold for Spot
40250
+ # Instances, meaning you want to consider all instance types that
40251
+ # match your attributes, include one of these parameters and specify a
40252
+ # high value, such as `999999`.
40230
40253
  #
40231
40254
  # </note>
40232
40255
  #
@@ -40497,18 +40520,18 @@ module Aws::EC2
40497
40520
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40498
40521
  # percentage.
40499
40522
  #
40500
- # To indicate no price protection threshold, specify a high value,
40501
- # such as `999999`.
40502
- #
40503
40523
  # If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
40504
40524
  # price protection threshold is based on the per vCPU or per memory
40505
40525
  # price instead of the per instance price.
40506
40526
  #
40507
40527
  # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40508
40528
  # `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`.
40529
+ # If you don't specify either, Amazon EC2 will automatically apply
40530
+ # optimal price protection to consistently select from a wide range of
40531
+ # instance types. To indicate no price protection threshold for Spot
40532
+ # Instances, meaning you want to consider all instance types that
40533
+ # match your attributes, include one of these parameters and specify a
40534
+ # high value, such as `999999`.
40512
40535
  #
40513
40536
  # </note>
40514
40537
  # @return [Integer]
@@ -40682,9 +40705,6 @@ module Aws::EC2
40682
40705
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40683
40706
  # percentage.
40684
40707
  #
40685
- # To indicate no price protection threshold, specify a high value,
40686
- # such as `999999`.
40687
- #
40688
40708
  # If you set `TargetCapacityUnitType` to `vcpu` or `memory-mib`, the
40689
40709
  # price protection threshold is applied based on the per-vCPU or
40690
40710
  # per-memory price instead of the per-instance price.
@@ -40694,9 +40714,12 @@ module Aws::EC2
40694
40714
  #
40695
40715
  # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40696
40716
  # `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`.
40717
+ # If you don't specify either, Amazon EC2 will automatically apply
40718
+ # optimal price protection to consistently select from a wide range of
40719
+ # instance types. To indicate no price protection threshold for Spot
40720
+ # Instances, meaning you want to consider all instance types that
40721
+ # match your attributes, include one of these parameters and specify a
40722
+ # high value, such as `999999`.
40700
40723
  #
40701
40724
  # </note>
40702
40725
  #
@@ -40972,18 +40995,18 @@ module Aws::EC2
40972
40995
  # The parameter accepts an integer, which Amazon EC2 interprets as a
40973
40996
  # percentage.
40974
40997
  #
40975
- # To indicate no price protection threshold, specify a high value,
40976
- # such as `999999`.
40977
- #
40978
40998
  # If you set `DesiredCapacityType` to `vcpu` or `memory-mib`, the
40979
40999
  # price protection threshold is based on the per vCPU or per memory
40980
41000
  # price instead of the per instance price.
40981
41001
  #
40982
41002
  # <note markdown="1"> Only one of `SpotMaxPricePercentageOverLowestPrice` or
40983
41003
  # `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`.
41004
+ # If you don't specify either, Amazon EC2 will automatically apply
41005
+ # optimal price protection to consistently select from a wide range of
41006
+ # instance types. To indicate no price protection threshold for Spot
41007
+ # Instances, meaning you want to consider all instance types that
41008
+ # match your attributes, include one of these parameters and specify a
41009
+ # high value, such as `999999`.
40987
41010
  #
40988
41011
  # </note>
40989
41012
  # @return [Integer]
@@ -41350,8 +41373,8 @@ module Aws::EC2
41350
41373
  #
41351
41374
  # @!attribute [rw] network_nodes
41352
41375
  # The network nodes. The nodes are hashed based on your account.
41353
- # Instances from different accounts running under the same droplet
41354
- # will return a different hashed list of strings.
41376
+ # Instances from different accounts running under the same server will
41377
+ # return a different hashed list of strings.
41355
41378
  # @return [Array<String>]
41356
41379
  #
41357
41380
  # @!attribute [rw] availability_zone
@@ -41672,13 +41695,12 @@ module Aws::EC2
41672
41695
  include Aws::Structure
41673
41696
  end
41674
41697
 
41675
- # Describes a set of permissions for a security group rule.
41698
+ # Describes the permissions for a security group rule.
41676
41699
  #
41677
41700
  # @!attribute [rw] from_port
41678
41701
  # If the protocol is TCP or UDP, this is the start of the port range.
41679
- # If the protocol is ICMP or ICMPv6, this is the type number. A value
41680
- # of -1 indicates all ICMP/ICMPv6 types. If you specify all
41681
- # ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.
41702
+ # If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all
41703
+ # ICMP types).
41682
41704
  # @return [Integer]
41683
41705
  #
41684
41706
  # @!attribute [rw] ip_protocol
@@ -41698,11 +41720,11 @@ module Aws::EC2
41698
41720
  # @return [String]
41699
41721
  #
41700
41722
  # @!attribute [rw] ip_ranges
41701
- # The IPv4 ranges.
41723
+ # The IPv4 address ranges.
41702
41724
  # @return [Array<Types::IpRange>]
41703
41725
  #
41704
41726
  # @!attribute [rw] ipv_6_ranges
41705
- # The IPv6 ranges.
41727
+ # The IPv6 address ranges.
41706
41728
  # @return [Array<Types::Ipv6Range>]
41707
41729
  #
41708
41730
  # @!attribute [rw] prefix_list_ids
@@ -41711,9 +41733,9 @@ module Aws::EC2
41711
41733
  #
41712
41734
  # @!attribute [rw] to_port
41713
41735
  # If the protocol is TCP or UDP, this is the end of the port range. If
41714
- # the protocol is ICMP or ICMPv6, this is the code. A value of -1
41715
- # indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6
41716
- # types, you must specify all ICMP/ICMPv6 codes.
41736
+ # the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all
41737
+ # ICMP codes). If the start port is -1 (all ICMP types), then the end
41738
+ # port must be -1 (all ICMP codes).
41717
41739
  # @return [Integer]
41718
41740
  #
41719
41741
  # @!attribute [rw] user_id_group_pairs
@@ -41734,12 +41756,12 @@ module Aws::EC2
41734
41756
  include Aws::Structure
41735
41757
  end
41736
41758
 
41737
- # Describes an IPv4 range.
41759
+ # Describes an IPv4 address range.
41738
41760
  #
41739
41761
  # @!attribute [rw] cidr_ip
41740
- # The IPv4 CIDR range. You can either specify a CIDR range or a source
41741
- # security group, not both. To specify a single IPv4 address, use the
41742
- # /32 prefix length.
41762
+ # The IPv4 address range. You can either specify a CIDR block or a
41763
+ # source security group, not both. To specify a single IPv4 address,
41764
+ # use the /32 prefix length.
41743
41765
  # @return [String]
41744
41766
  #
41745
41767
  # @!attribute [rw] description
@@ -43282,12 +43304,12 @@ module Aws::EC2
43282
43304
  include Aws::Structure
43283
43305
  end
43284
43306
 
43285
- # Describes an IPv6 range.
43307
+ # Describes an IPv6 address range.
43286
43308
  #
43287
43309
  # @!attribute [rw] cidr_ipv_6
43288
- # The IPv6 CIDR range. You can either specify a CIDR range or a source
43289
- # security group, not both. To specify a single IPv6 address, use the
43290
- # /128 prefix length.
43310
+ # The IPv6 address range. You can either specify a CIDR block or a
43311
+ # source security group, not both. To specify a single IPv6 address,
43312
+ # use the /128 prefix length.
43291
43313
  # @return [String]
43292
43314
  #
43293
43315
  # @!attribute [rw] description
@@ -43981,11 +44003,11 @@ module Aws::EC2
43981
44003
  #
43982
44004
  # @!attribute [rw] volume_type
43983
44005
  # The volume type. For more information, see [Amazon EBS volume
43984
- # types][1] in the *Amazon Elastic Compute Cloud User Guide*.
44006
+ # types][1] in the *Amazon EBS User Guide*.
43985
44007
  #
43986
44008
  #
43987
44009
  #
43988
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
44010
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
43989
44011
  # @return [String]
43990
44012
  #
43991
44013
  # @!attribute [rw] throughput
@@ -44482,11 +44504,10 @@ module Aws::EC2
44482
44504
  # Indicates whether to associate a public IPv4 address with eth0 for a
44483
44505
  # new network interface.
44484
44506
  #
44485
- # Starting on February 1, 2024, Amazon Web Services will charge for
44486
- # all public IPv4 addresses, including public IPv4 addresses
44487
- # associated with running instances and Elastic IP addresses. For more
44488
- # information, see the *Public IPv4 Address* tab on the [Amazon VPC
44489
- # pricing page][1].
44507
+ # Amazon Web Services charges for all public IPv4 addresses, including
44508
+ # public IPv4 addresses associated with running instances and Elastic
44509
+ # IP addresses. For more information, see the *Public IPv4 Address*
44510
+ # tab on the [Amazon VPC pricing page][1].
44490
44511
  #
44491
44512
  #
44492
44513
  #
@@ -44642,11 +44663,10 @@ module Aws::EC2
44642
44663
  # Associates a public IPv4 address with eth0 for a new network
44643
44664
  # interface.
44644
44665
  #
44645
- # Starting on February 1, 2024, Amazon Web Services will charge for
44646
- # all public IPv4 addresses, including public IPv4 addresses
44647
- # associated with running instances and Elastic IP addresses. For more
44648
- # information, see the *Public IPv4 Address* tab on the [Amazon VPC
44649
- # pricing page][1].
44666
+ # Amazon Web Services charges for all public IPv4 addresses, including
44667
+ # public IPv4 addresses associated with running instances and Elastic
44668
+ # IP addresses. For more information, see the *Public IPv4 Address*
44669
+ # tab on the [Amazon VPC pricing page][1].
44650
44670
  #
44651
44671
  #
44652
44672
  #
@@ -44857,6 +44877,15 @@ module Aws::EC2
44857
44877
  #
44858
44878
  # @!attribute [rw] weighted_capacity
44859
44879
  # The number of units provided by the specified instance type.
44880
+ #
44881
+ # <note markdown="1"> When specifying weights, the price used in the `lowest-price` and
44882
+ # `price-capacity-optimized` allocation strategies is per *unit* hour
44883
+ # (where the instance price is divided by the specified weight).
44884
+ # However, if all the specified weights are above the requested
44885
+ # `TargetCapacity`, resulting in only 1 instance being launched, the
44886
+ # price used is per *instance* hour.
44887
+ #
44888
+ # </note>
44860
44889
  # @return [Float]
44861
44890
  #
44862
44891
  # @!attribute [rw] priority
@@ -47703,8 +47732,6 @@ module Aws::EC2
47703
47732
  # the instance metadata. For more information, see [Work with instance
47704
47733
  # tags using the instance metadata][1].
47705
47734
  #
47706
- # Default: `disabled`
47707
- #
47708
47735
  #
47709
47736
  #
47710
47737
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS
@@ -47742,7 +47769,12 @@ module Aws::EC2
47742
47769
  end
47743
47770
 
47744
47771
  # @!attribute [rw] affinity
47745
- # The affinity setting for the instance.
47772
+ # The affinity setting for the instance. For more information, see
47773
+ # [Host affinity][1] in the *Amazon EC2 User Guide*.
47774
+ #
47775
+ #
47776
+ #
47777
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/how-dedicated-hosts-work.html#dedicated-hosts-affinity
47746
47778
  # @return [String]
47747
47779
  #
47748
47780
  # @!attribute [rw] group_name
@@ -48698,11 +48730,10 @@ module Aws::EC2
48698
48730
  # instances created in the specified subnet should be assigned a
48699
48731
  # public IPv4 address.
48700
48732
  #
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].
48733
+ # Amazon Web Services charges for all public IPv4 addresses, including
48734
+ # public IPv4 addresses associated with running instances and Elastic
48735
+ # IP addresses. For more information, see the *Public IPv4 Address*
48736
+ # tab on the [Amazon VPC pricing page][1].
48706
48737
  #
48707
48738
  #
48708
48739
  #
@@ -49024,21 +49055,19 @@ module Aws::EC2
49024
49055
  # @return [String]
49025
49056
  #
49026
49057
  # @!attribute [rw] security_group_referencing_support
49058
+ # <note markdown="1"> This parameter is in preview and may not be available for your
49059
+ # account.
49060
+ #
49061
+ # </note>
49062
+ #
49027
49063
  # Enables you to reference a security group across VPCs attached to a
49028
- # transit gateway (TGW). Use this option to simplify security group
49064
+ # transit gateway. Use this option to simplify security group
49029
49065
  # management and control of instance-to-instance traffic across VPCs
49030
49066
  # that are connected by transit gateway. You can also use this option
49031
49067
  # to migrate from VPC peering (which was the only option that
49032
49068
  # supported security group referencing) to transit gateways (which now
49033
49069
  # also support security group referencing). This option is disabled by
49034
49070
  # default and there are no additional costs to use this feature.
49035
- #
49036
- # For important information about this feature, see [Create a transit
49037
- # gateway][1] in the *Amazon Web Services Transit Gateway Guide*.
49038
- #
49039
- #
49040
- #
49041
- # [1]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw
49042
49071
  # @return [String]
49043
49072
  #
49044
49073
  # @!attribute [rw] auto_accept_shared_attachments
@@ -49224,22 +49253,19 @@ module Aws::EC2
49224
49253
  # @return [String]
49225
49254
  #
49226
49255
  # @!attribute [rw] security_group_referencing_support
49256
+ # <note markdown="1"> This parameter is in preview and may not be available for your
49257
+ # account.
49258
+ #
49259
+ # </note>
49260
+ #
49227
49261
  # Enables you to reference a security group across VPCs attached to a
49228
- # transit gateway (TGW). Use this option to simplify security group
49262
+ # transit gateway. Use this option to simplify security group
49229
49263
  # management and control of instance-to-instance traffic across VPCs
49230
49264
  # that are connected by transit gateway. You can also use this option
49231
49265
  # to migrate from VPC peering (which was the only option that
49232
49266
  # supported security group referencing) to transit gateways (which now
49233
49267
  # also support security group referencing). This option is disabled by
49234
49268
  # default and there are no additional costs to use this feature.
49235
- #
49236
- # For important information about this feature, see [Create a transit
49237
- # gateway attachment to a VPC][1] in the *Amazon Web Services Transit
49238
- # Gateway Guide*.
49239
- #
49240
- #
49241
- #
49242
- # [1]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#create-vpc-attachment
49243
49269
  # @return [String]
49244
49270
  #
49245
49271
  # @!attribute [rw] ipv_6_support
@@ -49876,14 +49902,13 @@ module Aws::EC2
49876
49902
  #
49877
49903
  # @!attribute [rw] volume_type
49878
49904
  # The target EBS volume type of the volume. For more information, see
49879
- # [Amazon EBS volume types][1] in the *Amazon Elastic Compute Cloud
49880
- # User Guide*.
49905
+ # [Amazon EBS volume types][1] in the *Amazon EBS User Guide*.
49881
49906
  #
49882
49907
  # Default: The existing type is retained.
49883
49908
  #
49884
49909
  #
49885
49910
  #
49886
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
49911
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
49887
49912
  # @return [String]
49888
49913
  #
49889
49914
  # @!attribute [rw] iops
@@ -49926,13 +49951,12 @@ module Aws::EC2
49926
49951
  # Multi-Attach, you can attach the volume to up to 16 [ Nitro-based
49927
49952
  # instances][1] in the same Availability Zone. This parameter is
49928
49953
  # supported with `io1` and `io2` volumes only. For more information,
49929
- # see [ Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute
49930
- # Cloud User Guide*.
49954
+ # see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User Guide*.
49931
49955
  #
49932
49956
  #
49933
49957
  #
49934
49958
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
49935
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html
49959
+ # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
49936
49960
  # @return [Boolean]
49937
49961
  #
49938
49962
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeRequest AWS API Documentation
@@ -53654,9 +53678,10 @@ module Aws::EC2
53654
53678
  # @!attribute [rw] cidr
53655
53679
  # The public IPv4 or IPv6 address range, in CIDR notation. The most
53656
53680
  # specific IPv4 prefix that you can specify is /24. The most specific
53657
- # IPv6 prefix you can specify is /56. The address range cannot overlap
53658
- # with another address range that you've brought to this or another
53659
- # Region.
53681
+ # IPv6 address range that you can bring is /48 for CIDRs that are
53682
+ # publicly advertisable and /56 for CIDRs that are not publicly
53683
+ # advertisable. The address range cannot overlap with another address
53684
+ # range that you've brought to this or another Region.
53660
53685
  # @return [String]
53661
53686
  #
53662
53687
  # @!attribute [rw] cidr_authorization_context
@@ -54519,11 +54544,11 @@ module Aws::EC2
54519
54544
  # be on the same Outpost or in the Region of that Outpost. AMIs on an
54520
54545
  # Outpost that include local snapshots can be used to launch instances
54521
54546
  # on the same Outpost only. For more information, [Amazon EBS local
54522
- # snapshots on Outposts][1] in the *Amazon EC2 User Guide*.
54547
+ # snapshots on Outposts][1] in the *Amazon EBS User Guide*.
54523
54548
  #
54524
54549
  #
54525
54550
  #
54526
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
54551
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html#ami
54527
54552
  # @return [Array<Types::BlockDeviceMapping>]
54528
54553
  #
54529
54554
  # @!attribute [rw] description
@@ -54659,6 +54684,19 @@ module Aws::EC2
54659
54684
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
54660
54685
  # @return [String]
54661
54686
  #
54687
+ # @!attribute [rw] tag_specifications
54688
+ # The tags to apply to the AMI.
54689
+ #
54690
+ # To tag the AMI, the value for `ResourceType` must be `image`. If you
54691
+ # specify another value for `ResourceType`, the request fails.
54692
+ #
54693
+ # To tag an AMI after it has been registered, see [CreateTags][1].
54694
+ #
54695
+ #
54696
+ #
54697
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
54698
+ # @return [Array<Types::TagSpecification>]
54699
+ #
54662
54700
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageRequest AWS API Documentation
54663
54701
  #
54664
54702
  class RegisterImageRequest < Struct.new(
@@ -54678,7 +54716,8 @@ module Aws::EC2
54678
54716
  :boot_mode,
54679
54717
  :tpm_support,
54680
54718
  :uefi_data,
54681
- :imds_support)
54719
+ :imds_support,
54720
+ :tag_specifications)
54682
54721
  SENSITIVE = []
54683
54722
  include Aws::Structure
54684
54723
  end
@@ -57640,11 +57679,11 @@ module Aws::EC2
57640
57679
  # @!attribute [rw] outpost_arn
57641
57680
  # The ARN of the Outpost on which the snapshot is stored. For more
57642
57681
  # information, see [Amazon EBS local snapshots on Outposts][1] in the
57643
- # *Amazon Elastic Compute Cloud User Guide*.
57682
+ # *Amazon EBS User Guide*.
57644
57683
  #
57645
57684
  #
57646
57685
  #
57647
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
57686
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html
57648
57687
  # @return [String]
57649
57688
  #
57650
57689
  # @!attribute [rw] description
@@ -57910,8 +57949,8 @@ module Aws::EC2
57910
57949
  #
57911
57950
  # @!attribute [rw] from_port
57912
57951
  # If the protocol is TCP or UDP, this is the start of the port range.
57913
- # If the protocol is ICMP, this is the type number. A value of -1
57914
- # indicates all ICMP types.
57952
+ # If the protocol is ICMP, this is the ICMP type or -1 (all ICMP
57953
+ # types).
57915
57954
  # @return [Integer]
57916
57955
  #
57917
57956
  # @!attribute [rw] group_id
@@ -57954,8 +57993,7 @@ module Aws::EC2
57954
57993
  #
57955
57994
  # @!attribute [rw] to_port
57956
57995
  # If the protocol is TCP or UDP, this is the end of the port range. If
57957
- # the protocol is ICMP, this is the code. A value of -1 indicates all
57958
- # ICMP codes.
57996
+ # the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes).
57959
57997
  # @return [Integer]
57960
57998
  #
57961
57999
  # @!attribute [rw] dry_run
@@ -59388,11 +59426,10 @@ module Aws::EC2
59388
59426
  # one network interface in the request. If launching into a default
59389
59427
  # subnet, the default value is `true`.
59390
59428
  #
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].
59429
+ # Amazon Web Services charges for all public IPv4 addresses, including
59430
+ # public IPv4 addresses associated with running instances and Elastic
59431
+ # IP addresses. For more information, see the *Public IPv4 Address*
59432
+ # tab on the [Amazon VPC pricing page][1].
59396
59433
  #
59397
59434
  #
59398
59435
  #
@@ -59864,18 +59901,16 @@ module Aws::EC2
59864
59901
  #
59865
59902
  #
59866
59903
  #
59867
- # [1]: https://docs.aws.amazon.com/peering/vpc-peering-security-groups.html
59904
+ # [1]: https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html
59868
59905
  # @return [String]
59869
59906
  #
59870
59907
  # @!attribute [rw] transit_gateway_id
59871
- # The ID of the transit gateway (if applicable). For more information
59872
- # about security group referencing for transit gateways, see [Create a
59873
- # transit gateway attachment to a VPC][1] in the *Amazon Web Services
59874
- # Transit Gateway Guide*.
59875
- #
59908
+ # <note markdown="1"> This parameter is in preview and may not be available for your
59909
+ # account.
59876
59910
  #
59911
+ # </note>
59877
59912
  #
59878
- # [1]: https://docs.aws.amazon.com/tgw/tgw-vpc-attachments.html#create-vpc-attachment
59913
+ # The ID of the transit gateway (if applicable).
59879
59914
  # @return [String]
59880
59915
  #
59881
59916
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SecurityGroupReference AWS API Documentation
@@ -59921,16 +59956,15 @@ module Aws::EC2
59921
59956
  #
59922
59957
  # @!attribute [rw] from_port
59923
59958
  # If the protocol is TCP or UDP, this is the start of the port range.
59924
- # If the protocol is ICMP or ICMPv6, this is the type number. A value
59925
- # of -1 indicates all ICMP/ICMPv6 types. If you specify all
59926
- # ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.
59959
+ # If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all
59960
+ # ICMP types).
59927
59961
  # @return [Integer]
59928
59962
  #
59929
59963
  # @!attribute [rw] to_port
59930
59964
  # If the protocol is TCP or UDP, this is the end of the port range. If
59931
- # the protocol is ICMP or ICMPv6, this is the type number. A value of
59932
- # -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6
59933
- # types, you must specify all ICMP/ICMPv6 codes.
59965
+ # the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all
59966
+ # ICMP codes). If the start port is -1 (all ICMP types), then the end
59967
+ # port must be -1 (all ICMP codes).
59934
59968
  # @return [Integer]
59935
59969
  #
59936
59970
  # @!attribute [rw] cidr_ipv_4
@@ -60029,16 +60063,15 @@ module Aws::EC2
60029
60063
  #
60030
60064
  # @!attribute [rw] from_port
60031
60065
  # If the protocol is TCP or UDP, this is the start of the port range.
60032
- # If the protocol is ICMP or ICMPv6, this is the type number. A value
60033
- # of -1 indicates all ICMP/ICMPv6 types. If you specify all
60034
- # ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.
60066
+ # If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all
60067
+ # ICMP types).
60035
60068
  # @return [Integer]
60036
60069
  #
60037
60070
  # @!attribute [rw] to_port
60038
60071
  # If the protocol is TCP or UDP, this is the end of the port range. If
60039
- # the protocol is ICMP or ICMPv6, this is the code. A value of -1
60040
- # indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6
60041
- # types, you must specify all ICMP/ICMPv6 codes.
60072
+ # the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all
60073
+ # ICMP codes). If the start port is -1 (all ICMP types), then the end
60074
+ # port must be -1 (all ICMP codes).
60042
60075
  # @return [Integer]
60043
60076
  #
60044
60077
  # @!attribute [rw] cidr_ipv_4
@@ -60433,11 +60466,11 @@ module Aws::EC2
60433
60466
  # @!attribute [rw] outpost_arn
60434
60467
  # The ARN of the Outpost on which the snapshot is stored. For more
60435
60468
  # information, see [Amazon EBS local snapshots on Outposts][1] in the
60436
- # *Amazon Elastic Compute Cloud User Guide*.
60469
+ # *Amazon EBS User Guide*.
60437
60470
  #
60438
60471
  #
60439
60472
  #
60440
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
60473
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html
60441
60474
  # @return [String]
60442
60475
  #
60443
60476
  # @!attribute [rw] tags
@@ -60625,11 +60658,11 @@ module Aws::EC2
60625
60658
  # @!attribute [rw] outpost_arn
60626
60659
  # The ARN of the Outpost on which the snapshot is stored. For more
60627
60660
  # information, see [Amazon EBS local snapshots on Outposts][1] in the
60628
- # *Amazon Elastic Compute Cloud User Guide*.
60661
+ # *Amazon EBS User Guide*.
60629
60662
  #
60630
60663
  #
60631
60664
  #
60632
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html
60665
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/snapshots-outposts.html
60633
60666
  # @return [String]
60634
60667
  #
60635
60668
  # @!attribute [rw] sse_type
@@ -62202,12 +62235,13 @@ module Aws::EC2
62202
62235
  # Describes a stale rule in a security group.
62203
62236
  #
62204
62237
  # @!attribute [rw] from_port
62205
- # The start of the port range for the TCP and UDP protocols, or an
62206
- # ICMP type number. A value of -1 indicates all ICMP types.
62238
+ # If the protocol is TCP or UDP, this is the start of the port range.
62239
+ # If the protocol is ICMP or ICMPv6, this is the ICMP type or -1 (all
62240
+ # ICMP types).
62207
62241
  # @return [Integer]
62208
62242
  #
62209
62243
  # @!attribute [rw] ip_protocol
62210
- # The IP protocol name (for `tcp`, `udp`, and `icmp`) or number (see
62244
+ # The IP protocol name (`tcp`, `udp`, `icmp`, `icmpv6`) or number (see
62211
62245
  # [Protocol Numbers)][1].
62212
62246
  #
62213
62247
  #
@@ -62224,8 +62258,9 @@ module Aws::EC2
62224
62258
  # @return [Array<String>]
62225
62259
  #
62226
62260
  # @!attribute [rw] to_port
62227
- # The end of the port range for the TCP and UDP protocols, or an ICMP
62228
- # type number. A value of `-1` indicates all ICMP types.
62261
+ # If the protocol is TCP or UDP, this is the end of the port range. If
62262
+ # the protocol is ICMP or ICMPv6, this is the ICMP code or -1 (all
62263
+ # ICMP codes).
62229
62264
  # @return [Integer]
62230
62265
  #
62231
62266
  # @!attribute [rw] user_id_group_pairs
@@ -62701,11 +62736,10 @@ module Aws::EC2
62701
62736
  # Indicates whether instances launched in this subnet receive a public
62702
62737
  # IPv4 address.
62703
62738
  #
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].
62739
+ # Amazon Web Services charges for all public IPv4 addresses, including
62740
+ # public IPv4 addresses associated with running instances and Elastic
62741
+ # IP addresses. For more information, see the *Public IPv4 Address*
62742
+ # tab on the [Amazon VPC pricing page][1].
62709
62743
  #
62710
62744
  #
62711
62745
  #
@@ -64525,21 +64559,19 @@ module Aws::EC2
64525
64559
  # @return [String]
64526
64560
  #
64527
64561
  # @!attribute [rw] security_group_referencing_support
64562
+ # <note markdown="1"> This parameter is in preview and may not be available for your
64563
+ # account.
64564
+ #
64565
+ # </note>
64566
+ #
64528
64567
  # Enables you to reference a security group across VPCs attached to a
64529
- # transit gateway (TGW). Use this option to simplify security group
64568
+ # transit gateway. Use this option to simplify security group
64530
64569
  # management and control of instance-to-instance traffic across VPCs
64531
64570
  # that are connected by transit gateway. You can also use this option
64532
64571
  # to migrate from VPC peering (which was the only option that
64533
64572
  # supported security group referencing) to transit gateways (which now
64534
64573
  # also support security group referencing). This option is disabled by
64535
64574
  # default and there are no additional costs to use this feature.
64536
- #
64537
- # For important information about this feature, see [Create a transit
64538
- # gateway][1] in the *Amazon Web Services Transit Gateway Guide*.
64539
- #
64540
- #
64541
- #
64542
- # [1]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw
64543
64575
  # @return [String]
64544
64576
  #
64545
64577
  # @!attribute [rw] multicast_support
@@ -64925,21 +64957,19 @@ module Aws::EC2
64925
64957
  # @return [String]
64926
64958
  #
64927
64959
  # @!attribute [rw] security_group_referencing_support
64960
+ # <note markdown="1"> This parameter is in preview and may not be available for your
64961
+ # account.
64962
+ #
64963
+ # </note>
64964
+ #
64928
64965
  # Enables you to reference a security group across VPCs attached to a
64929
- # transit gateway (TGW). Use this option to simplify security group
64966
+ # transit gateway. Use this option to simplify security group
64930
64967
  # management and control of instance-to-instance traffic across VPCs
64931
64968
  # that are connected by transit gateway. You can also use this option
64932
64969
  # to migrate from VPC peering (which was the only option that
64933
64970
  # supported security group referencing) to transit gateways (which now
64934
64971
  # also support security group referencing). This option is disabled by
64935
64972
  # default and there are no additional costs to use this feature.
64936
- #
64937
- # For important information about this feature, see [Create a transit
64938
- # gateway][1] in the *Amazon Web Services Transit Gateway Guide*.
64939
- #
64940
- #
64941
- #
64942
- # [1]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw
64943
64973
  # @return [String]
64944
64974
  #
64945
64975
  # @!attribute [rw] multicast_support
@@ -65320,13 +65350,19 @@ module Aws::EC2
65320
65350
  # @return [String]
65321
65351
  #
65322
65352
  # @!attribute [rw] security_group_referencing_support
65323
- # For important information about this feature, see [Create a transit
65324
- # gateway attachment to a VPC][1] in the *Amazon Web Services Transit
65325
- # Gateway Guide*.
65326
- #
65353
+ # <note markdown="1"> This parameter is in preview and may not be available for your
65354
+ # account.
65327
65355
  #
65356
+ # </note>
65328
65357
  #
65329
- # [1]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#create-vpc-attachment
65358
+ # Enables you to reference a security group across VPCs attached to a
65359
+ # transit gateway. Use this option to simplify security group
65360
+ # management and control of instance-to-instance traffic across VPCs
65361
+ # that are connected by transit gateway. You can also use this option
65362
+ # to migrate from VPC peering (which was the only option that
65363
+ # supported security group referencing) to transit gateways (which now
65364
+ # also support security group referencing). This option is disabled by
65365
+ # default and there are no additional costs to use this feature.
65330
65366
  # @return [String]
65331
65367
  #
65332
65368
  # @!attribute [rw] ipv_6_support