Skip to content

Literals#

Index > ComputeOptimizer > Literals

Auto-generated documentation for ComputeOptimizer type annotations stubs module mypy-boto3-compute-optimizer.

AutoScalingConfigurationType#

# AutoScalingConfigurationType usage example

from mypy_boto3_compute_optimizer.literals import AutoScalingConfigurationType

def get_value() -> AutoScalingConfigurationType:
    return "TargetTrackingScalingCpu"
# AutoScalingConfigurationType definition

AutoScalingConfigurationType = Literal[
    "TargetTrackingScalingCpu",
    "TargetTrackingScalingMemory",
]

CpuVendorArchitectureType#

# CpuVendorArchitectureType usage example

from mypy_boto3_compute_optimizer.literals import CpuVendorArchitectureType

def get_value() -> CpuVendorArchitectureType:
    return "AWS_ARM64"
# CpuVendorArchitectureType definition

CpuVendorArchitectureType = Literal[
    "AWS_ARM64",
    "CURRENT",
]

CurrencyType#

# CurrencyType usage example

from mypy_boto3_compute_optimizer.literals import CurrencyType

def get_value() -> CurrencyType:
    return "CNY"
# CurrencyType definition

CurrencyType = Literal[
    "CNY",
    "USD",
]

CurrentPerformanceRiskType#

# CurrentPerformanceRiskType usage example

from mypy_boto3_compute_optimizer.literals import CurrentPerformanceRiskType

def get_value() -> CurrentPerformanceRiskType:
    return "High"
# CurrentPerformanceRiskType definition

CurrentPerformanceRiskType = Literal[
    "High",
    "Low",
    "Medium",
    "VeryLow",
]

CustomizableMetricHeadroomType#

# CustomizableMetricHeadroomType usage example

from mypy_boto3_compute_optimizer.literals import CustomizableMetricHeadroomType

def get_value() -> CustomizableMetricHeadroomType:
    return "PERCENT_0"
# CustomizableMetricHeadroomType definition

CustomizableMetricHeadroomType = Literal[
    "PERCENT_0",
    "PERCENT_10",
    "PERCENT_20",
    "PERCENT_30",
]

CustomizableMetricNameType#

# CustomizableMetricNameType usage example

from mypy_boto3_compute_optimizer.literals import CustomizableMetricNameType

def get_value() -> CustomizableMetricNameType:
    return "CpuUtilization"
# CustomizableMetricNameType definition

CustomizableMetricNameType = Literal[
    "CpuUtilization",
    "MemoryUtilization",
]

CustomizableMetricThresholdType#

# CustomizableMetricThresholdType usage example

from mypy_boto3_compute_optimizer.literals import CustomizableMetricThresholdType

def get_value() -> CustomizableMetricThresholdType:
    return "P90"
# CustomizableMetricThresholdType definition

CustomizableMetricThresholdType = Literal[
    "P90",
    "P95",
    "P99_5",
]

DescribeRecommendationExportJobsPaginatorName#

# DescribeRecommendationExportJobsPaginatorName usage example

from mypy_boto3_compute_optimizer.literals import DescribeRecommendationExportJobsPaginatorName

def get_value() -> DescribeRecommendationExportJobsPaginatorName:
    return "describe_recommendation_export_jobs"
# DescribeRecommendationExportJobsPaginatorName definition

DescribeRecommendationExportJobsPaginatorName = Literal[
    "describe_recommendation_export_jobs",
]

EBSFilterNameType#

# EBSFilterNameType usage example

from mypy_boto3_compute_optimizer.literals import EBSFilterNameType

def get_value() -> EBSFilterNameType:
    return "Finding"
# EBSFilterNameType definition

EBSFilterNameType = Literal[
    "Finding",
]

EBSFindingType#

# EBSFindingType usage example

from mypy_boto3_compute_optimizer.literals import EBSFindingType

def get_value() -> EBSFindingType:
    return "NotOptimized"
# EBSFindingType definition

EBSFindingType = Literal[
    "NotOptimized",
    "Optimized",
]

EBSMetricNameType#

# EBSMetricNameType usage example

from mypy_boto3_compute_optimizer.literals import EBSMetricNameType

def get_value() -> EBSMetricNameType:
    return "VolumeReadBytesPerSecond"
# EBSMetricNameType definition

EBSMetricNameType = Literal[
    "VolumeReadBytesPerSecond",
    "VolumeReadOpsPerSecond",
    "VolumeWriteBytesPerSecond",
    "VolumeWriteOpsPerSecond",
]

EBSSavingsEstimationModeSourceType#

# EBSSavingsEstimationModeSourceType usage example

from mypy_boto3_compute_optimizer.literals import EBSSavingsEstimationModeSourceType

def get_value() -> EBSSavingsEstimationModeSourceType:
    return "CostExplorerRightsizing"
# EBSSavingsEstimationModeSourceType definition

EBSSavingsEstimationModeSourceType = Literal[
    "CostExplorerRightsizing",
    "CostOptimizationHub",
    "PublicPricing",
]

ECSSavingsEstimationModeSourceType#

# ECSSavingsEstimationModeSourceType usage example

from mypy_boto3_compute_optimizer.literals import ECSSavingsEstimationModeSourceType

def get_value() -> ECSSavingsEstimationModeSourceType:
    return "CostExplorerRightsizing"
# ECSSavingsEstimationModeSourceType definition

ECSSavingsEstimationModeSourceType = Literal[
    "CostExplorerRightsizing",
    "CostOptimizationHub",
    "PublicPricing",
]

ECSServiceLaunchTypeType#

# ECSServiceLaunchTypeType usage example

from mypy_boto3_compute_optimizer.literals import ECSServiceLaunchTypeType

def get_value() -> ECSServiceLaunchTypeType:
    return "EC2"
# ECSServiceLaunchTypeType definition

ECSServiceLaunchTypeType = Literal[
    "EC2",
    "Fargate",
]

ECSServiceMetricNameType#

# ECSServiceMetricNameType usage example

from mypy_boto3_compute_optimizer.literals import ECSServiceMetricNameType

def get_value() -> ECSServiceMetricNameType:
    return "Cpu"
# ECSServiceMetricNameType definition

ECSServiceMetricNameType = Literal[
    "Cpu",
    "Memory",
]

ECSServiceMetricStatisticType#

# ECSServiceMetricStatisticType usage example

from mypy_boto3_compute_optimizer.literals import ECSServiceMetricStatisticType

def get_value() -> ECSServiceMetricStatisticType:
    return "Ave