LicenseRecommendation
¶
Source code in docs_src/capo_compute_optimizer/types/license_recommendation.py
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.