Skip to content

Type definitions#

Index > AutoScaling > Type definitions

Auto-generated documentation for AutoScaling type annotations stubs module mypy-boto3-autoscaling.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AlarmSpecificationUnionTypeDef#

# AlarmSpecificationUnionTypeDef definition

AlarmSpecificationUnionTypeDef = Union[
    AlarmSpecificationTypeDef,  # (1)
    AlarmSpecificationOutputTypeDef,  # (2)
]
  1. See AlarmSpecificationTypeDef
  2. See AlarmSpecificationOutputTypeDef

CapacityReservationTargetUnionTypeDef#

# CapacityReservationTargetUnionTypeDef definition

CapacityReservationTargetUnionTypeDef = Union[
    CapacityReservationTargetTypeDef,  # (1)
    CapacityReservationTargetOutputTypeDef,  # (2)
]
  1. See CapacityReservationTargetTypeDef
  2. See CapacityReservationTargetOutputTypeDef

CpuPerformanceFactorRequestUnionTypeDef#

# CpuPerformanceFactorRequestUnionTypeDef definition

CpuPerformanceFactorRequestUnionTypeDef = Union[
    CpuPerformanceFactorRequestTypeDef,  # (1)
    CpuPerformanceFactorRequestOutputTypeDef,  # (2)
]
  1. See CpuPerformanceFactorRequestTypeDef
  2. See CpuPerformanceFactorRequestOutputTypeDef

MetricUnionTypeDef#

# MetricUnionTypeDef definition

MetricUnionTypeDef = Union[
    MetricTypeDef,  # (1)
    MetricOutputTypeDef,  # (2)
]
  1. See MetricTypeDef
  2. See MetricOutputTypeDef

BaselinePerformanceFactorsRequestUnionTypeDef#

# BaselinePerformanceFactorsRequestUnionTypeDef definition

BaselinePerformanceFactorsRequestUnionTypeDef = Union[
    BaselinePerformanceFactorsRequestTypeDef,  # (1)
    BaselinePerformanceFactorsRequestOutputTypeDef,  # (2)
]
  1. See BaselinePerformanceFactorsRequestTypeDef
  2. See BaselinePerformanceFactorsRequestOutputTypeDef

MetricStatUnionTypeDef#

# MetricStatUnionTypeDef definition

MetricStatUnionTypeDef = Union[
    MetricStatTypeDef,  # (1)
    MetricStatOutputTypeDef,  # (2)
]
  1. See MetricStatTypeDef
  2. See MetricStatOutputTypeDef

TargetTrackingMetricStatUnionTypeDef#

# TargetTrackingMetricStatUnionTypeDef definition

TargetTrackingMetricStatUnionTypeDef = Union[
    TargetTrackingMetricStatTypeDef,  # (1)
    TargetTrackingMetricStatOutputTypeDef,  # (2)
]
  1. See TargetTrackingMetricStatTypeDef
  2. See TargetTrackingMetricStatOutputTypeDef

InstanceRequirementsUnionTypeDef#

# InstanceRequirementsUnionTypeDef definition

InstanceRequirementsUnionTypeDef = Union[
    InstanceRequirementsTypeDef,  # (1)
    InstanceRequirementsOutputTypeDef,  # (2)
]
  1. See InstanceRequirementsTypeDef
  2. See InstanceRequirementsOutputTypeDef

MetricDataQueryUnionTypeDef#

# MetricDataQueryUnionTypeDef definition

MetricDataQueryUnionTypeDef = Union[
    MetricDataQueryTypeDef,  # (1)
    MetricDataQueryOutputTypeDef,  # (2)
]
  1. See MetricDataQueryTypeDef
  2. See MetricDataQueryOutputTypeDef

TargetTrackingMetricDataQueryUnionTypeDef#

# TargetTrackingMetricDataQueryUnionTypeDef definition

TargetTrackingMetricDataQueryUnionTypeDef = Union[
    TargetTrackingMetricDataQueryTypeDef,  # (1)
    TargetTrackingMetricDataQueryOutputTypeDef,  # (2)
]
  1. See TargetTrackingMetricDataQueryTypeDef
  2. See TargetTrackingMetricDataQueryOutputTypeDef

PredictiveScalingCustomizedCapacityMetricUnionTypeDef#

# PredictiveScalingCustomizedCapacityMetricUnionTypeDef definition

PredictiveScalingCustomizedCapacityMetricUnionTypeDef = Union[
    PredictiveScalingCustomizedCapacityMetricTypeDef,  # (1)
    PredictiveScalingCustomizedCapacityMetricOutputTypeDef,  # (2)
]
  1. See PredictiveScalingCustomizedCapacityMetricTypeDef
  2. See PredictiveScalingCustomizedCapacityMetricOutputTypeDef

PredictiveScalingCustomizedLoadMetricUnionTypeDef#

# PredictiveScalingCustomizedLoadMetricUnionTypeDef definition

PredictiveScalingCustomizedLoadMetricUnionTypeDef = Union[
    PredictiveScalingCustomizedLoadMetricTypeDef,  # (1)
    PredictiveScalingCustomizedLoadMetricOutputTypeDef,  # (2)
]
  1. See PredictiveScalingCustomizedLoadMetricTypeDef
  2. See PredictiveScalingCustomizedLoadMetricOutputTypeDef

LaunchTemplateOverridesUnionTypeDef#

# LaunchTemplateOverridesUnionTypeDef definition

LaunchTemplateOverridesUnionTypeDef = Union[
    LaunchTemplateOverridesTypeDef,  # (1)
    LaunchTemplateOverridesOutputTypeDef,  # (2)
]
  1. See LaunchTemplateOverridesTypeDef
  2. See LaunchTemplateOverridesOutputTypeDef

PredictiveScalingCustomizedScalingMetricUnionTypeDef#

# PredictiveScalingCustomizedScalingMetricUnionTypeDef definition

PredictiveScalingCustomizedScalingMetricUnionTypeDef = Union[
    PredictiveScalingCustomizedScalingMetricTypeDef,  # (1)
    PredictiveScalingCustomizedScalingMetricOutputTypeDef,  # (2)
]
  1. See PredictiveScalingCustomizedScalingMetricTypeDef
  2. See PredictiveScalingCustomizedScalingMetricOutputTypeDef

CustomizedMetricSpecificationUnionTypeDef#

# CustomizedMetricSpecificationUnionTypeDef definition

CustomizedMetricSpecificationUnionTypeDef = Union[
    CustomizedMetricSpecificationTypeDef,  # (1)
    CustomizedMetricSpecificationOutputTypeDef,  # (2)
]
  1. See CustomizedMetricSpecificationTypeDef
  2. See CustomizedMetricSpecificationOutputTypeDef

LaunchTemplateUnionTypeDef#

# LaunchTemplateUnionTypeDef definition

LaunchTemplateUnionTypeDef = Union[
    LaunchTemplateTypeDef,  # (1)
    LaunchTemplateOutputTypeDef,  # (2)
]
  1. See LaunchTemplateTypeDef
  2. See LaunchTemplateOutputTypeDef

PredictiveScalingMetricSpecificationUnionTypeDef#

# PredictiveScalingMetricSpecificationUnionTypeDef definition

PredictiveScalingMetricSpecificationUnionTypeDef = Union[
    PredictiveScalingMetricSpecificationTypeDef,  # (1)
    PredictiveScalingMetricSpecificationOutputTypeDef,  # (2)
]
  1. See PredictiveScalingMetricSpecificationTypeDef
  2. See PredictiveScalingMetricSpecificationOutputTypeDef

MixedInstancesPolicyUnionTypeDef#

# MixedInstancesPolicyUnionTypeDef definition

MixedInstancesPolicyUnionTypeDef = Union[
    MixedInstancesPolicyTypeDef,  # (1)
    MixedInstancesPolicyOutputTypeDef,  # (2)
]
  1. See MixedInstancesPolicyTypeDef
  2. See MixedInstancesPolicyOutputTypeDef

AcceleratorCountRequestTypeDef#

# AcceleratorCountRequestTypeDef definition

class AcceleratorCountRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

AcceleratorTotalMemoryMiBRequestTypeDef#

# AcceleratorTotalMemoryMiBRequestTypeDef definition

class AcceleratorTotalMemoryMiBRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

ActivityTypeDef#

# ActivityTypeDef definition

class ActivityTypeDef(TypedDict):
    ActivityId: str,
    AutoScalingGroupName: str,
    Cause: str,
    StartTime: datetime,
    StatusCode: ScalingActivityStatusCodeType,  # (1)
    Description: NotRequired[str],
    EndTime: NotRequired[datetime],
    StatusMessage: NotRequired[str],
    Progress: NotRequired[int],
    Details: NotRequired[str],
    AutoScalingGroupState: NotRequired[str],
    AutoScalingGroupARN: NotRequired[str],
  1. See ScalingActivityStatusCodeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

AdjustmentTypeTypeDef#

# AdjustmentTypeTypeDef definition

class AdjustmentTypeTypeDef(TypedDict):
    AdjustmentType: NotRequired[str],

AlarmSpecificationOutputTypeDef#

# AlarmSpecificationOutputTypeDef definition

class AlarmSpecificationOutputTypeDef(TypedDict):
    Alarms: NotRequired[List[str]],

AlarmSpecificationTypeDef#

# AlarmSpecificationTypeDef definition

class AlarmSpecificationTypeDef(TypedDict):
    Alarms: NotRequired[Sequence[str]],

AlarmTypeDef#

# AlarmTypeDef definition

class AlarmTypeDef(TypedDict):
    AlarmName: NotRequired[str],
    AlarmARN: NotRequired[str],

AttachInstancesQueryRequestTypeDef#

# AttachInstancesQueryRequestTypeDef definition

class AttachInstancesQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    InstanceIds: NotRequired[Sequence[str]],

AttachLoadBalancerTargetGroupsTypeRequestTypeDef#

# AttachLoadBalancerTargetGroupsTypeRequestTypeDef definition

class AttachLoadBalancerTargetGroupsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TargetGroupARNs: Sequence[str],

AttachLoadBalancersTypeRequestTypeDef#

# AttachLoadBalancersTypeRequestTypeDef definition

class AttachLoadBalancersTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LoadBalancerNames: Sequence[str],

TrafficSourceIdentifierTypeDef#

# TrafficSourceIdentifierTypeDef definition

class TrafficSourceIdentifierTypeDef(TypedDict):
    Identifier: str,
    Type: NotRequired[str],

FilterTypeDef#

# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    Name: NotRequired[str],
    Values: NotRequired[Sequence[str]],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

AvailabilityZoneDistributionTypeDef#

# AvailabilityZoneDistributionTypeDef definition

class AvailabilityZoneDistributionTypeDef(TypedDict):
    CapacityDistributionStrategy: NotRequired[CapacityDistributionStrategyType],  # (1)
  1. See CapacityDistributionStrategyType

AvailabilityZoneImpairmentPolicyTypeDef#

# AvailabilityZoneImpairmentPolicyTypeDef definition

class AvailabilityZoneImpairmentPolicyTypeDef(TypedDict):
    ZonalShiftEnabled: NotRequired[bool],
    ImpairedZoneHealthCheckBehavior: NotRequired[ImpairedZoneHealthCheckBehaviorType],  # (1)
  1. See ImpairedZoneHealthCheckBehaviorType

