Skip to content

Type definitions#

Index > CostOptimizationHub > Type definitions

Auto-generated documentation for CostOptimizationHub type annotations stubs module mypy-boto3-cost-optimization-hub.

AccountEnrollmentStatusTypeDef#

# AccountEnrollmentStatusTypeDef definition

class AccountEnrollmentStatusTypeDef(TypedDict):
    accountId: NotRequired[str],
    createdTimestamp: NotRequired[datetime],
    lastUpdatedTimestamp: NotRequired[datetime],
    status: NotRequired[EnrollmentStatusType],  # (1)
  1. See EnrollmentStatusType

BlockStoragePerformanceConfigurationTypeDef#

# BlockStoragePerformanceConfigurationTypeDef definition

class BlockStoragePerformanceConfigurationTypeDef(TypedDict):
    iops: NotRequired[float],
    throughput: NotRequired[float],

ComputeConfigurationTypeDef#

# ComputeConfigurationTypeDef definition

class ComputeConfigurationTypeDef(TypedDict):
    architecture: NotRequired[str],
    memorySizeInMB: NotRequired[int],
    platform: NotRequired[str],
    vCpu: NotRequired[float],

ComputeSavingsPlansConfigurationTypeDef#

# ComputeSavingsPlansConfigurationTypeDef definition

class ComputeSavingsPlansConfigurationTypeDef(TypedDict):
    accountScope: NotRequired[str],
    hourlyCommitment: NotRequired[str],
    paymentOption: NotRequired[str],
    term: NotRequired[str],

StorageConfigurationTypeDef#

# StorageConfigurationTypeDef definition

class StorageConfigurationTypeDef(TypedDict):
    sizeInGb: NotRequired[float],
    type: NotRequired[str],

InstanceConfigurationTypeDef#

# InstanceConfigurationTypeDef definition

class InstanceConfigurationTypeDef(TypedDict):
    type: NotRequired[str],

Ec2InstanceSavingsPlansConfigurationTypeDef#

# Ec2InstanceSavingsPlansConfigurationTypeDef definition

class Ec2InstanceSavingsPlansConfigurationTypeDef(TypedDict):
    accountScope: NotRequired[str],
    hourlyCommitment: NotRequired[str],
    instanceFamily: NotRequired[str],
    paymentOption: NotRequired[str],
    savingsPlansRegion: NotRequired[str],
    term: NotRequired[str],

Ec2ReservedInstancesConfigurationTypeDef#

# Ec2ReservedInstancesConfigurationTypeDef definition

class Ec2ReservedInstancesConfigurationTypeDef(TypedDict):
    accountScope: NotRequired[str],
    currentGeneration: NotRequired[str],
    instanceFamily: NotRequired[str],
    instanceType: NotRequired[str],
    monthlyRecurringCost: NotRequired[str],
    normalizedUnitsToPurchase: NotRequired[str],
    numberOfInstancesToPurchase: NotRequired[str],
    offeringClass: NotRequired[str],
    paymentOption: NotRequired[str],
    platform: NotRequired[str],
    reservedInstancesRegion: NotRequired[str],
    service: NotRequired[str],
    sizeFlexEligible: NotRequired[bool],
    tenancy: NotRequired[str],
    term: NotRequired[str],
    upfrontCost: NotRequired[str],

ElastiCacheReservedInstancesConfigurationTypeDef#

# ElastiCacheReservedInstancesConfigurationTypeDef definition

class ElastiCacheReservedInstancesConfigurationTypeDef(TypedDict):
    accountScope: NotRequired[str],
    currentGeneration: NotRequired[str],
    instanceFamily: NotRequired[str],
    instanceType: NotRequired[str],
    monthlyRecurringCost: NotRequired[str],
    normalizedUnitsToPurchase: NotRequired[str],
    numberOfInstancesToPurchase: NotRequired[str],
    paymentOption: NotRequired[str],
    reservedInstancesRegion: NotRequired[str],
    service: NotRequired[str],
    sizeFlexEligible: NotRequired[bool],
    term: NotRequired[str],
    upfrontCost: NotRequired[str],

