lib/aws-sdk-ec2/resource.rb in aws-sdk-ec2-1.315.0 vs lib/aws-sdk-ec2/resource.rb in aws-sdk-ec2-1.316.0
- old
+ new
@@ -254,10 +254,11 @@
# enable_resource_name_dns_aaaa_record: false,
# },
# maintenance_options: {
# auto_recovery: "disabled", # accepts disabled, default
# },
+ # disable_api_stop: false,
# })
# @param [Hash] options ({})
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
# The block device mapping, which defines the EBS volumes and instance
# store volumes to attach to the instance at launch. For more
@@ -564,9 +565,16 @@
# @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
# The options for the instance hostname. The default values are
# inherited from the subnet.
# @option options [Types::InstanceMaintenanceOptionsRequest] :maintenance_options
# The maintenance and recovery options for the instance.
+ # @option options [Boolean] :disable_api_stop
+ # Indicates whether an instance is enabled for stop protection. For more
+ # information, see [Stop Protection][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
# @return [Instance::Collection]
def create_instances(options = {})
batch = []
resp = @client.run_instances(options)
resp.data.instances.each do |i|