EnabledMetricTypeDef#

# EnabledMetricTypeDef definition

class EnabledMetricTypeDef(TypedDict):
    Metric: NotRequired[str],
    Granularity: NotRequired[str],

InstanceMaintenancePolicyTypeDef#

# InstanceMaintenancePolicyTypeDef definition

class InstanceMaintenancePolicyTypeDef(TypedDict):
    MinHealthyPercentage: NotRequired[int],
    MaxHealthyPercentage: NotRequired[int],

LaunchTemplateSpecificationTypeDef#

# LaunchTemplateSpecificationTypeDef definition

class LaunchTemplateSpecificationTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    Version: NotRequired[str],

SuspendedProcessTypeDef#

# SuspendedProcessTypeDef definition

class SuspendedProcessTypeDef(TypedDict):
    ProcessName: NotRequired[str],
    SuspensionReason: NotRequired[str],

TagDescriptionTypeDef#

# TagDescriptionTypeDef definition

class TagDescriptionTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[str],
    Key: NotRequired[str],
    Value: NotRequired[str],
    PropagateAtLaunch: NotRequired[bool],

BaselineEbsBandwidthMbpsRequestTypeDef#

# BaselineEbsBandwidthMbpsRequestTypeDef definition

class BaselineEbsBandwidthMbpsRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

FailedScheduledUpdateGroupActionRequestTypeDef#

# FailedScheduledUpdateGroupActionRequestTypeDef definition

class FailedScheduledUpdateGroupActionRequestTypeDef(TypedDict):
    ScheduledActionName: str,
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

BatchDeleteScheduledActionTypeRequestTypeDef#

# BatchDeleteScheduledActionTypeRequestTypeDef definition

class BatchDeleteScheduledActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledActionNames: Sequence[str],

EbsTypeDef#

# EbsTypeDef definition

class EbsTypeDef(TypedDict):
    SnapshotId: NotRequired[str],
    VolumeSize: NotRequired[int],
    VolumeType: NotRequired[str],
    DeleteOnTermination: NotRequired[bool],
    Iops: NotRequired[int],
    Encrypted: NotRequired[bool],
    Throughput: NotRequired[int],

CancelInstanceRefreshTypeRequestTypeDef#

# CancelInstanceRefreshTypeRequestTypeDef definition

class CancelInstanceRefreshTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,

CapacityForecastTypeDef#

# CapacityForecastTypeDef definition

class CapacityForecastTypeDef(TypedDict):
    Timestamps: List[datetime],
    Values: List[float],

CapacityReservationTargetOutputTypeDef#

# CapacityReservationTargetOutputTypeDef definition

class CapacityReservationTargetOutputTypeDef(TypedDict):
    CapacityReservationIds: NotRequired[List[str]],
    CapacityReservationResourceGroupArns: NotRequired[List[str]],

CapacityReservationTargetTypeDef#

# CapacityReservationTargetTypeDef definition

class CapacityReservationTargetTypeDef(TypedDict):
    CapacityReservationIds: NotRequired[Sequence[str]],
    CapacityReservationResourceGroupArns: NotRequired[Sequence[str]],

CompleteLifecycleActionTypeRequestTypeDef#

# CompleteLifecycleActionTypeRequestTypeDef definition

class CompleteLifecycleActionTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,
    LifecycleActionResult: str,
    LifecycleActionToken: NotRequired[str],
    InstanceId: NotRequired[str],

PerformanceFactorReferenceRequestTypeDef#

# PerformanceFactorReferenceRequestTypeDef definition

class PerformanceFactorReferenceRequestTypeDef(TypedDict):
    InstanceFamily: NotRequired[str],

LifecycleHookSpecificationTypeDef#

# LifecycleHookSpecificationTypeDef definition

class LifecycleHookSpecificationTypeDef(TypedDict):
    LifecycleHookName: str,
    LifecycleTransition: str,
    NotificationMetadata: NotRequired[str],
    HeartbeatTimeout: NotRequired[int],
    DefaultResult: NotRequired[str],
    NotificationTargetARN: NotRequired[str],
    RoleARN: NotRequired[str],

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[str],
    Value: NotRequired[str],
    PropagateAtLaunch: NotRequired[bool],

InstanceMetadataOptionsTypeDef#

# InstanceMetadataOptionsTypeDef definition

class InstanceMetadataOptionsTypeDef(TypedDict):
    HttpTokens: NotRequired[InstanceMetadataHttpTokensStateType],  # (1)
    HttpPutResponseHopLimit: NotRequired[int],
    HttpEndpoint: NotRequired[InstanceMetadataEndpointStateType],  # (2)
  1. See InstanceMetadataHttpTokensStateType
  2. See InstanceMetadataEndpointStateType

InstanceMonitoringTypeDef#

# InstanceMonitoringTypeDef definition

class InstanceMonitoringTypeDef(TypedDict):
    Enabled: NotRequired[bool],

MetricDimensionTypeDef#

# MetricDimensionTypeDef definition

class MetricDimensionTypeDef(TypedDict):
    Name: str,
    Value: str,

DeleteAutoScalingGroupTypeRequestTypeDef#

# DeleteAutoScalingGroupTypeRequestTypeDef definition

class DeleteAutoScalingGroupTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ForceDelete: NotRequired[bool],

DeleteLifecycleHookTypeRequestTypeDef#

# DeleteLifecycleHookTypeRequestTypeDef definition

class DeleteLifecycleHookTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,

DeleteNotificationConfigurationTypeRequestTypeDef#

# DeleteNotificationConfigurationTypeRequestTypeDef definition

class DeleteNotificationConfigurationTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TopicARN: str,

DeletePolicyTypeRequestTypeDef#

# DeletePolicyTypeRequestTypeDef definition

class DeletePolicyTypeRequestTypeDef(TypedDict):
    PolicyName: str,
    AutoScalingGroupName: NotRequired[str],

DeleteScheduledActionTypeRequestTypeDef#

# DeleteScheduledActionTypeRequestTypeDef definition

class DeleteScheduledActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledActionName: str,

DeleteWarmPoolTypeRequestTypeDef#

# DeleteWarmPoolTypeRequestTypeDef definition

class DeleteWarmPoolTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ForceDelete: NotRequired[bool],

DescribeAutoScalingInstancesTypeRequestTypeDef#

# DescribeAutoScalingInstancesTypeRequestTypeDef definition

class DescribeAutoScalingInstancesTypeRequestTypeDef(TypedDict):
    InstanceIds: NotRequired[Sequence[str]],
    MaxRecords: NotRequired[int],
    NextToken: NotRequired[str],

DescribeInstanceRefreshesTypeRequestTypeDef#

# DescribeInstanceRefreshesTypeRequestTypeDef definition

class DescribeInstanceRefreshesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    InstanceRefreshIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

LifecycleHookTypeDef#

# LifecycleHookTypeDef definition

class LifecycleHookTypeDef(TypedDict):
    LifecycleHookName: NotRequired[str],
    AutoScalingGroupName: NotRequired[str],
    LifecycleTransition: NotRequired[str],
    NotificationTargetARN: NotRequired[str],
    RoleARN: NotRequired[str],
    NotificationMetadata: NotRequired[str],
    HeartbeatTimeout: NotRequired[int],
    GlobalTimeout: NotRequired[int],
    DefaultResult: NotRequired[str],

DescribeLifecycleHooksTypeRequestTypeDef#

# DescribeLifecycleHooksTypeRequestTypeDef definition

class DescribeLifecycleHooksTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LifecycleHookNames: NotRequired[Sequence[str]],

DescribeLoadBalancerTargetGroupsRequestRequestTypeDef#

# DescribeLoadBalancerTargetGroupsRequestRequestTypeDef definition

class DescribeLoadBalancerTargetGroupsRequestRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

LoadBalancerTargetGroupStateTypeDef#

# LoadBalancerTargetGroupStateTypeDef definition

class LoadBalancerTargetGroupStateTypeDef(TypedDict):
    LoadBalancerTargetGroupARN: NotRequired[str],
    State: NotRequired[str],

DescribeLoadBalancersRequestRequestTypeDef#

# DescribeLoadBalancersRequestRequestTypeDef definition

class DescribeLoadBalancersRequestRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

LoadBalancerStateTypeDef#

# LoadBalancerStateTypeDef definition

class LoadBalancerStateTypeDef(TypedDict):
    LoadBalancerName: NotRequired[str],
    State: NotRequired[str],

MetricCollectionTypeTypeDef#

# MetricCollectionTypeTypeDef definition

class MetricCollectionTypeTypeDef(TypedDict):
    Metric: NotRequired[str],

MetricGranularityTypeTypeDef#

# MetricGranularityTypeTypeDef definition

class MetricGranularityTypeTypeDef(TypedDict):
    Granularity: NotRequired[str],

NotificationConfigurationTypeDef#

# NotificationConfigurationTypeDef definition

class NotificationConfigurationTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    TopicARN: NotRequired[str],
    NotificationType: NotRequired[str],

DescribeNotificationConfigurationsTypeRequestTypeDef#

# DescribeNotificationConfigurationsTypeRequestTypeDef definition

class DescribeNotificationConfigurationsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

DescribePoliciesTypeRequestTypeDef#

# DescribePoliciesTypeRequestTypeDef definition

class DescribePoliciesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    PolicyNames: NotRequired[Sequence[str]],
    PolicyTypes: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

DescribeScalingActivitiesTypeRequestTypeDef#

# DescribeScalingActivitiesTypeRequestTypeDef definition

class DescribeScalingActivitiesTypeRequestTypeDef(TypedDict):
    ActivityIds: NotRequired[Sequence[str]],
    AutoScalingGroupName: NotRequired[str],
    IncludeDeletedGroups: NotRequired[bool],
    MaxRecords: NotRequired[int],
    NextToken: NotRequired[str],

DescribeTrafficSourcesRequestRequestTypeDef#

# DescribeTrafficSourcesRequestRequestTypeDef definition

class DescribeTrafficSourcesRequestRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TrafficSourceType: NotRequired[str],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

TrafficSourceStateTypeDef#

# TrafficSourceStateTypeDef definition

class TrafficSourceStateTypeDef(TypedDict):
    TrafficSource: NotRequired[str],
    State: NotRequired[str],
    Identifier: NotRequired[str],
    Type: NotRequired[str],

DescribeWarmPoolTypeRequestTypeDef#

# DescribeWarmPoolTypeRequestTypeDef definition

class DescribeWarmPoolTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    MaxRecords: NotRequired[int],
    NextToken: NotRequired[str],

DetachInstancesQueryRequestTypeDef#

# DetachInstancesQueryRequestTypeDef definition

class DetachInstancesQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ShouldDecrementDesiredCapacity: bool,
    InstanceIds: NotRequired[Sequence[str]],

DetachLoadBalancerTargetGroupsTypeRequestTypeDef#

# DetachLoadBalancerTargetGroupsTypeRequestTypeDef definition

class DetachLoadBalancerTargetGroupsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TargetGroupARNs: Sequence[str],

DetachLoadBalancersTypeRequestTypeDef#

# DetachLoadBalancersTypeRequestTypeDef definition

class DetachLoadBalancersTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LoadBalancerNames: Sequence[str],

DisableMetricsCollectionQueryRequestTypeDef#

# DisableMetricsCollectionQueryRequestTypeDef definition

class DisableMetricsCollectionQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    Metrics: NotRequired[Sequence[str]],

EnableMetricsCollectionQueryRequestTypeDef#

# EnableMetricsCollectionQueryRequestTypeDef definition

class EnableMetricsCollectionQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    Granularity: str,
    Metrics: NotRequired[Sequence[str]],

EnterStandbyQueryRequestTypeDef#

# EnterStandbyQueryRequestTypeDef definition

class EnterStandbyQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ShouldDecrementDesiredCapacity: bool,
    InstanceIds: NotRequired[Sequence[str]],

ExecutePolicyTypeRequestTypeDef#

# ExecutePolicyTypeRequestTypeDef definition

class ExecutePolicyTypeRequestTypeDef(TypedDict):
    PolicyName: str,
    AutoScalingGroupName: NotRequired[str],
    HonorCooldown: NotRequired[bool],
    MetricValue: NotRequired[float],
    BreachThreshold: NotRequired[float],

ExitStandbyQueryRequestTypeDef#

# ExitStandbyQueryRequestTypeDef definition

class ExitStandbyQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    InstanceIds: NotRequired[Sequence[str]],

InstanceRefreshLivePoolProgressTypeDef#

# InstanceRefreshLivePoolProgressTypeDef definition

class InstanceRefreshLivePoolProgressTypeDef(TypedDict):
    PercentageComplete: NotRequired[int],
    InstancesToUpdate: NotRequired[int],

InstanceRefreshWarmPoolProgressTypeDef#

# InstanceRefreshWarmPoolProgressTypeDef definition

class InstanceRefreshWarmPoolProgressTypeDef(TypedDict):
    PercentageComplete: NotRequired[int],
    InstancesToUpdate: NotRequired[int],

MemoryGiBPerVCpuRequestTypeDef#

# MemoryGiBPerVCpuRequestTypeDef definition

class MemoryGiBPerVCpuRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

MemoryMiBRequestTypeDef#

# MemoryMiBRequestTypeDef definition

class MemoryMiBRequestTypeDef(TypedDict):
    Min: int,
    Max: NotRequired[int],

NetworkBandwidthGbpsRequestTypeDef#

# NetworkBandwidthGbpsRequestTypeDef definition

class NetworkBandwidthGbpsRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

NetworkInterfaceCountRequestTypeDef#

# NetworkInterfaceCountRequestTypeDef definition

class NetworkInterfaceCountRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

TotalLocalStorageGBRequestTypeDef#

# TotalLocalStorageGBRequestTypeDef definition

class TotalLocalStorageGBRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

VCpuCountRequestTypeDef#

# VCpuCountRequestTypeDef definition

class VCpuCountRequestTypeDef(TypedDict):
    Min: int,
    Max: NotRequired[int],

InstanceReusePolicyTypeDef#

# InstanceReusePolicyTypeDef definition

class InstanceReusePolicyTypeDef(TypedDict):
    ReuseOnScaleIn: NotRequired[bool],

InstancesDistributionTypeDef#

# InstancesDistributionTypeDef definition

class InstancesDistributionTypeDef(TypedDict):
    OnDemandAllocationStrategy: NotRequired[str],
    OnDemandBaseCapacity: NotRequired[int],
    OnDemandPercentageAboveBaseCapacity: NotRequired[int],
    SpotAllocationStrategy: NotRequired[str],
    SpotInstancePools: NotRequired[int],
    SpotMaxPrice: NotRequired[str],

LaunchConfigurationNameTypeRequestTypeDef#

# LaunchConfigurationNameTypeRequestTypeDef definition

class LaunchConfigurationNameTypeRequestTypeDef(TypedDict):
    LaunchConfigurationName: str,

LaunchConfigurationNamesTypeRequestTypeDef#

# LaunchConfigurationNamesTypeRequestTypeDef definition

class LaunchConfigurationNamesTypeRequestTypeDef(TypedDict):
    LaunchConfigurationNames: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

PredefinedMetricSpecificationTypeDef#

# PredefinedMetricSpecificationTypeDef definition

class PredefinedMetricSpecificationTypeDef(TypedDict):
    PredefinedMetricType: MetricTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See MetricTypeType

PredictiveScalingPredefinedLoadMetricTypeDef#

# PredictiveScalingPredefinedLoadMetricTypeDef definition

class PredictiveScalingPredefinedLoadMetricTypeDef(TypedDict):
    PredefinedMetricType: PredefinedLoadMetricTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See PredefinedLoadMetricTypeType

PredictiveScalingPredefinedMetricPairTypeDef#

# PredictiveScalingPredefinedMetricPairTypeDef definition

class PredictiveScalingPredefinedMetricPairTypeDef(TypedDict):
    PredefinedMetricType: PredefinedMetricPairTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See PredefinedMetricPairTypeType

PredictiveScalingPredefinedScalingMetricTypeDef#

# PredictiveScalingPredefinedScalingMetricTypeDef definition

class PredictiveScalingPredefinedScalingMetricTypeDef(TypedDict):
    PredefinedMetricType: PredefinedScalingMetricTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See PredefinedScalingMetricTypeType

ProcessTypeTypeDef#

# ProcessTypeTypeDef definition

class ProcessTypeTypeDef(TypedDict):
    ProcessName: str,

PutLifecycleHookTypeRequestTypeDef#

# PutLifecycleHookTypeRequestTypeDef definition

class PutLifecycleHookTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,
    LifecycleTransition: NotRequired[str],
    RoleARN: NotRequired[str],
    NotificationTargetARN: NotRequired[str],
    NotificationMetadata: NotRequired[str],
    HeartbeatTimeout: NotRequired[int],
    DefaultResult: NotRequired[str],

PutNotificationConfigurationTypeRequestTypeDef#

# PutNotificationConfigurationTypeRequestTypeDef definition

class PutNotificationConfigurationTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TopicARN: str,
    NotificationTypes: Sequence[str],

StepAdjustmentTypeDef#

# StepAdjustmentTypeDef definition

class StepAdjustmentTypeDef(TypedDict):
    ScalingAdjustment: int,
    MetricIntervalLowerBound: NotRequired[float],
    MetricIntervalUpperBound: NotRequired[float],

RecordLifecycleActionHeartbeatTypeRequestTypeDef#

# RecordLifecycleActionHeartbeatTypeRequestTypeDef definition

class RecordLifecycleActionHeartbeatTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,
    LifecycleActionToken: NotRequired[str],
    InstanceId: NotRequired[str],

RollbackInstanceRefreshTypeRequestTypeDef#

# RollbackInstanceRefreshTypeRequestTypeDef definition

class RollbackInstanceRefreshTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,

ScalingProcessQueryRequestTypeDef#

# ScalingProcessQueryRequestTypeDef definition

class ScalingProcessQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScalingProcesses: NotRequired[Sequence[str]],

ScheduledUpdateGroupActionTypeDef#

# ScheduledUpdateGroupActionTypeDef definition

class ScheduledUpdateGroupActionTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    ScheduledActionName: NotRequired[str],
    ScheduledActionARN: NotRequired[str],
    Time: NotRequired[datetime],
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    Recurrence: NotRequired[str],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    DesiredCapacity: NotRequired[int],
    TimeZone: NotRequired[str],

SetDesiredCapacityTypeRequestTypeDef#

# SetDesiredCapacityTypeRequestTypeDef definition

class SetDesiredCapacityTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    DesiredCapacity: int,
    HonorCooldown: NotRequired[bool],

SetInstanceHealthQueryRequestTypeDef#

# SetInstanceHealthQueryRequestTypeDef definition

class SetInstanceHealthQueryRequestTypeDef(TypedDict):
    InstanceId: str,
    HealthStatus: str,
    ShouldRespectGracePeriod: NotRequired[bool],

SetInstanceProtectionQueryRequestTypeDef#

# SetInstanceProtectionQueryRequestTypeDef definition

class SetInstanceProtectionQueryRequestTypeDef(TypedDict):
    InstanceIds: Sequence[str],
    AutoScalingGroupName: str,
    ProtectedFromScaleIn: bool,

TerminateInstanceInAutoScalingGroupTypeRequestTypeDef#

# TerminateInstanceInAutoScalingGroupTypeRequestTypeDef definition

class TerminateInstanceInAutoScalingGroupTypeRequestTypeDef(TypedDict):
    InstanceId: str,
    ShouldDecrementDesiredCapacity: bool,

ActivitiesTypeTypeDef#

# ActivitiesTypeTypeDef definition

class ActivitiesTypeTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

ActivityTypeTypeDef#

# ActivityTypeTypeDef definition

class ActivityTypeTypeDef(TypedDict):
    Activity: ActivityTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

CancelInstanceRefreshAnswerTypeDef#

# CancelInstanceRefreshAnswerTypeDef definition

class CancelInstanceRefreshAnswerTypeDef(TypedDict):
    InstanceRefreshId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeAccountLimitsAnswerTypeDef#

# DescribeAccountLimitsAnswerTypeDef definition

class DescribeAccountLimitsAnswerTypeDef(TypedDict):
    MaxNumberOfAutoScalingGroups: int,
    MaxNumberOfLaunchConfigurations: int,
    NumberOfAutoScalingGroups: int,
    NumberOfLaunchConfigurations: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeAutoScalingNotificationTypesAnswerTypeDef#

# DescribeAutoScalingNotificationTypesAnswerTypeDef definition

class DescribeAutoScalingNotificationTypesAnswerTypeDef(TypedDict):
    AutoScalingNotificationTypes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeLifecycleHookTypesAnswerTypeDef#

# DescribeLifecycleHookTypesAnswerTypeDef definition

class DescribeLifecycleHookTypesAnswerTypeDef(TypedDict):
    LifecycleHookTypes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeTerminationPolicyTypesAnswerTypeDef#

# DescribeTerminationPolicyTypesAnswerTypeDef definition

class DescribeTerminationPolicyTypesAnswerTypeDef(TypedDict):
    TerminationPolicyTypes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DetachInstancesAnswerTypeDef#

# DetachInstancesAnswerTypeDef definition

class DetachInstancesAnswerTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnterStandbyAnswerTypeDef#

# EnterStandbyAnswerTypeDef definition

class EnterStandbyAnswerTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

ExitStandbyAnswerTypeDef#

# ExitStandbyAnswerTypeDef definition

class ExitStandbyAnswerTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

RollbackInstanceRefreshAnswerTypeDef#

# RollbackInstanceRefreshAnswerTypeDef definition

class RollbackInstanceRefreshAnswerTypeDef(TypedDict):
    InstanceRefreshId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartInstanceRefreshAnswerTypeDef#

# StartInstanceRefreshAnswerTypeDef definition

class StartInstanceRefreshAnswerTypeDef(TypedDict):
    InstanceRefreshId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeAdjustmentTypesAnswerTypeDef#

# DescribeAdjustmentTypesAnswerTypeDef definition

