Class: Aws::EC2::Types::ImageCriterion

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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][1

in the *Amazon

EC2 User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-allowed-amis.html#allowed-amis-json-configuration

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#image_providersArray<String>

A list of AMI 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.

Returns:

  • (Array<String>)


40536
40537
40538
40539
40540
# File 'lib/aws-sdk-ec2/types.rb', line 40536

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