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)
]
CapacityReservationTargetUnionTypeDef#
# CapacityReservationTargetUnionTypeDef definition
CapacityReservationTargetUnionTypeDef = Union[
CapacityReservationTargetTypeDef, # (1)
CapacityReservationTargetOutputTypeDef, # (2)
]
CpuPerformanceFactorRequestUnionTypeDef#
# CpuPerformanceFactorRequestUnionTypeDef definition
CpuPerformanceFactorRequestUnionTypeDef = Union[
CpuPerformanceFactorRequestTypeDef, # (1)
CpuPerformanceFactorRequestOutputTypeDef, # (2)
]
MetricUnionTypeDef#
# MetricUnionTypeDef definition
MetricUnionTypeDef = Union[
MetricTypeDef, # (1)
MetricOutputTypeDef, # (2)
]
- See MetricTypeDef
- See MetricOutputTypeDef
BaselinePerformanceFactorsRequestUnionTypeDef#
# BaselinePerformanceFactorsRequestUnionTypeDef definition
BaselinePerformanceFactorsRequestUnionTypeDef = Union[
BaselinePerformanceFactorsRequestTypeDef, # (1)
BaselinePerformanceFactorsRequestOutputTypeDef, # (2)
]
MetricStatUnionTypeDef#
# MetricStatUnionTypeDef definition
MetricStatUnionTypeDef = Union[
MetricStatTypeDef, # (1)
MetricStatOutputTypeDef, # (2)
]
TargetTrackingMetricStatUnionTypeDef#
# TargetTrackingMetricStatUnionTypeDef definition
TargetTrackingMetricStatUnionTypeDef = Union[
TargetTrackingMetricStatTypeDef, # (1)
TargetTrackingMetricStatOutputTypeDef, # (2)
]
InstanceRequirementsUnionTypeDef#
# InstanceRequirementsUnionTypeDef definition
InstanceRequirementsUnionTypeDef = Union[
InstanceRequirementsTypeDef, # (1)
InstanceRequirementsOutputTypeDef, # (2)
]
MetricDataQueryUnionTypeDef#
# MetricDataQueryUnionTypeDef definition
MetricDataQueryUnionTypeDef = Union[
MetricDataQueryTypeDef, # (1)
MetricDataQueryOutputTypeDef, # (2)
]
TargetTrackingMetricDataQueryUnionTypeDef#
# TargetTrackingMetricDataQueryUnionTypeDef definition
TargetTrackingMetricDataQueryUnionTypeDef = Union[
TargetTrackingMetricDataQueryTypeDef, # (1)
TargetTrackingMetricDataQueryOutputTypeDef, # (2)
]
PredictiveScalingCustomizedCapacityMetricUnionTypeDef#
# PredictiveScalingCustomizedCapacityMetricUnionTypeDef definition
PredictiveScalingCustomizedCapacityMetricUnionTypeDef = Union[
PredictiveScalingCustomizedCapacityMetricTypeDef, # (1)
PredictiveScalingCustomizedCapacityMetricOutputTypeDef, # (2)
]
- See PredictiveScalingCustomizedCapacityMetricTypeDef
- See PredictiveScalingCustomizedCapacityMetricOutputTypeDef
PredictiveScalingCustomizedLoadMetricUnionTypeDef#
# PredictiveScalingCustomizedLoadMetricUnionTypeDef definition
PredictiveScalingCustomizedLoadMetricUnionTypeDef = Union[
PredictiveScalingCustomizedLoadMetricTypeDef, # (1)
PredictiveScalingCustomizedLoadMetricOutputTypeDef, # (2)
]
- See PredictiveScalingCustomizedLoadMetricTypeDef
- See PredictiveScalingCustomizedLoadMetricOutputTypeDef
LaunchTemplateOverridesUnionTypeDef#
# LaunchTemplateOverridesUnionTypeDef definition
LaunchTemplateOverridesUnionTypeDef = Union[
LaunchTemplateOverridesTypeDef, # (1)
LaunchTemplateOverridesOutputTypeDef, # (2)
]
PredictiveScalingCustomizedScalingMetricUnionTypeDef#
# PredictiveScalingCustomizedScalingMetricUnionTypeDef definition
PredictiveScalingCustomizedScalingMetricUnionTypeDef = Union[
PredictiveScalingCustomizedScalingMetricTypeDef, # (1)
PredictiveScalingCustomizedScalingMetricOutputTypeDef, # (2)
]
- See PredictiveScalingCustomizedScalingMetricTypeDef
- See PredictiveScalingCustomizedScalingMetricOutputTypeDef
CustomizedMetricSpecificationUnionTypeDef#
# CustomizedMetricSpecificationUnionTypeDef definition
CustomizedMetricSpecificationUnionTypeDef = Union[
CustomizedMetricSpecificationTypeDef, # (1)
CustomizedMetricSpecificationOutputTypeDef, # (2)
]
LaunchTemplateUnionTypeDef#
# LaunchTemplateUnionTypeDef definition
LaunchTemplateUnionTypeDef = Union[
LaunchTemplateTypeDef, # (1)
LaunchTemplateOutputTypeDef, # (2)
]
PredictiveScalingMetricSpecificationUnionTypeDef#
# PredictiveScalingMetricSpecificationUnionTypeDef definition
PredictiveScalingMetricSpecificationUnionTypeDef = Union[
PredictiveScalingMetricSpecificationTypeDef, # (1)
PredictiveScalingMetricSpecificationOutputTypeDef, # (2)
]
- See PredictiveScalingMetricSpecificationTypeDef
- See PredictiveScalingMetricSpecificationOutputTypeDef
MixedInstancesPolicyUnionTypeDef#
# MixedInstancesPolicyUnionTypeDef definition
MixedInstancesPolicyUnionTypeDef = Union[
MixedInstancesPolicyTypeDef, # (1)
MixedInstancesPolicyOutputTypeDef, # (2)
]
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],
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)
AvailabilityZoneImpairmentPolicyTypeDef#
# AvailabilityZoneImpairmentPolicyTypeDef definition
class AvailabilityZoneImpairmentPolicyTypeDef(TypedDict):
ZonalShiftEnabled: NotRequired[bool],
ImpairedZoneHealthCheckBehavior: NotRequired[ImpairedZoneHealthCheckBehaviorType], # (1)
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)
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],
- See MetricTypeType
PredictiveScalingPredefinedLoadMetricTypeDef#
# PredictiveScalingPredefinedLoadMetricTypeDef definition
class PredictiveScalingPredefinedLoadMetricTypeDef(TypedDict):
PredefinedMetricType: PredefinedLoadMetricTypeType, # (1)
ResourceLabel: NotRequired[str],
PredictiveScalingPredefinedMetricPairTypeDef#
# PredictiveScalingPredefinedMetricPairTypeDef definition
class PredictiveScalingPredefinedMetricPairTypeDef(TypedDict):
PredefinedMetricType: PredefinedMetricPairTypeType, # (1)
ResourceLabel: NotRequired[str],
PredictiveScalingPredefinedScalingMetricTypeDef#
# PredictiveScalingPredefinedScalingMetricTypeDef definition
class PredictiveScalingPredefinedScalingMetricTypeDef(TypedDict):
PredefinedMetricType: PredefinedScalingMetricTypeType, # (1)
ResourceLabel: NotRequired[str],
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],
ActivityTypeTypeDef#
# ActivityTypeTypeDef definition
class ActivityTypeTypeDef(TypedDict):
Activity: ActivityTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CancelInstanceRefreshAnswerTypeDef#
# CancelInstanceRefreshAnswerTypeDef definition
class CancelInstanceRefreshAnswerTypeDef(TypedDict):
InstanceRefreshId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAccountLimitsAnswerTypeDef#
# DescribeAccountLimitsAnswerTypeDef definition
class DescribeAccountLimitsAnswerTypeDef(TypedDict):
MaxNumberOfAutoScalingGroups: int,
MaxNumberOfLaunchConfigurations: int,
NumberOfAutoScalingGroups: int,
NumberOfLaunchConfigurations: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAutoScalingNotificationTypesAnswerTypeDef#
# DescribeAutoScalingNotificationTypesAnswerTypeDef definition
class DescribeAutoScalingNotificationTypesAnswerTypeDef(TypedDict):
AutoScalingNotificationTypes: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeLifecycleHookTypesAnswerTypeDef#
# DescribeLifecycleHookTypesAnswerTypeDef definition
class DescribeLifecycleHookTypesAnswerTypeDef(TypedDict):
LifecycleHookTypes: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeTerminationPolicyTypesAnswerTypeDef#
# DescribeTerminationPolicyTypesAnswerTypeDef definition
class DescribeTerminationPolicyTypesAnswerTypeDef(TypedDict):
TerminationPolicyTypes: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DetachInstancesAnswerTypeDef#
# DetachInstancesAnswerTypeDef definition
class DetachInstancesAnswerTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EnterStandbyAnswerTypeDef#
# EnterStandbyAnswerTypeDef definition
class EnterStandbyAnswerTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ExitStandbyAnswerTypeDef#
# ExitStandbyAnswerTypeDef definition
class ExitStandbyAnswerTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RollbackInstanceRefreshAnswerTypeDef#
# RollbackInstanceRefreshAnswerTypeDef definition
class RollbackInstanceRefreshAnswerTypeDef(TypedDict):
InstanceRefreshId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartInstanceRefreshAnswerTypeDef#
# StartInstanceRefreshAnswerTypeDef definition
class StartInstanceRefreshAnswerTypeDef(TypedDict):
InstanceRefreshId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAdjustmentTypesAnswerTypeDef#
# DescribeAdjustmentTypesAnswerTypeDef definition
class DescribeAdjustmentTypesAnswerTypeDef(TypedDict):
AdjustmentTypes: List[AdjustmentTypeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
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],
PolicyARNTypeTypeDef#
# PolicyARNTypeTypeDef definition
class PolicyARNTypeTypeDef(TypedDict):
PolicyARN: str,
Alarms: List[AlarmTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See AlarmTypeDef
- See ResponseMetadataTypeDef
AttachTrafficSourcesTypeRequestTypeDef#
# AttachTrafficSourcesTypeRequestTypeDef definition
class AttachTrafficSourcesTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TrafficSources: Sequence[TrafficSourceIdentifierTypeDef], # (1)
SkipZonalShiftValidation: NotRequired[bool],
DetachTrafficSourcesTypeRequestTypeDef#
# DetachTrafficSourcesTypeRequestTypeDef definition
class DetachTrafficSourcesTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TrafficSources: Sequence[TrafficSourceIdentifierTypeDef], # (1)
AutoScalingGroupNamesTypeRequestTypeDef#
# AutoScalingGroupNamesTypeRequestTypeDef definition
class AutoScalingGroupNamesTypeRequestTypeDef(TypedDict):
AutoScalingGroupNames: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
- See FilterTypeDef
DescribeTagsTypeRequestTypeDef#
# DescribeTagsTypeRequestTypeDef definition
class DescribeTagsTypeRequestTypeDef(TypedDict):
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
- See FilterTypeDef
AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef#
# AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef definition
class AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef(TypedDict):
AutoScalingGroupNames: NotRequired[Sequence[str]],
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See FilterTypeDef
- See PaginatorConfigTypeDef
DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef#
# DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef definition
class DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef(TypedDict):
InstanceIds: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef#
# DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef definition
class DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef(TypedDict):
AutoScalingGroupName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef#
# DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef definition
class DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef(TypedDict):
AutoScalingGroupName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef#
# DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef definition
class DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef(TypedDict):
AutoScalingGroupNames: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribePoliciesTypeDescribePoliciesPaginateTypeDef#
# DescribePoliciesTypeDescribePoliciesPaginateTypeDef definition
class DescribePoliciesTypeDescribePoliciesPaginateTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
PolicyNames: NotRequired[Sequence[str]],
PolicyTypes: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef#
# DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef definition
class DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef(TypedDict):
ActivityIds: NotRequired[Sequence[str]],
AutoScalingGroupName: NotRequired[str],
IncludeDeletedGroups: NotRequired[bool],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeTagsTypeDescribeTagsPaginateTypeDef#
# DescribeTagsTypeDescribeTagsPaginateTypeDef definition
class DescribeTagsTypeDescribeTagsPaginateTypeDef(TypedDict):
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See FilterTypeDef
- See PaginatorConfigTypeDef
DescribeWarmPoolTypeDescribeWarmPoolPaginateTypeDef#
# DescribeWarmPoolTypeDescribeWarmPoolPaginateTypeDef definition
class DescribeWarmPoolTypeDescribeWarmPoolPaginateTypeDef(TypedDict):
AutoScalingGroupName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef#
# LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef definition
class LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef(TypedDict):
LaunchConfigurationNames: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
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],
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],
TagsTypeTypeDef#
# TagsTypeTypeDef definition
class TagsTypeTypeDef(TypedDict):
Tags: List[TagDescriptionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
BatchDeleteScheduledActionAnswerTypeDef#
# BatchDeleteScheduledActionAnswerTypeDef definition
class BatchDeleteScheduledActionAnswerTypeDef(TypedDict):
FailedScheduledActions: List[FailedScheduledUpdateGroupActionRequestTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchPutScheduledUpdateGroupActionAnswerTypeDef#
# BatchPutScheduledUpdateGroupActionAnswerTypeDef definition
class BatchPutScheduledUpdateGroupActionAnswerTypeDef(TypedDict):
FailedScheduledUpdateGroupActions: List[FailedScheduledUpdateGroupActionRequestTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BlockDeviceMappingTypeDef#
# BlockDeviceMappingTypeDef definition
class BlockDeviceMappingTypeDef(TypedDict):
DeviceName: str,
VirtualName: NotRequired[str],
Ebs: NotRequired[EbsTypeDef], # (1)
NoDevice: NotRequired[bool],
- See EbsTypeDef
CapacityReservationSpecificationOutputTypeDef#
# CapacityReservationSpecificationOutputTypeDef definition
class CapacityReservationSpecificationOutputTypeDef(TypedDict):
CapacityReservationPreference: NotRequired[CapacityReservationPreferenceType], # (1)
CapacityReservationTarget: NotRequired[CapacityReservationTargetOutputTypeDef], # (2)
CpuPerformanceFactorRequestOutputTypeDef#
# CpuPerformanceFactorRequestOutputTypeDef definition
class CpuPerformanceFactorRequestOutputTypeDef(TypedDict):
References: NotRequired[List[PerformanceFactorReferenceRequestTypeDef]], # (1)
CpuPerformanceFactorRequestTypeDef#
# CpuPerformanceFactorRequestTypeDef definition
class CpuPerformanceFactorRequestTypeDef(TypedDict):
References: NotRequired[Sequence[PerformanceFactorReferenceRequestTypeDef]], # (1)
CreateOrUpdateTagsTypeRequestTypeDef#
# CreateOrUpdateTagsTypeRequestTypeDef definition
class CreateOrUpdateTagsTypeRequestTypeDef(TypedDict):
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
DeleteTagsTypeRequestTypeDef#
# DeleteTagsTypeRequestTypeDef definition
class DeleteTagsTypeRequestTypeDef(TypedDict):
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
MetricOutputTypeDef#
# MetricOutputTypeDef definition
class MetricOutputTypeDef(TypedDict):
Namespace: str,
MetricName: str,
Dimensions: NotRequired[List[MetricDimensionTypeDef]], # (1)
MetricTypeDef#
# MetricTypeDef definition
class MetricTypeDef(TypedDict):
Namespace: str,
MetricName: str,
Dimensions: NotRequired[Sequence[MetricDimensionTypeDef]], # (1)
DescribeLifecycleHooksAnswerTypeDef#
# DescribeLifecycleHooksAnswerTypeDef definition
class DescribeLifecycleHooksAnswerTypeDef(TypedDict):
LifecycleHooks: List[LifecycleHookTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeLoadBalancerTargetGroupsResponseTypeDef#
# DescribeLoadBalancerTargetGroupsResponseTypeDef definition
class DescribeLoadBalancerTargetGroupsResponseTypeDef(TypedDict):
LoadBalancerTargetGroups: List[LoadBalancerTargetGroupStateTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DescribeLoadBalancersResponseTypeDef#
# DescribeLoadBalancersResponseTypeDef definition
class DescribeLoadBalancersResponseTypeDef(TypedDict):
LoadBalancers: List[LoadBalancerStateTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DescribeMetricCollectionTypesAnswerTypeDef#
# DescribeMetricCollectionTypesAnswerTypeDef definition
class DescribeMetricCollectionTypesAnswerTypeDef(TypedDict):
Metrics: List[MetricCollectionTypeTypeDef], # (1)
Granularities: List[MetricGranularityTypeTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeNotificationConfigurationsAnswerTypeDef#
# DescribeNotificationConfigurationsAnswerTypeDef definition
class DescribeNotificationConfigurationsAnswerTypeDef(TypedDict):
NotificationConfigurations: List[NotificationConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef#
# DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef definition
class DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
ScheduledActionNames: NotRequired[Sequence[str]],
StartTime: NotRequired[TimestampTypeDef],
EndTime: NotRequired[TimestampTypeDef],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
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],
InstanceRefreshProgressDetailsTypeDef#
# InstanceRefreshProgressDetailsTypeDef definition
class InstanceRefreshProgressDetailsTypeDef(TypedDict):
LivePoolProgress: NotRequired[InstanceRefreshLivePoolProgressTypeDef], # (1)
WarmPoolProgress: NotRequired[InstanceRefreshWarmPoolProgressTypeDef], # (2)
PutWarmPoolTypeRequestTypeDef#
# PutWarmPoolTypeRequestTypeDef definition
class PutWarmPoolTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
MaxGroupPreparedCapacity: NotRequired[int],
MinSize: NotRequired[int],
PoolState: NotRequired[WarmPoolStateType], # (1)
InstanceReusePolicy: NotRequired[InstanceReusePolicyTypeDef], # (2)
WarmPoolConfigurationTypeDef#
# WarmPoolConfigurationTypeDef definition
class WarmPoolConfigurationTypeDef(TypedDict):
MaxGroupPreparedCapacity: NotRequired[int],
MinSize: NotRequired[int],
PoolState: NotRequired[WarmPoolStateType], # (1)
Status: NotRequired[WarmPoolStatusType], # (2)
InstanceReusePolicy: NotRequired[InstanceReusePolicyTypeDef], # (3)
ProcessesTypeTypeDef#
# ProcessesTypeTypeDef definition
class ProcessesTypeTypeDef(TypedDict):
Processes: List[ProcessTypeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ScheduledActionsTypeTypeDef#
# ScheduledActionsTypeTypeDef definition
class ScheduledActionsTypeTypeDef(TypedDict):
ScheduledUpdateGroupActions: List[ScheduledUpdateGroupActionTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
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],
- See ScaleInProtectedInstancesType
- See StandbyInstancesType
- See AlarmSpecificationTypeDef AlarmSpecificationOutputTypeDef
AutoScalingInstancesTypeTypeDef#
# AutoScalingInstancesTypeTypeDef definition
class AutoScalingInstancesTypeTypeDef(TypedDict):
AutoScalingInstances: List[AutoScalingInstanceDetailsTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
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)
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)
CapacityReservationSpecificationTypeDef#
# CapacityReservationSpecificationTypeDef definition
class CapacityReservationSpecificationTypeDef(TypedDict):
CapacityReservationPreference: NotRequired[CapacityReservationPreferenceType], # (1)
CapacityReservationTarget: NotRequired[CapacityReservationTargetUnionTypeDef], # (2)
- See CapacityReservationPreferenceType
- See CapacityReservationTargetTypeDef CapacityReservationTargetOutputTypeDef
BaselinePerformanceFactorsRequestOutputTypeDef#
# BaselinePerformanceFactorsRequestOutputTypeDef definition
class BaselinePerformanceFactorsRequestOutputTypeDef(TypedDict):
Cpu: NotRequired[CpuPerformanceFactorRequestOutputTypeDef], # (1)
MetricStatOutputTypeDef#
# MetricStatOutputTypeDef definition
class MetricStatOutputTypeDef(TypedDict):
Metric: MetricOutputTypeDef, # (1)
Stat: str,
Unit: NotRequired[str],
TargetTrackingMetricStatOutputTypeDef#
# TargetTrackingMetricStatOutputTypeDef definition
class TargetTrackingMetricStatOutputTypeDef(TypedDict):
Metric: MetricOutputTypeDef, # (1)
Stat: str,
Unit: NotRequired[str],
BatchPutScheduledUpdateGroupActionTypeRequestTypeDef#
# BatchPutScheduledUpdateGroupActionTypeRequestTypeDef definition
class BatchPutScheduledUpdateGroupActionTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ScheduledUpdateGroupActions: Sequence[ScheduledUpdateGroupActionRequestTypeDef], # (1)
RollbackDetailsTypeDef#
# RollbackDetailsTypeDef definition
class RollbackDetailsTypeDef(TypedDict):
RollbackReason: NotRequired[str],
RollbackStartTime: NotRequired[datetime],
PercentageCompleteOnRollback: NotRequired[int],
InstancesToUpdateOnRollback: NotRequired[int],
ProgressDetailsOnRollback: NotRequired[InstanceRefreshProgressDetailsTypeDef], # (1)
DescribeWarmPoolAnswerTypeDef#
# DescribeWarmPoolAnswerTypeDef definition
class DescribeWarmPoolAnswerTypeDef(TypedDict):
WarmPoolConfiguration: WarmPoolConfigurationTypeDef, # (1)
Instances: List[InstanceTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
NextToken: NotRequired[str],
LaunchConfigurationsTypeTypeDef#
# LaunchConfigurationsTypeTypeDef definition
class LaunchConfigurationsTypeTypeDef(TypedDict):
LaunchConfigurations: List[LaunchConfigurationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
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)
- See VCpuCountRequestTypeDef
- See MemoryMiBRequestTypeDef
- See CpuManufacturerType
- See MemoryGiBPerVCpuRequestTypeDef
- See InstanceGenerationType
- See BareMetalType
- See BurstablePerformanceType
- See NetworkInterfaceCountRequestTypeDef
- See LocalStorageType
- See LocalStorageTypeType
- See TotalLocalStorageGBRequestTypeDef
- See BaselineEbsBandwidthMbpsRequestTypeDef
- See AcceleratorTypeType
- See AcceleratorCountRequestTypeDef
- See AcceleratorManufacturerType
- See AcceleratorNameType
- See AcceleratorTotalMemoryMiBRequestTypeDef
- See NetworkBandwidthGbpsRequestTypeDef
- See BaselinePerformanceFactorsRequestOutputTypeDef
BaselinePerformanceFactorsRequestTypeDef#
# BaselinePerformanceFactorsRequestTypeDef definition
class BaselinePerformanceFactorsRequestTypeDef(TypedDict):
Cpu: NotRequired[CpuPerformanceFactorRequestUnionTypeDef], # (1)
MetricDataQueryOutputTypeDef#
# MetricDataQueryOutputTypeDef definition
class MetricDataQueryOutputTypeDef(TypedDict):
Id: str,
Expression: NotRequired[str],
MetricStat: NotRequired[MetricStatOutputTypeDef], # (1)
Label: NotRequired[str],
ReturnData: NotRequired[bool],
TargetTrackingMetricDataQueryOutputTypeDef#
# TargetTrackingMetricDataQueryOutputTypeDef definition
class TargetTrackingMetricDataQueryOutputTypeDef(TypedDict):
Id: str,
Expression: NotRequired[str],
MetricStat: NotRequired[TargetTrackingMetricStatOutputTypeDef], # (1)
Label: NotRequired[str],
ReturnData: NotRequired[bool],
MetricStatTypeDef#
# MetricStatTypeDef definition
class MetricStatTypeDef(TypedDict):
Metric: MetricUnionTypeDef, # (1)
Stat: str,
Unit: NotRequired[str],
TargetTrackingMetricStatTypeDef#
# TargetTrackingMetricStatTypeDef definition
class TargetTrackingMetricStatTypeDef(TypedDict):
Metric: MetricUnionTypeDef, # (1)
Stat: str,
Unit: NotRequired[str],
LaunchTemplateOverridesOutputTypeDef#
# LaunchTemplateOverridesOutputTypeDef definition
class LaunchTemplateOverridesOutputTypeDef(TypedDict):
InstanceType: NotRequired[str],
WeightedCapacity: NotRequired[str],
LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
InstanceRequirements: NotRequired[InstanceRequirementsOutputTypeDef], # (2)
PredictiveScalingCustomizedCapacityMetricOutputTypeDef#
# PredictiveScalingCustomizedCapacityMetricOutputTypeDef definition
class PredictiveScalingCustomizedCapacityMetricOutputTypeDef(TypedDict):
MetricDataQueries: List[MetricDataQueryOutputTypeDef], # (1)
PredictiveScalingCustomizedLoadMetricOutputTypeDef#
# PredictiveScalingCustomizedLoadMetricOutputTypeDef definition
class PredictiveScalingCustomizedLoadMetricOutputTypeDef(TypedDict):
MetricDataQueries: List[MetricDataQueryOutputTypeDef], # (1)
PredictiveScalingCustomizedScalingMetricOutputTypeDef#
# PredictiveScalingCustomizedScalingMetricOutputTypeDef definition
class PredictiveScalingCustomizedScalingMetricOutputTypeDef(TypedDict):
MetricDataQueries: List[MetricDataQueryOutputTypeDef], # (1)
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)
LaunchTemplateOutputTypeDef#
# LaunchTemplateOutputTypeDef definition
class LaunchTemplateOutputTypeDef(TypedDict):
LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
Overrides: NotRequired[List[LaunchTemplateOverridesOutputTypeDef]], # (2)
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)
- See VCpuCountRequestTypeDef
- See MemoryMiBRequestTypeDef
- See CpuManufacturerType
- See MemoryGiBPerVCpuRequestTypeDef
- See InstanceGenerationType
- See BareMetalType
- See BurstablePerformanceType
- See NetworkInterfaceCountRequestTypeDef
- See LocalStorageType
- See LocalStorageTypeType
- See TotalLocalStorageGBRequestTypeDef
- See BaselineEbsBandwidthMbpsRequestTypeDef
- See AcceleratorTypeType
- See AcceleratorCountRequestTypeDef
- See AcceleratorManufacturerType
- See AcceleratorNameType
- See AcceleratorTotalMemoryMiBRequestTypeDef
- See NetworkBandwidthGbpsRequestTypeDef
- 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)
- See PredictiveScalingPredefinedMetricPairTypeDef
- See PredictiveScalingPredefinedScalingMetricTypeDef
- See PredictiveScalingPredefinedLoadMetricTypeDef
- See PredictiveScalingCustomizedScalingMetricOutputTypeDef
- See PredictiveScalingCustomizedLoadMetricOutputTypeDef
- See PredictiveScalingCustomizedCapacityMetricOutputTypeDef
TargetTrackingConfigurationOutputTypeDef#
# TargetTrackingConfigurationOutputTypeDef definition
class TargetTrackingConfigurationOutputTypeDef(TypedDict):
TargetValue: float,
PredefinedMetricSpecification: NotRequired[PredefinedMetricSpecificationTypeDef], # (1)
CustomizedMetricSpecification: NotRequired[CustomizedMetricSpecificationOutputTypeDef], # (2)
DisableScaleIn: NotRequired[bool],
MetricDataQueryTypeDef#
# MetricDataQueryTypeDef definition
class MetricDataQueryTypeDef(TypedDict):
Id: str,
Expression: NotRequired[str],
MetricStat: NotRequired[MetricStatUnionTypeDef], # (1)
Label: NotRequired[str],
ReturnData: NotRequired[bool],
TargetTrackingMetricDataQueryTypeDef#
# TargetTrackingMetricDataQueryTypeDef definition
class TargetTrackingMetricDataQueryTypeDef(TypedDict):
Id: str,
Expression: NotRequired[str],
MetricStat: NotRequired[TargetTrackingMetricStatUnionTypeDef], # (1)
Label: NotRequired[str],
ReturnData: NotRequired[bool],
MixedInstancesPolicyOutputTypeDef#
# MixedInstancesPolicyOutputTypeDef definition
class MixedInstancesPolicyOutputTypeDef(TypedDict):
LaunchTemplate: NotRequired[LaunchTemplateOutputTypeDef], # (1)
InstancesDistribution: NotRequired[InstancesDistributionTypeDef], # (2)
LoadForecastTypeDef#
# LoadForecastTypeDef definition
class LoadForecastTypeDef(TypedDict):
Timestamps: List[datetime],
Values: List[float],
MetricSpecification: PredictiveScalingMetricSpecificationOutputTypeDef, # (1)
PredictiveScalingConfigurationOutputTypeDef#
# PredictiveScalingConfigurationOutputTypeDef definition
class PredictiveScalingConfigurationOutputTypeDef(TypedDict):
MetricSpecifications: List[PredictiveScalingMetricSpecificationOutputTypeDef], # (1)
Mode: NotRequired[PredictiveScalingModeType], # (2)
SchedulingBufferTime: NotRequired[int],
MaxCapacityBreachBehavior: NotRequired[PredictiveScalingMaxCapacityBreachBehaviorType], # (3)
MaxCapacityBuffer: NotRequired[int],
- See PredictiveScalingMetricSpecificationOutputTypeDef
- See PredictiveScalingModeType
- See PredictiveScalingMaxCapacityBreachBehaviorType
PredictiveScalingCustomizedCapacityMetricTypeDef#
# PredictiveScalingCustomizedCapacityMetricTypeDef definition
class PredictiveScalingCustomizedCapacityMetricTypeDef(TypedDict):
MetricDataQueries: Sequence[MetricDataQueryTypeDef], # (1)
PredictiveScalingCustomizedLoadMetricTypeDef#
# PredictiveScalingCustomizedLoadMetricTypeDef definition
class PredictiveScalingCustomizedLoadMetricTypeDef(TypedDict):
MetricDataQueries: Sequence[MetricDataQueryTypeDef], # (1)
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)
- See LaunchTemplateSpecificationTypeDef
- See MixedInstancesPolicyOutputTypeDef
- See InstanceTypeDef
- See SuspendedProcessTypeDef
- See EnabledMetricTypeDef
- See TagDescriptionTypeDef
- See WarmPoolConfigurationTypeDef
- See TrafficSourceIdentifierTypeDef
- See InstanceMaintenancePolicyTypeDef
- See AvailabilityZoneDistributionTypeDef
- See AvailabilityZoneImpairmentPolicyTypeDef
- See CapacityReservationSpecificationOutputTypeDef
DesiredConfigurationOutputTypeDef#
# DesiredConfigurationOutputTypeDef definition
class DesiredConfigurationOutputTypeDef(TypedDict):
LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
MixedInstancesPolicy: NotRequired[MixedInstancesPolicyOutputTypeDef], # (2)
LaunchTemplateOverridesTypeDef#
# LaunchTemplateOverridesTypeDef definition
class LaunchTemplateOverridesTypeDef(TypedDict):
InstanceType: NotRequired[str],
WeightedCapacity: NotRequired[str],
LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
InstanceRequirements: NotRequired[InstanceRequirementsUnionTypeDef], # (2)
- See LaunchTemplateSpecificationTypeDef
- See InstanceRequirementsTypeDef InstanceRequirementsOutputTypeDef
GetPredictiveScalingForecastAnswerTypeDef#
# GetPredictiveScalingForecastAnswerTypeDef definition
class GetPredictiveScalingForecastAnswerTypeDef(TypedDict):
LoadForecast: List[LoadForecastTypeDef], # (1)
CapacityForecast: CapacityForecastTypeDef, # (2)
UpdateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
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)
- See StepAdjustmentTypeDef
- See AlarmTypeDef
- See TargetTrackingConfigurationOutputTypeDef
- See PredictiveScalingConfigurationOutputTypeDef
PredictiveScalingCustomizedScalingMetricTypeDef#
# PredictiveScalingCustomizedScalingMetricTypeDef definition
class PredictiveScalingCustomizedScalingMetricTypeDef(TypedDict):
MetricDataQueries: Sequence[MetricDataQueryUnionTypeDef], # (1)
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)
- See MetricDimensionTypeDef
- See MetricStatisticType
- See TargetTrackingMetricDataQueryTypeDef TargetTrackingMetricDataQueryOutputTypeDef
AutoScalingGroupsTypeTypeDef#
# AutoScalingGroupsTypeTypeDef definition
class AutoScalingGroupsTypeTypeDef(TypedDict):
AutoScalingGroups: List[AutoScalingGroupTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
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)
- See InstanceRefreshStatusType
- See InstanceRefreshProgressDetailsTypeDef
- See RefreshPreferencesOutputTypeDef
- See DesiredConfigurationOutputTypeDef
- See RollbackDetailsTypeDef
PoliciesTypeTypeDef#
# PoliciesTypeTypeDef definition
class PoliciesTypeTypeDef(TypedDict):
ScalingPolicies: List[ScalingPolicyTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
DescribeInstanceRefreshesAnswerTypeDef#
# DescribeInstanceRefreshesAnswerTypeDef definition
class DescribeInstanceRefreshesAnswerTypeDef(TypedDict):
InstanceRefreshes: List[InstanceRefreshTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
LaunchTemplateTypeDef#
# LaunchTemplateTypeDef definition
class LaunchTemplateTypeDef(TypedDict):
LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
Overrides: NotRequired[Sequence[LaunchTemplateOverridesUnionTypeDef]], # (2)
- See LaunchTemplateSpecificationTypeDef
- 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)
- See PredictiveScalingPredefinedMetricPairTypeDef
- See PredictiveScalingPredefinedScalingMetricTypeDef
- See PredictiveScalingPredefinedLoadMetricTypeDef
- See PredictiveScalingCustomizedScalingMetricTypeDef PredictiveScalingCustomizedScalingMetricOutputTypeDef
- See PredictiveScalingCustomizedLoadMetricTypeDef PredictiveScalingCustomizedLoadMetricOutputTypeDef
- See PredictiveScalingCustomizedCapacityMetricTypeDef PredictiveScalingCustomizedCapacityMetricOutputTypeDef
TargetTrackingConfigurationTypeDef#
# TargetTrackingConfigurationTypeDef definition
class TargetTrackingConfigurationTypeDef(TypedDict):
TargetValue: float,
PredefinedMetricSpecification: NotRequired[PredefinedMetricSpecificationTypeDef], # (1)
CustomizedMetricSpecification: NotRequired[CustomizedMetricSpecificationUnionTypeDef], # (2)
DisableScaleIn: NotRequired[bool],
- See PredefinedMetricSpecificationTypeDef
- See CustomizedMetricSpecificationTypeDef CustomizedMetricSpecificationOutputTypeDef
MixedInstancesPolicyTypeDef#
# MixedInstancesPolicyTypeDef definition
class MixedInstancesPolicyTypeDef(TypedDict):
LaunchTemplate: NotRequired[LaunchTemplateUnionTypeDef], # (1)
InstancesDistribution: NotRequired[InstancesDistributionTypeDef], # (2)
PredictiveScalingConfigurationTypeDef#
# PredictiveScalingConfigurationTypeDef definition
class PredictiveScalingConfigurationTypeDef(TypedDict):
MetricSpecifications: Sequence[PredictiveScalingMetricSpecificationUnionTypeDef], # (1)
Mode: NotRequired[PredictiveScalingModeType], # (2)
SchedulingBufferTime: NotRequired[int],
MaxCapacityBreachBehavior: NotRequired[PredictiveScalingMaxCapacityBreachBehaviorType], # (3)
MaxCapacityBuffer: NotRequired[int],
- See PredictiveScalingMetricSpecificationTypeDef PredictiveScalingMetricSpecificationOutputTypeDef
- See PredictiveScalingModeType
- 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)
- See LaunchTemplateSpecificationTypeDef
- See MixedInstancesPolicyTypeDef
- See LifecycleHookSpecificationTypeDef
- See TagTypeDef
- See TrafficSourceIdentifierTypeDef
- See InstanceMaintenancePolicyTypeDef
- See AvailabilityZoneDistributionTypeDef
- See AvailabilityZoneImpairmentPolicyTypeDef
- 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)
- See LaunchTemplateSpecificationTypeDef
- See MixedInstancesPolicyTypeDef
- See InstanceMaintenancePolicyTypeDef
- See AvailabilityZoneDistributionTypeDef
- See AvailabilityZoneImpairmentPolicyTypeDef
- 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)
- See StepAdjustmentTypeDef
- See TargetTrackingConfigurationTypeDef
- See PredictiveScalingConfigurationTypeDef
DesiredConfigurationTypeDef#
# DesiredConfigurationTypeDef definition
class DesiredConfigurationTypeDef(TypedDict):
LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
MixedInstancesPolicy: NotRequired[MixedInstancesPolicyUnionTypeDef], # (2)
- See LaunchTemplateSpecificationTypeDef
- See MixedInstancesPolicyTypeDef MixedInstancesPolicyOutputTypeDef
StartInstanceRefreshTypeRequestTypeDef#
# StartInstanceRefreshTypeRequestTypeDef definition
class StartInstanceRefreshTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
Strategy: NotRequired[RefreshStrategyType], # (1)
DesiredConfiguration: NotRequired[DesiredConfigurationTypeDef], # (2)
Preferences: NotRequired[RefreshPreferencesTypeDef], # (3)