aws-sdk-ec2 1.278.0 → 1.282.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +242 -77
- data/lib/aws-sdk-ec2/client_api.rb +72 -1
- data/lib/aws-sdk-ec2/instance.rb +14 -2
- data/lib/aws-sdk-ec2/network_interface.rb +13 -0
- data/lib/aws-sdk-ec2/resource.rb +31 -13
- data/lib/aws-sdk-ec2/route.rb +7 -0
- data/lib/aws-sdk-ec2/route_table.rb +2 -0
- data/lib/aws-sdk-ec2/subnet.rb +39 -9
- data/lib/aws-sdk-ec2/types.rb +561 -122
- data/lib/aws-sdk-ec2/vpc.rb +14 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -319,6 +319,7 @@ module Aws::EC2
|
|
319
319
|
CopyTagsFromSource = Shapes::StringShape.new(name: 'CopyTagsFromSource')
|
320
320
|
CoreCount = Shapes::IntegerShape.new(name: 'CoreCount')
|
321
321
|
CoreCountList = Shapes::ListShape.new(name: 'CoreCountList')
|
322
|
+
CoreNetworkArn = Shapes::StringShape.new(name: 'CoreNetworkArn')
|
322
323
|
CpuManufacturer = Shapes::StringShape.new(name: 'CpuManufacturer')
|
323
324
|
CpuManufacturerSet = Shapes::ListShape.new(name: 'CpuManufacturerSet')
|
324
325
|
CpuOptions = Shapes::StructureShape.new(name: 'CpuOptions')
|
@@ -1228,6 +1229,7 @@ module Aws::EC2
|
|
1228
1229
|
HostReservationIdSet = Shapes::ListShape.new(name: 'HostReservationIdSet')
|
1229
1230
|
HostReservationSet = Shapes::ListShape.new(name: 'HostReservationSet')
|
1230
1231
|
HostTenancy = Shapes::StringShape.new(name: 'HostTenancy')
|
1232
|
+
HostnameType = Shapes::StringShape.new(name: 'HostnameType')
|
1231
1233
|
Hour = Shapes::IntegerShape.new(name: 'Hour')
|
1232
1234
|
HttpTokensState = Shapes::StringShape.new(name: 'HttpTokensState')
|
1233
1235
|
HypervisorType = Shapes::StringShape.new(name: 'HypervisorType')
|
@@ -1506,6 +1508,8 @@ module Aws::EC2
|
|
1506
1508
|
LaunchTemplateOverridesList = Shapes::ListShape.new(name: 'LaunchTemplateOverridesList')
|
1507
1509
|
LaunchTemplatePlacement = Shapes::StructureShape.new(name: 'LaunchTemplatePlacement')
|
1508
1510
|
LaunchTemplatePlacementRequest = Shapes::StructureShape.new(name: 'LaunchTemplatePlacementRequest')
|
1511
|
+
LaunchTemplatePrivateDnsNameOptions = Shapes::StructureShape.new(name: 'LaunchTemplatePrivateDnsNameOptions')
|
1512
|
+
LaunchTemplatePrivateDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplatePrivateDnsNameOptionsRequest')
|
1509
1513
|
LaunchTemplateSet = Shapes::ListShape.new(name: 'LaunchTemplateSet')
|
1510
1514
|
LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
|
1511
1515
|
LaunchTemplateSpotMarketOptions = Shapes::StructureShape.new(name: 'LaunchTemplateSpotMarketOptions')
|
@@ -1628,6 +1632,8 @@ module Aws::EC2
|
|
1628
1632
|
ModifyManagedPrefixListRequest = Shapes::StructureShape.new(name: 'ModifyManagedPrefixListRequest')
|
1629
1633
|
ModifyManagedPrefixListResult = Shapes::StructureShape.new(name: 'ModifyManagedPrefixListResult')
|
1630
1634
|
ModifyNetworkInterfaceAttributeRequest = Shapes::StructureShape.new(name: 'ModifyNetworkInterfaceAttributeRequest')
|
1635
|
+
ModifyPrivateDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'ModifyPrivateDnsNameOptionsRequest')
|
1636
|
+
ModifyPrivateDnsNameOptionsResult = Shapes::StructureShape.new(name: 'ModifyPrivateDnsNameOptionsResult')
|
1631
1637
|
ModifyReservedInstancesRequest = Shapes::StructureShape.new(name: 'ModifyReservedInstancesRequest')
|
1632
1638
|
ModifyReservedInstancesResult = Shapes::StructureShape.new(name: 'ModifyReservedInstancesResult')
|
1633
1639
|
ModifySecurityGroupRulesRequest = Shapes::StructureShape.new(name: 'ModifySecurityGroupRulesRequest')
|
@@ -1834,6 +1840,9 @@ module Aws::EC2
|
|
1834
1840
|
PrivateDnsDetails = Shapes::StructureShape.new(name: 'PrivateDnsDetails')
|
1835
1841
|
PrivateDnsDetailsSet = Shapes::ListShape.new(name: 'PrivateDnsDetailsSet')
|
1836
1842
|
PrivateDnsNameConfiguration = Shapes::StructureShape.new(name: 'PrivateDnsNameConfiguration')
|
1843
|
+
PrivateDnsNameOptionsOnLaunch = Shapes::StructureShape.new(name: 'PrivateDnsNameOptionsOnLaunch')
|
1844
|
+
PrivateDnsNameOptionsRequest = Shapes::StructureShape.new(name: 'PrivateDnsNameOptionsRequest')
|
1845
|
+
PrivateDnsNameOptionsResponse = Shapes::StructureShape.new(name: 'PrivateDnsNameOptionsResponse')
|
1837
1846
|
PrivateIpAddressConfigSet = Shapes::ListShape.new(name: 'PrivateIpAddressConfigSet')
|
1838
1847
|
PrivateIpAddressSpecification = Shapes::StructureShape.new(name: 'PrivateIpAddressSpecification')
|
1839
1848
|
PrivateIpAddressSpecificationList = Shapes::ListShape.new(name: 'PrivateIpAddressSpecificationList')
|
@@ -3601,6 +3610,7 @@ module Aws::EC2
|
|
3601
3610
|
|
3602
3611
|
CreateDefaultSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AvailabilityZone"))
|
3603
3612
|
CreateDefaultSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3613
|
+
CreateDefaultSubnetRequest.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "Ipv6Native"))
|
3604
3614
|
CreateDefaultSubnetRequest.struct_class = Types::CreateDefaultSubnetRequest
|
3605
3615
|
|
3606
3616
|
CreateDefaultSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
@@ -3933,6 +3943,7 @@ module Aws::EC2
|
|
3933
3943
|
CreateRouteRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "networkInterfaceId"))
|
3934
3944
|
CreateRouteRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
|
3935
3945
|
CreateRouteRequest.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: VpcPeeringConnectionId, location_name: "vpcPeeringConnectionId"))
|
3946
|
+
CreateRouteRequest.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "CoreNetworkArn"))
|
3936
3947
|
CreateRouteRequest.struct_class = Types::CreateRouteRequest
|
3937
3948
|
|
3938
3949
|
CreateRouteResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
@@ -4006,11 +4017,12 @@ module Aws::EC2
|
|
4006
4017
|
CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4007
4018
|
CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
4008
4019
|
CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
4009
|
-
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String,
|
4020
|
+
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "CidrBlock"))
|
4010
4021
|
CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
|
4011
4022
|
CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
4012
4023
|
CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
4013
4024
|
CreateSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4025
|
+
CreateSubnetRequest.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "Ipv6Native"))
|
4014
4026
|
CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
|
4015
4027
|
|
4016
4028
|
CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
@@ -7656,6 +7668,8 @@ module Aws::EC2
|
|
7656
7668
|
Instance.add_member(:platform_details, Shapes::ShapeRef.new(shape: String, location_name: "platformDetails"))
|
7657
7669
|
Instance.add_member(:usage_operation, Shapes::ShapeRef.new(shape: String, location_name: "usageOperation"))
|
7658
7670
|
Instance.add_member(:usage_operation_update_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "usageOperationUpdateTime"))
|
7671
|
+
Instance.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsResponse, location_name: "privateDnsNameOptions"))
|
7672
|
+
Instance.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
7659
7673
|
Instance.struct_class = Types::Instance
|
7660
7674
|
|
7661
7675
|
InstanceAttribute.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierList, location_name: "groupSet"))
|
@@ -8423,6 +8437,16 @@ module Aws::EC2
|
|
8423
8437
|
LaunchTemplatePlacementRequest.add_member(:partition_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PartitionNumber"))
|
8424
8438
|
LaunchTemplatePlacementRequest.struct_class = Types::LaunchTemplatePlacementRequest
|
8425
8439
|
|
8440
|
+
LaunchTemplatePrivateDnsNameOptions.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "hostnameType"))
|
8441
|
+
LaunchTemplatePrivateDnsNameOptions.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsARecord"))
|
8442
|
+
LaunchTemplatePrivateDnsNameOptions.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsAAAARecord"))
|
8443
|
+
LaunchTemplatePrivateDnsNameOptions.struct_class = Types::LaunchTemplatePrivateDnsNameOptions
|
8444
|
+
|
8445
|
+
LaunchTemplatePrivateDnsNameOptionsRequest.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "HostnameType"))
|
8446
|
+
LaunchTemplatePrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsARecord"))
|
8447
|
+
LaunchTemplatePrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsAAAARecord"))
|
8448
|
+
LaunchTemplatePrivateDnsNameOptionsRequest.struct_class = Types::LaunchTemplatePrivateDnsNameOptionsRequest
|
8449
|
+
|
8426
8450
|
LaunchTemplateSet.member = Shapes::ShapeRef.new(shape: LaunchTemplate, location_name: "item")
|
8427
8451
|
|
8428
8452
|
LaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "LaunchTemplateId"))
|
@@ -8866,6 +8890,16 @@ module Aws::EC2
|
|
8866
8890
|
ModifyNetworkInterfaceAttributeRequest.add_member(:source_dest_check, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "sourceDestCheck"))
|
8867
8891
|
ModifyNetworkInterfaceAttributeRequest.struct_class = Types::ModifyNetworkInterfaceAttributeRequest
|
8868
8892
|
|
8893
|
+
ModifyPrivateDnsNameOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8894
|
+
ModifyPrivateDnsNameOptionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
8895
|
+
ModifyPrivateDnsNameOptionsRequest.add_member(:private_dns_hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "PrivateDnsHostnameType"))
|
8896
|
+
ModifyPrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsARecord"))
|
8897
|
+
ModifyPrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsAAAARecord"))
|
8898
|
+
ModifyPrivateDnsNameOptionsRequest.struct_class = Types::ModifyPrivateDnsNameOptionsRequest
|
8899
|
+
|
8900
|
+
ModifyPrivateDnsNameOptionsResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
8901
|
+
ModifyPrivateDnsNameOptionsResult.struct_class = Types::ModifyPrivateDnsNameOptionsResult
|
8902
|
+
|
8869
8903
|
ModifyReservedInstancesRequest.add_member(:reserved_instances_ids, Shapes::ShapeRef.new(shape: ReservedInstancesIdStringList, required: true, location_name: "ReservedInstancesId"))
|
8870
8904
|
ModifyReservedInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
8871
8905
|
ModifyReservedInstancesRequest.add_member(:target_configurations, Shapes::ShapeRef.new(shape: ReservedInstancesConfigurationList, required: true, location_name: "ReservedInstancesConfigurationSetItemType"))
|
@@ -8907,6 +8941,10 @@ module Aws::EC2
|
|
8907
8941
|
ModifySubnetAttributeRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
8908
8942
|
ModifySubnetAttributeRequest.add_member(:map_customer_owned_ip_on_launch, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "MapCustomerOwnedIpOnLaunch"))
|
8909
8943
|
ModifySubnetAttributeRequest.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CoipPoolId, location_name: "CustomerOwnedIpv4Pool"))
|
8944
|
+
ModifySubnetAttributeRequest.add_member(:enable_dns_64, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "EnableDns64"))
|
8945
|
+
ModifySubnetAttributeRequest.add_member(:private_dns_hostname_type_on_launch, Shapes::ShapeRef.new(shape: HostnameType, location_name: "PrivateDnsHostnameTypeOnLaunch"))
|
8946
|
+
ModifySubnetAttributeRequest.add_member(:enable_resource_name_dns_a_record_on_launch, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "EnableResourceNameDnsARecordOnLaunch"))
|
8947
|
+
ModifySubnetAttributeRequest.add_member(:enable_resource_name_dns_aaaa_record_on_launch, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "EnableResourceNameDnsAAAARecordOnLaunch"))
|
8910
8948
|
ModifySubnetAttributeRequest.struct_class = Types::ModifySubnetAttributeRequest
|
8911
8949
|
|
8912
8950
|
ModifyTrafficMirrorFilterNetworkServicesRequest.add_member(:traffic_mirror_filter_id, Shapes::ShapeRef.new(shape: TrafficMirrorFilterId, required: true, location_name: "TrafficMirrorFilterId"))
|
@@ -9302,6 +9340,8 @@ module Aws::EC2
|
|
9302
9340
|
NetworkInterface.add_member(:tag_set, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
9303
9341
|
NetworkInterface.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
9304
9342
|
NetworkInterface.add_member(:deny_all_igw_traffic, Shapes::ShapeRef.new(shape: Boolean, location_name: "denyAllIgwTraffic"))
|
9343
|
+
NetworkInterface.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
|
9344
|
+
NetworkInterface.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
9305
9345
|
NetworkInterface.struct_class = Types::NetworkInterface
|
9306
9346
|
|
9307
9347
|
NetworkInterfaceAssociation.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
@@ -9610,6 +9650,21 @@ module Aws::EC2
|
|
9610
9650
|
PrivateDnsNameConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
9611
9651
|
PrivateDnsNameConfiguration.struct_class = Types::PrivateDnsNameConfiguration
|
9612
9652
|
|
9653
|
+
PrivateDnsNameOptionsOnLaunch.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "hostnameType"))
|
9654
|
+
PrivateDnsNameOptionsOnLaunch.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsARecord"))
|
9655
|
+
PrivateDnsNameOptionsOnLaunch.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsAAAARecord"))
|
9656
|
+
PrivateDnsNameOptionsOnLaunch.struct_class = Types::PrivateDnsNameOptionsOnLaunch
|
9657
|
+
|
9658
|
+
PrivateDnsNameOptionsRequest.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "HostnameType"))
|
9659
|
+
PrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsARecord"))
|
9660
|
+
PrivateDnsNameOptionsRequest.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableResourceNameDnsAAAARecord"))
|
9661
|
+
PrivateDnsNameOptionsRequest.struct_class = Types::PrivateDnsNameOptionsRequest
|
9662
|
+
|
9663
|
+
PrivateDnsNameOptionsResponse.add_member(:hostname_type, Shapes::ShapeRef.new(shape: HostnameType, location_name: "hostnameType"))
|
9664
|
+
PrivateDnsNameOptionsResponse.add_member(:enable_resource_name_dns_a_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsARecord"))
|
9665
|
+
PrivateDnsNameOptionsResponse.add_member(:enable_resource_name_dns_aaaa_record, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableResourceNameDnsAAAARecord"))
|
9666
|
+
PrivateDnsNameOptionsResponse.struct_class = Types::PrivateDnsNameOptionsResponse
|
9667
|
+
|
9613
9668
|
PrivateIpAddressConfigSet.member = Shapes::ShapeRef.new(shape: ScheduledInstancesPrivateIpAddressConfig, location_name: "PrivateIpAddressConfigSet")
|
9614
9669
|
|
9615
9670
|
PrivateIpAddressSpecification.add_member(:primary, Shapes::ShapeRef.new(shape: Boolean, location_name: "primary"))
|
@@ -9928,6 +9983,7 @@ module Aws::EC2
|
|
9928
9983
|
ReplaceRouteRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "networkInterfaceId"))
|
9929
9984
|
ReplaceRouteRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
|
9930
9985
|
ReplaceRouteRequest.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: VpcPeeringConnectionId, location_name: "vpcPeeringConnectionId"))
|
9986
|
+
ReplaceRouteRequest.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "CoreNetworkArn"))
|
9931
9987
|
ReplaceRouteRequest.struct_class = Types::ReplaceRouteRequest
|
9932
9988
|
|
9933
9989
|
ReplaceRouteTableAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: RouteTableAssociationId, required: true, location_name: "associationId"))
|
@@ -9992,6 +10048,7 @@ module Aws::EC2
|
|
9992
10048
|
RequestLaunchTemplateData.add_member(:metadata_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataOptionsRequest, location_name: "MetadataOptions"))
|
9993
10049
|
RequestLaunchTemplateData.add_member(:enclave_options, Shapes::ShapeRef.new(shape: LaunchTemplateEnclaveOptionsRequest, location_name: "EnclaveOptions"))
|
9994
10050
|
RequestLaunchTemplateData.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "InstanceRequirements"))
|
10051
|
+
RequestLaunchTemplateData.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: LaunchTemplatePrivateDnsNameOptionsRequest, location_name: "PrivateDnsNameOptions"))
|
9995
10052
|
RequestLaunchTemplateData.struct_class = Types::RequestLaunchTemplateData
|
9996
10053
|
|
9997
10054
|
RequestSpotFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
@@ -10254,6 +10311,7 @@ module Aws::EC2
|
|
10254
10311
|
ResponseLaunchTemplateData.add_member(:metadata_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataOptions, location_name: "metadataOptions"))
|
10255
10312
|
ResponseLaunchTemplateData.add_member(:enclave_options, Shapes::ShapeRef.new(shape: LaunchTemplateEnclaveOptions, location_name: "enclaveOptions"))
|
10256
10313
|
ResponseLaunchTemplateData.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirements, location_name: "instanceRequirements"))
|
10314
|
+
ResponseLaunchTemplateData.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: LaunchTemplatePrivateDnsNameOptions, location_name: "privateDnsNameOptions"))
|
10257
10315
|
ResponseLaunchTemplateData.struct_class = Types::ResponseLaunchTemplateData
|
10258
10316
|
|
10259
10317
|
RestorableByStringList.member = Shapes::ShapeRef.new(shape: String)
|
@@ -10335,6 +10393,7 @@ module Aws::EC2
|
|
10335
10393
|
Route.add_member(:origin, Shapes::ShapeRef.new(shape: RouteOrigin, location_name: "origin"))
|
10336
10394
|
Route.add_member(:state, Shapes::ShapeRef.new(shape: RouteState, location_name: "state"))
|
10337
10395
|
Route.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
|
10396
|
+
Route.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "coreNetworkArn"))
|
10338
10397
|
Route.struct_class = Types::Route
|
10339
10398
|
|
10340
10399
|
RouteList.member = Shapes::ShapeRef.new(shape: Route, location_name: "item")
|
@@ -10406,6 +10465,7 @@ module Aws::EC2
|
|
10406
10465
|
RunInstancesRequest.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LicenseSpecificationListRequest, location_name: "LicenseSpecification"))
|
10407
10466
|
RunInstancesRequest.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptionsRequest, location_name: "MetadataOptions"))
|
10408
10467
|
RunInstancesRequest.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptionsRequest, location_name: "EnclaveOptions"))
|
10468
|
+
RunInstancesRequest.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsRequest, location_name: "PrivateDnsNameOptions"))
|
10409
10469
|
RunInstancesRequest.struct_class = Types::RunInstancesRequest
|
10410
10470
|
|
10411
10471
|
RunScheduledInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -11034,6 +11094,9 @@ module Aws::EC2
|
|
11034
11094
|
Subnet.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
11035
11095
|
Subnet.add_member(:subnet_arn, Shapes::ShapeRef.new(shape: String, location_name: "subnetArn"))
|
11036
11096
|
Subnet.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
11097
|
+
Subnet.add_member(:enable_dns_64, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableDns64"))
|
11098
|
+
Subnet.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
|
11099
|
+
Subnet.add_member(:private_dns_name_options_on_launch, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsOnLaunch, location_name: "privateDnsNameOptionsOnLaunch"))
|
11037
11100
|
Subnet.struct_class = Types::Subnet
|
11038
11101
|
|
11039
11102
|
SubnetAssociation.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
@@ -15805,6 +15868,14 @@ module Aws::EC2
|
|
15805
15868
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
15806
15869
|
end)
|
15807
15870
|
|
15871
|
+
api.add_operation(:modify_private_dns_name_options, Seahorse::Model::Operation.new.tap do |o|
|
15872
|
+
o.name = "ModifyPrivateDnsNameOptions"
|
15873
|
+
o.http_method = "POST"
|
15874
|
+
o.http_request_uri = "/"
|
15875
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyPrivateDnsNameOptionsRequest)
|
15876
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyPrivateDnsNameOptionsResult)
|
15877
|
+
end)
|
15878
|
+
|
15808
15879
|
api.add_operation(:modify_reserved_instances, Seahorse::Model::Operation.new.tap do |o|
|
15809
15880
|
o.name = "ModifyReservedInstances"
|
15810
15881
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -377,6 +377,18 @@ module Aws::EC2
|
|
377
377
|
data[:usage_operation_update_time]
|
378
378
|
end
|
379
379
|
|
380
|
+
# The options for the instance hostname.
|
381
|
+
# @return [Types::PrivateDnsNameOptionsResponse]
|
382
|
+
def private_dns_name_options
|
383
|
+
data[:private_dns_name_options]
|
384
|
+
end
|
385
|
+
|
386
|
+
# The IPv6 address assigned to the instance.
|
387
|
+
# @return [String]
|
388
|
+
def ipv_6_address
|
389
|
+
data[:ipv_6_address]
|
390
|
+
end
|
391
|
+
|
380
392
|
# @!endgroup
|
381
393
|
|
382
394
|
# @return [Client]
|
@@ -977,8 +989,8 @@ module Aws::EC2
|
|
977
989
|
#
|
978
990
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
979
991
|
# must add them when you launch the instance. For more information, see
|
980
|
-
# [
|
981
|
-
#
|
992
|
+
# [Update the block device mapping when launching an instance][1] in the
|
993
|
+
# *Amazon EC2 User Guide*.
|
982
994
|
#
|
983
995
|
#
|
984
996
|
#
|
@@ -175,6 +175,19 @@ module Aws::EC2
|
|
175
175
|
data[:deny_all_igw_traffic]
|
176
176
|
end
|
177
177
|
|
178
|
+
# Indicates whether this is an IPv6 only network interface.
|
179
|
+
# @return [Boolean]
|
180
|
+
def ipv_6_native
|
181
|
+
data[:ipv_6_native]
|
182
|
+
end
|
183
|
+
|
184
|
+
# The IPv6 globally unique address associated with the network
|
185
|
+
# interface.
|
186
|
+
# @return [String]
|
187
|
+
def ipv_6_address
|
188
|
+
data[:ipv_6_address]
|
189
|
+
end
|
190
|
+
|
178
191
|
# @!endgroup
|
179
192
|
|
180
193
|
# @return [Client]
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -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.xlarge, g4ad.2xlarge, 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, dl1.24xlarge, 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.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, 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, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, 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, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge
|
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, c6i.large, c6i.xlarge, c6i.2xlarge, c6i.4xlarge, c6i.8xlarge, c6i.12xlarge, c6i.16xlarge, c6i.24xlarge, c6i.32xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, 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, dl1.24xlarge, 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.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, 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, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, 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, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge, g5.xlarge, g5.2xlarge, g5.4xlarge, g5.8xlarge, g5.12xlarge, g5.16xlarge, g5.24xlarge, g5.48xlarge
|
103
103
|
# ipv_6_address_count: 1,
|
104
104
|
# ipv_6_addresses: [
|
105
105
|
# {
|
@@ -247,6 +247,11 @@ module Aws::EC2
|
|
247
247
|
# enclave_options: {
|
248
248
|
# enabled: false,
|
249
249
|
# },
|
250
|
+
# private_dns_name_options: {
|
251
|
+
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
252
|
+
# enable_resource_name_dns_a_record: false,
|
253
|
+
# enable_resource_name_dns_aaaa_record: false,
|
254
|
+
# },
|
250
255
|
# })
|
251
256
|
# @param [Hash] options ({})
|
252
257
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
@@ -379,16 +384,16 @@ module Aws::EC2
|
|
379
384
|
# part of the network interface.
|
380
385
|
# @option options [String] :user_data
|
381
386
|
# The user data to make available to the instance. For more information,
|
382
|
-
# see [
|
383
|
-
#
|
384
|
-
# base64-encoding is performed for you, and you can
|
385
|
-
# file. Otherwise, you must provide base64-encoded
|
386
|
-
# limited to 16 KB.
|
387
|
+
# see [Run commands on your Linux instance at launch][1] and [Run
|
388
|
+
# commands on your Windows instance at launch][2]. If you are using a
|
389
|
+
# command line tool, base64-encoding is performed for you, and you can
|
390
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
391
|
+
# text. User data is limited to 16 KB.
|
387
392
|
#
|
388
393
|
#
|
389
394
|
#
|
390
395
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
391
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-
|
396
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-windows-user-data.html
|
392
397
|
# @option options [String] :additional_info
|
393
398
|
# Reserved.
|
394
399
|
# @option options [String] :client_token
|
@@ -508,8 +513,8 @@ module Aws::EC2
|
|
508
513
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html
|
509
514
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
510
515
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
511
|
-
# The CPU options for the instance. For more information, see
|
512
|
-
#
|
516
|
+
# The CPU options for the instance. For more information, see [Optimize
|
517
|
+
# CPU options][1] in the *Amazon EC2 User Guide*.
|
513
518
|
#
|
514
519
|
#
|
515
520
|
#
|
@@ -552,6 +557,9 @@ module Aws::EC2
|
|
552
557
|
#
|
553
558
|
#
|
554
559
|
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
|
560
|
+
# @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
561
|
+
# The options for the instance hostname. The default values are
|
562
|
+
# inherited from the subnet.
|
555
563
|
# @return [Instance::Collection]
|
556
564
|
def create_instances(options = {})
|
557
565
|
batch = []
|
@@ -1096,11 +1104,12 @@ module Aws::EC2
|
|
1096
1104
|
# ],
|
1097
1105
|
# availability_zone: "String",
|
1098
1106
|
# availability_zone_id: "String",
|
1099
|
-
# cidr_block: "String",
|
1107
|
+
# cidr_block: "String",
|
1100
1108
|
# ipv_6_cidr_block: "String",
|
1101
1109
|
# outpost_arn: "String",
|
1102
1110
|
# vpc_id: "VpcId", # required
|
1103
1111
|
# dry_run: false,
|
1112
|
+
# ipv_6_native: false,
|
1104
1113
|
# })
|
1105
1114
|
# @param [Hash] options ({})
|
1106
1115
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -1125,14 +1134,18 @@ module Aws::EC2
|
|
1125
1134
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
1126
1135
|
# @option options [String] :availability_zone_id
|
1127
1136
|
# The AZ ID or the Local Zone ID of the subnet.
|
1128
|
-
# @option options [
|
1137
|
+
# @option options [String] :cidr_block
|
1129
1138
|
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1130
1139
|
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1131
1140
|
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1132
1141
|
# `100.68.0.0/18`.
|
1142
|
+
#
|
1143
|
+
# This parameter is not supported for an IPv6 only subnet.
|
1133
1144
|
# @option options [String] :ipv_6_cidr_block
|
1134
1145
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
1135
1146
|
# size must use a /64 prefix length.
|
1147
|
+
#
|
1148
|
+
# This parameter is required for an IPv6 only subnet.
|
1136
1149
|
# @option options [String] :outpost_arn
|
1137
1150
|
# The Amazon Resource Name (ARN) of the Outpost. If you specify an
|
1138
1151
|
# Outpost ARN, you must also specify the Availability Zone of the
|
@@ -1144,6 +1157,8 @@ module Aws::EC2
|
|
1144
1157
|
# without actually making the request, and provides an error response.
|
1145
1158
|
# If you have the required permissions, the error response is
|
1146
1159
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1160
|
+
# @option options [Boolean] :ipv_6_native
|
1161
|
+
# Indicates whether to create an IPv6 only subnet.
|
1147
1162
|
# @return [Subnet]
|
1148
1163
|
def create_subnet(options = {})
|
1149
1164
|
resp = @client.create_subnet(options)
|
@@ -3336,8 +3351,8 @@ module Aws::EC2
|
|
3336
3351
|
# `cidrBlock` as the filter names.
|
3337
3352
|
#
|
3338
3353
|
# * `default-for-az` - Indicates whether this is the default subnet for
|
3339
|
-
# the Availability Zone. You can also use
|
3340
|
-
# name.
|
3354
|
+
# the Availability Zone (`true` \| `false`). You can also use
|
3355
|
+
# `defaultForAz` as the filter name.
|
3341
3356
|
#
|
3342
3357
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
3343
3358
|
# associated with the subnet.
|
@@ -3348,6 +3363,9 @@ module Aws::EC2
|
|
3348
3363
|
# * `ipv6-cidr-block-association.state` - The state of an IPv6 CIDR
|
3349
3364
|
# block associated with the subnet.
|
3350
3365
|
#
|
3366
|
+
# * `ipv6-native` - Indicates whether this is an IPv6 only subnet
|
3367
|
+
# (`true` \| `false`).
|
3368
|
+
#
|
3351
3369
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
3352
3370
|
#
|
3353
3371
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
data/lib/aws-sdk-ec2/route.rb
CHANGED
@@ -137,6 +137,11 @@ module Aws::EC2
|
|
137
137
|
data[:vpc_peering_connection_id]
|
138
138
|
end
|
139
139
|
|
140
|
+
# @return [String]
|
141
|
+
def core_network_arn
|
142
|
+
data[:core_network_arn]
|
143
|
+
end
|
144
|
+
|
140
145
|
# @!endgroup
|
141
146
|
|
142
147
|
# @return [Client]
|
@@ -311,6 +316,7 @@ module Aws::EC2
|
|
311
316
|
# carrier_gateway_id: "CarrierGatewayId",
|
312
317
|
# network_interface_id: "NetworkInterfaceId",
|
313
318
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
319
|
+
# core_network_arn: "CoreNetworkArn",
|
314
320
|
# })
|
315
321
|
# @param [Hash] options ({})
|
316
322
|
# @option options [String] :destination_ipv_6_cidr_block
|
@@ -348,6 +354,7 @@ module Aws::EC2
|
|
348
354
|
# The ID of a network interface.
|
349
355
|
# @option options [String] :vpc_peering_connection_id
|
350
356
|
# The ID of a VPC peering connection.
|
357
|
+
# @option options [String] :core_network_arn
|
351
358
|
# @return [EmptyStructure]
|
352
359
|
def replace(options = {})
|
353
360
|
options = options.merge(
|
@@ -237,6 +237,7 @@ module Aws::EC2
|
|
237
237
|
# carrier_gateway_id: "CarrierGatewayId",
|
238
238
|
# network_interface_id: "NetworkInterfaceId",
|
239
239
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
240
|
+
# core_network_arn: "CoreNetworkArn",
|
240
241
|
# })
|
241
242
|
# @param [Hash] options ({})
|
242
243
|
# @option options [String] :destination_cidr_block
|
@@ -281,6 +282,7 @@ module Aws::EC2
|
|
281
282
|
# The ID of a network interface.
|
282
283
|
# @option options [String] :vpc_peering_connection_id
|
283
284
|
# The ID of a VPC peering connection.
|
285
|
+
# @option options [String] :core_network_arn
|
284
286
|
# @return [Route]
|
285
287
|
def create_route(options = {})
|
286
288
|
options = options.merge(route_table_id: @id)
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -138,6 +138,28 @@ module Aws::EC2
|
|
138
138
|
data[:outpost_arn]
|
139
139
|
end
|
140
140
|
|
141
|
+
# Indicates whether DNS queries made to the Amazon-provided DNS Resolver
|
142
|
+
# in this subnet should return synthetic IPv6 addresses for IPv4-only
|
143
|
+
# destinations.
|
144
|
+
# @return [Boolean]
|
145
|
+
def enable_dns_64
|
146
|
+
data[:enable_dns_64]
|
147
|
+
end
|
148
|
+
|
149
|
+
# Indicates whether this is an IPv6 only subnet.
|
150
|
+
# @return [Boolean]
|
151
|
+
def ipv_6_native
|
152
|
+
data[:ipv_6_native]
|
153
|
+
end
|
154
|
+
|
155
|
+
# The type of hostnames to assign to instances in the subnet at launch.
|
156
|
+
# An instance hostname is based on the IPv4 address or ID of the
|
157
|
+
# instance.
|
158
|
+
# @return [Types::PrivateDnsNameOptionsOnLaunch]
|
159
|
+
def private_dns_name_options_on_launch
|
160
|
+
data[:private_dns_name_options_on_launch]
|
161
|
+
end
|
162
|
+
|
141
163
|
# @!endgroup
|
142
164
|
|
143
165
|
# @return [Client]
|
@@ -294,7 +316,7 @@ module Aws::EC2
|
|
294
316
|
# },
|
295
317
|
# ],
|
296
318
|
# image_id: "ImageId",
|
297
|
-
# 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.xlarge, g4ad.2xlarge, 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, dl1.24xlarge, 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.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, 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, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, 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, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge
|
319
|
+
# 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, c6i.large, c6i.xlarge, c6i.2xlarge, c6i.4xlarge, c6i.8xlarge, c6i.12xlarge, c6i.16xlarge, c6i.24xlarge, c6i.32xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.xlarge, g4ad.2xlarge, 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, dl1.24xlarge, 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.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, 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, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, 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, m6i.large, m6i.xlarge, m6i.2xlarge, m6i.4xlarge, m6i.8xlarge, m6i.12xlarge, m6i.16xlarge, m6i.24xlarge, m6i.32xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal, vt1.3xlarge, vt1.6xlarge, vt1.24xlarge, g5.xlarge, g5.2xlarge, g5.4xlarge, g5.8xlarge, g5.12xlarge, g5.16xlarge, g5.24xlarge, g5.48xlarge
|
298
320
|
# ipv_6_address_count: 1,
|
299
321
|
# ipv_6_addresses: [
|
300
322
|
# {
|
@@ -441,6 +463,11 @@ module Aws::EC2
|
|
441
463
|
# enclave_options: {
|
442
464
|
# enabled: false,
|
443
465
|
# },
|
466
|
+
# private_dns_name_options: {
|
467
|
+
# hostname_type: "ip-name", # accepts ip-name, resource-name
|
468
|
+
# enable_resource_name_dns_a_record: false,
|
469
|
+
# enable_resource_name_dns_aaaa_record: false,
|
470
|
+
# },
|
444
471
|
# })
|
445
472
|
# @param [Hash] options ({})
|
446
473
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
@@ -568,16 +595,16 @@ module Aws::EC2
|
|
568
595
|
# Default: Amazon EC2 uses the default security group.
|
569
596
|
# @option options [String] :user_data
|
570
597
|
# The user data to make available to the instance. For more information,
|
571
|
-
# see [
|
572
|
-
#
|
573
|
-
# base64-encoding is performed for you, and you can
|
574
|
-
# file. Otherwise, you must provide base64-encoded
|
575
|
-
# limited to 16 KB.
|
598
|
+
# see [Run commands on your Linux instance at launch][1] and [Run
|
599
|
+
# commands on your Windows instance at launch][2]. If you are using a
|
600
|
+
# command line tool, base64-encoding is performed for you, and you can
|
601
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
602
|
+
# text. User data is limited to 16 KB.
|
576
603
|
#
|
577
604
|
#
|
578
605
|
#
|
579
606
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
580
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-
|
607
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-windows-user-data.html
|
581
608
|
# @option options [String] :additional_info
|
582
609
|
# Reserved.
|
583
610
|
# @option options [String] :client_token
|
@@ -697,8 +724,8 @@ module Aws::EC2
|
|
697
724
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html
|
698
725
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
699
726
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
700
|
-
# The CPU options for the instance. For more information, see
|
701
|
-
#
|
727
|
+
# The CPU options for the instance. For more information, see [Optimize
|
728
|
+
# CPU options][1] in the *Amazon EC2 User Guide*.
|
702
729
|
#
|
703
730
|
#
|
704
731
|
#
|
@@ -741,6 +768,9 @@ module Aws::EC2
|
|
741
768
|
#
|
742
769
|
#
|
743
770
|
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
|
771
|
+
# @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
772
|
+
# The options for the instance hostname. The default values are
|
773
|
+
# inherited from the subnet.
|
744
774
|
# @return [Instance::Collection]
|
745
775
|
def create_instances(options = {})
|
746
776
|
batch = []
|