Skip to content

/AWS1/CL_EC2GETALWEDIMAGESST01

GetAllowedImagesSettingsResult

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_state TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The current state of the Allowed AMIs setting at the account level in the specified Amazon Web Services Region.

Possible values:

  • disabled: All AMIs are allowed.

  • audit-mode: All AMIs are allowed, but the ImageAllowed field is set to true if the AMI would be allowed with the current list of criteria if allowed AMIs was enabled.

  • enabled: Only AMIs matching the image criteria are discoverable and available for use.

it_imagecriteria TYPE /AWS1/CL_EC2IMAGECRITERION=>TT_IMAGECRITERIONLIST TT_IMAGECRITERIONLIST

The list of criteria for images that are discoverable and usable in the account in the specified Amazon Web Services Region.

iv_managedby TYPE /AWS1/EC2MANAGEDBY /AWS1/EC2MANAGEDBY

The entity that manages the Allowed AMIs settings. Possible values include:

  • account - The Allowed AMIs settings is managed by the account.

  • declarative-policy - The Allowed AMIs settings is managed by a declarative policy and can't be modified by the account.


Queryable Attributes

State

The current state of the Allowed AMIs setting at the account level in the specified Amazon Web Services Region.

Possible values:

  • disabled: All AMIs are allowed.

  • audit-mode: All AMIs are allowed, but the ImageAllowed field is set to true if the AMI would be allowed with the current list of criteria if allowed AMIs was enabled.

  • enabled: Only AMIs matching the image criteria are discoverable and available for use.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

ImageCriteria

The list of criteria for images that are discoverable and usable in the account in the specified Amazon Web Services Region.

Accessible with the following methods

Method Description
GET_IMAGECRITERIA() Getter for IMAGECRITERIA, with configurable default
ASK_IMAGECRITERIA() Getter for IMAGECRITERIA w/ exceptions if field has no value
HAS_IMAGECRITERIA() Determine if IMAGECRITERIA has a value

ManagedBy

The entity that manages the Allowed AMIs settings. Possible values include:

  • account - The Allowed AMIs settings is managed by the account.

  • declarative-policy - The Allowed AMIs settings is managed by a declarative policy and can't be modified by the account.

Accessible with the following methods

Method Description
GET_MANAGEDBY() Getter for MANAGEDBY, with configurable default
ASK_MANAGEDBY() Getter for MANAGEDBY w/ exceptions if field has no value
HAS_MANAGEDBY() Determine if MANAGEDBY has a value