aws-sdk-ec2 1.224.0 → 1.229.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1262 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ec2.rb +2 -2
- data/lib/aws-sdk-ec2/classic_address.rb +5 -5
- data/lib/aws-sdk-ec2/client.rb +153 -117
- data/lib/aws-sdk-ec2/client_api.rb +16 -6
- data/lib/aws-sdk-ec2/dhcp_options.rb +1 -1
- data/lib/aws-sdk-ec2/errors.rb +1 -1
- data/lib/aws-sdk-ec2/image.rb +17 -6
- data/lib/aws-sdk-ec2/instance.rb +19 -15
- data/lib/aws-sdk-ec2/internet_gateway.rb +1 -1
- data/lib/aws-sdk-ec2/key_pair.rb +1 -1
- data/lib/aws-sdk-ec2/key_pair_info.rb +1 -1
- data/lib/aws-sdk-ec2/nat_gateway.rb +1 -1
- data/lib/aws-sdk-ec2/network_acl.rb +1 -1
- data/lib/aws-sdk-ec2/network_interface.rb +3 -3
- data/lib/aws-sdk-ec2/network_interface_association.rb +1 -1
- data/lib/aws-sdk-ec2/placement_group.rb +3 -1
- data/lib/aws-sdk-ec2/resource.rb +36 -22
- data/lib/aws-sdk-ec2/route.rb +1 -1
- data/lib/aws-sdk-ec2/route_table.rb +1 -1
- data/lib/aws-sdk-ec2/route_table_association.rb +1 -1
- data/lib/aws-sdk-ec2/security_group.rb +1 -1
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +7 -6
- data/lib/aws-sdk-ec2/tag.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +290 -204
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +18 -15
- data/lib/aws-sdk-ec2/vpc_address.rb +7 -7
- data/lib/aws-sdk-ec2/vpc_peering_connection.rb +1 -1
- data/lib/aws-sdk-ec2/waiters.rb +1 -1
- metadata +8 -5
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -151,6 +151,9 @@ module Aws::EC2
|
|
|
151
151
|
BlockDeviceMappingList = Shapes::ListShape.new(name: 'BlockDeviceMappingList')
|
|
152
152
|
BlockDeviceMappingRequestList = Shapes::ListShape.new(name: 'BlockDeviceMappingRequestList')
|
|
153
153
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
154
|
+
BootModeType = Shapes::StringShape.new(name: 'BootModeType')
|
|
155
|
+
BootModeTypeList = Shapes::ListShape.new(name: 'BootModeTypeList')
|
|
156
|
+
BootModeValues = Shapes::StringShape.new(name: 'BootModeValues')
|
|
154
157
|
BundleId = Shapes::StringShape.new(name: 'BundleId')
|
|
155
158
|
BundleIdStringList = Shapes::ListShape.new(name: 'BundleIdStringList')
|
|
156
159
|
BundleInstanceRequest = Shapes::StructureShape.new(name: 'BundleInstanceRequest')
|
|
@@ -2521,8 +2524,8 @@ module Aws::EC2
|
|
|
2521
2524
|
AssociateRouteTableResult.add_member(:association_state, Shapes::ShapeRef.new(shape: RouteTableAssociationState, location_name: "associationState"))
|
|
2522
2525
|
AssociateRouteTableResult.struct_class = Types::AssociateRouteTableResult
|
|
2523
2526
|
|
|
2524
|
-
AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
|
|
2525
2527
|
AssociateSubnetCidrBlockRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
|
2528
|
+
AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
|
|
2526
2529
|
AssociateSubnetCidrBlockRequest.struct_class = Types::AssociateSubnetCidrBlockRequest
|
|
2527
2530
|
|
|
2528
2531
|
AssociateSubnetCidrBlockResult.add_member(:ipv_6_cidr_block_association, Shapes::ShapeRef.new(shape: SubnetIpv6CidrBlockAssociation, location_name: "ipv6CidrBlockAssociation"))
|
|
@@ -2712,6 +2715,8 @@ module Aws::EC2
|
|
|
2712
2715
|
|
|
2713
2716
|
BlockDeviceMappingRequestList.member = Shapes::ShapeRef.new(shape: BlockDeviceMapping, location_name: "BlockDeviceMapping")
|
|
2714
2717
|
|
|
2718
|
+
BootModeTypeList.member = Shapes::ShapeRef.new(shape: BootModeType, location_name: "item")
|
|
2719
|
+
|
|
2715
2720
|
BundleIdStringList.member = Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId")
|
|
2716
2721
|
|
|
2717
2722
|
BundleInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
|
@@ -3383,8 +3388,8 @@ module Aws::EC2
|
|
|
3383
3388
|
|
|
3384
3389
|
CreateLocalGatewayRouteRequest.add_member(:destination_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DestinationCidrBlock"))
|
|
3385
3390
|
CreateLocalGatewayRouteRequest.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: LocalGatewayRoutetableId, required: true, location_name: "LocalGatewayRouteTableId"))
|
|
3386
|
-
CreateLocalGatewayRouteRequest.add_member(:local_gateway_virtual_interface_group_id, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceGroupId, required: true, location_name: "LocalGatewayVirtualInterfaceGroupId"))
|
|
3387
3391
|
CreateLocalGatewayRouteRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
3392
|
+
CreateLocalGatewayRouteRequest.add_member(:local_gateway_virtual_interface_group_id, Shapes::ShapeRef.new(shape: LocalGatewayVirtualInterfaceGroupId, required: true, location_name: "LocalGatewayVirtualInterfaceGroupId"))
|
|
3388
3393
|
CreateLocalGatewayRouteRequest.struct_class = Types::CreateLocalGatewayRouteRequest
|
|
3389
3394
|
|
|
3390
3395
|
CreateLocalGatewayRouteResult.add_member(:route, Shapes::ShapeRef.new(shape: LocalGatewayRoute, location_name: "route"))
|
|
@@ -3411,11 +3416,11 @@ module Aws::EC2
|
|
|
3411
3416
|
CreateManagedPrefixListResult.add_member(:prefix_list, Shapes::ShapeRef.new(shape: ManagedPrefixList, location_name: "prefixList"))
|
|
3412
3417
|
CreateManagedPrefixListResult.struct_class = Types::CreateManagedPrefixListResult
|
|
3413
3418
|
|
|
3414
|
-
CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
|
3415
3419
|
CreateNatGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
|
3416
3420
|
CreateNatGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
3417
3421
|
CreateNatGatewayRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
|
3418
3422
|
CreateNatGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
3423
|
+
CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
|
3419
3424
|
CreateNatGatewayRequest.struct_class = Types::CreateNatGatewayRequest
|
|
3420
3425
|
|
|
3421
3426
|
CreateNatGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
|
@@ -3569,11 +3574,11 @@ module Aws::EC2
|
|
|
3569
3574
|
CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
|
3570
3575
|
CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
|
3571
3576
|
CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
|
3572
|
-
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
|
3573
3577
|
CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
|
|
3574
3578
|
CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
|
3575
3579
|
CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
|
3576
3580
|
CreateSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
3581
|
+
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
|
3577
3582
|
CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
|
|
3578
3583
|
|
|
3579
3584
|
CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
|
@@ -6708,6 +6713,7 @@ module Aws::EC2
|
|
|
6708
6713
|
Image.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, location_name: "stateReason"))
|
|
6709
6714
|
Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
|
6710
6715
|
Image.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
|
|
6716
|
+
Image.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
|
|
6711
6717
|
Image.struct_class = Types::Image
|
|
6712
6718
|
|
|
6713
6719
|
ImageAttribute.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingList, location_name: "blockDeviceMapping"))
|
|
@@ -6718,6 +6724,7 @@ module Aws::EC2
|
|
|
6718
6724
|
ImageAttribute.add_member(:kernel_id, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "kernel"))
|
|
6719
6725
|
ImageAttribute.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "ramdisk"))
|
|
6720
6726
|
ImageAttribute.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "sriovNetSupport"))
|
|
6727
|
+
ImageAttribute.add_member(:boot_mode, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "bootMode"))
|
|
6721
6728
|
ImageAttribute.struct_class = Types::ImageAttribute
|
|
6722
6729
|
|
|
6723
6730
|
ImageDiskContainer.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
|
@@ -6962,6 +6969,7 @@ module Aws::EC2
|
|
|
6962
6969
|
Instance.add_member(:licenses, Shapes::ShapeRef.new(shape: LicenseList, location_name: "licenseSet"))
|
|
6963
6970
|
Instance.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsResponse, location_name: "metadataOptions"))
|
|
6964
6971
|
Instance.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptions, location_name: "enclaveOptions"))
|
|
6972
|
+
Instance.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
|
|
6965
6973
|
Instance.struct_class = Types::Instance
|
|
6966
6974
|
|
|
6967
6975
|
InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
|
|
@@ -7208,6 +7216,7 @@ module Aws::EC2
|
|
|
7208
7216
|
InstanceTypeInfo.add_member(:burstable_performance_supported, Shapes::ShapeRef.new(shape: BurstablePerformanceFlag, location_name: "burstablePerformanceSupported"))
|
|
7209
7217
|
InstanceTypeInfo.add_member(:dedicated_hosts_supported, Shapes::ShapeRef.new(shape: DedicatedHostFlag, location_name: "dedicatedHostsSupported"))
|
|
7210
7218
|
InstanceTypeInfo.add_member(:auto_recovery_supported, Shapes::ShapeRef.new(shape: AutoRecoveryFlag, location_name: "autoRecoverySupported"))
|
|
7219
|
+
InstanceTypeInfo.add_member(:supported_boot_modes, Shapes::ShapeRef.new(shape: BootModeTypeList, location_name: "supportedBootModes"))
|
|
7211
7220
|
InstanceTypeInfo.struct_class = Types::InstanceTypeInfo
|
|
7212
7221
|
|
|
7213
7222
|
InstanceTypeInfoList.member = Shapes::ShapeRef.new(shape: InstanceTypeInfo, location_name: "item")
|
|
@@ -8827,6 +8836,7 @@ module Aws::EC2
|
|
|
8827
8836
|
RegisterImageRequest.add_member(:root_device_name, Shapes::ShapeRef.new(shape: String, location_name: "rootDeviceName"))
|
|
8828
8837
|
RegisterImageRequest.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: String, location_name: "sriovNetSupport"))
|
|
8829
8838
|
RegisterImageRequest.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: String, location_name: "virtualizationType"))
|
|
8839
|
+
RegisterImageRequest.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "BootMode"))
|
|
8830
8840
|
RegisterImageRequest.struct_class = Types::RegisterImageRequest
|
|
8831
8841
|
|
|
8832
8842
|
RegisterImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
|
@@ -9996,7 +10006,7 @@ module Aws::EC2
|
|
|
9996
10006
|
|
|
9997
10007
|
SubnetIdStringList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId")
|
|
9998
10008
|
|
|
9999
|
-
SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape:
|
|
10009
|
+
SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: SubnetCidrAssociationId, location_name: "associationId"))
|
|
10000
10010
|
SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "ipv6CidrBlock"))
|
|
10001
10011
|
SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block_state, Shapes::ShapeRef.new(shape: SubnetCidrBlockState, location_name: "ipv6CidrBlockState"))
|
|
10002
10012
|
SubnetIpv6CidrBlockAssociation.struct_class = Types::SubnetIpv6CidrBlockAssociation
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
data/lib/aws-sdk-ec2/errors.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -211,6 +211,17 @@ module Aws::EC2
|
|
|
211
211
|
data[:virtualization_type]
|
|
212
212
|
end
|
|
213
213
|
|
|
214
|
+
# The boot mode of the image. For more information, see [Boot modes][1]
|
|
215
|
+
# in the *Amazon Elastic Compute Cloud User Guide*.
|
|
216
|
+
#
|
|
217
|
+
#
|
|
218
|
+
#
|
|
219
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
|
220
|
+
# @return [String]
|
|
221
|
+
def boot_mode
|
|
222
|
+
data[:boot_mode]
|
|
223
|
+
end
|
|
224
|
+
|
|
214
225
|
# @!endgroup
|
|
215
226
|
|
|
216
227
|
# @return [Client]
|
|
@@ -478,17 +489,17 @@ module Aws::EC2
|
|
|
478
489
|
# @example Request syntax with placeholder values
|
|
479
490
|
#
|
|
480
491
|
# image.describe_attribute({
|
|
481
|
-
# attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport
|
|
492
|
+
# attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode
|
|
482
493
|
# dry_run: false,
|
|
483
494
|
# })
|
|
484
495
|
# @param [Hash] options ({})
|
|
485
496
|
# @option options [required, String] :attribute
|
|
486
497
|
# The AMI attribute.
|
|
487
498
|
#
|
|
488
|
-
# **Note**\:
|
|
489
|
-
#
|
|
490
|
-
#
|
|
491
|
-
#
|
|
499
|
+
# **Note**\: The `blockDeviceMapping` attribute is deprecated. Using
|
|
500
|
+
# this attribute returns the `Client.AuthFailure` error. To get
|
|
501
|
+
# information about the block device mappings for an AMI, use the
|
|
502
|
+
# DescribeImages action.
|
|
492
503
|
# @option options [Boolean] :dry_run
|
|
493
504
|
# Checks whether you have the required permissions for the action,
|
|
494
505
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -258,16 +258,7 @@ module Aws::EC2
|
|
|
258
258
|
data[:security_groups]
|
|
259
259
|
end
|
|
260
260
|
|
|
261
|
-
#
|
|
262
|
-
# NAT. This controls whether source/destination checking is enabled on
|
|
263
|
-
# the instance. A value of `true` means that checking is enabled, and
|
|
264
|
-
# `false` means that checking is disabled. The value must be `false` for
|
|
265
|
-
# the instance to perform NAT. For more information, see [NAT
|
|
266
|
-
# instances][1] in the *Amazon VPC User Guide*.
|
|
267
|
-
#
|
|
268
|
-
#
|
|
269
|
-
#
|
|
270
|
-
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_NAT_Instance.html
|
|
261
|
+
# Indicates whether source/destination checking is enabled.
|
|
271
262
|
# @return [Boolean]
|
|
272
263
|
def source_dest_check
|
|
273
264
|
data[:source_dest_check]
|
|
@@ -346,6 +337,17 @@ module Aws::EC2
|
|
|
346
337
|
data[:enclave_options]
|
|
347
338
|
end
|
|
348
339
|
|
|
340
|
+
# The boot mode of the instance. For more information, see [Boot
|
|
341
|
+
# modes][1] in the *Amazon EC2 User Guide*.
|
|
342
|
+
#
|
|
343
|
+
#
|
|
344
|
+
#
|
|
345
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
|
346
|
+
# @return [String]
|
|
347
|
+
def boot_mode
|
|
348
|
+
data[:boot_mode]
|
|
349
|
+
end
|
|
350
|
+
|
|
349
351
|
# @!endgroup
|
|
350
352
|
|
|
351
353
|
# @return [Client]
|
|
@@ -928,10 +930,12 @@ module Aws::EC2
|
|
|
928
930
|
# })
|
|
929
931
|
# @param [Hash] options ({})
|
|
930
932
|
# @option options [Types::AttributeBooleanValue] :source_dest_check
|
|
931
|
-
#
|
|
932
|
-
#
|
|
933
|
-
#
|
|
934
|
-
#
|
|
933
|
+
# Enable or disable source/destination checks, which ensure that the
|
|
934
|
+
# instance is either the source or the destination of any traffic that
|
|
935
|
+
# it receives. If the value is `true`, source/destination checks are
|
|
936
|
+
# enabled; otherwise, they are disabled. The default value is `true`.
|
|
937
|
+
# You must disable source/destination checks if the instance runs
|
|
938
|
+
# services such as network address translation, routing, or firewalls.
|
|
935
939
|
# @option options [String] :attribute
|
|
936
940
|
# The name of the attribute.
|
|
937
941
|
# @option options [Array<Types::InstanceBlockDeviceMappingSpecification>] :block_device_mappings
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
data/lib/aws-sdk-ec2/key_pair.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -107,8 +107,8 @@ module Aws::EC2
|
|
|
107
107
|
data[:private_ip_addresses]
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
# The
|
|
111
|
-
#
|
|
110
|
+
# The alias or AWS account ID of the principal or service that created
|
|
111
|
+
# the network interface.
|
|
112
112
|
# @return [String]
|
|
113
113
|
def requester_id
|
|
114
114
|
data[:requester_id]
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -430,6 +430,8 @@ module Aws::EC2
|
|
|
430
430
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
|
431
431
|
# interface.
|
|
432
432
|
#
|
|
433
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
|
434
|
+
#
|
|
433
435
|
# * `owner-id` - The AWS account ID of the instance owner.
|
|
434
436
|
#
|
|
435
437
|
# * `placement-group-name` - The name of the placement group for the
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -99,7 +99,7 @@ module Aws::EC2
|
|
|
99
99
|
# },
|
|
100
100
|
# ],
|
|
101
101
|
# image_id: "ImageId",
|
|
102
|
-
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, mac1.metal
|
|
102
|
+
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal
|
|
103
103
|
# ipv_6_address_count: 1,
|
|
104
104
|
# ipv_6_addresses: [
|
|
105
105
|
# {
|
|
@@ -413,7 +413,7 @@ module Aws::EC2
|
|
|
413
413
|
#
|
|
414
414
|
# Default: `false`
|
|
415
415
|
# @option options [Types::IamInstanceProfileSpecification] :iam_instance_profile
|
|
416
|
-
# The IAM instance profile.
|
|
416
|
+
# The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
|
417
417
|
# @option options [String] :instance_initiated_shutdown_behavior
|
|
418
418
|
# Indicates whether an instance stops or terminates when you initiate
|
|
419
419
|
# shutdown from the instance (using the operating system command for
|
|
@@ -620,7 +620,6 @@ module Aws::EC2
|
|
|
620
620
|
# @example Request syntax with placeholder values
|
|
621
621
|
#
|
|
622
622
|
# natgateway = ec2.create_nat_gateway({
|
|
623
|
-
# allocation_id: "AllocationId", # required
|
|
624
623
|
# client_token: "String",
|
|
625
624
|
# dry_run: false,
|
|
626
625
|
# subnet_id: "SubnetId", # required
|
|
@@ -635,12 +634,9 @@ module Aws::EC2
|
|
|
635
634
|
# ],
|
|
636
635
|
# },
|
|
637
636
|
# ],
|
|
637
|
+
# allocation_id: "AllocationId", # required
|
|
638
638
|
# })
|
|
639
639
|
# @param [Hash] options ({})
|
|
640
|
-
# @option options [required, String] :allocation_id
|
|
641
|
-
# The allocation ID of an Elastic IP address to associate with the NAT
|
|
642
|
-
# gateway. If the Elastic IP address is associated with another
|
|
643
|
-
# resource, you must first disassociate it.
|
|
644
640
|
# @option options [String] :client_token
|
|
645
641
|
# Unique, case-sensitive identifier that you provide to ensure the
|
|
646
642
|
# idempotency of the request. For more information, see [How to Ensure
|
|
@@ -660,6 +656,10 @@ module Aws::EC2
|
|
|
660
656
|
# The subnet in which to create the NAT gateway.
|
|
661
657
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
|
662
658
|
# The tags to assign to the NAT gateway.
|
|
659
|
+
# @option options [required, String] :allocation_id
|
|
660
|
+
# The allocation ID of an Elastic IP address to associate with the NAT
|
|
661
|
+
# gateway. If the Elastic IP address is associated with another
|
|
662
|
+
# resource, you must first disassociate it.
|
|
663
663
|
# @return [NatGateway]
|
|
664
664
|
def create_nat_gateway(options = {})
|
|
665
665
|
resp = @client.create_nat_gateway(options)
|
|
@@ -1023,11 +1023,11 @@ module Aws::EC2
|
|
|
1023
1023
|
# ],
|
|
1024
1024
|
# availability_zone: "String",
|
|
1025
1025
|
# availability_zone_id: "String",
|
|
1026
|
-
# cidr_block: "String", # required
|
|
1027
1026
|
# ipv_6_cidr_block: "String",
|
|
1028
1027
|
# outpost_arn: "String",
|
|
1029
1028
|
# vpc_id: "VpcId", # required
|
|
1030
1029
|
# dry_run: false,
|
|
1030
|
+
# cidr_block: "String", # required
|
|
1031
1031
|
# })
|
|
1032
1032
|
# @param [Hash] options ({})
|
|
1033
1033
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
|
@@ -1052,11 +1052,6 @@ module Aws::EC2
|
|
|
1052
1052
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
|
1053
1053
|
# @option options [String] :availability_zone_id
|
|
1054
1054
|
# The AZ ID or the Local Zone ID of the subnet.
|
|
1055
|
-
# @option options [required, String] :cidr_block
|
|
1056
|
-
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
|
1057
|
-
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
|
1058
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
|
1059
|
-
# `100.68.0.0/18`.
|
|
1060
1055
|
# @option options [String] :ipv_6_cidr_block
|
|
1061
1056
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
|
1062
1057
|
# size must use a /64 prefix length.
|
|
@@ -1071,6 +1066,11 @@ module Aws::EC2
|
|
|
1071
1066
|
# without actually making the request, and provides an error response.
|
|
1072
1067
|
# If you have the required permissions, the error response is
|
|
1073
1068
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
1069
|
+
# @option options [required, String] :cidr_block
|
|
1070
|
+
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
|
1071
|
+
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
|
1072
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
|
1073
|
+
# `100.68.0.0/18`.
|
|
1074
1074
|
# @return [Subnet]
|
|
1075
1075
|
def create_subnet(options = {})
|
|
1076
1076
|
resp = @client.create_subnet(options)
|
|
@@ -1544,6 +1544,7 @@ module Aws::EC2
|
|
|
1544
1544
|
# root_device_name: "String",
|
|
1545
1545
|
# sriov_net_support: "String",
|
|
1546
1546
|
# virtualization_type: "String",
|
|
1547
|
+
# boot_mode: "legacy-bios", # accepts legacy-bios, uefi
|
|
1547
1548
|
# })
|
|
1548
1549
|
# @param [Hash] options ({})
|
|
1549
1550
|
# @option options [String] :image_location
|
|
@@ -1563,6 +1564,9 @@ module Aws::EC2
|
|
|
1563
1564
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
|
1564
1565
|
# The block device mapping entries.
|
|
1565
1566
|
#
|
|
1567
|
+
# If you specify an EBS volume using the ID of an EBS snapshot, you
|
|
1568
|
+
# can't specify the encryption state of the volume.
|
|
1569
|
+
#
|
|
1566
1570
|
# If you create an AMI on an Outpost, then all backing snapshots must be
|
|
1567
1571
|
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
|
1568
1572
|
# Outpost that include local snapshots can be used to launch instances
|
|
@@ -1615,6 +1619,13 @@ module Aws::EC2
|
|
|
1615
1619
|
# The type of virtualization (`hvm` \| `paravirtual`).
|
|
1616
1620
|
#
|
|
1617
1621
|
# Default: `paravirtual`
|
|
1622
|
+
# @option options [String] :boot_mode
|
|
1623
|
+
# The boot mode of the AMI. For more information, see [Boot modes][1] in
|
|
1624
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
|
1625
|
+
#
|
|
1626
|
+
#
|
|
1627
|
+
#
|
|
1628
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
|
|
1618
1629
|
# @return [Image]
|
|
1619
1630
|
def register_image(options = {})
|
|
1620
1631
|
resp = @client.register_image(options)
|
|
@@ -2148,6 +2159,8 @@ module Aws::EC2
|
|
|
2148
2159
|
# * `network-interface.vpc-id` - The ID of the VPC for the network
|
|
2149
2160
|
# interface.
|
|
2150
2161
|
#
|
|
2162
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
|
2163
|
+
#
|
|
2151
2164
|
# * `owner-id` - The AWS account ID of the instance owner.
|
|
2152
2165
|
#
|
|
2153
2166
|
# * `placement-group-name` - The name of the placement group for the
|
|
@@ -2668,9 +2681,8 @@ module Aws::EC2
|
|
|
2668
2681
|
# * `private-dns-name` - The private DNS name of the network interface
|
|
2669
2682
|
# (IPv4).
|
|
2670
2683
|
#
|
|
2671
|
-
# * `requester-id` - The
|
|
2672
|
-
#
|
|
2673
|
-
# so on).
|
|
2684
|
+
# * `requester-id` - The alias or AWS account ID of the principal or
|
|
2685
|
+
# service that created the network interface.
|
|
2674
2686
|
#
|
|
2675
2687
|
# * `requester-managed` - Indicates whether the network interface is
|
|
2676
2688
|
# being managed by an AWS service (for example, AWS Management
|
|
@@ -2968,7 +2980,7 @@ module Aws::EC2
|
|
|
2968
2980
|
# has been referenced in an outbound security group rule.
|
|
2969
2981
|
#
|
|
2970
2982
|
# * `egress.ip-permission.group-name` - The name of a security group
|
|
2971
|
-
# that
|
|
2983
|
+
# that is referenced in an outbound security group rule.
|
|
2972
2984
|
#
|
|
2973
2985
|
# * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
|
|
2974
2986
|
# outbound security group rule.
|
|
@@ -2977,7 +2989,8 @@ module Aws::EC2
|
|
|
2977
2989
|
# which a security group rule allows outbound access.
|
|
2978
2990
|
#
|
|
2979
2991
|
# * `egress.ip-permission.protocol` - The IP protocol for an outbound
|
|
2980
|
-
# security group rule (`tcp` \| `udp` \| `icmp
|
|
2992
|
+
# security group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or
|
|
2993
|
+
# -1 for all protocols).
|
|
2981
2994
|
#
|
|
2982
2995
|
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
|
2983
2996
|
# port range for the TCP and UDP protocols, or an ICMP code.
|
|
@@ -2998,8 +3011,8 @@ module Aws::EC2
|
|
|
2998
3011
|
# * `ip-permission.group-id` - The ID of a security group that has been
|
|
2999
3012
|
# referenced in an inbound security group rule.
|
|
3000
3013
|
#
|
|
3001
|
-
# * `ip-permission.group-name` - The name of a security group that
|
|
3002
|
-
#
|
|
3014
|
+
# * `ip-permission.group-name` - The name of a security group that is
|
|
3015
|
+
# referenced in an inbound security group rule.
|
|
3003
3016
|
#
|
|
3004
3017
|
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
|
|
3005
3018
|
# security group rule.
|
|
@@ -3008,7 +3021,8 @@ module Aws::EC2
|
|
|
3008
3021
|
# a security group rule allows inbound access.
|
|
3009
3022
|
#
|
|
3010
3023
|
# * `ip-permission.protocol` - The IP protocol for an inbound security
|
|
3011
|
-
# group rule (`tcp` \| `udp` \| `icmp
|
|
3024
|
+
# group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or -1 for
|
|
3025
|
+
# all protocols).
|
|
3012
3026
|
#
|
|
3013
3027
|
# * `ip-permission.to-port` - For an inbound rule, the end of port range
|
|
3014
3028
|
# for the TCP and UDP protocols, or an ICMP code.
|