Skip to content

Criteria

Source code in docs_src/capo_compute_optimizer_automation/types/criteria.py
class Criteria(TypedDict, closed=True):
    region: NotRequired[
        "capo_compute_optimizer_automation.types.string_criteria_condition_list.StringCriteriaConditionList"
    ]
    """<p>Filter criteria for Amazon Web Services regions where resources must be located.</p>"""
    resource_arn: NotRequired[
        "capo_compute_optimizer_automation.types.string_criteria_condition_list.StringCriteriaConditionList"
    ]
    """<p>Filter criteria for specific resource ARNs to include or exclude.</p>"""
    ebs_volume_type: NotRequired[
        "capo_compute_optimizer_automation.types.string_criteria_condition_list.StringCriteriaConditionList"
    ]
    """<p>Filter criteria for EBS volume types, such as gp2, gp3, io1, io2, st1, or sc1.</p>"""
    ebs_volume_size_in_gib: NotRequired[
        "capo_compute_optimizer_automation.types.integer_criteria_condition_list.IntegerCriteriaConditionList"
    ]
    """<p>Filter criteria for EBS volume sizes in gibibytes (GiB).</p>"""
    estimated_monthly_savings: NotRequired[
        "capo_compute_optimizer_automation.types.double_criteria_condition_list.DoubleCriteriaConditionList"
    ]
    """<p>Filter criteria for estimated monthly cost savings from the recommended action.</p>"""
    resource_tag: NotRequired[
        "capo_compute_optimizer_automation.types.resource_tags_criteria_condition_list.ResourceTagsCriteriaConditionList"
    ]
    """<p>Filter criteria for resource tags, allowing filtering by tag key and value combinations.</p>"""
    look_back_period_in_days: NotRequired[
        "capo_compute_optimizer_automation.types.integer_criteria_condition_list.IntegerCriteriaConditionList"
    ]
    """<p>Filter criteria for the lookback period in days used to analyze resource utilization.</p>"""
    restart_needed: NotRequired[
        "capo_compute_optimizer_automation.types.string_criteria_condition_list.StringCriteriaConditionList"
    ]
    """<p>Filter criteria indicating whether the recommended action requires a resource restart.</p>"""

ebs_volume_size_in_gib instance-attribute

ebs_volume_size_in_gib: NotRequired[IntegerCriteriaConditionList]

Filter criteria for EBS volume sizes in gibibytes (GiB).

ebs_volume_type instance-attribute

ebs_volume_type: NotRequired[StringCriteriaConditionList]

Filter criteria for EBS volume types, such as gp2, gp3, io1, io2, st1, or sc1.

estimated_monthly_savings instance-attribute

estimated_monthly_savings: NotRequired[DoubleCriteriaConditionList]

Filter criteria for estimated monthly cost savings from the recommended action.

look_back_period_in_days instance-attribute

look_back_period_in_days: NotRequired[IntegerCriteriaConditionList]

Filter criteria for the lookback period in days used to analyze resource utilization.

region instance-attribute

region: NotRequired[StringCriteriaConditionList]

Filter criteria for Amazon Web Services regions where resources must be located.

resource_arn instance-attribute

resource_arn: NotRequired[StringCriteriaConditionList]

Filter criteria for specific resource ARNs to include or exclude.

resource_tag instance-attribute

resource_tag: NotRequired[ResourceTagsCriteriaConditionList]

Filter criteria for resource tags, allowing filtering by tag key and value combinations.

restart_needed instance-attribute

restart_needed: NotRequired[StringCriteriaConditionList]

Filter criteria indicating whether the recommended action requires a resource restart.