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

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 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>)


40586
40587
40588
40589
40590
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40586

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