Skip to content

AmiAggregationResponse

Source code in docs_src/capo_inspector2/types/ami_aggregation_response.py
class AmiAggregationResponse(TypedDict, closed=True):
    ami: "capo_inspector2.types.ami_id.AmiId"
    """<p>The ID of the AMI that findings were aggregated for.</p>"""
    account_id: NotRequired["capo_inspector2.types.account_id.AccountId"]
    """<p>The Amazon Web Services account ID for the AMI.</p>"""
    cloud_provider: NotRequired["capo_inspector2.types.provider.Provider"]
    """<p>The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values:</p> <ul> <li> <p> <code>AWS</code> – Findings from Amazon Web Services resources.</p> </li> <li> <p> <code>AZURE</code> – Findings from Microsoft Azure resources.</p> </li> </ul>"""
    cloud_partition: NotRequired[
        "capo_inspector2.types.provider_partition.ProviderPartition"
    ]
    """<p>The cloud infrastructure partition associated with this AMI aggregation. Valid values:</p> <ul> <li> <p> <code>aws</code> – Amazon Web Services commercial Regions.</p> </li> <li> <p> <code>aws-cn</code> – Amazon Web Services China Regions.</p> </li> <li> <p> <code>aws-us-gov</code> – Amazon Web Services GovCloud (US) Regions.</p> </li> <li> <p> <code>AzureCloud</code> – Azure commercial Regions.</p> </li> </ul>"""
    cloud_region: NotRequired["capo_inspector2.types.provider_region.ProviderRegion"]
    """<p>The cloud Region associated with this AMI aggregation. The value format depends on the cloud provider:</p> <ul> <li> <p>An Amazon Web Services Region, such as <code>us-east-1</code>.</p> </li> <li> <p>An Azure region, such as <code>eastus</code>.</p> </li> </ul>"""
    cloud_org_id: NotRequired["capo_inspector2.types.provider_org_id.ProviderOrgId"]
    """<p>The cloud organization ID for the AMI aggregation.</p>"""
    cloud_account_id: NotRequired[
        "capo_inspector2.types.provider_account_id.ProviderAccountId"
    ]
    """<p>The cloud account ID for the AMI aggregation.</p>"""
    severity_counts: NotRequired["capo_inspector2.types.severity_counts.SeverityCounts"]
    """<p>An object that contains the count of matched findings per severity.</p>"""
    affected_instances: NotRequired["int"]
    """<p>The IDs of Amazon EC2 instances using this AMI.</p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

The Amazon Web Services account ID for the AMI.

affected_instances instance-attribute

affected_instances: NotRequired[int]

The IDs of Amazon EC2 instances using this AMI.

ami instance-attribute

ami: AmiId

The ID of the AMI that findings were aggregated for.

cloud_account_id instance-attribute

cloud_account_id: NotRequired[ProviderAccountId]

The cloud account ID for the AMI aggregation.

cloud_org_id instance-attribute

cloud_org_id: NotRequired[ProviderOrgId]

The cloud organization ID for the AMI aggregation.

cloud_partition instance-attribute

cloud_partition: NotRequired[ProviderPartition]

The cloud infrastructure partition associated with this AMI aggregation. Valid values:

  • aws – Amazon Web Services commercial Regions.

  • aws-cn – Amazon Web Services China Regions.

  • aws-us-gov – Amazon Web Services GovCloud (US) Regions.

  • AzureCloud – Azure commercial Regions.

cloud_provider instance-attribute

cloud_provider: NotRequired[Provider]

The cloud service provider associated with this Amazon Machine Image (AMI) aggregation. Valid values:

  • AWS – Findings from Amazon Web Services resources.

  • AZURE – Findings from Microsoft Azure resources.

cloud_region instance-attribute

cloud_region: NotRequired[ProviderRegion]

The cloud Region associated with this AMI aggregation. The value format depends on the cloud provider:

  • An Amazon Web Services Region, such as us-east-1.

  • An Azure region, such as eastus.

severity_counts instance-attribute

severity_counts: NotRequired[SeverityCounts]

An object that contains the count of matched findings per severity.