EstimatedDiscountsTypeDef#

# EstimatedDiscountsTypeDef definition

class EstimatedDiscountsTypeDef(TypedDict):
    otherDiscount: NotRequired[float],
    reservedInstancesDiscount: NotRequired[float],
    savingsPlansDiscount: NotRequired[float],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

GetRecommendationRequestRequestTypeDef#

# GetRecommendationRequestRequestTypeDef definition

class GetRecommendationRequestRequestTypeDef(TypedDict):
    recommendationId: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListEnrollmentStatusesRequestRequestTypeDef#

# ListEnrollmentStatusesRequestRequestTypeDef definition

class ListEnrollmentStatusesRequestRequestTypeDef(TypedDict):
    accountId: NotRequired[str],
    includeOrganizationInfo: NotRequired[bool],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

RecommendationSummaryTypeDef#

# RecommendationSummaryTypeDef definition

class RecommendationSummaryTypeDef(TypedDict):
    estimatedMonthlySavings: NotRequired[float],
    group: NotRequired[str],
    recommendationCount: NotRequired[int],

OrderByTypeDef#

# OrderByTypeDef definition

class OrderByTypeDef(TypedDict):
    dimension: NotRequired[str],
    order: NotRequired[OrderType],  # (1)
  1. See OrderType

OpenSearchReservedInstancesConfigurationTypeDef#

# OpenSearchReservedInstancesConfigurationTypeDef definition

class OpenSearchReservedInstancesConfigurationTypeDef(TypedDict):
    accountScope: NotRequired[str],
    currentGeneration: NotRequired[str],
    instanceType: NotRequired[str],
    monthlyRecurringCost: NotRequired[str],
    normalizedUnitsToPurchase: NotRequired[str],
    numberOfInstancesToPurchase: NotRequired[str],
    paymentOption: NotRequired[str],
    reservedInstancesRegion: NotRequired[str],
    service: NotRequired[str],
    sizeFlexEligible: NotRequired[bool],
    term: NotRequired[str],
    upfrontCost: NotRequired[str],

RdsReservedInstancesConfigurationTypeDef#

# RdsReservedInstancesConfigurationTypeDef definition

class RdsReservedInstancesConfigurationTypeDef(TypedDict):
    accountScope: NotRequired[str],
    currentGeneration: NotRequired[str],
    databaseEdition: NotRequired[str],
    databaseEngine: NotRequired[str],
    deploymentOption: NotRequired[str],
    instanceFamily: NotRequired[str],
    instanceType: NotRequired[str],
    licenseModel: NotRequired[str],
    monthlyRecurringCost: NotRequired[str],
    normalizedUnitsToPurchase: NotRequired[str],
    numberOfInstancesToPurchase: NotRequired[str],
    paymentOption: NotRequired[str],
    reservedInstancesRegion: NotRequired[str],
    service: NotRequired[str],
    sizeFlexEligible: NotRequired[bool],
    term: NotRequired[str],
    upfrontCost: NotRequired[str],

RedshiftReservedInstancesConfigurationTypeDef#

# RedshiftReservedInstancesConfigurationTypeDef definition

class RedshiftReservedInstancesConfigurationTypeDef(TypedDict):
    accountScope: NotRequired[str],
    currentGeneration: NotRequired[str],
    instanceFamily: NotRequired[str],
    instanceType: NotRequired[str],
    monthlyRecurringCost: NotRequired[str],
    normalizedUnitsToPurchase: NotRequired[str],
    numberOfInstancesToPurchase: NotRequired[str],
    paymentOption: NotRequired[str],
    reservedInstancesRegion: NotRequired[str],
    service: NotRequired[str],
    sizeFlexEligible: NotRequired[bool],
    term: NotRequired[str],
    upfrontCost: NotRequired[str],

ReservedInstancesPricingTypeDef#

# ReservedInstancesPricingTypeDef definition

class ReservedInstancesPricingTypeDef(TypedDict):
    estimatedMonthlyAmortizedReservationCost: NotRequired[float],
    estimatedOnDemandCost: NotRequired[float],
    monthlyReservationEligibleCost: NotRequired[float],
    savingsPercentage: NotRequired[float],

