Skip to content

LicenseRecommendation

Source code in docs_src/capo_compute_optimizer/types/license_recommendation.py
class LicenseRecommendation(TypedDict, closed=True):
    resource_arn: NotRequired["capo_compute_optimizer.types.resource_arn.ResourceArn"]
    """<p> The ARN that identifies the Amazon EC2 instance. </p>"""
    account_id: NotRequired["capo_compute_optimizer.types.account_id.AccountId"]
    """<p> The Amazon Web Services account ID of the license. </p>"""
    current_license_configuration: NotRequired[
        "capo_compute_optimizer.types.license_configuration.LicenseConfiguration"
    ]
    """<p> An object that describes the current configuration of an instance that runs on a license. </p>"""
    lookback_period_in_days: (
        "capo_compute_optimizer.types.look_back_period_in_days.LookBackPeriodInDays"
    )
    """<p> The number of days for which utilization metrics were analyzed for an instance that runs on a license. </p>"""
    last_refresh_timestamp: NotRequired[
        "capo_compute_optimizer.types.last_refresh_timestamp.LastRefreshTimestamp"
    ]
    """<p> The timestamp of when the license recommendation was last generated. </p>"""
    finding: NotRequired["capo_compute_optimizer.types.license_finding.LicenseFinding"]
    """<p> The finding classification for an instance that runs on a license. </p> <p>Findings include:</p> <ul> <li> <p> <code>InsufficentMetrics</code> — When Compute Optimizer detects that your CloudWatch Application Insights isn't enabled or is enabled with insufficient permissions. </p> </li> <li> <p> <code>NotOptimized</code> — When Compute Optimizer detects that your EC2 infrastructure isn't using any of the SQL server license features you're paying for, a license is considered not optimized.</p> </li> <li> <p> <code>Optimized</code> — When Compute Optimizer detects that all specifications of your license meet the performance requirements of your workload. </p> </li> </ul>"""
    finding_reason_codes: NotRequired[
        "capo_compute_optimizer.types.license_finding_reason_codes.LicenseFindingReasonCodes"
    ]
    """<p> The reason for the finding classification for an instance that runs on a license. </p> <p>Finding reason codes include:</p> <ul> <li> <p> <code>Optimized</code> — All specifications of your license meet the performance requirements of your workload. </p> </li> <li> <p> <code>LicenseOverprovisioned</code> — A license is considered over-provisioned when your license can be downgraded while still meeting the performance requirements of your workload.</p> </li> <li> <p> <code>InvalidCloudwatchApplicationInsights</code> — CloudWatch Application Insights isn't configured properly.</p> </li> <li> <p> <code>CloudwatchApplicationInsightsError</code> — There is a CloudWatch Application Insights error. </p> </li> </ul>"""
    license_recommendation_options: NotRequired[
        "capo_compute_optimizer.types.license_recommendation_options.LicenseRecommendationOptions"
    ]
    """<p> An array of objects that describe the license recommendation options. </p>"""
    tags: NotRequired["capo_compute_optimizer.types.tags.Tags"]
    """<p> A list of tags assigned to an EC2 instance. </p>"""

account_id instance-attribute

account_id: NotRequired[AccountId]

The Amazon Web Services account ID of the license.

current_license_configuration instance-attribute

current_license_configuration: NotRequired[LicenseConfiguration]

An object that describes the current configuration of an instance that runs on a license.

finding instance-attribute

finding: NotRequired[LicenseFinding]

The finding classification for an instance that runs on a license.

Findings include:

  • InsufficentMetrics — When Compute Optimizer detects that your CloudWatch Application Insights isn't enabled or is enabled with insufficient permissions.

  • NotOptimized — When Compute Optimizer detects that your EC2 infrastructure isn't using any of the SQL server license features you're paying for, a license is considered not optimized.

  • Optimized — When Compute Optimizer detects that all specifications of your license meet the performance requirements of your workload.

finding_reason_codes instance-attribute

finding_reason_codes: NotRequired[LicenseFindingReasonCodes]

The reason for the finding classification for an instance that runs on a license.

Finding reason codes include:

  • Optimized — All specifications of your license meet the performance requirements of your workload.

  • LicenseOverprovisioned — A license is considered over-provisioned when your license can be downgraded while still meeting the performance requirements of your workload.

  • InvalidCloudwatchApplicationInsights — CloudWatch Application Insights isn't configured properly.

  • CloudwatchApplicationInsightsError — There is a CloudWatch Application Insights error.

last_refresh_timestamp instance-attribute

last_refresh_timestamp: NotRequired[LastRefreshTimestamp]

The timestamp of when the license recommendation was last generated.

license_recommendation_options instance-attribute

license_recommendation_options: NotRequired[LicenseRecommendationOptions]

An array of objects that describe the license recommendation options.

lookback_period_in_days instance-attribute

lookback_period_in_days: LookBackPeriodInDays

The number of days for which utilization metrics were analyzed for an instance that runs on a license.

resource_arn instance-attribute

resource_arn: NotRequired[ResourceArn]

The ARN that identifies the Amazon EC2 instance.

tags instance-attribute

tags: NotRequired[Tags]

A list of tags assigned to an EC2 instance.