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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-computeoptimizer/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)


4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4583

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.



4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4583

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)


4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4583

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


4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4583

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)


4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4583

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.



4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4583

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)


4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4583

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)


4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4583

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:



4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 4583

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