Module Values.Ec2RecommendationsExportPreferencesSource

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.

Sourcetype nonrec t = {
  1. enabled : ExportEnabled.t option;
    (*

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

    *)
  2. cpuPerformanceMetricBasis : UsageMetricBasis.t option;
    (*

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

    *)
  3. ramPerformanceMetricBasis : UsageMetricBasis.t option;
    (*

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

    *)
  4. tenancy : Tenancy.t option;
    (*

    The target tenancy to use for your recommended EC2 instances.

    *)
  5. excludedInstanceTypes : ExcludedInstanceTypes.t option;
    (*

    An array of instance types to exclude from recommendations.

    *)
  6. preferredRegion : UserPreferredRegion.t option;
    (*

    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.

    *)
  7. reservedInstanceOptions : ReservedInstanceOptions.t option;
    (*

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

    *)
}
Sourceval make : ?enabled:??? -> ?cpuPerformanceMetricBasis:??? -> ?ramPerformanceMetricBasis:??? -> ?tenancy:??? -> ?excludedInstanceTypes:??? -> ?preferredRegion:??? -> ?reservedInstanceOptions:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of ExportEnabled.t | `Enum of string | `List of [> `String of EC2InstanceType.t ] list | `String of UserPreferredRegion.t | `Structure of (string * [> `Double of UsageMetricPercentageAdjust.t | `Enum of string | `String of UsageMetricBasisName.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t