class DescribeAdjustmentTypesAnswerTypeDef(TypedDict):
    AdjustmentTypes: List[AdjustmentTypeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AdjustmentTypeTypeDef
  2. See ResponseMetadataTypeDef

RefreshPreferencesOutputTypeDef#

# RefreshPreferencesOutputTypeDef definition

class RefreshPreferencesOutputTypeDef(TypedDict):
    MinHealthyPercentage: NotRequired[int],
    InstanceWarmup: NotRequired[int],
    CheckpointPercentages: NotRequired[List[int]],
    CheckpointDelay: NotRequired[int],
    SkipMatching: NotRequired[bool],
    AutoRollback: NotRequired[bool],
    ScaleInProtectedInstances: NotRequired[ScaleInProtectedInstancesType],  # (1)
    StandbyInstances: NotRequired[StandbyInstancesType],  # (2)
    AlarmSpecification: NotRequired[AlarmSpecificationOutputTypeDef],  # (3)
    MaxHealthyPercentage: NotRequired[int],
    BakeTime: NotRequired[int],
  1. See ScaleInProtectedInstancesType
  2. See StandbyInstancesType
  3. See AlarmSpecificationOutputTypeDef

PolicyARNTypeTypeDef#

# PolicyARNTypeTypeDef definition

class PolicyARNTypeTypeDef(TypedDict):
    PolicyARN: str,
    Alarms: List[AlarmTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlarmTypeDef
  2. See ResponseMetadataTypeDef

AttachTrafficSourcesTypeRequestTypeDef#

# AttachTrafficSourcesTypeRequestTypeDef definition

class AttachTrafficSourcesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TrafficSources: Sequence[TrafficSourceIdentifierTypeDef],  # (1)
    SkipZonalShiftValidation: NotRequired[bool],
  1. See TrafficSourceIdentifierTypeDef

DetachTrafficSourcesTypeRequestTypeDef#

# DetachTrafficSourcesTypeRequestTypeDef definition

class DetachTrafficSourcesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TrafficSources: Sequence[TrafficSourceIdentifierTypeDef],  # (1)
  1. See TrafficSourceIdentifierTypeDef

AutoScalingGroupNamesTypeRequestTypeDef#

# AutoScalingGroupNamesTypeRequestTypeDef definition

class AutoScalingGroupNamesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeTagsTypeRequestTypeDef#

# DescribeTagsTypeRequestTypeDef definition

class DescribeTagsTypeRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],
  1. See FilterTypeDef

AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef#

# AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef definition

class AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef#

# DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef definition

class DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef(TypedDict):
    InstanceIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef#

# DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef definition

class DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef#

# DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef definition

class DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef#

# DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef definition

class DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribePoliciesTypeDescribePoliciesPaginateTypeDef#

# DescribePoliciesTypeDescribePoliciesPaginateTypeDef definition

class DescribePoliciesTypeDescribePoliciesPaginateTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    PolicyNames: NotRequired[Sequence[str]],
    PolicyTypes: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef#

# DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef definition

class DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef(TypedDict):
    ActivityIds: NotRequired[Sequence[str]],
    AutoScalingGroupName: NotRequired[str],
    IncludeDeletedGroups: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeTagsTypeDescribeTagsPaginateTypeDef#

# DescribeTagsTypeDescribeTagsPaginateTypeDef definition

class DescribeTagsTypeDescribeTagsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeWarmPoolTypeDescribeWarmPoolPaginateTypeDef#

# DescribeWarmPoolTypeDescribeWarmPoolPaginateTypeDef definition

class DescribeWarmPoolTypeDescribeWarmPoolPaginateTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef#

# LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef definition

class LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef(TypedDict):
    LaunchConfigurationNames: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

AutoScalingInstanceDetailsTypeDef#

# AutoScalingInstanceDetailsTypeDef definition

class AutoScalingInstanceDetailsTypeDef(TypedDict):
    InstanceId: str,
    AutoScalingGroupName: str,
    AvailabilityZone: str,
    LifecycleState: str,
    HealthStatus: str,
    ProtectedFromScaleIn: bool,
    InstanceType: NotRequired[str],
    LaunchConfigurationName: NotRequired[str],
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    WeightedCapacity: NotRequired[str],
  1. See LaunchTemplateSpecificationTypeDef

InstanceTypeDef#

# InstanceTypeDef definition

class InstanceTypeDef(TypedDict):
    InstanceId: str,
    AvailabilityZone: str,
    LifecycleState: LifecycleStateType,  # (1)
    HealthStatus: str,
    ProtectedFromScaleIn: bool,
    InstanceType: NotRequired[str],
    LaunchConfigurationName: NotRequired[str],
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (2)
    WeightedCapacity: NotRequired[str],
  1. See LifecycleStateType
  2. See LaunchTemplateSpecificationTypeDef

TagsTypeTypeDef#

# TagsTypeTypeDef definition

class TagsTypeTypeDef(TypedDict):
    Tags: List[TagDescriptionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See TagDescriptionTypeDef
  2. See ResponseMetadataTypeDef

BatchDeleteScheduledActionAnswerTypeDef#

# BatchDeleteScheduledActionAnswerTypeDef definition

class BatchDeleteScheduledActionAnswerTypeDef(TypedDict):
    FailedScheduledActions: List[FailedScheduledUpdateGroupActionRequestTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedScheduledUpdateGroupActionRequestTypeDef
  2. See ResponseMetadataTypeDef

BatchPutScheduledUpdateGroupActionAnswerTypeDef#

# BatchPutScheduledUpdateGroupActionAnswerTypeDef definition

class BatchPutScheduledUpdateGroupActionAnswerTypeDef(TypedDict):
    FailedScheduledUpdateGroupActions: List[FailedScheduledUpdateGroupActionRequestTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedScheduledUpdateGroupActionRequestTypeDef
  2. See ResponseMetadataTypeDef

BlockDeviceMappingTypeDef#

# BlockDeviceMappingTypeDef definition

class BlockDeviceMappingTypeDef(TypedDict):
    DeviceName: str,
    VirtualName: NotRequired[str],
    Ebs: NotRequired[EbsTypeDef],  # (1)
    NoDevice: NotRequired[bool],
  1. See EbsTypeDef

CapacityReservationSpecificationOutputTypeDef#

# CapacityReservationSpecificationOutputTypeDef definition

class CapacityReservationSpecificationOutputTypeDef(TypedDict):
    CapacityReservationPreference: NotRequired[CapacityReservationPreferenceType],  # (1)
    CapacityReservationTarget: NotRequired[CapacityReservationTargetOutputTypeDef],  # (2)
  1. See CapacityReservationPreferenceType
  2. See CapacityReservationTargetOutputTypeDef

CpuPerformanceFactorRequestOutputTypeDef#

# CpuPerformanceFactorRequestOutputTypeDef definition

class CpuPerformanceFactorRequestOutputTypeDef(TypedDict):
    References: NotRequired[List[PerformanceFactorReferenceRequestTypeDef]],  # (1)
  1. See PerformanceFactorReferenceRequestTypeDef

CpuPerformanceFactorRequestTypeDef#

# CpuPerformanceFactorRequestTypeDef definition

class CpuPerformanceFactorRequestTypeDef(TypedDict):
    References: NotRequired[Sequence[PerformanceFactorReferenceRequestTypeDef]],  # (1)
  1. See PerformanceFactorReferenceRequestTypeDef

CreateOrUpdateTagsTypeRequestTypeDef#

# CreateOrUpdateTagsTypeRequestTypeDef definition

class CreateOrUpdateTagsTypeRequestTypeDef(TypedDict):
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

DeleteTagsTypeRequestTypeDef#

# DeleteTagsTypeRequestTypeDef definition

class DeleteTagsTypeRequestTypeDef(TypedDict):
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

MetricOutputTypeDef#

# MetricOutputTypeDef definition

class MetricOutputTypeDef(TypedDict):
    Namespace: str,
    MetricName: str,
    Dimensions: NotRequired[List[MetricDimensionTypeDef]],  # (1)
  1. See MetricDimensionTypeDef

MetricTypeDef#

# MetricTypeDef definition

class MetricTypeDef(TypedDict):
    Namespace: str,
    MetricName: str,
    Dimensions: NotRequired[Sequence[MetricDimensionTypeDef]],  # (1)
  1. See MetricDimensionTypeDef

DescribeLifecycleHooksAnswerTypeDef#

# DescribeLifecycleHooksAnswerTypeDef definition

class DescribeLifecycleHooksAnswerTypeDef(TypedDict):
    LifecycleHooks: List[LifecycleHookTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LifecycleHookTypeDef
  2. See ResponseMetadataTypeDef

DescribeLoadBalancerTargetGroupsResponseTypeDef#

# DescribeLoadBalancerTargetGroupsResponseTypeDef definition

class DescribeLoadBalancerTargetGroupsResponseTypeDef(TypedDict):
    LoadBalancerTargetGroups: List[LoadBalancerTargetGroupStateTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See LoadBalancerTargetGroupStateTypeDef
  2. See ResponseMetadataTypeDef

DescribeLoadBalancersResponseTypeDef#

# DescribeLoadBalancersResponseTypeDef definition

class DescribeLoadBalancersResponseTypeDef(TypedDict):
    LoadBalancers: List[LoadBalancerStateTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See LoadBalancerStateTypeDef
  2. See ResponseMetadataTypeDef

DescribeMetricCollectionTypesAnswerTypeDef#

# DescribeMetricCollectionTypesAnswerTypeDef definition

class DescribeMetricCollectionTypesAnswerTypeDef(TypedDict):
    Metrics: List[MetricCollectionTypeTypeDef],  # (1)
    Granularities: List[MetricGranularityTypeTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See MetricCollectionTypeTypeDef
  2. See MetricGranularityTypeTypeDef
  3. See ResponseMetadataTypeDef

DescribeNotificationConfigurationsAnswerTypeDef#

# DescribeNotificationConfigurationsAnswerTypeDef definition

class DescribeNotificationConfigurationsAnswerTypeDef(TypedDict):
    NotificationConfigurations: List[NotificationConfigurationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See NotificationConfigurationTypeDef
  2. See ResponseMetadataTypeDef

DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef#

# DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef definition

class DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    ScheduledActionNames: NotRequired[Sequence[str]],
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeScheduledActionsTypeRequestTypeDef#

# DescribeScheduledActionsTypeRequestTypeDef definition

class DescribeScheduledActionsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    ScheduledActionNames: NotRequired[Sequence[str]],
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

GetPredictiveScalingForecastTypeRequestTypeDef#

# GetPredictiveScalingForecastTypeRequestTypeDef definition

class GetPredictiveScalingForecastTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PolicyName: str,
    StartTime: TimestampTypeDef,
    EndTime: TimestampTypeDef,

PutScheduledUpdateGroupActionTypeRequestTypeDef#

# PutScheduledUpdateGroupActionTypeRequestTypeDef definition

class PutScheduledUpdateGroupActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledActionName: str,
    Time: NotRequired[TimestampTypeDef],
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    Recurrence: NotRequired[str],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    DesiredCapacity: NotRequired[int],
    TimeZone: NotRequired[str],

ScheduledUpdateGroupActionRequestTypeDef#

# ScheduledUpdateGroupActionRequestTypeDef definition

class ScheduledUpdateGroupActionRequestTypeDef(TypedDict):
    ScheduledActionName: str,
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    Recurrence: NotRequired[str],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    DesiredCapacity: NotRequired[int],
    TimeZone: NotRequired[str],

DescribeTrafficSourcesResponseTypeDef#

# DescribeTrafficSourcesResponseTypeDef definition

class DescribeTrafficSourcesResponseTypeDef(TypedDict):
    TrafficSources: List[TrafficSourceStateTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See TrafficSourceStateTypeDef
  2. See ResponseMetadataTypeDef

InstanceRefreshProgressDetailsTypeDef#

# InstanceRefreshProgressDetailsTypeDef definition

class InstanceRefreshProgressDetailsTypeDef(TypedDict):
    LivePoolProgress: NotRequired[InstanceRefreshLivePoolProgressTypeDef],  # (1)
    WarmPoolProgress: NotRequired[InstanceRefreshWarmPoolProgressTypeDef],  # (2)
  1. See InstanceRefreshLivePoolProgressTypeDef
  2. See InstanceRefreshWarmPoolProgressTypeDef

PutWarmPoolTypeRequestTypeDef#

# PutWarmPoolTypeRequestTypeDef definition

class PutWarmPoolTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    MaxGroupPreparedCapacity: NotRequired[int],
    MinSize: NotRequired[int],
    PoolState: NotRequired[WarmPoolStateType],  # (1)
    InstanceReusePolicy: NotRequired[InstanceReusePolicyTypeDef],  # (2)
  1. See WarmPoolStateType
  2. See InstanceReusePolicyTypeDef

WarmPoolConfigurationTypeDef#

# WarmPoolConfigurationTypeDef definition

class WarmPoolConfigurationTypeDef(TypedDict):
    MaxGroupPreparedCapacity: NotRequired[int],
    MinSize: NotRequired[int],
    PoolState: NotRequired[WarmPoolStateType],  # (1)
    Status: NotRequired[WarmPoolStatusType],  # (2)
    InstanceReusePolicy: NotRequired[InstanceReusePolicyTypeDef],  # (3)
  1. See WarmPoolStateType
  2. See WarmPoolStatusType
  3. See InstanceReusePolicyTypeDef

ProcessesTypeTypeDef#

# ProcessesTypeTypeDef definition

class ProcessesTypeTypeDef(TypedDict):
    Processes: List[ProcessTypeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProcessTypeTypeDef
  2. See ResponseMetadataTypeDef

ScheduledActionsTypeTypeDef#

# ScheduledActionsTypeTypeDef definition

class ScheduledActionsTypeTypeDef(TypedDict):
    ScheduledUpdateGroupActions: List[ScheduledUpdateGroupActionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ScheduledUpdateGroupActionTypeDef
  2. See ResponseMetadataTypeDef

RefreshPreferencesTypeDef#

# RefreshPreferencesTypeDef definition

class RefreshPreferencesTypeDef(TypedDict):
    MinHealthyPercentage: NotRequired[int],
    InstanceWarmup: NotRequired[int],
    CheckpointPercentages: NotRequired[Sequence[int]],
    CheckpointDelay: NotRequired[int],
    SkipMatching: NotRequired[bool],
    AutoRollback: NotRequired[bool],
    ScaleInProtectedInstances: NotRequired[ScaleInProtectedInstancesType],  # (1)
    StandbyInstances: NotRequired[StandbyInstancesType],  # (2)
    AlarmSpecification: NotRequired[AlarmSpecificationUnionTypeDef],  # (3)
    MaxHealthyPercentage: NotRequired[int],
    BakeTime: NotRequired[int],
  1. See ScaleInProtectedInstancesType
  2. See StandbyInstancesType
  3. See AlarmSpecificationTypeDef AlarmSpecificationOutputTypeDef

AutoScalingInstancesTypeTypeDef#

# AutoScalingInstancesTypeTypeDef definition

class AutoScalingInstancesTypeTypeDef(TypedDict):
    AutoScalingInstances: List[AutoScalingInstanceDetailsTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See AutoScalingInstanceDetailsTypeDef
  2. See ResponseMetadataTypeDef

CreateLaunchConfigurationTypeRequestTypeDef#

# CreateLaunchConfigurationTypeRequestTypeDef definition

class CreateLaunchConfigurationTypeRequestTypeDef(TypedDict):
    LaunchConfigurationName: str,
    ImageId: NotRequired[str],
    KeyName: NotRequired[str],
    SecurityGroups: NotRequired[Sequence[str]],
    ClassicLinkVPCId: NotRequired[str],
    ClassicLinkVPCSecurityGroups: NotRequired[Sequence[str]],
    UserData: NotRequired[str],
    InstanceId: NotRequired[str],
    InstanceType: NotRequired[str],
    KernelId: NotRequired[str],
    RamdiskId: NotRequired[str],
    BlockDeviceMappings: NotRequired[Sequence[BlockDeviceMappingTypeDef]],  # (1)
    InstanceMonitoring: NotRequired[InstanceMonitoringTypeDef],  # (2)
    SpotPrice: NotRequired[str],
    IamInstanceProfile: NotRequired[str],
    EbsOptimized: NotRequired[bool],
    AssociatePublicIpAddress: NotRequired[bool],
    PlacementTenancy: NotRequired[str],
    MetadataOptions: NotRequired[InstanceMetadataOptionsTypeDef],  # (3)
  1. See BlockDeviceMappingTypeDef
  2. See InstanceMonitoringTypeDef
  3. See InstanceMetadataOptionsTypeDef

LaunchConfigurationTypeDef#

# LaunchConfigurationTypeDef definition

class LaunchConfigurationTypeDef(TypedDict):
    LaunchConfigurationName: str,
    ImageId: str,
    InstanceType: str,
    CreatedTime: datetime,
    LaunchConfigurationARN: NotRequired[str],
    KeyName: NotRequired[str],
    SecurityGroups: NotRequired[List[str]],
    ClassicLinkVPCId: NotRequired[str],
    ClassicLinkVPCSecurityGroups: NotRequired[List[str]],
    UserData: NotRequired[str],
    KernelId: NotRequired[str],
    RamdiskId: NotRequired[str],
    BlockDeviceMappings: NotRequired[List[BlockDeviceMappingTypeDef]],  # (1)
    InstanceMonitoring: NotRequired[InstanceMonitoringTypeDef],  # (2)
    SpotPrice: NotRequired[str],
    IamInstanceProfile: NotRequired[str],
    EbsOptimized: NotRequired[bool],
    AssociatePublicIpAddress: NotRequired[bool],
    PlacementTenancy: NotRequired[str],
    MetadataOptions: NotRequired[InstanceMetadataOptionsTypeDef],  # (3)
  1. See BlockDeviceMappingTypeDef
  2. See InstanceMonitoringTypeDef
  3. See InstanceMetadataOptionsTypeDef

CapacityReservationSpecificationTypeDef#

# CapacityReservationSpecificationTypeDef definition

class CapacityReservationSpecificationTypeDef(TypedDict):
    CapacityReservationPreference: NotRequired[CapacityReservationPreferenceType],  # (1)
    CapacityReservationTarget: NotRequired[CapacityReservationTargetUnionTypeDef],  # (2)
  1. See CapacityReservationPreferenceType
  2. See CapacityReservationTargetTypeDef CapacityReservationTargetOutputTypeDef

BaselinePerformanceFactorsRequestOutputTypeDef#

# BaselinePerformanceFactorsRequestOutputTypeDef definition

class BaselinePerformanceFactorsRequestOutputTypeDef(TypedDict):
    Cpu: NotRequired[CpuPerformanceFactorRequestOutputTypeDef],  # (1)
  1. See CpuPerformanceFactorRequestOutputTypeDef

MetricStatOutputTypeDef#

# MetricStatOutputTypeDef definition

class MetricStatOutputTypeDef(TypedDict):
    Metric: MetricOutputTypeDef,  # (1)
    Stat: str,
    Unit: NotRequired[str],
  1. See MetricOutputTypeDef

TargetTrackingMetricStatOutputTypeDef#

# TargetTrackingMetricStatOutputTypeDef definition

class TargetTrackingMetricStatOutputTypeDef(TypedDict):
    Metric: MetricOutputTypeDef,  # (1)
    Stat: str,
    Unit: NotRequired[str],
  1. See MetricOutputTypeDef

BatchPutScheduledUpdateGroupActionTypeRequestTypeDef#

# BatchPutScheduledUpdateGroupActionTypeRequestTypeDef definition

class BatchPutScheduledUpdateGroupActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledUpdateGroupActions: Sequence[ScheduledUpdateGroupActionRequestTypeDef],  # (1)
  1. See ScheduledUpdateGroupActionRequestTypeDef

RollbackDetailsTypeDef#

# RollbackDetailsTypeDef definition

class RollbackDetailsTypeDef(TypedDict):
    RollbackReason: NotRequired[str],
    RollbackStartTime: NotRequired[datetime],
    PercentageCompleteOnRollback: NotRequired[int],
    InstancesToUpdateOnRollback: NotRequired[int],
    ProgressDetailsOnRollback: NotRequired[InstanceRefreshProgressDetailsTypeDef],  # (1)
  1. See InstanceRefreshProgressDetailsTypeDef

DescribeWarmPoolAnswerTypeDef#

# DescribeWarmPoolAnswerTypeDef definition

class DescribeWarmPoolAnswerTypeDef(TypedDict):
    WarmPoolConfiguration: WarmPoolConfigurationTypeDef,  # (1)
    Instances: List[InstanceTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
    NextToken: NotRequired[str],
  1. See WarmPoolConfigurationTypeDef
  2. See InstanceTypeDef
  3. See ResponseMetadataTypeDef

LaunchConfigurationsTypeTypeDef#

# LaunchConfigurationsTypeTypeDef definition

class LaunchConfigurationsTypeTypeDef(TypedDict):
    LaunchConfigurations: List[LaunchConfigurationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See LaunchConfigurationTypeDef
  2. See ResponseMetadataTypeDef

InstanceRequirementsOutputTypeDef#

# InstanceRequirementsOutputTypeDef definition

class InstanceRequirementsOutputTypeDef(TypedDict):
    VCpuCount: VCpuCountRequestTypeDef,  # (1)
    MemoryMiB: MemoryMiBRequestTypeDef,  # (2)
    CpuManufacturers: NotRequired[List[CpuManufacturerType]],  # (3)
    MemoryGiBPerVCpu: NotRequired[MemoryGiBPerVCpuRequestTypeDef],  # (4)
    ExcludedInstanceTypes: NotRequired[List[str]],
    InstanceGenerations: NotRequired[List[InstanceGenerationType]],  # (5)
    SpotMaxPricePercentageOverLowestPrice: NotRequired[int],
    MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: NotRequired[int],
    OnDemandMaxPricePercentageOverLowestPrice: NotRequired[int],
    BareMetal: NotRequired[BareMetalType],  # (6)
    BurstablePerformance: NotRequired[BurstablePerformanceType],  # (7)
    RequireHibernateSupport: NotRequired[bool],
    NetworkInterfaceCount: NotRequired[NetworkInterfaceCountRequestTypeDef],  # (8)
    LocalStorage: NotRequired[LocalStorageType],  # (9)
    LocalStorageTypes: NotRequired[List[LocalStorageTypeType]],  # (10)
    TotalLocalStorageGB: NotRequired[TotalLocalStorageGBRequestTypeDef],  # (11)
    BaselineEbsBandwidthMbps: NotRequired[BaselineEbsBandwidthMbpsRequestTypeDef],  # (12)
    AcceleratorTypes: NotRequired[List[AcceleratorTypeType]],  # (13)
    AcceleratorCount: NotRequired[AcceleratorCountRequestTypeDef],  # (14)
    AcceleratorManufacturers: NotRequired[List[AcceleratorManufacturerType]],  # (15)
    AcceleratorNames: NotRequired[List[AcceleratorNameType]],  # (16)
    AcceleratorTotalMemoryMiB: NotRequired[AcceleratorTotalMemoryMiBRequestTypeDef],  # (17)
    NetworkBandwidthGbps: NotRequired[NetworkBandwidthGbpsRequestTypeDef],  # (18)
    AllowedInstanceTypes: NotRequired[List[str]],
    BaselinePerformanceFactors: NotRequired[BaselinePerformanceFactorsRequestOutputTypeDef],  # (19)
  1. See VCpuCountRequestTypeDef
  2. See MemoryMiBRequestTypeDef
  3. See CpuManufacturerType
  4. See MemoryGiBPerVCpuRequestTypeDef
  5. See InstanceGenerationType
  6. See BareMetalType
  7. See BurstablePerformanceType
  8. See NetworkInterfaceCountRequestTypeDef
  9. See LocalStorageType
  10. See LocalStorageTypeType
  11. See TotalLocalStorageGBRequestTypeDef
  12. See BaselineEbsBandwidthMbpsRequestTypeDef
  13. See AcceleratorTypeType
  14. See AcceleratorCountRequestTypeDef
  15. See AcceleratorManufacturerType
  16. See AcceleratorNameType
  17. See AcceleratorTotalMemoryMiBRequestTypeDef
  18. See NetworkBandwidthGbpsRequestTypeDef
  19. See BaselinePerformanceFactorsRequestOutputTypeDef

BaselinePerformanceFactorsRequestTypeDef#

# BaselinePerformanceFactorsRequestTypeDef definition

class BaselinePerformanceFactorsRequestTypeDef(TypedDict):
    Cpu: NotRequired[CpuPerformanceFactorRequestUnionTypeDef],  # (1)
  1. See CpuPerformanceFactorRequestTypeDef CpuPerformanceFactorRequestOutputTypeDef

MetricDataQueryOutputTypeDef#

# MetricDataQueryOutputTypeDef definition

class MetricDataQueryOutputTypeDef(TypedDict):
    Id: str,
    Expression: NotRequired[str],
    MetricStat: NotRequired[MetricStatOutputTypeDef],  # (1)
    Label: NotRequired[str],
    ReturnData: NotRequired[bool],
  1. See MetricStatOutputTypeDef

TargetTrackingMetricDataQueryOutputTypeDef#

# TargetTrackingMetricDataQueryOutputTypeDef definition

class TargetTrackingMetricDataQueryOutputTypeDef(TypedDict):
    Id: str,
    Expression: NotRequired[str],
    MetricStat: NotRequired[TargetTrackingMetricStatOutputTypeDef],  # (1)
    Label: NotRequired[str],
    ReturnData: NotRequired[bool],
  1. See TargetTrackingMetricStatOutputTypeDef

MetricStatTypeDef#

# MetricStatTypeDef definition

class MetricStatTypeDef(TypedDict):
    Metric: MetricUnionTypeDef,  # (1)
    Stat: str,
    Unit: NotRequired[str],
  1. See MetricTypeDef MetricOutputTypeDef

TargetTrackingMetricStatTypeDef#

# TargetTrackingMetricStatTypeDef definition

class TargetTrackingMetricStatTypeDef(TypedDict):
    Metric: MetricUnionTypeDef,  # (1)
    Stat: str,
    Unit: NotRequired[str],
  1. See MetricTypeDef MetricOutputTypeDef

LaunchTemplateOverridesOutputTypeDef#

# LaunchTemplateOverridesOutputTypeDef definition

class LaunchTemplateOverridesOutputTypeDef(TypedDict):
    InstanceType: NotRequired[str],
    WeightedCapacity: NotRequired[str],
    LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    InstanceRequirements: NotRequired[InstanceRequirementsOutputTypeDef],  # (2)
  1. See LaunchTemplateSpecificationTypeDef
  2. See InstanceRequirementsOutputTypeDef

PredictiveScalingCustomizedCapacityMetricOutputTypeDef#

# PredictiveScalingCustomizedCapacityMetricOutputTypeDef definition

class PredictiveScalingCustomizedCapacityMetricOutputTypeDef(TypedDict):
    MetricDataQueries: List[MetricDataQueryOutputTypeDef],  # (1)
  1. See MetricDataQueryOutputTypeDef

PredictiveScalingCustomizedLoadMetricOutputTypeDef#

# PredictiveScalingCustomizedLoadMetricOutputTypeDef definition

class PredictiveScalingCustomizedLoadMetricOutputTypeDef(TypedDict):
    MetricDataQueries: List[MetricDataQueryOutputTypeDef],  # (1)
  1. See MetricDataQueryOutputTypeDef

PredictiveScalingCustomizedScalingMetricOutputTypeDef#

# PredictiveScalingCustomizedScalingMetricOutputTypeDef definition

class PredictiveScalingCustomizedScalingMetricOutputTypeDef(TypedDict):
    MetricDataQueries: List[MetricDataQueryOutputTypeDef],  # (1)
  1. See MetricDataQueryOutputTypeDef

CustomizedMetricSpecificationOutputTypeDef#

# CustomizedMetricSpecificationOutputTypeDef definition

class CustomizedMetricSpecificationOutputTypeDef(TypedDict):
    MetricName: NotRequired[str],
    Namespace: NotRequired[str],
    Dimensions: NotRequired[List[MetricDimensionTypeDef]],  # (1)
    Statistic: NotRequired[MetricStatisticType],  # (2)
    Unit: NotRequired[str],
    Metrics: NotRequired[List[TargetTrackingMetricDataQueryOutputTypeDef]],  # (3)
  1. See MetricDimensionTypeDef
  2. See MetricStatisticType
  3. See TargetTrackingMetricDataQueryOutputTypeDef

LaunchTemplateOutputTypeDef#

# LaunchTemplateOutputTypeDef definition

class LaunchTemplateOutputTypeDef(TypedDict):
    LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    Overrides: NotRequired[List[LaunchTemplateOverridesOutputTypeDef]],  # (2)
  1. See LaunchTemplateSpecificationTypeDef
  2. See LaunchTemplateOverridesOutputTypeDef

InstanceRequirementsTypeDef#

# InstanceRequirementsTypeDef definition

class InstanceRequirementsTypeDef(TypedDict):
    VCpuCount: VCpuCountRequestTypeDef,  # (1)
    MemoryMiB: MemoryMiBRequestTypeDef,  # (2)
    CpuManufacturers: NotRequired[Sequence[CpuManufacturerType]],  # (3)
    MemoryGiBPerVCpu: NotRequired[MemoryGiBPerVCpuRequestTypeDef],  # (4)
    ExcludedInstanceTypes: NotRequired[Sequence[str]],
    InstanceGenerations: NotRequired[Sequence[InstanceGenerationType]],  # (5)
    SpotMaxPricePercentageOverLowestPrice: NotRequired[int],
    MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: NotRequired[int],
    OnDemandMaxPricePercentageOverLowestPrice: NotRequired[int],
    BareMetal: NotRequired[BareMetalType],  # (6)
    BurstablePerformance: NotRequired[BurstablePerformanceType],  # (7)
    RequireHibernateSupport: NotRequired[bool],
    NetworkInterfaceCount: NotRequired[NetworkInterfaceCountRequestTypeDef],  # (8)
    LocalStorage: NotRequired[LocalStorageType],  # (9)
    LocalStorageTypes: NotRequired[Sequence[LocalStorageTypeType]],  # (10)
    TotalLocalStorageGB: NotRequired[TotalLocalStorageGBRequestTypeDef],  # (11)
    BaselineEbsBandwidthMbps: NotRequired[BaselineEbsBandwidthMbpsRequestTypeDef],  # (12)
    AcceleratorTypes: NotRequired[Sequence[AcceleratorTypeType]],  # (13)
    AcceleratorCount: NotRequired[AcceleratorCountRequestTypeDef],  # (14)
    AcceleratorManufacturers: NotRequired[Sequence[AcceleratorManufacturerType]],  # (15)
    AcceleratorNames: NotRequired[Sequence[AcceleratorNameType]],  # (16)
    AcceleratorTotalMemoryMiB: NotRequired[AcceleratorTotalMemoryMiBRequestTypeDef],  # (17)
    NetworkBandwidthGbps: NotRequired[NetworkBandwidthGbpsRequestTypeDef],  # (18)
    AllowedInstanceTypes: NotRequired[Sequence[str]],
    BaselinePerformanceFactors: NotRequired[BaselinePerformanceFactorsRequestUnionTypeDef],  # (19)
  1. See VCpuCountRequestTypeDef
  2. See MemoryMiBRequestTypeDef
  3. See CpuManufacturerType
  4. See MemoryGiBPerVCpuRequestTypeDef
  5. See InstanceGenerationType
  6. See BareMetalType
  7. See BurstablePerformanceType
  8. See NetworkInterfaceCountRequestTypeDef
  9. See LocalStorageType
  10. See LocalStorageTypeType
  11. See TotalLocalStorageGBRequestTypeDef
  12. See BaselineEbsBandwidthMbpsRequestTypeDef
  13. See AcceleratorTypeType
  14. See AcceleratorCountRequestTypeDef
  15. See AcceleratorManufacturerType
  16. See AcceleratorNameType
  17. See AcceleratorTotalMemoryMiBRequestTypeDef
  18. See NetworkBandwidthGbpsRequestTypeDef
  19. See BaselinePerformanceFactorsRequestTypeDef BaselinePerformanceFactorsRequestOutputTypeDef

PredictiveScalingMetricSpecificationOutputTypeDef#

# PredictiveScalingMetricSpecificationOutputTypeDef definition

class PredictiveScalingMetricSpecificationOutputTypeDef(TypedDict):
    TargetValue: float,
    PredefinedMetricPairSpecification: NotRequired[PredictiveScalingPredefinedMetricPairTypeDef],  # (1)
    PredefinedScalingMetricSpecification: NotRequired[PredictiveScalingPredefinedScalingMetricTypeDef],  # (2)
    PredefinedLoadMetricSpecification: NotRequired[PredictiveScalingPredefinedLoadMetricTypeDef],  # (3)
    CustomizedScalingMetricSpecification: NotRequired[PredictiveScalingCustomizedScalingMetricOutputTypeDef],  # (4)
    CustomizedLoadMetricSpecification: NotRequired[PredictiveScalingCustomizedLoadMetricOutputTypeDef],  # (5)
    CustomizedCapacityMetricSpecification: NotRequired[PredictiveScalingCustomizedCapacityMetricOutputTypeDef],  # (6)
  1. See PredictiveScalingPredefinedMetricPairTypeDef
  2. See PredictiveScalingPredefinedScalingMetricTypeDef
  3. See PredictiveScalingPredefinedLoadMetricTypeDef
  4. See PredictiveScalingCustomizedScalingMetricOutputTypeDef
  5. See PredictiveScalingCustomizedLoadMetricOutputTypeDef
  6. See PredictiveScalingCustomizedCapacityMetricOutputTypeDef

TargetTrackingConfigurationOutputTypeDef#

# TargetTrackingConfigurationOutputTypeDef definition

class TargetTrackingConfigurationOutputTypeDef(TypedDict):
    TargetValue: float,
    PredefinedMetricSpecification: NotRequired[PredefinedMetricSpecificationTypeDef],  # (1)
    CustomizedMetricSpecification: NotRequired[CustomizedMetricSpecificationOutputTypeDef],  # (2)
    DisableScaleIn: NotRequired[bool],
  1. See PredefinedMetricSpecificationTypeDef
  2. See CustomizedMetricSpecificationOutputTypeDef

MetricDataQueryTypeDef#

# MetricDataQueryTypeDef definition

class MetricDataQueryTypeDef(TypedDict):
    Id: str,
    Expression: NotRequired[str],
    MetricStat: NotRequired[MetricStatUnionTypeDef],  # (1)
    Label: NotRequired[str],
    ReturnData: NotRequired[bool],
  1. See MetricStatTypeDef MetricStatOutputTypeDef

TargetTrackingMetricDataQueryTypeDef#

# TargetTrackingMetricDataQueryTypeDef definition

class TargetTrackingMetricDataQueryTypeDef(TypedDict):
    Id: str,
    Expression: NotRequired[str],
    MetricStat: NotRequired[TargetTrackingMetricStatUnionTypeDef],  # (1)
    Label: NotRequired[str],
    ReturnData: NotRequired[bool],
  1. See TargetTrackingMetricStatTypeDef TargetTrackingMetricStatOutputTypeDef

MixedInstancesPolicyOutputTypeDef#

# MixedInstancesPolicyOutputTypeDef definition

class MixedInstancesPolicyOutputTypeDef(TypedDict):
    LaunchTemplate: NotRequired[LaunchTemplateOutputTypeDef],  # (1)
    InstancesDistribution: NotRequired[InstancesDistributionTypeDef],  # (2)
  1. See LaunchTemplateOutputTypeDef
  2. See InstancesDistributionTypeDef

LoadForecastTypeDef#

# LoadForecastTypeDef definition

class LoadForecastTypeDef(TypedDict):
    Timestamps: List[datetime],
    Values: List[float],
    MetricSpecification: PredictiveScalingMetricSpecificationOutputTypeDef,  # (1)
  1. See PredictiveScalingMetricSpecificationOutputTypeDef

PredictiveScalingConfigurationOutputTypeDef#

# PredictiveScalingConfigurationOutputTypeDef definition

class PredictiveScalingConfigurationOutputTypeDef(TypedDict):
    MetricSpecifications: List[PredictiveScalingMetricSpecificationOutputTypeDef],  # (1)
    Mode: NotRequired[PredictiveScalingModeType],  # (2)
    SchedulingBufferTime: NotRequired[int],
    MaxCapacityBreachBehavior: NotRequired[PredictiveScalingMaxCapacityBreachBehaviorType],  # (3)
    MaxCapacityBuffer: NotRequired[int],
  1. See PredictiveScalingMetricSpecificationOutputTypeDef
  2. See PredictiveScalingModeType
  3. See PredictiveScalingMaxCapacityBreachBehaviorType

PredictiveScalingCustomizedCapacityMetricTypeDef#

# PredictiveScalingCustomizedCapacityMetricTypeDef definition

class PredictiveScalingCustomizedCapacityMetricTypeDef(TypedDict):
    MetricDataQueries: Sequence[MetricDataQueryTypeDef],  # (1)
  1. See MetricDataQueryTypeDef

PredictiveScalingCustomizedLoadMetricTypeDef#

# PredictiveScalingCustomizedLoadMetricTypeDef definition

class PredictiveScalingCustomizedLoadMetricTypeDef(TypedDict):
    MetricDataQueries: Sequence[MetricDataQueryTypeDef],  # (1)
  1. See MetricDataQueryTypeDef

AutoScalingGroupTypeDef#

# AutoScalingGroupTypeDef definition

class AutoScalingGroupTypeDef(TypedDict):
    AutoScalingGroupName: str,
    MinSize: int,
    MaxSize: int,
    DesiredCapacity: int,
    DefaultCooldown: int,
    AvailabilityZones: List[str],
    HealthCheckType: str,
    CreatedTime: datetime,
    AutoScalingGroupARN: NotRequired[str],
    LaunchConfigurationName: NotRequired[str],
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    MixedInstancesPolicy: NotRequired[MixedInstancesPolicyOutputTypeDef],  # (2)
    PredictedCapacity: NotRequired[int],
    LoadBalancerNames: NotRequired[List[str]],
    TargetGroupARNs: NotRequired[List[str]],
    HealthCheckGracePeriod: NotRequired[int],
    Instances: NotRequired[List[InstanceTypeDef]],  # (3)
    SuspendedProcesses: NotRequired[List[SuspendedProcessTypeDef]],  # (4)
    PlacementGroup: NotRequired[str],
    VPCZoneIdentifier: NotRequired[str],
    EnabledMetrics: NotRequired[List[EnabledMetricTypeDef]],  # (5)
    Status: NotRequired[str],
    Tags: NotRequired[List[TagDescriptionTypeDef]],  # (6)
    TerminationPolicies: NotRequired[List[str]],
    NewInstancesProtectedFromScaleIn: NotRequired[bool],
    ServiceLinkedRoleARN: NotRequired[str],
    MaxInstanceLifetime: NotRequired[int],
    CapacityRebalance: NotRequired[bool],
    WarmPoolConfiguration: NotRequired[WarmPoolConfigurationTypeDef],  # (7)
    WarmPoolSize: NotRequired[int],
    Context: NotRequired[str],
    DesiredCapacityType: NotRequired[str],
    DefaultInstanceWarmup: NotRequired[int],
    TrafficSources: NotRequired[List[TrafficSourceIdentifierTypeDef]],  # (8)
    InstanceMaintenancePolicy: NotRequired[InstanceMaintenancePolicyTypeDef],  # (9)
    AvailabilityZoneDistribution: NotRequired[AvailabilityZoneDistributionTypeDef],  # (10)
    AvailabilityZoneImpairmentPolicy: NotRequired[AvailabilityZoneImpairmentPolicyTypeDef],  # (11)
    CapacityReservationSpecification: NotRequired[CapacityReservationSpecificationOutputTypeDef],  # (12)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyOutputTypeDef
  3. See InstanceTypeDef
  4. See SuspendedProcessTypeDef
  5. See EnabledMetricTypeDef
  6. See TagDescriptionTypeDef
  7. See WarmPoolConfigurationTypeDef
  8. See TrafficSourceIdentifierTypeDef
  9. See InstanceMaintenancePolicyTypeDef
  10. See AvailabilityZoneDistributionTypeDef
  11. See AvailabilityZoneImpairmentPolicyTypeDef
  12. See CapacityReservationSpecificationOutputTypeDef

DesiredConfigurationOutputTypeDef#

# DesiredConfigurationOutputTypeDef definition

class DesiredConfigurationOutputTypeDef(TypedDict):
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    MixedInstancesPolicy: NotRequired[MixedInstancesPolicyOutputTypeDef],  # (2)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyOutputTypeDef

LaunchTemplateOverridesTypeDef#

# LaunchTemplateOverridesTypeDef definition

class LaunchTemplateOverridesTypeDef(TypedDict):
    InstanceType: NotRequired[str],
    WeightedCapacity: NotRequired[str],
    LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    InstanceRequirements: NotRequired[InstanceRequirementsUnionTypeDef],  # (2)
  1. See LaunchTemplateSpecificationTypeDef
  2. See InstanceRequirementsTypeDef InstanceRequirementsOutputTypeDef

GetPredictiveScalingForecastAnswerTypeDef#

# GetPredictiveScalingForecastAnswerTypeDef definition

class GetPredictiveScalingForecastAnswerTypeDef(TypedDict):
    LoadForecast: List[LoadForecastTypeDef],  # (1)
    CapacityForecast: CapacityForecastTypeDef,  # (2)
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LoadForecastTypeDef
  2. See CapacityForecastTypeDef
  3. See ResponseMetadataTypeDef

ScalingPolicyTypeDef#

# ScalingPolicyTypeDef definition

class ScalingPolicyTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    PolicyName: NotRequired[str],
    PolicyARN: NotRequired[str],
    PolicyType: NotRequired[str],
    AdjustmentType: NotRequired[str],
    MinAdjustmentStep: NotRequired[int],
    MinAdjustmentMagnitude: NotRequired[int],
    ScalingAdjustment: NotRequired[int],
    Cooldown: NotRequired[int],
    StepAdjustments: NotRequired[List[StepAdjustmentTypeDef]],  # (1)
    MetricAggregationType: NotRequired[str],
    EstimatedInstanceWarmup: NotRequired[int],
    Alarms: NotRequired[List[AlarmTypeDef]],  # (2)
    TargetTrackingConfiguration: NotRequired[TargetTrackingConfigurationOutputTypeDef],  # (3)
    Enabled: NotRequired[bool],
    PredictiveScalingConfiguration: NotRequired[PredictiveScalingConfigurationOutputTypeDef],  # (4)
  1. See StepAdjustmentTypeDef
  2. See AlarmTypeDef
  3. See TargetTrackingConfigurationOutputTypeDef
  4. See PredictiveScalingConfigurationOutputTypeDef

PredictiveScalingCustomizedScalingMetricTypeDef#

# PredictiveScalingCustomizedScalingMetricTypeDef definition

class PredictiveScalingCustomizedScalingMetricTypeDef(TypedDict):
    MetricDataQueries: Sequence[MetricDataQueryUnionTypeDef],  # (1)
  1. See MetricDataQueryTypeDef MetricDataQueryOutputTypeDef

CustomizedMetricSpecificationTypeDef#

# CustomizedMetricSpecificationTypeDef definition

class CustomizedMetricSpecificationTypeDef(TypedDict):
    MetricName: NotRequired[str],
    Namespace: NotRequired[str],
    Dimensions: NotRequired[Sequence[MetricDimensionTypeDef]],  # (1)
    Statistic: NotRequired[MetricStatisticType],  # (2)
    Unit: NotRequired[str],
    Metrics: NotRequired[Sequence[TargetTrackingMetricDataQueryUnionTypeDef]],  # (3)
  1. See MetricDimensionTypeDef
  2. See MetricStatisticType
  3. See TargetTrackingMetricDataQueryTypeDef TargetTrackingMetricDataQueryOutputTypeDef

AutoScalingGroupsTypeTypeDef#

# AutoScalingGroupsTypeTypeDef definition

class AutoScalingGroupsTypeTypeDef(TypedDict):
    AutoScalingGroups: List[AutoScalingGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See AutoScalingGroupTypeDef
  2. See ResponseMetadataTypeDef

InstanceRefreshTypeDef#

# InstanceRefreshTypeDef definition

class InstanceRefreshTypeDef(TypedDict):
    InstanceRefreshId: NotRequired[str],
    AutoScalingGroupName: NotRequired[str],
    Status: NotRequired[InstanceRefreshStatusType],  # (1)
    StatusReason: NotRequired[str],
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    PercentageComplete: NotRequired[int],
    InstancesToUpdate: NotRequired[int],
    ProgressDetails: NotRequired[InstanceRefreshProgressDetailsTypeDef],  # (2)
    Preferences: NotRequired[RefreshPreferencesOutputTypeDef],  # (3)
    DesiredConfiguration: NotRequired[DesiredConfigurationOutputTypeDef],  # (4)
    RollbackDetails: NotRequired[RollbackDetailsTypeDef],  # (5)
  1. See InstanceRefreshStatusType
  2. See InstanceRefreshProgressDetailsTypeDef
  3. See RefreshPreferencesOutputTypeDef
  4. See DesiredConfigurationOutputTypeDef
  5. See RollbackDetailsTypeDef

PoliciesTypeTypeDef#

# PoliciesTypeTypeDef definition

class PoliciesTypeTypeDef(TypedDict):
    ScalingPolicies: List[ScalingPolicyTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ScalingPolicyTypeDef
  2. See ResponseMetadataTypeDef

DescribeInstanceRefreshesAnswerTypeDef#

# DescribeInstanceRefreshesAnswerTypeDef definition

class DescribeInstanceRefreshesAnswerTypeDef(TypedDict):
    InstanceRefreshes: List[InstanceRefreshTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See InstanceRefreshTypeDef
  2. See ResponseMetadataTypeDef

LaunchTemplateTypeDef#

# LaunchTemplateTypeDef definition

class LaunchTemplateTypeDef(TypedDict):
    LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    Overrides: NotRequired[Sequence[LaunchTemplateOverridesUnionTypeDef]],  # (2)
  1. See LaunchTemplateSpecificationTypeDef
  2. See LaunchTemplateOverridesTypeDef LaunchTemplateOverridesOutputTypeDef

PredictiveScalingMetricSpecificationTypeDef#

# PredictiveScalingMetricSpecificationTypeDef definition

class PredictiveScalingMetricSpecificationTypeDef(TypedDict):
    TargetValue: float,
    PredefinedMetricPairSpecification: NotRequired[PredictiveScalingPredefinedMetricPairTypeDef],  # (1)
    PredefinedScalingMetricSpecification: NotRequired[PredictiveScalingPredefinedScalingMetricTypeDef],  # (2)
    PredefinedLoadMetricSpecification: NotRequired[PredictiveScalingPredefinedLoadMetricTypeDef],  # (3)
    CustomizedScalingMetricSpecification: NotRequired[PredictiveScalingCustomizedScalingMetricUnionTypeDef],  # (4)
    CustomizedLoadMetricSpecification: NotRequired[PredictiveScalingCustomizedLoadMetricUnionTypeDef],  # (5)
    CustomizedCapacityMetricSpecification: NotRequired[PredictiveScalingCustomizedCapacityMetricUnionTypeDef],  # (6)
  1. See PredictiveScalingPredefinedMetricPairTypeDef
  2. See PredictiveScalingPredefinedScalingMetricTypeDef
  3. See PredictiveScalingPredefinedLoadMetricTypeDef
  4. See PredictiveScalingCustomizedScalingMetricTypeDef PredictiveScalingCustomizedScalingMetricOutputTypeDef
  5. See PredictiveScalingCustomizedLoadMetricTypeDef PredictiveScalingCustomizedLoadMetricOutputTypeDef
  6. See PredictiveScalingCustomizedCapacityMetricTypeDef PredictiveScalingCustomizedCapacityMetricOutputTypeDef

TargetTrackingConfigurationTypeDef#

# TargetTrackingConfigurationTypeDef definition

class TargetTrackingConfigurationTypeDef(TypedDict):
    TargetValue: float,
    PredefinedMetricSpecification: NotRequired[PredefinedMetricSpecificationTypeDef],  # (1)
    CustomizedMetricSpecification: NotRequired[CustomizedMetricSpecificationUnionTypeDef],  # (2)
    DisableScaleIn: NotRequired[bool],
  1. See PredefinedMetricSpecificationTypeDef
  2. See CustomizedMetricSpecificationTypeDef CustomizedMetricSpecificationOutputTypeDef

MixedInstancesPolicyTypeDef#

# MixedInstancesPolicyTypeDef definition

class MixedInstancesPolicyTypeDef(TypedDict):
    LaunchTemplate: NotRequired[LaunchTemplateUnionTypeDef],  # (1)
    InstancesDistribution: NotRequired[InstancesDistributionTypeDef],  # (2)
  1. See LaunchTemplateTypeDef LaunchTemplateOutputTypeDef
  2. See InstancesDistributionTypeDef

PredictiveScalingConfigurationTypeDef#

# PredictiveScalingConfigurationTypeDef definition

class PredictiveScalingConfigurationTypeDef(TypedDict):
    MetricSpecifications: Sequence[PredictiveScalingMetricSpecificationUnionTypeDef],  # (1)
    Mode: NotRequired[PredictiveScalingModeType],  # (2)
    SchedulingBufferTime: NotRequired[int],
    MaxCapacityBreachBehavior: NotRequired[PredictiveScalingMaxCapacityBreachBehaviorType],  # (3)
    MaxCapacityBuffer: NotRequired[int],
  1. See PredictiveScalingMetricSpecificationTypeDef PredictiveScalingMetricSpecificationOutputTypeDef
  2. See PredictiveScalingModeType
  3. See PredictiveScalingMaxCapacityBreachBehaviorType

CreateAutoScalingGroupTypeRequestTypeDef#

# CreateAutoScalingGroupTypeRequestTypeDef definition

class CreateAutoScalingGroupTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    MinSize: int,
    MaxSize: int,
    LaunchConfigurationName: NotRequired[str],
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    MixedInstancesPolicy: NotRequired[MixedInstancesPolicyTypeDef],  # (2)
    InstanceId: NotRequired[str],
    DesiredCapacity: NotRequired[int],
    DefaultCooldown: NotRequired[int],
    AvailabilityZones: NotRequired[Sequence[str]],
    LoadBalancerNames: NotRequired[Sequence[str]],
    TargetGroupARNs: NotRequired[Sequence[str]],
    HealthCheckType: NotRequired[str],
    HealthCheckGracePeriod: NotRequired[int],
    PlacementGroup: NotRequired[str],
    VPCZoneIdentifier: NotRequired[str],
    TerminationPolicies: NotRequired[Sequence[str]],
    NewInstancesProtectedFromScaleIn: NotRequired[bool],
    CapacityRebalance: NotRequired[bool],
    LifecycleHookSpecificationList: NotRequired[Sequence[LifecycleHookSpecificationTypeDef]],  # (3)
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
    ServiceLinkedRoleARN: NotRequired[str],
    MaxInstanceLifetime: NotRequired[int],
    Context: NotRequired[str],
    DesiredCapacityType: NotRequired[str],
    DefaultInstanceWarmup: NotRequired[int],
    TrafficSources: NotRequired[Sequence[TrafficSourceIdentifierTypeDef]],  # (5)
    InstanceMaintenancePolicy: NotRequired[InstanceMaintenancePolicyTypeDef],  # (6)
    AvailabilityZoneDistribution: NotRequired[AvailabilityZoneDistributionTypeDef],  # (7)
    AvailabilityZoneImpairmentPolicy: NotRequired[AvailabilityZoneImpairmentPolicyTypeDef],  # (8)
    SkipZonalShiftValidation: NotRequired[bool],
    CapacityReservationSpecification: NotRequired[CapacityReservationSpecificationTypeDef],  # (9)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyTypeDef
  3. See LifecycleHookSpecificationTypeDef
  4. See TagTypeDef
  5. See TrafficSourceIdentifierTypeDef
  6. See InstanceMaintenancePolicyTypeDef
  7. See AvailabilityZoneDistributionTypeDef
  8. See AvailabilityZoneImpairmentPolicyTypeDef
  9. See CapacityReservationSpecificationTypeDef

UpdateAutoScalingGroupTypeRequestTypeDef#

# UpdateAutoScalingGroupTypeRequestTypeDef definition

class UpdateAutoScalingGroupTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LaunchConfigurationName: NotRequired[str],
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    MixedInstancesPolicy: NotRequired[MixedInstancesPolicyTypeDef],  # (2)
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    DesiredCapacity: NotRequired[int],
    DefaultCooldown: NotRequired[int],
    AvailabilityZones: NotRequired[Sequence[str]],
    HealthCheckType: NotRequired[str],
    HealthCheckGracePeriod: NotRequired[int],
    PlacementGroup: NotRequired[str],
    VPCZoneIdentifier: NotRequired[str],
    TerminationPolicies: NotRequired[Sequence[str]],
    NewInstancesProtectedFromScaleIn: NotRequired[bool],
    ServiceLinkedRoleARN: NotRequired[str],
    MaxInstanceLifetime: NotRequired[int],
    CapacityRebalance: NotRequired[bool],
    Context: NotRequired[str],
    DesiredCapacityType: NotRequired[str],
    DefaultInstanceWarmup: NotRequired[int],
    InstanceMaintenancePolicy: NotRequired[InstanceMaintenancePolicyTypeDef],  # (3)
    AvailabilityZoneDistribution: NotRequired[AvailabilityZoneDistributionTypeDef],  # (4)
    AvailabilityZoneImpairmentPolicy: NotRequired[AvailabilityZoneImpairmentPolicyTypeDef],  # (5)
    SkipZonalShiftValidation: NotRequired[bool],
    CapacityReservationSpecification: NotRequired[CapacityReservationSpecificationTypeDef],  # (6)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyTypeDef
  3. See InstanceMaintenancePolicyTypeDef
  4. See AvailabilityZoneDistributionTypeDef
  5. See AvailabilityZoneImpairmentPolicyTypeDef
  6. See CapacityReservationSpecificationTypeDef

PutScalingPolicyTypeRequestTypeDef#

# PutScalingPolicyTypeRequestTypeDef definition

class PutScalingPolicyTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PolicyName: str,
    PolicyType: NotRequired[str],
    AdjustmentType: NotRequired[str],
    MinAdjustmentStep: NotRequired[int],
    MinAdjustmentMagnitude: NotRequired[int],
    ScalingAdjustment: NotRequired[int],
    Cooldown: NotRequired[int],
    MetricAggregationType: NotRequired[str],
    StepAdjustments: NotRequired[Sequence[StepAdjustmentTypeDef]],  # (1)
    EstimatedInstanceWarmup: NotRequired[int],
    TargetTrackingConfiguration: NotRequired[TargetTrackingConfigurationTypeDef],  # (2)
    Enabled: NotRequired[bool],
    PredictiveScalingConfiguration: NotRequired[PredictiveScalingConfigurationTypeDef],  # (3)
  1. See StepAdjustmentTypeDef
  2. See TargetTrackingConfigurationTypeDef
  3. See PredictiveScalingConfigurationTypeDef

DesiredConfigurationTypeDef#

# DesiredConfigurationTypeDef definition

class DesiredConfigurationTypeDef(TypedDict):
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    MixedInstancesPolicy: NotRequired[MixedInstancesPolicyUnionTypeDef],  # (2)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyTypeDef MixedInstancesPolicyOutputTypeDef

StartInstanceRefreshTypeRequestTypeDef#

# StartInstanceRefreshTypeRequestTypeDef definition

class StartInstanceRefreshTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    Strategy: NotRequired[RefreshStrategyType],  # (1)
    DesiredConfiguration: NotRequired[DesiredConfigurationTypeDef],  # (2)
    Preferences: NotRequired[RefreshPreferencesTypeDef],  # (3)
  1. See RefreshStrategyType
  2. See DesiredConfigurationTypeDef
  3. See RefreshPreferencesTypeDef