Skip to content

ServiceResourceCost

Source code in docs_src/capo_devops_guru/types/service_resource_cost.py
class ServiceResourceCost(TypedDict, closed=True):
    type: NotRequired["capo_devops_guru.types.resource_type.ResourceType"]
    """<p>The type of the Amazon Web Services resource.</p>"""
    state: NotRequired[
        "capo_devops_guru.types.cost_estimation_service_resource_state.CostEstimationServiceResourceState"
    ]
    """<p>The state of the resource. The resource is <code>ACTIVE</code> if it produces metrics, events, or logs within an hour, otherwise it is <code>INACTIVE</code>. You pay for the number of active Amazon Web Services resource hours analyzed for each resource. Inactive resources are not charged. </p>"""
    count: "capo_devops_guru.types.cost_estimation_service_resource_count.CostEstimationServiceResourceCount"
    """<p>The number of active resources analyzed for this service to create a monthly cost estimate.</p>"""
    unit_cost: "capo_devops_guru.types.cost.Cost"
    """<p>The price per hour to analyze the resources in the service. For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/cost-estimate.html">Estimate your Amazon DevOps Guru costs</a> and <a href="http://aws.amazon.com/devops-guru/pricing/">Amazon DevOps Guru pricing</a>.</p>"""
    cost: "capo_devops_guru.types.cost.Cost"
    """<p>The total estimated monthly cost to analyze the active resources for this resource.</p>"""

cost instance-attribute

cost: Cost

The total estimated monthly cost to analyze the active resources for this resource.

count instance-attribute

The number of active resources analyzed for this service to create a monthly cost estimate.

state instance-attribute

The state of the resource. The resource is ACTIVE if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE. You pay for the number of active Amazon Web Services resource hours analyzed for each resource. Inactive resources are not charged.

type instance-attribute

type: NotRequired[ResourceType]

The type of the Amazon Web Services resource.

unit_cost instance-attribute

unit_cost: Cost

The price per hour to analyze the resources in the service. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.