lib/aws-sdk-ec2/image.rb in aws-sdk-ec2-1.228.0 vs lib/aws-sdk-ec2/image.rb in aws-sdk-ec2-1.229.0
- old
+ new
@@ -209,10 +209,21 @@
# @return [String]
def virtualization_type
data[:virtualization_type]
end
+ # The boot mode of the image. For more information, see [Boot modes][1]
+ # in the *Amazon Elastic Compute Cloud User Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html
+ # @return [String]
+ def boot_mode
+ data[:boot_mode]
+ end
+
# @!endgroup
# @return [Client]
def client
@client
@@ -476,10 +487,10 @@
end
# @example Request syntax with placeholder values
#
# image.describe_attribute({
- # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport
+ # attribute: "description", # required, accepts description, kernel, ramdisk, launchPermission, productCodes, blockDeviceMapping, sriovNetSupport, bootMode
# dry_run: false,
# })
# @param [Hash] options ({})
# @option options [required, String] :attribute
# The AMI attribute.