Class: Aws::ApplicationDiscoveryService::Types::Ec2RecommendationsExportPreferences

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb

Overview

Indicates that the exported data must include EC2 instance type matches for on-premises servers that are discovered through Amazon Web Services Application Discovery Service.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_performance_metric_basisTypes::UsageMetricBasis

The recommended EC2 instance type that matches the CPU usage metric of server performance data.



1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1183

class Ec2RecommendationsExportPreferences < Struct.new(
  :enabled,
  :cpu_performance_metric_basis,
  :ram_performance_metric_basis,
  :tenancy,
  :excluded_instance_types,
  :preferred_region,
  :reserved_instance_options)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

If set to true, the export preferences is set to Ec2RecommendationsExportPreferences.

Returns:

  • (Boolean)


1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1183

class Ec2RecommendationsExportPreferences < Struct.new(
  :enabled,
  :cpu_performance_metric_basis,
  :ram_performance_metric_basis,
  :tenancy,
  :excluded_instance_types,
  :preferred_region,
  :reserved_instance_options)
  SENSITIVE = []
  include Aws::Structure
end

#excluded_instance_typesArray<String>

An array of instance types to exclude from recommendations.

Returns:

  • (Array<String>)


1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1183

class Ec2RecommendationsExportPreferences < Struct.new(
  :enabled,
  :cpu_performance_metric_basis,
  :ram_performance_metric_basis,
  :tenancy,
  :excluded_instance_types,
  :preferred_region,
  :reserved_instance_options)
  SENSITIVE = []
  include Aws::Structure
end

#preferred_regionString

The target Amazon Web Services Region for the recommendations. You can use any of the Region codes available for the chosen service, as listed in Amazon Web Services service endpoints in the Amazon Web Services General Reference.

Returns:

  • (String)


1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1183

class Ec2RecommendationsExportPreferences < Struct.new(
  :enabled,
  :cpu_performance_metric_basis,
  :ram_performance_metric_basis,
  :tenancy,
  :excluded_instance_types,
  :preferred_region,
  :reserved_instance_options)
  SENSITIVE = []
  include Aws::Structure
end

#ram_performance_metric_basisTypes::UsageMetricBasis

The recommended EC2 instance type that matches the Memory usage metric of server performance data.



1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1183

class Ec2RecommendationsExportPreferences < Struct.new(
  :enabled,
  :cpu_performance_metric_basis,
  :ram_performance_metric_basis,
  :tenancy,
  :excluded_instance_types,
  :preferred_region,
  :reserved_instance_options)
  SENSITIVE = []
  include Aws::Structure
end

#reserved_instance_optionsTypes::ReservedInstanceOptions

The contract type for a reserved instance. If blank, we assume an On-Demand instance is preferred.



1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1183

class Ec2RecommendationsExportPreferences < Struct.new(
  :enabled,
  :cpu_performance_metric_basis,
  :ram_performance_metric_basis,
  :tenancy,
  :excluded_instance_types,
  :preferred_region,
  :reserved_instance_options)
  SENSITIVE = []
  include Aws::Structure
end

#tenancyString

The target tenancy to use for your recommended EC2 instances.

Returns:

  • (String)


1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1183

class Ec2RecommendationsExportPreferences < Struct.new(
  :enabled,
  :cpu_performance_metric_basis,
  :ram_performance_metric_basis,
  :tenancy,
  :excluded_instance_types,
  :preferred_region,
  :reserved_instance_options)
  SENSITIVE = []
  include Aws::Structure
end