UsageTypeDef#

# UsageTypeDef definition

class UsageTypeDef(TypedDict):
    operation: NotRequired[str],
    productCode: NotRequired[str],
    unit: NotRequired[str],
    usageAmount: NotRequired[float],
    usageType: NotRequired[str],

SageMakerSavingsPlansConfigurationTypeDef#

# SageMakerSavingsPlansConfigurationTypeDef definition

class SageMakerSavingsPlansConfigurationTypeDef(TypedDict):
    accountScope: NotRequired[str],
    hourlyCommitment: NotRequired[str],
    paymentOption: NotRequired[str],
    term: NotRequired[str],

SavingsPlansPricingTypeDef#

# SavingsPlansPricingTypeDef definition

class SavingsPlansPricingTypeDef(TypedDict):
    estimatedMonthlyCommitment: NotRequired[float],
    estimatedOnDemandCost: NotRequired[float],
    monthlySavingsPlansEligibleCost: NotRequired[float],
    savingsPercentage: NotRequired[float],

UpdateEnrollmentStatusRequestRequestTypeDef#

# UpdateEnrollmentStatusRequestRequestTypeDef definition

class UpdateEnrollmentStatusRequestRequestTypeDef(TypedDict):
    status: EnrollmentStatusType,  # (1)
    includeMemberAccounts: NotRequired[bool],
  1. See EnrollmentStatusType

UpdatePreferencesRequestRequestTypeDef#

# UpdatePreferencesRequestRequestTypeDef definition

class UpdatePreferencesRequestRequestTypeDef(TypedDict):
    memberAccountDiscountVisibility: NotRequired[MemberAccountDiscountVisibilityType],  # (1)
    savingsEstimationMode: NotRequired[SavingsEstimationModeType],  # (2)
  1. See MemberAccountDiscountVisibilityType
  2. See SavingsEstimationModeType

EcsServiceConfigurationTypeDef#

# EcsServiceConfigurationTypeDef definition

class EcsServiceConfigurationTypeDef(TypedDict):
    compute: NotRequired[ComputeConfigurationTypeDef],  # (1)
  1. See ComputeConfigurationTypeDef

LambdaFunctionConfigurationTypeDef#

# LambdaFunctionConfigurationTypeDef definition

class LambdaFunctionConfigurationTypeDef(TypedDict):
    compute: NotRequired[ComputeConfigurationTypeDef],  # (1)
  1. See ComputeConfigurationTypeDef

EbsVolumeConfigurationTypeDef#

# EbsVolumeConfigurationTypeDef definition

class EbsVolumeConfigurationTypeDef(TypedDict):
    attachmentState: NotRequired[str],
    performance: NotRequired[BlockStoragePerformanceConfigurationTypeDef],  # (1)
    storage: NotRequired[StorageConfigurationTypeDef],  # (2)
  1. See BlockStoragePerformanceConfigurationTypeDef
  2. See StorageConfigurationTypeDef

Ec2AutoScalingGroupConfigurationTypeDef#

# Ec2AutoScalingGroupConfigurationTypeDef definition

class Ec2AutoScalingGroupConfigurationTypeDef(TypedDict):
    instance: NotRequired[InstanceConfigurationTypeDef],  # (1)
  1. See InstanceConfigurationTypeDef

Ec2InstanceConfigurationTypeDef#

# Ec2InstanceConfigurationTypeDef definition

class Ec2InstanceConfigurationTypeDef(TypedDict):
    instance: NotRequired[InstanceConfigurationTypeDef],  # (1)
  1. See InstanceConfigurationTypeDef

ResourcePricingTypeDef#

# ResourcePricingTypeDef definition

class ResourcePricingTypeDef(TypedDict):
    estimatedCostAfterDiscounts: NotRequired[float],
    estimatedCostBeforeDiscounts: NotRequired[float],
    estimatedDiscounts: NotRequired[EstimatedDiscountsTypeDef],  # (1)
    estimatedNetUnusedAmortizedCommitments: NotRequired[float],
  1. See EstimatedDiscountsTypeDef

