Class: Aws::EC2::Types::ImageCriterionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

The list of criteria that are evaluated to determine whch AMIs are discoverable and usable in the account in the specified Amazon Web Services Region. Currently, the only criteria that can be specified are AMI providers.

Up to 10 imageCriteria objects can be specified, and up to a total of 200 values for all imageProviders. For more information, see JSON configuration for the Allowed AMIs criteria in the Amazon EC2 User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#image_providersArray<String>

A list of image providers whose AMIs are discoverable and useable in the account. Up to a total of 200 values can be specified.

Possible values:

amazon: Allow AMIs created by Amazon Web Services.

aws-marketplace: Allow AMIs created by verified providers in the Amazon Web Services Marketplace.

aws-backup-vault: Allow AMIs created by Amazon Web Services Backup.

12-digit account ID: Allow AMIs created by this account. One or more account IDs can be specified.

none: Allow AMIs created by your own account only. When none is specified, no other values can be specified.

Returns:

  • (Array<String>)


41063
41064
41065
41066
41067
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 41063

class ImageCriterionRequest < Struct.new(
  :image_providers)
  SENSITIVE = []
  include Aws::Structure
end