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)


4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 4878

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.



4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 4878

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)


4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 4878

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>)


4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 4878

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)


4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 4878

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.



4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 4878

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)


4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 4878

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)


4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 4878

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:



4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
# File 'lib/aws-sdk-computeoptimizer/types.rb', line 4878

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