Skip to content

GetAllowedImagesSettingsResult

Source code in docs_src/capo_ec2/types/get_allowed_images_settings_result.py
class GetAllowedImagesSettingsResult(TypedDict, closed=True):
    state: NotRequired["capo_ec2.types.string.String"]
    """<p>The current state of the Allowed AMIs setting at the account level in the specified Amazon Web Services Region.</p> <p>Possible values:</p> <ul> <li> <p> <code>disabled</code>: All AMIs are allowed.</p> </li> <li> <p> <code>audit-mode</code>: All AMIs are allowed, but the <code>ImageAllowed</code> field is set to <code>true</code> if the AMI would be allowed with the current list of criteria if allowed AMIs was enabled.</p> </li> <li> <p> <code>enabled</code>: Only AMIs matching the image criteria are discoverable and available for use.</p> </li> </ul>"""
    image_criteria: NotRequired[
        "capo_ec2.types.image_criterion_list.ImageCriterionList"
    ]
    """<p>The list of criteria for images that are discoverable and usable in the account in the specified Amazon Web Services Region.</p>"""
    managed_by: NotRequired["capo_ec2.types.managed_by.ManagedBy"]
    """<p>The entity that manages the Allowed AMIs settings. Possible values include:</p> <ul> <li> <p> <code>account</code> - The Allowed AMIs settings is managed by the account.</p> </li> <li> <p> <code>declarative-policy</code> - The Allowed AMIs settings is managed by a declarative policy and can't be modified by the account.</p> </li> </ul>"""

image_criteria instance-attribute

image_criteria: NotRequired[ImageCriterionList]

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

managed_by instance-attribute

managed_by: NotRequired[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.

state instance-attribute

state: NotRequired[String]

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.