/AWS1/CL_EC2IMAGECRITERION¶
The criteria that are evaluated to determine which AMIs are discoverable and usable in your account for the specified Amazon Web Services Region.
For more information, see How Allowed AMIs works in the Amazon EC2 User Guide.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
it_imageproviders
TYPE /AWS1/CL_EC2IMAGEPVDRLIST_W=>TT_IMAGEPROVIDERLIST
TT_IMAGEPROVIDERLIST
¶
The image providers whose images are allowed.
Possible values:
amazon
: Allow AMIs created by Amazon or verified providers.
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.Maximum: 200 values
it_marketplaceproductcodes
TYPE /AWS1/CL_EC2MPPRDCODELIST_W=>TT_MARKETPLACEPRODUCTCODELIST
TT_MARKETPLACEPRODUCTCODELIST
¶
The Amazon Web Services Marketplace product codes for allowed images.
Length: 1-25 characters
Valid characters: Letters (
A–Z, a–z
) and numbers (0–9
)Maximum: 50 values
it_imagenames
TYPE /AWS1/CL_EC2IMAGENAMELIST_W=>TT_IMAGENAMELIST
TT_IMAGENAMELIST
¶
The names of allowed images. Names can include wildcards (
?
and*
).Length: 1–128 characters. With
?
, the minimum is 3 characters.Valid characters:
Letters:
A–Z, a–z
Numbers:
0–9
Special characters:
( ) [ ] . / - ' @ _ * ?
Spaces
Maximum: 50 values
io_deprecationtimecondition
TYPE REF TO /AWS1/CL_EC2DEPRECATIONTIMEC00
/AWS1/CL_EC2DEPRECATIONTIMEC00
¶
The maximum period since deprecation for allowed images.
io_creationdatecondition
TYPE REF TO /AWS1/CL_EC2CREATIONDATECOND
/AWS1/CL_EC2CREATIONDATECOND
¶
The maximum age for allowed images.
Queryable Attributes¶
ImageProviders¶
The image providers whose images are allowed.
Possible values:
amazon
: Allow AMIs created by Amazon or verified providers.
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.Maximum: 200 values
Accessible with the following methods¶
Method | Description |
---|---|
GET_IMAGEPROVIDERS() |
Getter for IMAGEPROVIDERS, with configurable default |
ASK_IMAGEPROVIDERS() |
Getter for IMAGEPROVIDERS w/ exceptions if field has no valu |
HAS_IMAGEPROVIDERS() |
Determine if IMAGEPROVIDERS has a value |
MarketplaceProductCodes¶
The Amazon Web Services Marketplace product codes for allowed images.
Length: 1-25 characters
Valid characters: Letters (
A–Z, a–z
) and numbers (0–9
)Maximum: 50 values
Accessible with the following methods¶
Method | Description |
---|---|
GET_MARKETPLACEPRODUCTCODES() |
Getter for MARKETPLACEPRODUCTCODES, with configurable defaul |
ASK_MARKETPLACEPRODUCTCODES() |
Getter for MARKETPLACEPRODUCTCODES w/ exceptions if field ha |
HAS_MARKETPLACEPRODUCTCODES() |
Determine if MARKETPLACEPRODUCTCODES has a value |
ImageNames¶
The names of allowed images. Names can include wildcards (
?
and*
).Length: 1–128 characters. With
?
, the minimum is 3 characters.Valid characters:
Letters:
A–Z, a–z
Numbers:
0–9
Special characters:
( ) [ ] . / - ' @ _ * ?
Spaces
Maximum: 50 values
Accessible with the following methods¶
Method | Description |
---|---|
GET_IMAGENAMES() |
Getter for IMAGENAMES, with configurable default |
ASK_IMAGENAMES() |
Getter for IMAGENAMES w/ exceptions if field has no value |
HAS_IMAGENAMES() |
Determine if IMAGENAMES has a value |
DeprecationTimeCondition¶
The maximum period since deprecation for allowed images.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DEPRECATIONTIMECONDITION() |
Getter for DEPRECATIONTIMECONDITION |
CreationDateCondition¶
The maximum age for allowed images.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CREATIONDATECONDITION() |
Getter for CREATIONDATECONDITION |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_IMAGECRITERIONLIST
¶
TYPES TT_IMAGECRITERIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2IMAGECRITERION WITH DEFAULT KEY
.