FilterTypeDef#

# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    accountIds: NotRequired[Sequence[str]],
    actionTypes: NotRequired[Sequence[ActionTypeType]],  # (1)
    implementationEfforts: NotRequired[Sequence[ImplementationEffortType]],  # (2)
    recommendationIds: NotRequired[Sequence[str]],
    regions: NotRequired[Sequence[str]],
    resourceArns: NotRequired[Sequence[str]],
    resourceIds: NotRequired[Sequence[str]],
    resourceTypes: NotRequired[Sequence[ResourceTypeType]],  # (3)
    restartNeeded: NotRequired[bool],
    rollbackPossible: NotRequired[bool],
    tags: NotRequired[Sequence[TagTypeDef]],  # (4)
  1. See ActionTypeType
  2. See ImplementationEffortType
  3. See ResourceTypeType
  4. See TagTypeDef

RecommendationTypeDef#

# RecommendationTypeDef definition

class RecommendationTypeDef(TypedDict):
    accountId: NotRequired[str],
    actionType: NotRequired[str],
    currencyCode: NotRequired[str],
    currentResourceSummary: NotRequired[str],
    currentResourceType: NotRequired[str],
    estimatedMonthlyCost: NotRequired[float],
    estimatedMonthlySavings: NotRequired[float],
    estimatedSavingsPercentage: NotRequired[float],
    implementationEffort: NotRequired[str],
    lastRefreshTimestamp: NotRequired[datetime],
    recommendationId: NotRequired[str],
    recommendationLookbackPeriodInDays: NotRequired[int],
    recommendedResourceSummary: NotRequired[str],
    recommendedResourceType: NotRequired[str],
    region: NotRequired[str],
    resourceArn: NotRequired[str],
    resourceId: NotRequired[str],
    restartNeeded: NotRequired[bool],
    rollbackPossible: NotRequired[bool],
    source: NotRequired[SourceType],  # (1)
    tags: NotRequired[List[TagTypeDef]],  # (2)
  1. See SourceType
  2. See TagTypeDef

GetPreferencesResponseTypeDef#

# GetPreferencesResponseTypeDef definition

class GetPreferencesResponseTypeDef(TypedDict):
    memberAccountDiscountVisibility: MemberAccountDiscountVisibilityType,  # (1)
    savingsEstimationMode: SavingsEstimationModeType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See MemberAccountDiscountVisibilityType
  2. See SavingsEstimationModeType
  3. See ResponseMetadataTypeDef

ListEnrollmentStatusesResponseTypeDef#

# ListEnrollmentStatusesResponseTypeDef definition

