Class: Aws::ComputeOptimizer::Types::LicenseRecommendation

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-computeoptimizer/types.rb

Overview

Describes a license recommendation for an EC2 instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The Amazon Web Services account ID of the license.

Returns:

  • (String)


5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 5337

class LicenseRecommendation < Struct.new(
  :resource_arn,
  :account_id,
  :current_license_configuration,
  :lookback_period_in_days,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :license_recommendation_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#current_license_configurationTypes::LicenseConfiguration

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



5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 5337

class LicenseRecommendation < Struct.new(
  :resource_arn,
  :account_id,
  :current_license_configuration,
  :lookback_period_in_days,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :license_recommendation_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#findingString

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.

Returns:

  • (String)


5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 5337

class LicenseRecommendation < Struct.new(
  :resource_arn,
  :account_id,
  :current_license_configuration,
  :lookback_period_in_days,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :license_recommendation_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#finding_reason_codesArray<String>

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.

Returns:

  • (Array<String>)


5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 5337

class LicenseRecommendation < Struct.new(
  :resource_arn,
  :account_id,
  :current_license_configuration,
  :lookback_period_in_days,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :license_recommendation_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#last_refresh_timestampTime

The timestamp of when the license recommendation was last generated.

Returns:

  • (Time)


5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 5337

class LicenseRecommendation < Struct.new(
  :resource_arn,
  :account_id,
  :current_license_configuration,
  :lookback_period_in_days,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :license_recommendation_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#license_recommendation_optionsArray<Types::LicenseRecommendationOption>

An array of objects that describe the license recommendation options.



5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 5337

class LicenseRecommendation < Struct.new(
  :resource_arn,
  :account_id,
  :current_license_configuration,
  :lookback_period_in_days,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :license_recommendation_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#lookback_period_in_daysFloat

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

Returns:

  • (Float)


5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 5337

class LicenseRecommendation < Struct.new(
  :resource_arn,
  :account_id,
  :current_license_configuration,
  :lookback_period_in_days,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :license_recommendation_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN that identifies the Amazon EC2 instance.

Returns:

  • (String)


5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 5337

class LicenseRecommendation < Struct.new(
  :resource_arn,
  :account_id,
  :current_license_configuration,
  :lookback_period_in_days,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :license_recommendation_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags assigned to an EC2 instance.

Returns:



5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 5337

class LicenseRecommendation < Struct.new(
  :resource_arn,
  :account_id,
  :current_license_configuration,
  :lookback_period_in_days,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :license_recommendation_options,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end