Skip to content

Ec2RecommendationsExportPreferences

Source code in docs_src/capo_application_discovery_service/types/ec2_recommendations_export_preferences.py
class Ec2RecommendationsExportPreferences(TypedDict, closed=True):
    enabled: "capo_application_discovery_service.types.export_enabled.ExportEnabled"
    """<p> If set to true, the export <a href="https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_StartExportTask.html#API_StartExportTask_RequestSyntax">preferences</a> is set to <code>Ec2RecommendationsExportPreferences</code>. </p>"""
    cpu_performance_metric_basis: NotRequired[
        "capo_application_discovery_service.types.usage_metric_basis.UsageMetricBasis"
    ]
    """<p> The recommended EC2 instance type that matches the CPU usage metric of server performance data. </p>"""
    ram_performance_metric_basis: NotRequired[
        "capo_application_discovery_service.types.usage_metric_basis.UsageMetricBasis"
    ]
    """<p> The recommended EC2 instance type that matches the Memory usage metric of server performance data. </p>"""
    tenancy: NotRequired["capo_application_discovery_service.types.tenancy.Tenancy"]
    """<p> The target tenancy to use for your recommended EC2 instances. </p>"""
    excluded_instance_types: NotRequired[
        "capo_application_discovery_service.types.excluded_instance_types.ExcludedInstanceTypes"
    ]
    """<p> An array of instance types to exclude from recommendations. </p>"""
    preferred_region: NotRequired[
        "capo_application_discovery_service.types.user_preferred_region.UserPreferredRegion"
    ]
    """<p> 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 <a href="https://docs.aws.amazon.com/general/latest/gr/rande.html">Amazon Web Services service endpoints</a> in the <i>Amazon Web Services General Reference</i>. </p>"""
    reserved_instance_options: NotRequired[
        "capo_application_discovery_service.types.reserved_instance_options.ReservedInstanceOptions"
    ]
    """<p> The contract type for a reserved instance. If blank, we assume an On-Demand instance is preferred. </p>"""

cpu_performance_metric_basis instance-attribute

cpu_performance_metric_basis: NotRequired[UsageMetricBasis]

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

enabled instance-attribute

enabled: ExportEnabled

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

excluded_instance_types instance-attribute

excluded_instance_types: NotRequired[ExcludedInstanceTypes]

An array of instance types to exclude from recommendations.

preferred_region instance-attribute

preferred_region: NotRequired[UserPreferredRegion]

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.

ram_performance_metric_basis instance-attribute

ram_performance_metric_basis: NotRequired[UsageMetricBasis]

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

reserved_instance_options instance-attribute

reserved_instance_options: NotRequired[ReservedInstanceOptions]

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

tenancy instance-attribute

tenancy: NotRequired[Tenancy]

The target tenancy to use for your recommended EC2 instances.