class ListEnrollmentStatusesResponseTypeDef(TypedDict):
    includeMemberAccounts: bool,
    items: List[AccountEnrollmentStatusTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccountEnrollmentStatusTypeDef
  2. See ResponseMetadataTypeDef

UpdateEnrollmentStatusResponseTypeDef#

# UpdateEnrollmentStatusResponseTypeDef definition

class UpdateEnrollmentStatusResponseTypeDef(TypedDict):
    status: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdatePreferencesResponseTypeDef#

# UpdatePreferencesResponseTypeDef definition

class UpdatePreferencesResponseTypeDef(TypedDict):
    memberAccountDiscountVisibility: MemberAccountDiscountVisibilityType,  # (1)
    savingsEstimationMode: SavingsEstimationModeType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See MemberAccountDiscountVisibilityType
  2. See SavingsEstimationModeType
  3. See ResponseMetadataTypeDef

ListEnrollmentStatusesRequestListEnrollmentStatusesPaginateTypeDef#

# ListEnrollmentStatusesRequestListEnrollmentStatusesPaginateTypeDef definition

class ListEnrollmentStatusesRequestListEnrollmentStatusesPaginateTypeDef(TypedDict):
    accountId: NotRequired[str],
    includeOrganizationInfo: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRecommendationSummariesResponseTypeDef#

# ListRecommendationSummariesResponseTypeDef definition

class ListRecommendationSummariesResponseTypeDef(TypedDict):
    currencyCode: str,
    estimatedTotalDedupedSavings: float,
    groupBy: str,
    items: List[RecommendationSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendationSummaryTypeDef
  2. See ResponseMetadataTypeDef

ReservedInstancesCostCalculationTypeDef#

# ReservedInstancesCostCalculationTypeDef definition

class ReservedInstancesCostCalculationTypeDef(TypedDict):
    pricing: NotRequired[ReservedInstancesPricingTypeDef],  # (1)
  1. See ReservedInstancesPricingTypeDef

SavingsPlansCostCalculationTypeDef#

# SavingsPlansCostCalculationTypeDef definition

class SavingsPlansCostCalculationTypeDef(TypedDict):
    pricing: NotRequired[SavingsPlansPricingTypeDef],  # (1)
  1. See SavingsPlansPricingTypeDef

ResourceCostCalculationTypeDef#

# ResourceCostCalculationTypeDef definition

class ResourceCostCalculationTypeDef(TypedDict):
    pricing: NotRequired[ResourcePricingTypeDef],  # (1)
    usages: NotRequired[List[UsageTypeDef]],  # (2)
  1. See ResourcePricingTypeDef
  2. See UsageTypeDef

ListRecommendationSummariesRequestListRecommendationSummariesPaginateTypeDef#

# ListRecommendationSummariesRequestListRecommendationSummariesPaginateTypeDef definition

class ListRecommendationSummariesRequestListRecommendationSummariesPaginateTypeDef(TypedDict):
    groupBy: str,
    filter: NotRequired[FilterTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

ListRecommendationSummariesRequestRequestTypeDef#

# ListRecommendationSummariesRequestRequestTypeDef definition

class ListRecommendationSummariesRequestRequestTypeDef(TypedDict):
    groupBy: str,
    filter: NotRequired[FilterTypeDef],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See FilterTypeDef

ListRecommendationsRequestListRecommendationsPaginateTypeDef#

# ListRecommendationsRequestListRecommendationsPaginateTypeDef definition

class ListRecommendationsRequestListRecommendationsPaginateTypeDef(TypedDict):
    filter: NotRequired[FilterTypeDef],  # (1)
    includeAllRecommendations: NotRequired[bool],
    orderBy: NotRequired[OrderByTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See FilterTypeDef
  2. See OrderByTypeDef
  3. See PaginatorConfigTypeDef

ListRecommendationsRequestRequestTypeDef#

# ListRecommendationsRequestRequestTypeDef definition

class ListRecommendationsRequestRequestTypeDef(TypedDict):
    filter: NotRequired[FilterTypeDef],  # (1)
    includeAllRecommendations: NotRequired[bool],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    orderBy: NotRequired[OrderByTypeDef],  # (2)
  1. See FilterTypeDef
  2. See OrderByTypeDef

ListRecommendationsResponseTypeDef#

# ListRecommendationsResponseTypeDef definition

class ListRecommendationsResponseTypeDef(TypedDict):
    items: List[RecommendationTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RecommendationTypeDef
  2. See ResponseMetadataTypeDef

Ec2ReservedInstancesTypeDef#

# Ec2ReservedInstancesTypeDef definition

class Ec2ReservedInstancesTypeDef(TypedDict):
    configuration: NotRequired[Ec2ReservedInstancesConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[ReservedInstancesCostCalculationTypeDef],  # (2)
  1. See Ec2ReservedInstancesConfigurationTypeDef
  2. See ReservedInstancesCostCalculationTypeDef

ElastiCacheReservedInstancesTypeDef#

# ElastiCacheReservedInstancesTypeDef definition

class ElastiCacheReservedInstancesTypeDef(TypedDict):
    configuration: NotRequired[ElastiCacheReservedInstancesConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[ReservedInstancesCostCalculationTypeDef],  # (2)
  1. See ElastiCacheReservedInstancesConfigurationTypeDef
  2. See ReservedInstancesCostCalculationTypeDef

OpenSearchReservedInstancesTypeDef#

# OpenSearchReservedInstancesTypeDef definition

class OpenSearchReservedInstancesTypeDef(TypedDict):
    configuration: NotRequired[OpenSearchReservedInstancesConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[ReservedInstancesCostCalculationTypeDef],  # (2)
  1. See OpenSearchReservedInstancesConfigurationTypeDef
  2. See ReservedInstancesCostCalculationTypeDef

RdsReservedInstancesTypeDef#

# RdsReservedInstancesTypeDef definition

class RdsReservedInstancesTypeDef(TypedDict):
    configuration: NotRequired[RdsReservedInstancesConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[ReservedInstancesCostCalculationTypeDef],  # (2)
  1. See RdsReservedInstancesConfigurationTypeDef
  2. See ReservedInstancesCostCalculationTypeDef

RedshiftReservedInstancesTypeDef#

# RedshiftReservedInstancesTypeDef definition

class RedshiftReservedInstancesTypeDef(TypedDict):
    configuration: NotRequired[RedshiftReservedInstancesConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[ReservedInstancesCostCalculationTypeDef],  # (2)
  1. See RedshiftReservedInstancesConfigurationTypeDef
  2. See ReservedInstancesCostCalculationTypeDef

ComputeSavingsPlansTypeDef#

# ComputeSavingsPlansTypeDef definition

class ComputeSavingsPlansTypeDef(TypedDict):
    configuration: NotRequired[ComputeSavingsPlansConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[SavingsPlansCostCalculationTypeDef],  # (2)
  1. See ComputeSavingsPlansConfigurationTypeDef
  2. See SavingsPlansCostCalculationTypeDef

Ec2InstanceSavingsPlansTypeDef#

# Ec2InstanceSavingsPlansTypeDef definition

class Ec2InstanceSavingsPlansTypeDef(TypedDict):
    configuration: NotRequired[Ec2InstanceSavingsPlansConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[SavingsPlansCostCalculationTypeDef],  # (2)
  1. See Ec2InstanceSavingsPlansConfigurationTypeDef
  2. See SavingsPlansCostCalculationTypeDef

SageMakerSavingsPlansTypeDef#

# SageMakerSavingsPlansTypeDef definition

class SageMakerSavingsPlansTypeDef(TypedDict):
    configuration: NotRequired[SageMakerSavingsPlansConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[SavingsPlansCostCalculationTypeDef],  # (2)
  1. See SageMakerSavingsPlansConfigurationTypeDef
  2. See SavingsPlansCostCalculationTypeDef

EbsVolumeTypeDef#

# EbsVolumeTypeDef definition

class EbsVolumeTypeDef(TypedDict):
    configuration: NotRequired[EbsVolumeConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[ResourceCostCalculationTypeDef],  # (2)
  1. See EbsVolumeConfigurationTypeDef
  2. See ResourceCostCalculationTypeDef

Ec2AutoScalingGroupTypeDef#

# Ec2AutoScalingGroupTypeDef definition

class Ec2AutoScalingGroupTypeDef(TypedDict):
    configuration: NotRequired[Ec2AutoScalingGroupConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[ResourceCostCalculationTypeDef],  # (2)
  1. See Ec2AutoScalingGroupConfigurationTypeDef
  2. See ResourceCostCalculationTypeDef

Ec2InstanceTypeDef#

# Ec2InstanceTypeDef definition

class Ec2InstanceTypeDef(TypedDict):
    configuration: NotRequired[Ec2InstanceConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[ResourceCostCalculationTypeDef],  # (2)
  1. See Ec2InstanceConfigurationTypeDef
  2. See ResourceCostCalculationTypeDef

EcsServiceTypeDef#

# EcsServiceTypeDef definition

class EcsServiceTypeDef(TypedDict):
    configuration: NotRequired[EcsServiceConfigurationTypeDef],  # (1)
    costCalculation: NotRequired[ResourceCostCalculationTypeDef],  # (2)
  1. See EcsServiceConfigurationTypeDef
  2. See ResourceCostC