Documentation
¶
Index ¶
- type LookupScalableTargetArgs
- type LookupScalableTargetOutputArgs
- type LookupScalableTargetResult
- type LookupScalableTargetResultOutput
- func (LookupScalableTargetResultOutput) ElementType() reflect.Type
- func (o LookupScalableTargetResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupScalableTargetResultOutput) MaxCapacity() pulumi.IntPtrOutput
- func (o LookupScalableTargetResultOutput) MinCapacity() pulumi.IntPtrOutput
- func (o LookupScalableTargetResultOutput) ScheduledActions() ScalableTargetScheduledActionArrayOutput
- func (o LookupScalableTargetResultOutput) SuspendedState() ScalableTargetSuspendedStatePtrOutput
- func (o LookupScalableTargetResultOutput) ToLookupScalableTargetResultOutput() LookupScalableTargetResultOutput
- func (o LookupScalableTargetResultOutput) ToLookupScalableTargetResultOutputWithContext(ctx context.Context) LookupScalableTargetResultOutput
- type LookupScalingPolicyArgs
- type LookupScalingPolicyOutputArgs
- type LookupScalingPolicyResult
- type LookupScalingPolicyResultOutput
- func (o LookupScalingPolicyResultOutput) Arn() pulumi.StringPtrOutput
- func (LookupScalingPolicyResultOutput) ElementType() reflect.Type
- func (o LookupScalingPolicyResultOutput) PolicyType() pulumi.StringPtrOutput
- func (o LookupScalingPolicyResultOutput) StepScalingPolicyConfiguration() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
- func (o LookupScalingPolicyResultOutput) TargetTrackingScalingPolicyConfiguration() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (o LookupScalingPolicyResultOutput) ToLookupScalingPolicyResultOutput() LookupScalingPolicyResultOutput
- func (o LookupScalingPolicyResultOutput) ToLookupScalingPolicyResultOutputWithContext(ctx context.Context) LookupScalingPolicyResultOutput
- type ScalableTarget
- type ScalableTargetAction
- type ScalableTargetActionArgs
- func (ScalableTargetActionArgs) ElementType() reflect.Type
- func (i ScalableTargetActionArgs) ToScalableTargetActionOutput() ScalableTargetActionOutput
- func (i ScalableTargetActionArgs) ToScalableTargetActionOutputWithContext(ctx context.Context) ScalableTargetActionOutput
- func (i ScalableTargetActionArgs) ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput
- func (i ScalableTargetActionArgs) ToScalableTargetActionPtrOutputWithContext(ctx context.Context) ScalableTargetActionPtrOutput
- type ScalableTargetActionInput
- type ScalableTargetActionOutput
- func (ScalableTargetActionOutput) ElementType() reflect.Type
- func (o ScalableTargetActionOutput) MaxCapacity() pulumi.IntPtrOutput
- func (o ScalableTargetActionOutput) MinCapacity() pulumi.IntPtrOutput
- func (o ScalableTargetActionOutput) ToScalableTargetActionOutput() ScalableTargetActionOutput
- func (o ScalableTargetActionOutput) ToScalableTargetActionOutputWithContext(ctx context.Context) ScalableTargetActionOutput
- func (o ScalableTargetActionOutput) ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput
- func (o ScalableTargetActionOutput) ToScalableTargetActionPtrOutputWithContext(ctx context.Context) ScalableTargetActionPtrOutput
- type ScalableTargetActionPtrInput
- type ScalableTargetActionPtrOutput
- func (o ScalableTargetActionPtrOutput) Elem() ScalableTargetActionOutput
- func (ScalableTargetActionPtrOutput) ElementType() reflect.Type
- func (o ScalableTargetActionPtrOutput) MaxCapacity() pulumi.IntPtrOutput
- func (o ScalableTargetActionPtrOutput) MinCapacity() pulumi.IntPtrOutput
- func (o ScalableTargetActionPtrOutput) ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput
- func (o ScalableTargetActionPtrOutput) ToScalableTargetActionPtrOutputWithContext(ctx context.Context) ScalableTargetActionPtrOutput
- type ScalableTargetArgs
- type ScalableTargetInput
- type ScalableTargetOutput
- func (o ScalableTargetOutput) AwsId() pulumi.StringOutput
- func (ScalableTargetOutput) ElementType() reflect.Type
- func (o ScalableTargetOutput) MaxCapacity() pulumi.IntOutput
- func (o ScalableTargetOutput) MinCapacity() pulumi.IntOutput
- func (o ScalableTargetOutput) ResourceId() pulumi.StringOutput
- func (o ScalableTargetOutput) RoleArn() pulumi.StringPtrOutput
- func (o ScalableTargetOutput) ScalableDimension() pulumi.StringOutput
- func (o ScalableTargetOutput) ScheduledActions() ScalableTargetScheduledActionArrayOutput
- func (o ScalableTargetOutput) ServiceNamespace() pulumi.StringOutput
- func (o ScalableTargetOutput) SuspendedState() ScalableTargetSuspendedStatePtrOutput
- func (o ScalableTargetOutput) ToScalableTargetOutput() ScalableTargetOutput
- func (o ScalableTargetOutput) ToScalableTargetOutputWithContext(ctx context.Context) ScalableTargetOutput
- type ScalableTargetScheduledAction
- type ScalableTargetScheduledActionArgs
- func (ScalableTargetScheduledActionArgs) ElementType() reflect.Type
- func (i ScalableTargetScheduledActionArgs) ToScalableTargetScheduledActionOutput() ScalableTargetScheduledActionOutput
- func (i ScalableTargetScheduledActionArgs) ToScalableTargetScheduledActionOutputWithContext(ctx context.Context) ScalableTargetScheduledActionOutput
- type ScalableTargetScheduledActionArray
- func (ScalableTargetScheduledActionArray) ElementType() reflect.Type
- func (i ScalableTargetScheduledActionArray) ToScalableTargetScheduledActionArrayOutput() ScalableTargetScheduledActionArrayOutput
- func (i ScalableTargetScheduledActionArray) ToScalableTargetScheduledActionArrayOutputWithContext(ctx context.Context) ScalableTargetScheduledActionArrayOutput
- type ScalableTargetScheduledActionArrayInput
- type ScalableTargetScheduledActionArrayOutput
- func (ScalableTargetScheduledActionArrayOutput) ElementType() reflect.Type
- func (o ScalableTargetScheduledActionArrayOutput) Index(i pulumi.IntInput) ScalableTargetScheduledActionOutput
- func (o ScalableTargetScheduledActionArrayOutput) ToScalableTargetScheduledActionArrayOutput() ScalableTargetScheduledActionArrayOutput
- func (o ScalableTargetScheduledActionArrayOutput) ToScalableTargetScheduledActionArrayOutputWithContext(ctx context.Context) ScalableTargetScheduledActionArrayOutput
- type ScalableTargetScheduledActionInput
- type ScalableTargetScheduledActionOutput
- func (ScalableTargetScheduledActionOutput) ElementType() reflect.Type
- func (o ScalableTargetScheduledActionOutput) EndTime() pulumi.StringPtrOutput
- func (o ScalableTargetScheduledActionOutput) ScalableTargetAction() ScalableTargetActionPtrOutput
- func (o ScalableTargetScheduledActionOutput) Schedule() pulumi.StringOutput
- func (o ScalableTargetScheduledActionOutput) ScheduledActionName() pulumi.StringOutput
- func (o ScalableTargetScheduledActionOutput) StartTime() pulumi.StringPtrOutput
- func (o ScalableTargetScheduledActionOutput) Timezone() pulumi.StringPtrOutput
- func (o ScalableTargetScheduledActionOutput) ToScalableTargetScheduledActionOutput() ScalableTargetScheduledActionOutput
- func (o ScalableTargetScheduledActionOutput) ToScalableTargetScheduledActionOutputWithContext(ctx context.Context) ScalableTargetScheduledActionOutput
- type ScalableTargetState
- type ScalableTargetSuspendedState
- type ScalableTargetSuspendedStateArgs
- func (ScalableTargetSuspendedStateArgs) ElementType() reflect.Type
- func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStateOutput() ScalableTargetSuspendedStateOutput
- func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStateOutputWithContext(ctx context.Context) ScalableTargetSuspendedStateOutput
- func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput
- func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStatePtrOutputWithContext(ctx context.Context) ScalableTargetSuspendedStatePtrOutput
- type ScalableTargetSuspendedStateInput
- type ScalableTargetSuspendedStateOutput
- func (o ScalableTargetSuspendedStateOutput) DynamicScalingInSuspended() pulumi.BoolPtrOutput
- func (o ScalableTargetSuspendedStateOutput) DynamicScalingOutSuspended() pulumi.BoolPtrOutput
- func (ScalableTargetSuspendedStateOutput) ElementType() reflect.Type
- func (o ScalableTargetSuspendedStateOutput) ScheduledScalingSuspended() pulumi.BoolPtrOutput
- func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStateOutput() ScalableTargetSuspendedStateOutput
- func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStateOutputWithContext(ctx context.Context) ScalableTargetSuspendedStateOutput
- func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput
- func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStatePtrOutputWithContext(ctx context.Context) ScalableTargetSuspendedStatePtrOutput
- type ScalableTargetSuspendedStatePtrInput
- type ScalableTargetSuspendedStatePtrOutput
- func (o ScalableTargetSuspendedStatePtrOutput) DynamicScalingInSuspended() pulumi.BoolPtrOutput
- func (o ScalableTargetSuspendedStatePtrOutput) DynamicScalingOutSuspended() pulumi.BoolPtrOutput
- func (o ScalableTargetSuspendedStatePtrOutput) Elem() ScalableTargetSuspendedStateOutput
- func (ScalableTargetSuspendedStatePtrOutput) ElementType() reflect.Type
- func (o ScalableTargetSuspendedStatePtrOutput) ScheduledScalingSuspended() pulumi.BoolPtrOutput
- func (o ScalableTargetSuspendedStatePtrOutput) ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput
- func (o ScalableTargetSuspendedStatePtrOutput) ToScalableTargetSuspendedStatePtrOutputWithContext(ctx context.Context) ScalableTargetSuspendedStatePtrOutput
- type ScalingPolicy
- type ScalingPolicyArgs
- type ScalingPolicyCustomizedMetricSpecification
- type ScalingPolicyCustomizedMetricSpecificationArgs
- func (ScalingPolicyCustomizedMetricSpecificationArgs) ElementType() reflect.Type
- func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationOutput() ScalingPolicyCustomizedMetricSpecificationOutput
- func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationOutput
- func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput
- func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput
- type ScalingPolicyCustomizedMetricSpecificationInput
- type ScalingPolicyCustomizedMetricSpecificationOutput
- func (o ScalingPolicyCustomizedMetricSpecificationOutput) Dimensions() ScalingPolicyMetricDimensionArrayOutput
- func (ScalingPolicyCustomizedMetricSpecificationOutput) ElementType() reflect.Type
- func (o ScalingPolicyCustomizedMetricSpecificationOutput) MetricName() pulumi.StringPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationOutput) Metrics() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
- func (o ScalingPolicyCustomizedMetricSpecificationOutput) Namespace() pulumi.StringPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationOutput) Statistic() pulumi.StringPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationOutput() ScalingPolicyCustomizedMetricSpecificationOutput
- func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationOutput
- func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationOutput) Unit() pulumi.StringPtrOutput
- type ScalingPolicyCustomizedMetricSpecificationPtrInput
- type ScalingPolicyCustomizedMetricSpecificationPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Dimensions() ScalingPolicyMetricDimensionArrayOutput
- func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Elem() ScalingPolicyCustomizedMetricSpecificationOutput
- func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) MetricName() pulumi.StringPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Metrics() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
- func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Statistic() pulumi.StringPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput
- func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Unit() pulumi.StringPtrOutput
- type ScalingPolicyInput
- type ScalingPolicyMetricDimension
- type ScalingPolicyMetricDimensionArgs
- func (ScalingPolicyMetricDimensionArgs) ElementType() reflect.Type
- func (i ScalingPolicyMetricDimensionArgs) ToScalingPolicyMetricDimensionOutput() ScalingPolicyMetricDimensionOutput
- func (i ScalingPolicyMetricDimensionArgs) ToScalingPolicyMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionOutput
- type ScalingPolicyMetricDimensionArray
- func (ScalingPolicyMetricDimensionArray) ElementType() reflect.Type
- func (i ScalingPolicyMetricDimensionArray) ToScalingPolicyMetricDimensionArrayOutput() ScalingPolicyMetricDimensionArrayOutput
- func (i ScalingPolicyMetricDimensionArray) ToScalingPolicyMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionArrayOutput
- type ScalingPolicyMetricDimensionArrayInput
- type ScalingPolicyMetricDimensionArrayOutput
- func (ScalingPolicyMetricDimensionArrayOutput) ElementType() reflect.Type
- func (o ScalingPolicyMetricDimensionArrayOutput) Index(i pulumi.IntInput) ScalingPolicyMetricDimensionOutput
- func (o ScalingPolicyMetricDimensionArrayOutput) ToScalingPolicyMetricDimensionArrayOutput() ScalingPolicyMetricDimensionArrayOutput
- func (o ScalingPolicyMetricDimensionArrayOutput) ToScalingPolicyMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionArrayOutput
- type ScalingPolicyMetricDimensionInput
- type ScalingPolicyMetricDimensionOutput
- func (ScalingPolicyMetricDimensionOutput) ElementType() reflect.Type
- func (o ScalingPolicyMetricDimensionOutput) Name() pulumi.StringOutput
- func (o ScalingPolicyMetricDimensionOutput) ToScalingPolicyMetricDimensionOutput() ScalingPolicyMetricDimensionOutput
- func (o ScalingPolicyMetricDimensionOutput) ToScalingPolicyMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionOutput
- func (o ScalingPolicyMetricDimensionOutput) Value() pulumi.StringOutput
- type ScalingPolicyOutput
- func (o ScalingPolicyOutput) Arn() pulumi.StringOutput
- func (ScalingPolicyOutput) ElementType() reflect.Type
- func (o ScalingPolicyOutput) PolicyName() pulumi.StringOutput
- func (o ScalingPolicyOutput) PolicyType() pulumi.StringOutput
- func (o ScalingPolicyOutput) ResourceId() pulumi.StringPtrOutput
- func (o ScalingPolicyOutput) ScalableDimension() pulumi.StringPtrOutput
- func (o ScalingPolicyOutput) ScalingTargetId() pulumi.StringPtrOutput
- func (o ScalingPolicyOutput) ServiceNamespace() pulumi.StringPtrOutput
- func (o ScalingPolicyOutput) StepScalingPolicyConfiguration() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyOutput) TargetTrackingScalingPolicyConfiguration() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyOutput) ToScalingPolicyOutput() ScalingPolicyOutput
- func (o ScalingPolicyOutput) ToScalingPolicyOutputWithContext(ctx context.Context) ScalingPolicyOutput
- type ScalingPolicyPredefinedMetricSpecification
- type ScalingPolicyPredefinedMetricSpecificationArgs
- func (ScalingPolicyPredefinedMetricSpecificationArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationOutput() ScalingPolicyPredefinedMetricSpecificationOutput
- func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationOutput
- func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput
- func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput
- type ScalingPolicyPredefinedMetricSpecificationInput
- type ScalingPolicyPredefinedMetricSpecificationOutput
- func (ScalingPolicyPredefinedMetricSpecificationOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredefinedMetricSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
- func (o ScalingPolicyPredefinedMetricSpecificationOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationOutput() ScalingPolicyPredefinedMetricSpecificationOutput
- func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationOutput
- func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput
- func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput
- type ScalingPolicyPredefinedMetricSpecificationPtrInput
- type ScalingPolicyPredefinedMetricSpecificationPtrOutput
- func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) Elem() ScalingPolicyPredefinedMetricSpecificationOutput
- func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
- func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput
- func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput
- type ScalingPolicyState
- type ScalingPolicyStepAdjustment
- type ScalingPolicyStepAdjustmentArgs
- func (ScalingPolicyStepAdjustmentArgs) ElementType() reflect.Type
- func (i ScalingPolicyStepAdjustmentArgs) ToScalingPolicyStepAdjustmentOutput() ScalingPolicyStepAdjustmentOutput
- func (i ScalingPolicyStepAdjustmentArgs) ToScalingPolicyStepAdjustmentOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentOutput
- type ScalingPolicyStepAdjustmentArray
- func (ScalingPolicyStepAdjustmentArray) ElementType() reflect.Type
- func (i ScalingPolicyStepAdjustmentArray) ToScalingPolicyStepAdjustmentArrayOutput() ScalingPolicyStepAdjustmentArrayOutput
- func (i ScalingPolicyStepAdjustmentArray) ToScalingPolicyStepAdjustmentArrayOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentArrayOutput
- type ScalingPolicyStepAdjustmentArrayInput
- type ScalingPolicyStepAdjustmentArrayOutput
- func (ScalingPolicyStepAdjustmentArrayOutput) ElementType() reflect.Type
- func (o ScalingPolicyStepAdjustmentArrayOutput) Index(i pulumi.IntInput) ScalingPolicyStepAdjustmentOutput
- func (o ScalingPolicyStepAdjustmentArrayOutput) ToScalingPolicyStepAdjustmentArrayOutput() ScalingPolicyStepAdjustmentArrayOutput
- func (o ScalingPolicyStepAdjustmentArrayOutput) ToScalingPolicyStepAdjustmentArrayOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentArrayOutput
- type ScalingPolicyStepAdjustmentInput
- type ScalingPolicyStepAdjustmentOutput
- func (ScalingPolicyStepAdjustmentOutput) ElementType() reflect.Type
- func (o ScalingPolicyStepAdjustmentOutput) MetricIntervalLowerBound() pulumi.Float64PtrOutput
- func (o ScalingPolicyStepAdjustmentOutput) MetricIntervalUpperBound() pulumi.Float64PtrOutput
- func (o ScalingPolicyStepAdjustmentOutput) ScalingAdjustment() pulumi.IntOutput
- func (o ScalingPolicyStepAdjustmentOutput) ToScalingPolicyStepAdjustmentOutput() ScalingPolicyStepAdjustmentOutput
- func (o ScalingPolicyStepAdjustmentOutput) ToScalingPolicyStepAdjustmentOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentOutput
- type ScalingPolicyStepScalingPolicyConfiguration
- type ScalingPolicyStepScalingPolicyConfigurationArgs
- func (ScalingPolicyStepScalingPolicyConfigurationArgs) ElementType() reflect.Type
- func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationOutput() ScalingPolicyStepScalingPolicyConfigurationOutput
- func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationOutput
- func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
- func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput
- type ScalingPolicyStepScalingPolicyConfigurationInput
- type ScalingPolicyStepScalingPolicyConfigurationOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationOutput) AdjustmentType() pulumi.StringPtrOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationOutput) Cooldown() pulumi.IntPtrOutput
- func (ScalingPolicyStepScalingPolicyConfigurationOutput) ElementType() reflect.Type
- func (o ScalingPolicyStepScalingPolicyConfigurationOutput) MetricAggregationType() pulumi.StringPtrOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationOutput) MinAdjustmentMagnitude() pulumi.IntPtrOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationOutput) StepAdjustments() ScalingPolicyStepAdjustmentArrayOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationOutput() ScalingPolicyStepScalingPolicyConfigurationOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput
- type ScalingPolicyStepScalingPolicyConfigurationPtrInput
- type ScalingPolicyStepScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) AdjustmentType() pulumi.StringPtrOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) Cooldown() pulumi.IntPtrOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) Elem() ScalingPolicyStepScalingPolicyConfigurationOutput
- func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) MetricAggregationType() pulumi.StringPtrOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) MinAdjustmentMagnitude() pulumi.IntPtrOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) StepAdjustments() ScalingPolicyStepAdjustmentArrayOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput
- type ScalingPolicyTargetTrackingMetric
- type ScalingPolicyTargetTrackingMetricArgs
- func (ScalingPolicyTargetTrackingMetricArgs) ElementType() reflect.Type
- func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricOutput() ScalingPolicyTargetTrackingMetricOutput
- func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricOutput
- func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput
- func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricPtrOutput
- type ScalingPolicyTargetTrackingMetricDataQuery
- type ScalingPolicyTargetTrackingMetricDataQueryArgs
- func (ScalingPolicyTargetTrackingMetricDataQueryArgs) ElementType() reflect.Type
- func (i ScalingPolicyTargetTrackingMetricDataQueryArgs) ToScalingPolicyTargetTrackingMetricDataQueryOutput() ScalingPolicyTargetTrackingMetricDataQueryOutput
- func (i ScalingPolicyTargetTrackingMetricDataQueryArgs) ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryOutput
- type ScalingPolicyTargetTrackingMetricDataQueryArray
- func (ScalingPolicyTargetTrackingMetricDataQueryArray) ElementType() reflect.Type
- func (i ScalingPolicyTargetTrackingMetricDataQueryArray) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
- func (i ScalingPolicyTargetTrackingMetricDataQueryArray) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
- type ScalingPolicyTargetTrackingMetricDataQueryArrayInput
- type ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
- func (ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ElementType() reflect.Type
- func (o ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) Index(i pulumi.IntInput) ScalingPolicyTargetTrackingMetricDataQueryOutput
- func (o ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
- func (o ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
- type ScalingPolicyTargetTrackingMetricDataQueryInput
- type ScalingPolicyTargetTrackingMetricDataQueryOutput
- func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ElementType() reflect.Type
- func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) Expression() pulumi.StringPtrOutput
- func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) Id() pulumi.StringPtrOutput
- func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) Label() pulumi.StringPtrOutput
- func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) MetricStat() ScalingPolicyTargetTrackingMetricStatPtrOutput
- func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) ReturnData() pulumi.BoolPtrOutput
- func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) ToScalingPolicyTargetTrackingMetricDataQueryOutput() ScalingPolicyTargetTrackingMetricDataQueryOutput
- func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryOutput
- type ScalingPolicyTargetTrackingMetricDimension
- type ScalingPolicyTargetTrackingMetricDimensionArgs
- func (ScalingPolicyTargetTrackingMetricDimensionArgs) ElementType() reflect.Type
- func (i ScalingPolicyTargetTrackingMetricDimensionArgs) ToScalingPolicyTargetTrackingMetricDimensionOutput() ScalingPolicyTargetTrackingMetricDimensionOutput
- func (i ScalingPolicyTargetTrackingMetricDimensionArgs) ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionOutput
- type ScalingPolicyTargetTrackingMetricDimensionArray
- func (ScalingPolicyTargetTrackingMetricDimensionArray) ElementType() reflect.Type
- func (i ScalingPolicyTargetTrackingMetricDimensionArray) ToScalingPolicyTargetTrackingMetricDimensionArrayOutput() ScalingPolicyTargetTrackingMetricDimensionArrayOutput
- func (i ScalingPolicyTargetTrackingMetricDimensionArray) ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionArrayOutput
- type ScalingPolicyTargetTrackingMetricDimensionArrayInput
- type ScalingPolicyTargetTrackingMetricDimensionArrayOutput
- func (ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ElementType() reflect.Type
- func (o ScalingPolicyTargetTrackingMetricDimensionArrayOutput) Index(i pulumi.IntInput) ScalingPolicyTargetTrackingMetricDimensionOutput
- func (o ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ToScalingPolicyTargetTrackingMetricDimensionArrayOutput() ScalingPolicyTargetTrackingMetricDimensionArrayOutput
- func (o ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionArrayOutput
- type ScalingPolicyTargetTrackingMetricDimensionInput
- type ScalingPolicyTargetTrackingMetricDimensionOutput
- func (ScalingPolicyTargetTrackingMetricDimensionOutput) ElementType() reflect.Type
- func (o ScalingPolicyTargetTrackingMetricDimensionOutput) Name() pulumi.StringPtrOutput
- func (o ScalingPolicyTargetTrackingMetricDimensionOutput) ToScalingPolicyTargetTrackingMetricDimensionOutput() ScalingPolicyTargetTrackingMetricDimensionOutput
- func (o ScalingPolicyTargetTrackingMetricDimensionOutput) ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionOutput
- func (o ScalingPolicyTargetTrackingMetricDimensionOutput) Value() pulumi.StringPtrOutput
- type ScalingPolicyTargetTrackingMetricInput
- type ScalingPolicyTargetTrackingMetricOutput
- func (o ScalingPolicyTargetTrackingMetricOutput) Dimensions() ScalingPolicyTargetTrackingMetricDimensionArrayOutput
- func (ScalingPolicyTargetTrackingMetricOutput) ElementType() reflect.Type
- func (o ScalingPolicyTargetTrackingMetricOutput) MetricName() pulumi.StringPtrOutput
- func (o ScalingPolicyTargetTrackingMetricOutput) Namespace() pulumi.StringPtrOutput
- func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricOutput() ScalingPolicyTargetTrackingMetricOutput
- func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricOutput
- func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput
- func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricPtrOutput
- type ScalingPolicyTargetTrackingMetricPtrInput
- type ScalingPolicyTargetTrackingMetricPtrOutput
- func (o ScalingPolicyTargetTrackingMetricPtrOutput) Dimensions() ScalingPolicyTargetTrackingMetricDimensionArrayOutput
- func (o ScalingPolicyTargetTrackingMetricPtrOutput) Elem() ScalingPolicyTargetTrackingMetricOutput
- func (ScalingPolicyTargetTrackingMetricPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyTargetTrackingMetricPtrOutput) MetricName() pulumi.StringPtrOutput
- func (o ScalingPolicyTargetTrackingMetricPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ScalingPolicyTargetTrackingMetricPtrOutput) ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput
- func (o ScalingPolicyTargetTrackingMetricPtrOutput) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricPtrOutput
- type ScalingPolicyTargetTrackingMetricStat
- type ScalingPolicyTargetTrackingMetricStatArgs
- func (ScalingPolicyTargetTrackingMetricStatArgs) ElementType() reflect.Type
- func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatOutput() ScalingPolicyTargetTrackingMetricStatOutput
- func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatOutput
- func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput
- func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput
- type ScalingPolicyTargetTrackingMetricStatInput
- type ScalingPolicyTargetTrackingMetricStatOutput
- func (ScalingPolicyTargetTrackingMetricStatOutput) ElementType() reflect.Type
- func (o ScalingPolicyTargetTrackingMetricStatOutput) Metric() ScalingPolicyTargetTrackingMetricPtrOutput
- func (o ScalingPolicyTargetTrackingMetricStatOutput) Stat() pulumi.StringPtrOutput
- func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatOutput() ScalingPolicyTargetTrackingMetricStatOutput
- func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatOutput
- func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput
- func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput
- func (o ScalingPolicyTargetTrackingMetricStatOutput) Unit() pulumi.StringPtrOutput
- type ScalingPolicyTargetTrackingMetricStatPtrInput
- type ScalingPolicyTargetTrackingMetricStatPtrOutput
- func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) Elem() ScalingPolicyTargetTrackingMetricStatOutput
- func (ScalingPolicyTargetTrackingMetricStatPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) Metric() ScalingPolicyTargetTrackingMetricPtrOutput
- func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) Stat() pulumi.StringPtrOutput
- func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput
- func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput
- func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) Unit() pulumi.StringPtrOutput
- type ScalingPolicyTargetTrackingScalingPolicyConfiguration
- type ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs
- func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ElementType() reflect.Type
- func (i ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
- func (i ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
- func (i ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (i ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- type ScalingPolicyTargetTrackingScalingPolicyConfigurationInput
- type ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) CustomizedMetricSpecification() ScalingPolicyCustomizedMetricSpecificationPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) DisableScaleIn() pulumi.BoolPtrOutput
- func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ElementType() reflect.Type
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) PredefinedMetricSpecification() ScalingPolicyPredefinedMetricSpecificationPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleInCooldown() pulumi.IntPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleOutCooldown() pulumi.IntPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) TargetValue() pulumi.Float64Output
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- type ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput
- type ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) CustomizedMetricSpecification() ScalingPolicyCustomizedMetricSpecificationPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) DisableScaleIn() pulumi.BoolPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) Elem() ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
- func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) PredefinedMetricSpecification() ScalingPolicyPredefinedMetricSpecificationPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleInCooldown() pulumi.IntPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleOutCooldown() pulumi.IntPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) TargetValue() pulumi.Float64PtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupScalableTargetArgs ¶ added in v0.12.0
type LookupScalableTargetArgs struct { // The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. // + ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“. // + Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“. // + EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“. // + AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“. // + DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“. // + DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“. // + Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“. // + SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource). // + Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“. // + Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“. // + Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“. // + Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“. // + Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“. // + Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“. // + Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“. // + SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“. ResourceId string `pulumi:"resourceId"` // The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. // + “ecs:service:DesiredCount“ - The desired task count of an ECS service. // + “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group. // + “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet. // + “appstream:fleet:DesiredCapacity“ - The desired capacity of an AppStream 2.0 fleet. // + “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table. // + “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table. // + “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index. // + “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index. // + “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition. // + “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant. // + “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service. // + “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint. // + “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint. // + “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function. // + “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table. // + “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table. // + “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster. // + “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group. // + “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group. // + “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster. // + “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint. // + “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component. ScalableDimension string `pulumi:"scalableDimension"` // The namespace of the AWS service that provides the resource, or a “custom-resource“. ServiceNamespace string `pulumi:"serviceNamespace"` }
type LookupScalableTargetOutputArgs ¶ added in v0.12.0
type LookupScalableTargetOutputArgs struct { // The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. // + ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“. // + Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“. // + EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“. // + AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“. // + DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“. // + DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“. // + Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“. // + SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource). // + Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“. // + Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“. // + Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“. // + Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“. // + Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“. // + Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“. // + Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“. // + SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“. ResourceId pulumi.StringInput `pulumi:"resourceId"` // The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. // + “ecs:service:DesiredCount“ - The desired task count of an ECS service. // + “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group. // + “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet. // + “appstream:fleet:DesiredCapacity“ - The desired capacity of an AppStream 2.0 fleet. // + “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table. // + “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table. // + “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index. // + “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index. // + “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition. // + “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant. // + “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service. // + “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint. // + “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint. // + “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function. // + “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table. // + “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table. // + “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster. // + “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group. // + “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group. // + “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster. // + “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint. // + “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component. ScalableDimension pulumi.StringInput `pulumi:"scalableDimension"` // The namespace of the AWS service that provides the resource, or a “custom-resource“. ServiceNamespace pulumi.StringInput `pulumi:"serviceNamespace"` }
func (LookupScalableTargetOutputArgs) ElementType ¶ added in v0.12.0
func (LookupScalableTargetOutputArgs) ElementType() reflect.Type
type LookupScalableTargetResult ¶ added in v0.12.0
type LookupScalableTargetResult struct { Id *string `pulumi:"id"` // The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand. MaxCapacity *int `pulumi:"maxCapacity"` // The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand. MinCapacity *int `pulumi:"minCapacity"` // The scheduled actions for the scalable target. Duplicates aren't allowed. ScheduledActions []ScalableTargetScheduledAction `pulumi:"scheduledActions"` // An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to “true“ suspends the specified scaling activities. Setting it to “false“ (default) resumes the specified scaling activities. // *Suspension Outcomes* // + For “DynamicScalingInSuspended“, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended. // + For “DynamicScalingOutSuspended“, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended. // + For “ScheduledScalingSuspended“, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended. SuspendedState *ScalableTargetSuspendedState `pulumi:"suspendedState"` }
func LookupScalableTarget ¶ added in v0.12.0
func LookupScalableTarget(ctx *pulumi.Context, args *LookupScalableTargetArgs, opts ...pulumi.InvokeOption) (*LookupScalableTargetResult, error)
The “AWS::ApplicationAutoScaling::ScalableTarget“ resource specifies a resource that Application Auto Scaling can scale, such as an AWS::DynamoDB::Table or AWS::ECS::Service resource.
For more information, see [Getting started](https://docs.aws.amazon.com/autoscaling/application/userguide/getting-started.html) in the *Application Auto Scaling User Guide*. If the resource that you want Application Auto Scaling to scale is not yet created in your account, add a dependency on the resource when registering it as a scalable target using the [DependsOn](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) attribute.
type LookupScalableTargetResultOutput ¶ added in v0.12.0
type LookupScalableTargetResultOutput struct{ *pulumi.OutputState }
func LookupScalableTargetOutput ¶ added in v0.12.0
func LookupScalableTargetOutput(ctx *pulumi.Context, args LookupScalableTargetOutputArgs, opts ...pulumi.InvokeOption) LookupScalableTargetResultOutput
func (LookupScalableTargetResultOutput) ElementType ¶ added in v0.12.0
func (LookupScalableTargetResultOutput) ElementType() reflect.Type
func (LookupScalableTargetResultOutput) Id ¶ added in v0.12.0
func (o LookupScalableTargetResultOutput) Id() pulumi.StringPtrOutput
func (LookupScalableTargetResultOutput) MaxCapacity ¶ added in v0.12.0
func (o LookupScalableTargetResultOutput) MaxCapacity() pulumi.IntPtrOutput
The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand.
func (LookupScalableTargetResultOutput) MinCapacity ¶ added in v0.12.0
func (o LookupScalableTargetResultOutput) MinCapacity() pulumi.IntPtrOutput
The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.
func (LookupScalableTargetResultOutput) ScheduledActions ¶ added in v0.12.0
func (o LookupScalableTargetResultOutput) ScheduledActions() ScalableTargetScheduledActionArrayOutput
The scheduled actions for the scalable target. Duplicates aren't allowed.
func (LookupScalableTargetResultOutput) SuspendedState ¶ added in v0.12.0
func (o LookupScalableTargetResultOutput) SuspendedState() ScalableTargetSuspendedStatePtrOutput
An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to “true“ suspends the specified scaling activities. Setting it to “false“ (default) resumes the specified scaling activities.
*Suspension Outcomes* + For ``DynamicScalingInSuspended``, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended. + For ``DynamicScalingOutSuspended``, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended. + For ``ScheduledScalingSuspended``, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.
func (LookupScalableTargetResultOutput) ToLookupScalableTargetResultOutput ¶ added in v0.12.0
func (o LookupScalableTargetResultOutput) ToLookupScalableTargetResultOutput() LookupScalableTargetResultOutput
func (LookupScalableTargetResultOutput) ToLookupScalableTargetResultOutputWithContext ¶ added in v0.12.0
func (o LookupScalableTargetResultOutput) ToLookupScalableTargetResultOutputWithContext(ctx context.Context) LookupScalableTargetResultOutput
type LookupScalingPolicyArgs ¶ added in v0.12.0
type LookupScalingPolicyArgs struct { // Returns the ARN of a scaling policy. Arn string `pulumi:"arn"` // The scalable dimension. This string consists of the service namespace, resource type, and scaling property. // + “ecs:service:DesiredCount“ - The task count of an ECS service. // + “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group. // + “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet. // + “appstream:fleet:DesiredCapacity“ - The capacity of an AppStream 2.0 fleet. // + “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table. // + “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table. // + “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index. // + “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index. // + “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition. // + “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant. // + “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service. // + “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint. // + “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint. // + “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function. // + “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table. // + “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table. // + “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster. // + “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group. // + “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group. // + “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster. // + “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint. // + “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component. // + “workspaces:workspacespool:DesiredUserSessions“ - The number of user sessions for the WorkSpaces in the pool. ScalableDimension string `pulumi:"scalableDimension"` }
type LookupScalingPolicyOutputArgs ¶ added in v0.12.0
type LookupScalingPolicyOutputArgs struct { // Returns the ARN of a scaling policy. Arn pulumi.StringInput `pulumi:"arn"` // The scalable dimension. This string consists of the service namespace, resource type, and scaling property. // + “ecs:service:DesiredCount“ - The task count of an ECS service. // + “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group. // + “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet. // + “appstream:fleet:DesiredCapacity“ - The capacity of an AppStream 2.0 fleet. // + “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table. // + “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table. // + “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index. // + “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index. // + “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition. // + “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant. // + “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service. // + “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint. // + “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint. // + “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function. // + “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table. // + “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table. // + “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster. // + “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group. // + “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group. // + “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster. // + “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint. // + “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component. // + “workspaces:workspacespool:DesiredUserSessions“ - The number of user sessions for the WorkSpaces in the pool. ScalableDimension pulumi.StringInput `pulumi:"scalableDimension"` }
func (LookupScalingPolicyOutputArgs) ElementType ¶ added in v0.12.0
func (LookupScalingPolicyOutputArgs) ElementType() reflect.Type
type LookupScalingPolicyResult ¶ added in v0.12.0
type LookupScalingPolicyResult struct { // Returns the ARN of a scaling policy. Arn *string `pulumi:"arn"` // The scaling policy type. // The following policy types are supported: // “TargetTrackingScaling“—Not supported for Amazon EMR // “StepScaling“—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune. PolicyType *string `pulumi:"policyType"` // A step scaling policy. StepScalingPolicyConfiguration *ScalingPolicyStepScalingPolicyConfiguration `pulumi:"stepScalingPolicyConfiguration"` // A target tracking scaling policy. TargetTrackingScalingPolicyConfiguration *ScalingPolicyTargetTrackingScalingPolicyConfiguration `pulumi:"targetTrackingScalingPolicyConfiguration"` }
func LookupScalingPolicy ¶ added in v0.12.0
func LookupScalingPolicy(ctx *pulumi.Context, args *LookupScalingPolicyArgs, opts ...pulumi.InvokeOption) (*LookupScalingPolicyResult, error)
The “AWS::ApplicationAutoScaling::ScalingPolicy“ resource defines a scaling policy that Application Auto Scaling uses to adjust the capacity of a scalable target.
For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.
type LookupScalingPolicyResultOutput ¶ added in v0.12.0
type LookupScalingPolicyResultOutput struct{ *pulumi.OutputState }
func LookupScalingPolicyOutput ¶ added in v0.12.0
func LookupScalingPolicyOutput(ctx *pulumi.Context, args LookupScalingPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupScalingPolicyResultOutput
func (LookupScalingPolicyResultOutput) Arn ¶ added in v0.85.0
func (o LookupScalingPolicyResultOutput) Arn() pulumi.StringPtrOutput
Returns the ARN of a scaling policy.
func (LookupScalingPolicyResultOutput) ElementType ¶ added in v0.12.0
func (LookupScalingPolicyResultOutput) ElementType() reflect.Type
func (LookupScalingPolicyResultOutput) PolicyType ¶ added in v0.12.0
func (o LookupScalingPolicyResultOutput) PolicyType() pulumi.StringPtrOutput
The scaling policy type.
The following policy types are supported: ``TargetTrackingScaling``—Not supported for Amazon EMR ``StepScaling``—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
func (LookupScalingPolicyResultOutput) StepScalingPolicyConfiguration ¶ added in v0.12.0
func (o LookupScalingPolicyResultOutput) StepScalingPolicyConfiguration() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
A step scaling policy.
func (LookupScalingPolicyResultOutput) TargetTrackingScalingPolicyConfiguration ¶ added in v0.12.0
func (o LookupScalingPolicyResultOutput) TargetTrackingScalingPolicyConfiguration() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
A target tracking scaling policy.
func (LookupScalingPolicyResultOutput) ToLookupScalingPolicyResultOutput ¶ added in v0.12.0
func (o LookupScalingPolicyResultOutput) ToLookupScalingPolicyResultOutput() LookupScalingPolicyResultOutput
func (LookupScalingPolicyResultOutput) ToLookupScalingPolicyResultOutputWithContext ¶ added in v0.12.0
func (o LookupScalingPolicyResultOutput) ToLookupScalingPolicyResultOutputWithContext(ctx context.Context) LookupScalingPolicyResultOutput
type ScalableTarget ¶
type ScalableTarget struct { pulumi.CustomResourceState AwsId pulumi.StringOutput `pulumi:"awsId"` // The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand. MaxCapacity pulumi.IntOutput `pulumi:"maxCapacity"` // The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand. MinCapacity pulumi.IntOutput `pulumi:"minCapacity"` // The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. // + ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“. // + Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“. // + EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“. // + AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“. // + DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“. // + DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“. // + Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“. // + SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource). // + Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“. // + Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“. // + Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“. // + Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“. // + Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“. // + Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“. // + Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“. // + SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“. ResourceId pulumi.StringOutput `pulumi:"resourceId"` // Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. This can be either an IAM service role that Application Auto Scaling can assume to make calls to other AWS resources on your behalf, or a service-linked role for the specified service. For more information, see [How Application Auto Scaling works with IAM](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html) in the *Application Auto Scaling User Guide*. // To automatically create a service-linked role (recommended), specify the full ARN of the service-linked role in your stack template. To find the exact ARN of the service-linked role for your AWS or custom resource, see the [Service-linked roles](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-service-linked-roles.html) topic in the *Application Auto Scaling User Guide*. Look for the ARN in the table at the bottom of the page. RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"` // The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. // + “ecs:service:DesiredCount“ - The desired task count of an ECS service. // + “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group. // + “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet. // + “appstream:fleet:DesiredCapacity“ - The desired capacity of an AppStream 2.0 fleet. // + “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table. // + “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table. // + “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index. // + “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index. // + “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition. // + “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant. // + “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service. // + “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint. // + “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint. // + “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function. // + “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table. // + “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table. // + “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster. // + “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group. // + “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group. // + “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster. // + “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint. // + “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component. ScalableDimension pulumi.StringOutput `pulumi:"scalableDimension"` // The scheduled actions for the scalable target. Duplicates aren't allowed. ScheduledActions ScalableTargetScheduledActionArrayOutput `pulumi:"scheduledActions"` // The namespace of the AWS service that provides the resource, or a “custom-resource“. ServiceNamespace pulumi.StringOutput `pulumi:"serviceNamespace"` // An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to “true“ suspends the specified scaling activities. Setting it to “false“ (default) resumes the specified scaling activities. // *Suspension Outcomes* // + For “DynamicScalingInSuspended“, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended. // + For “DynamicScalingOutSuspended“, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended. // + For “ScheduledScalingSuspended“, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended. SuspendedState ScalableTargetSuspendedStatePtrOutput `pulumi:"suspendedState"` }
The “AWS::ApplicationAutoScaling::ScalableTarget“ resource specifies a resource that Application Auto Scaling can scale, such as an AWS::DynamoDB::Table or AWS::ECS::Service resource.
For more information, see [Getting started](https://docs.aws.amazon.com/autoscaling/application/userguide/getting-started.html) in the *Application Auto Scaling User Guide*. If the resource that you want Application Auto Scaling to scale is not yet created in your account, add a dependency on the resource when registering it as a scalable target using the [DependsOn](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html) attribute.
func GetScalableTarget ¶
func GetScalableTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ScalableTargetState, opts ...pulumi.ResourceOption) (*ScalableTarget, error)
GetScalableTarget gets an existing ScalableTarget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewScalableTarget ¶
func NewScalableTarget(ctx *pulumi.Context, name string, args *ScalableTargetArgs, opts ...pulumi.ResourceOption) (*ScalableTarget, error)
NewScalableTarget registers a new resource with the given unique name, arguments, and options.
func (*ScalableTarget) ElementType ¶
func (*ScalableTarget) ElementType() reflect.Type
func (*ScalableTarget) ToScalableTargetOutput ¶
func (i *ScalableTarget) ToScalableTargetOutput() ScalableTargetOutput
func (*ScalableTarget) ToScalableTargetOutputWithContext ¶
func (i *ScalableTarget) ToScalableTargetOutputWithContext(ctx context.Context) ScalableTargetOutput
type ScalableTargetAction ¶ added in v0.2.0
type ScalableTargetAction struct { // The maximum capacity. MaxCapacity *int `pulumi:"maxCapacity"` // The minimum capacity. MinCapacity *int `pulumi:"minCapacity"` }
“ScalableTargetAction“ specifies the minimum and maximum capacity for the “ScalableTargetAction“ property of the [AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html) property type.
type ScalableTargetActionArgs ¶ added in v0.2.0
type ScalableTargetActionArgs struct { // The maximum capacity. MaxCapacity pulumi.IntPtrInput `pulumi:"maxCapacity"` // The minimum capacity. MinCapacity pulumi.IntPtrInput `pulumi:"minCapacity"` }
“ScalableTargetAction“ specifies the minimum and maximum capacity for the “ScalableTargetAction“ property of the [AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html) property type.
func (ScalableTargetActionArgs) ElementType ¶ added in v0.2.0
func (ScalableTargetActionArgs) ElementType() reflect.Type
func (ScalableTargetActionArgs) ToScalableTargetActionOutput ¶ added in v0.2.0
func (i ScalableTargetActionArgs) ToScalableTargetActionOutput() ScalableTargetActionOutput
func (ScalableTargetActionArgs) ToScalableTargetActionOutputWithContext ¶ added in v0.2.0
func (i ScalableTargetActionArgs) ToScalableTargetActionOutputWithContext(ctx context.Context) ScalableTargetActionOutput
func (ScalableTargetActionArgs) ToScalableTargetActionPtrOutput ¶ added in v0.2.0
func (i ScalableTargetActionArgs) ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput
func (ScalableTargetActionArgs) ToScalableTargetActionPtrOutputWithContext ¶ added in v0.2.0
func (i ScalableTargetActionArgs) ToScalableTargetActionPtrOutputWithContext(ctx context.Context) ScalableTargetActionPtrOutput
type ScalableTargetActionInput ¶ added in v0.2.0
type ScalableTargetActionInput interface { pulumi.Input ToScalableTargetActionOutput() ScalableTargetActionOutput ToScalableTargetActionOutputWithContext(context.Context) ScalableTargetActionOutput }
ScalableTargetActionInput is an input type that accepts ScalableTargetActionArgs and ScalableTargetActionOutput values. You can construct a concrete instance of `ScalableTargetActionInput` via:
ScalableTargetActionArgs{...}
type ScalableTargetActionOutput ¶ added in v0.2.0
type ScalableTargetActionOutput struct{ *pulumi.OutputState }
“ScalableTargetAction“ specifies the minimum and maximum capacity for the “ScalableTargetAction“ property of the [AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalabletarget-scheduledaction.html) property type.
func (ScalableTargetActionOutput) ElementType ¶ added in v0.2.0
func (ScalableTargetActionOutput) ElementType() reflect.Type
func (ScalableTargetActionOutput) MaxCapacity ¶ added in v0.2.0
func (o ScalableTargetActionOutput) MaxCapacity() pulumi.IntPtrOutput
The maximum capacity.
func (ScalableTargetActionOutput) MinCapacity ¶ added in v0.2.0
func (o ScalableTargetActionOutput) MinCapacity() pulumi.IntPtrOutput
The minimum capacity.
func (ScalableTargetActionOutput) ToScalableTargetActionOutput ¶ added in v0.2.0
func (o ScalableTargetActionOutput) ToScalableTargetActionOutput() ScalableTargetActionOutput
func (ScalableTargetActionOutput) ToScalableTargetActionOutputWithContext ¶ added in v0.2.0
func (o ScalableTargetActionOutput) ToScalableTargetActionOutputWithContext(ctx context.Context) ScalableTargetActionOutput
func (ScalableTargetActionOutput) ToScalableTargetActionPtrOutput ¶ added in v0.2.0
func (o ScalableTargetActionOutput) ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput
func (ScalableTargetActionOutput) ToScalableTargetActionPtrOutputWithContext ¶ added in v0.2.0
func (o ScalableTargetActionOutput) ToScalableTargetActionPtrOutputWithContext(ctx context.Context) ScalableTargetActionPtrOutput
type ScalableTargetActionPtrInput ¶ added in v0.2.0
type ScalableTargetActionPtrInput interface { pulumi.Input ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput ToScalableTargetActionPtrOutputWithContext(context.Context) ScalableTargetActionPtrOutput }
ScalableTargetActionPtrInput is an input type that accepts ScalableTargetActionArgs, ScalableTargetActionPtr and ScalableTargetActionPtrOutput values. You can construct a concrete instance of `ScalableTargetActionPtrInput` via:
ScalableTargetActionArgs{...} or: nil
func ScalableTargetActionPtr ¶ added in v0.2.0
func ScalableTargetActionPtr(v *ScalableTargetActionArgs) ScalableTargetActionPtrInput
type ScalableTargetActionPtrOutput ¶ added in v0.2.0
type ScalableTargetActionPtrOutput struct{ *pulumi.OutputState }
func (ScalableTargetActionPtrOutput) Elem ¶ added in v0.2.0
func (o ScalableTargetActionPtrOutput) Elem() ScalableTargetActionOutput
func (ScalableTargetActionPtrOutput) ElementType ¶ added in v0.2.0
func (ScalableTargetActionPtrOutput) ElementType() reflect.Type
func (ScalableTargetActionPtrOutput) MaxCapacity ¶ added in v0.2.0
func (o ScalableTargetActionPtrOutput) MaxCapacity() pulumi.IntPtrOutput
The maximum capacity.
func (ScalableTargetActionPtrOutput) MinCapacity ¶ added in v0.2.0
func (o ScalableTargetActionPtrOutput) MinCapacity() pulumi.IntPtrOutput
The minimum capacity.
func (ScalableTargetActionPtrOutput) ToScalableTargetActionPtrOutput ¶ added in v0.2.0
func (o ScalableTargetActionPtrOutput) ToScalableTargetActionPtrOutput() ScalableTargetActionPtrOutput
func (ScalableTargetActionPtrOutput) ToScalableTargetActionPtrOutputWithContext ¶ added in v0.2.0
func (o ScalableTargetActionPtrOutput) ToScalableTargetActionPtrOutputWithContext(ctx context.Context) ScalableTargetActionPtrOutput
type ScalableTargetArgs ¶
type ScalableTargetArgs struct { // The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand. MaxCapacity pulumi.IntInput // The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand. MinCapacity pulumi.IntInput // The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. // + ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“. // + Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“. // + EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“. // + AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“. // + DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“. // + DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“. // + Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“. // + SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource). // + Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“. // + Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“. // + Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“. // + Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“. // + Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“. // + Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“. // + Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“. // + SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“. ResourceId pulumi.StringInput // Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. This can be either an IAM service role that Application Auto Scaling can assume to make calls to other AWS resources on your behalf, or a service-linked role for the specified service. For more information, see [How Application Auto Scaling works with IAM](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html) in the *Application Auto Scaling User Guide*. // To automatically create a service-linked role (recommended), specify the full ARN of the service-linked role in your stack template. To find the exact ARN of the service-linked role for your AWS or custom resource, see the [Service-linked roles](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-service-linked-roles.html) topic in the *Application Auto Scaling User Guide*. Look for the ARN in the table at the bottom of the page. RoleArn pulumi.StringPtrInput // The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. // + “ecs:service:DesiredCount“ - The desired task count of an ECS service. // + “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group. // + “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet. // + “appstream:fleet:DesiredCapacity“ - The desired capacity of an AppStream 2.0 fleet. // + “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table. // + “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table. // + “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index. // + “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index. // + “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition. // + “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant. // + “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service. // + “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint. // + “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint. // + “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function. // + “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table. // + “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table. // + “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster. // + “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group. // + “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group. // + “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster. // + “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint. // + “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component. ScalableDimension pulumi.StringInput // The scheduled actions for the scalable target. Duplicates aren't allowed. ScheduledActions ScalableTargetScheduledActionArrayInput // The namespace of the AWS service that provides the resource, or a “custom-resource“. ServiceNamespace pulumi.StringInput // An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to “true“ suspends the specified scaling activities. Setting it to “false“ (default) resumes the specified scaling activities. // *Suspension Outcomes* // + For “DynamicScalingInSuspended“, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended. // + For “DynamicScalingOutSuspended“, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended. // + For “ScheduledScalingSuspended“, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended. SuspendedState ScalableTargetSuspendedStatePtrInput }
The set of arguments for constructing a ScalableTarget resource.
func (ScalableTargetArgs) ElementType ¶
func (ScalableTargetArgs) ElementType() reflect.Type
type ScalableTargetInput ¶
type ScalableTargetInput interface { pulumi.Input ToScalableTargetOutput() ScalableTargetOutput ToScalableTargetOutputWithContext(ctx context.Context) ScalableTargetOutput }
type ScalableTargetOutput ¶
type ScalableTargetOutput struct{ *pulumi.OutputState }
func (ScalableTargetOutput) AwsId ¶ added in v0.99.0
func (o ScalableTargetOutput) AwsId() pulumi.StringOutput
func (ScalableTargetOutput) ElementType ¶
func (ScalableTargetOutput) ElementType() reflect.Type
func (ScalableTargetOutput) MaxCapacity ¶ added in v0.17.0
func (o ScalableTargetOutput) MaxCapacity() pulumi.IntOutput
The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand.
func (ScalableTargetOutput) MinCapacity ¶ added in v0.17.0
func (o ScalableTargetOutput) MinCapacity() pulumi.IntOutput
The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.
func (ScalableTargetOutput) ResourceId ¶ added in v0.17.0
func (o ScalableTargetOutput) ResourceId() pulumi.StringOutput
The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
- ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“.
- Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“.
- EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“.
- AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“.
- DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“.
- DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“.
- Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“.
- SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
- Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
- Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“.
- Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“.
- Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“.
- Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“.
- Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“.
- Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“.
- Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“.
- SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
- SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“.
func (ScalableTargetOutput) RoleArn ¶ added in v0.72.0
func (o ScalableTargetOutput) RoleArn() pulumi.StringPtrOutput
Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf. This can be either an IAM service role that Application Auto Scaling can assume to make calls to other AWS resources on your behalf, or a service-linked role for the specified service. For more information, see [How Application Auto Scaling works with IAM](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html) in the *Application Auto Scaling User Guide*.
To automatically create a service-linked role (recommended), specify the full ARN of the service-linked role in your stack template. To find the exact ARN of the service-linked role for your AWS or custom resource, see the [Service-linked roles](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-service-linked-roles.html) topic in the *Application Auto Scaling User Guide*. Look for the ARN in the table at the bottom of the page.
func (ScalableTargetOutput) ScalableDimension ¶ added in v0.17.0
func (o ScalableTargetOutput) ScalableDimension() pulumi.StringOutput
The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
- “ecs:service:DesiredCount“ - The desired task count of an ECS service.
- “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
- “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
- “appstream:fleet:DesiredCapacity“ - The desired capacity of an AppStream 2.0 fleet.
- “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
- “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
- “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
- “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
- “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
- “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
- “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
- “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
- “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
- “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
- “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
- “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
- “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
- “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
- “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
- “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
- “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
- “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
func (ScalableTargetOutput) ScheduledActions ¶ added in v0.17.0
func (o ScalableTargetOutput) ScheduledActions() ScalableTargetScheduledActionArrayOutput
The scheduled actions for the scalable target. Duplicates aren't allowed.
func (ScalableTargetOutput) ServiceNamespace ¶ added in v0.17.0
func (o ScalableTargetOutput) ServiceNamespace() pulumi.StringOutput
The namespace of the AWS service that provides the resource, or a “custom-resource“.
func (ScalableTargetOutput) SuspendedState ¶ added in v0.17.0
func (o ScalableTargetOutput) SuspendedState() ScalableTargetSuspendedStatePtrOutput
An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to “true“ suspends the specified scaling activities. Setting it to “false“ (default) resumes the specified scaling activities.
*Suspension Outcomes* + For ``DynamicScalingInSuspended``, while a suspension is in effect, all scale-in activities that are triggered by a scaling policy are suspended. + For ``DynamicScalingOutSuspended``, while a suspension is in effect, all scale-out activities that are triggered by a scaling policy are suspended. + For ``ScheduledScalingSuspended``, while a suspension is in effect, all scaling activities that involve scheduled actions are suspended.
func (ScalableTargetOutput) ToScalableTargetOutput ¶
func (o ScalableTargetOutput) ToScalableTargetOutput() ScalableTargetOutput
func (ScalableTargetOutput) ToScalableTargetOutputWithContext ¶
func (o ScalableTargetOutput) ToScalableTargetOutputWithContext(ctx context.Context) ScalableTargetOutput
type ScalableTargetScheduledAction ¶
type ScalableTargetScheduledAction struct { // The date and time that the action is scheduled to end, in UTC. EndTime *string `pulumi:"endTime"` // The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity. ScalableTargetAction *ScalableTargetAction `pulumi:"scalableTargetAction"` // The schedule for this action. The following formats are supported: // + At expressions - "“at(yyyy-mm-ddThh:mm:ss)“" // + Rate expressions - "“rate(value unit)“" // + Cron expressions - "“cron(fields)“" // // At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. // At and cron expressions use Universal Coordinated Time (UTC) by default. // The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. // For rate expressions, *value* is a positive integer and *unit* is “minute“ | “minutes“ | “hour“ | “hours“ | “day“ | “days“. Schedule string `pulumi:"schedule"` // The name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target. ScheduledActionName string `pulumi:"scheduledActionName"` // The date and time that the action is scheduled to begin, in UTC. StartTime *string `pulumi:"startTime"` // The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression. Timezone *string `pulumi:"timezone"` }
“ScheduledAction“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies a scheduled action for a scalable target.
For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) in the *Application Auto Scaling User Guide*.
type ScalableTargetScheduledActionArgs ¶
type ScalableTargetScheduledActionArgs struct { // The date and time that the action is scheduled to end, in UTC. EndTime pulumi.StringPtrInput `pulumi:"endTime"` // The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity. ScalableTargetAction ScalableTargetActionPtrInput `pulumi:"scalableTargetAction"` // The schedule for this action. The following formats are supported: // + At expressions - "“at(yyyy-mm-ddThh:mm:ss)“" // + Rate expressions - "“rate(value unit)“" // + Cron expressions - "“cron(fields)“" // // At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. // At and cron expressions use Universal Coordinated Time (UTC) by default. // The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. // For rate expressions, *value* is a positive integer and *unit* is “minute“ | “minutes“ | “hour“ | “hours“ | “day“ | “days“. Schedule pulumi.StringInput `pulumi:"schedule"` // The name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target. ScheduledActionName pulumi.StringInput `pulumi:"scheduledActionName"` // The date and time that the action is scheduled to begin, in UTC. StartTime pulumi.StringPtrInput `pulumi:"startTime"` // The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression. Timezone pulumi.StringPtrInput `pulumi:"timezone"` }
“ScheduledAction“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies a scheduled action for a scalable target.
For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) in the *Application Auto Scaling User Guide*.
func (ScalableTargetScheduledActionArgs) ElementType ¶
func (ScalableTargetScheduledActionArgs) ElementType() reflect.Type
func (ScalableTargetScheduledActionArgs) ToScalableTargetScheduledActionOutput ¶
func (i ScalableTargetScheduledActionArgs) ToScalableTargetScheduledActionOutput() ScalableTargetScheduledActionOutput
func (ScalableTargetScheduledActionArgs) ToScalableTargetScheduledActionOutputWithContext ¶
func (i ScalableTargetScheduledActionArgs) ToScalableTargetScheduledActionOutputWithContext(ctx context.Context) ScalableTargetScheduledActionOutput
type ScalableTargetScheduledActionArray ¶
type ScalableTargetScheduledActionArray []ScalableTargetScheduledActionInput
func (ScalableTargetScheduledActionArray) ElementType ¶
func (ScalableTargetScheduledActionArray) ElementType() reflect.Type
func (ScalableTargetScheduledActionArray) ToScalableTargetScheduledActionArrayOutput ¶
func (i ScalableTargetScheduledActionArray) ToScalableTargetScheduledActionArrayOutput() ScalableTargetScheduledActionArrayOutput
func (ScalableTargetScheduledActionArray) ToScalableTargetScheduledActionArrayOutputWithContext ¶
func (i ScalableTargetScheduledActionArray) ToScalableTargetScheduledActionArrayOutputWithContext(ctx context.Context) ScalableTargetScheduledActionArrayOutput
type ScalableTargetScheduledActionArrayInput ¶
type ScalableTargetScheduledActionArrayInput interface { pulumi.Input ToScalableTargetScheduledActionArrayOutput() ScalableTargetScheduledActionArrayOutput ToScalableTargetScheduledActionArrayOutputWithContext(context.Context) ScalableTargetScheduledActionArrayOutput }
ScalableTargetScheduledActionArrayInput is an input type that accepts ScalableTargetScheduledActionArray and ScalableTargetScheduledActionArrayOutput values. You can construct a concrete instance of `ScalableTargetScheduledActionArrayInput` via:
ScalableTargetScheduledActionArray{ ScalableTargetScheduledActionArgs{...} }
type ScalableTargetScheduledActionArrayOutput ¶
type ScalableTargetScheduledActionArrayOutput struct{ *pulumi.OutputState }
func (ScalableTargetScheduledActionArrayOutput) ElementType ¶
func (ScalableTargetScheduledActionArrayOutput) ElementType() reflect.Type
func (ScalableTargetScheduledActionArrayOutput) ToScalableTargetScheduledActionArrayOutput ¶
func (o ScalableTargetScheduledActionArrayOutput) ToScalableTargetScheduledActionArrayOutput() ScalableTargetScheduledActionArrayOutput
func (ScalableTargetScheduledActionArrayOutput) ToScalableTargetScheduledActionArrayOutputWithContext ¶
func (o ScalableTargetScheduledActionArrayOutput) ToScalableTargetScheduledActionArrayOutputWithContext(ctx context.Context) ScalableTargetScheduledActionArrayOutput
type ScalableTargetScheduledActionInput ¶
type ScalableTargetScheduledActionInput interface { pulumi.Input ToScalableTargetScheduledActionOutput() ScalableTargetScheduledActionOutput ToScalableTargetScheduledActionOutputWithContext(context.Context) ScalableTargetScheduledActionOutput }
ScalableTargetScheduledActionInput is an input type that accepts ScalableTargetScheduledActionArgs and ScalableTargetScheduledActionOutput values. You can construct a concrete instance of `ScalableTargetScheduledActionInput` via:
ScalableTargetScheduledActionArgs{...}
type ScalableTargetScheduledActionOutput ¶
type ScalableTargetScheduledActionOutput struct{ *pulumi.OutputState }
“ScheduledAction“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies a scheduled action for a scalable target.
For more information, see [Scheduled scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html) in the *Application Auto Scaling User Guide*.
func (ScalableTargetScheduledActionOutput) ElementType ¶
func (ScalableTargetScheduledActionOutput) ElementType() reflect.Type
func (ScalableTargetScheduledActionOutput) EndTime ¶
func (o ScalableTargetScheduledActionOutput) EndTime() pulumi.StringPtrOutput
The date and time that the action is scheduled to end, in UTC.
func (ScalableTargetScheduledActionOutput) ScalableTargetAction ¶
func (o ScalableTargetScheduledActionOutput) ScalableTargetAction() ScalableTargetActionPtrOutput
The new minimum and maximum capacity. You can set both values or just one. At the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity.
func (ScalableTargetScheduledActionOutput) Schedule ¶
func (o ScalableTargetScheduledActionOutput) Schedule() pulumi.StringOutput
The schedule for this action. The following formats are supported:
At expressions - "“at(yyyy-mm-ddThh:mm:ss)“"
Rate expressions - "“rate(value unit)“"
Cron expressions - "“cron(fields)“"
At expressions are useful for one-time schedules. Cron expressions are useful for scheduled actions that run periodically at a specified date and time, and rate expressions are useful for scheduled actions that run at a regular interval. At and cron expressions use Universal Coordinated Time (UTC) by default. The cron format consists of six fields separated by white spaces: [Minutes] [Hours] [Day_of_Month] [Month] [Day_of_Week] [Year]. For rate expressions, *value* is a positive integer and *unit* is “minute“ | “minutes“ | “hour“ | “hours“ | “day“ | “days“.
func (ScalableTargetScheduledActionOutput) ScheduledActionName ¶
func (o ScalableTargetScheduledActionOutput) ScheduledActionName() pulumi.StringOutput
The name of the scheduled action. This name must be unique among all other scheduled actions on the specified scalable target.
func (ScalableTargetScheduledActionOutput) StartTime ¶
func (o ScalableTargetScheduledActionOutput) StartTime() pulumi.StringPtrOutput
The date and time that the action is scheduled to begin, in UTC.
func (ScalableTargetScheduledActionOutput) Timezone ¶
func (o ScalableTargetScheduledActionOutput) Timezone() pulumi.StringPtrOutput
The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression.
func (ScalableTargetScheduledActionOutput) ToScalableTargetScheduledActionOutput ¶
func (o ScalableTargetScheduledActionOutput) ToScalableTargetScheduledActionOutput() ScalableTargetScheduledActionOutput
func (ScalableTargetScheduledActionOutput) ToScalableTargetScheduledActionOutputWithContext ¶
func (o ScalableTargetScheduledActionOutput) ToScalableTargetScheduledActionOutputWithContext(ctx context.Context) ScalableTargetScheduledActionOutput
type ScalableTargetState ¶
type ScalableTargetState struct { }
func (ScalableTargetState) ElementType ¶
func (ScalableTargetState) ElementType() reflect.Type
type ScalableTargetSuspendedState ¶
type ScalableTargetSuspendedState struct { // Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is “false“. DynamicScalingInSuspended *bool `pulumi:"dynamicScalingInSuspended"` // Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is “false“. DynamicScalingOutSuspended *bool `pulumi:"dynamicScalingOutSuspended"` // Whether scheduled scaling is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is “false“. ScheduledScalingSuspended *bool `pulumi:"scheduledScalingSuspended"` }
“SuspendedState“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies whether the scaling activities for a scalable target are in a suspended state.
For more information, see [Suspending and resuming scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) in the *Application Auto Scaling User Guide*.
type ScalableTargetSuspendedStateArgs ¶
type ScalableTargetSuspendedStateArgs struct { // Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is “false“. DynamicScalingInSuspended pulumi.BoolPtrInput `pulumi:"dynamicScalingInSuspended"` // Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is “false“. DynamicScalingOutSuspended pulumi.BoolPtrInput `pulumi:"dynamicScalingOutSuspended"` // Whether scheduled scaling is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is “false“. ScheduledScalingSuspended pulumi.BoolPtrInput `pulumi:"scheduledScalingSuspended"` }
“SuspendedState“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies whether the scaling activities for a scalable target are in a suspended state.
For more information, see [Suspending and resuming scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) in the *Application Auto Scaling User Guide*.
func (ScalableTargetSuspendedStateArgs) ElementType ¶
func (ScalableTargetSuspendedStateArgs) ElementType() reflect.Type
func (ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStateOutput ¶
func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStateOutput() ScalableTargetSuspendedStateOutput
func (ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStateOutputWithContext ¶
func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStateOutputWithContext(ctx context.Context) ScalableTargetSuspendedStateOutput
func (ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStatePtrOutput ¶
func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput
func (ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStatePtrOutputWithContext ¶
func (i ScalableTargetSuspendedStateArgs) ToScalableTargetSuspendedStatePtrOutputWithContext(ctx context.Context) ScalableTargetSuspendedStatePtrOutput
type ScalableTargetSuspendedStateInput ¶
type ScalableTargetSuspendedStateInput interface { pulumi.Input ToScalableTargetSuspendedStateOutput() ScalableTargetSuspendedStateOutput ToScalableTargetSuspendedStateOutputWithContext(context.Context) ScalableTargetSuspendedStateOutput }
ScalableTargetSuspendedStateInput is an input type that accepts ScalableTargetSuspendedStateArgs and ScalableTargetSuspendedStateOutput values. You can construct a concrete instance of `ScalableTargetSuspendedStateInput` via:
ScalableTargetSuspendedStateArgs{...}
type ScalableTargetSuspendedStateOutput ¶
type ScalableTargetSuspendedStateOutput struct{ *pulumi.OutputState }
“SuspendedState“ is a property of the [AWS::ApplicationAutoScaling::ScalableTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html) resource that specifies whether the scaling activities for a scalable target are in a suspended state.
For more information, see [Suspending and resuming scaling](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-suspend-resume-scaling.html) in the *Application Auto Scaling User Guide*.
func (ScalableTargetSuspendedStateOutput) DynamicScalingInSuspended ¶
func (o ScalableTargetSuspendedStateOutput) DynamicScalingInSuspended() pulumi.BoolPtrOutput
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is “false“.
func (ScalableTargetSuspendedStateOutput) DynamicScalingOutSuspended ¶
func (o ScalableTargetSuspendedStateOutput) DynamicScalingOutSuspended() pulumi.BoolPtrOutput
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is “false“.
func (ScalableTargetSuspendedStateOutput) ElementType ¶
func (ScalableTargetSuspendedStateOutput) ElementType() reflect.Type
func (ScalableTargetSuspendedStateOutput) ScheduledScalingSuspended ¶
func (o ScalableTargetSuspendedStateOutput) ScheduledScalingSuspended() pulumi.BoolPtrOutput
Whether scheduled scaling is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is “false“.
func (ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStateOutput ¶
func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStateOutput() ScalableTargetSuspendedStateOutput
func (ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStateOutputWithContext ¶
func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStateOutputWithContext(ctx context.Context) ScalableTargetSuspendedStateOutput
func (ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStatePtrOutput ¶
func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput
func (ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStatePtrOutputWithContext ¶
func (o ScalableTargetSuspendedStateOutput) ToScalableTargetSuspendedStatePtrOutputWithContext(ctx context.Context) ScalableTargetSuspendedStatePtrOutput
type ScalableTargetSuspendedStatePtrInput ¶
type ScalableTargetSuspendedStatePtrInput interface { pulumi.Input ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput ToScalableTargetSuspendedStatePtrOutputWithContext(context.Context) ScalableTargetSuspendedStatePtrOutput }
ScalableTargetSuspendedStatePtrInput is an input type that accepts ScalableTargetSuspendedStateArgs, ScalableTargetSuspendedStatePtr and ScalableTargetSuspendedStatePtrOutput values. You can construct a concrete instance of `ScalableTargetSuspendedStatePtrInput` via:
ScalableTargetSuspendedStateArgs{...} or: nil
func ScalableTargetSuspendedStatePtr ¶
func ScalableTargetSuspendedStatePtr(v *ScalableTargetSuspendedStateArgs) ScalableTargetSuspendedStatePtrInput
type ScalableTargetSuspendedStatePtrOutput ¶
type ScalableTargetSuspendedStatePtrOutput struct{ *pulumi.OutputState }
func (ScalableTargetSuspendedStatePtrOutput) DynamicScalingInSuspended ¶
func (o ScalableTargetSuspendedStatePtrOutput) DynamicScalingInSuspended() pulumi.BoolPtrOutput
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is “false“.
func (ScalableTargetSuspendedStatePtrOutput) DynamicScalingOutSuspended ¶
func (o ScalableTargetSuspendedStatePtrOutput) DynamicScalingOutSuspended() pulumi.BoolPtrOutput
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is “false“.
func (ScalableTargetSuspendedStatePtrOutput) ElementType ¶
func (ScalableTargetSuspendedStatePtrOutput) ElementType() reflect.Type
func (ScalableTargetSuspendedStatePtrOutput) ScheduledScalingSuspended ¶
func (o ScalableTargetSuspendedStatePtrOutput) ScheduledScalingSuspended() pulumi.BoolPtrOutput
Whether scheduled scaling is suspended. Set the value to “true“ if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is “false“.
func (ScalableTargetSuspendedStatePtrOutput) ToScalableTargetSuspendedStatePtrOutput ¶
func (o ScalableTargetSuspendedStatePtrOutput) ToScalableTargetSuspendedStatePtrOutput() ScalableTargetSuspendedStatePtrOutput
func (ScalableTargetSuspendedStatePtrOutput) ToScalableTargetSuspendedStatePtrOutputWithContext ¶
func (o ScalableTargetSuspendedStatePtrOutput) ToScalableTargetSuspendedStatePtrOutputWithContext(ctx context.Context) ScalableTargetSuspendedStatePtrOutput
type ScalingPolicy ¶
type ScalingPolicy struct { pulumi.CustomResourceState // Returns the ARN of a scaling policy. Arn pulumi.StringOutput `pulumi:"arn"` // The name of the scaling policy. // Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing “AWS::ApplicationAutoScaling::ScalingPolicy“ resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name. PolicyName pulumi.StringOutput `pulumi:"policyName"` // The scaling policy type. // The following policy types are supported: // “TargetTrackingScaling“—Not supported for Amazon EMR // “StepScaling“—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune. PolicyType pulumi.StringOutput `pulumi:"policyType"` // The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. // + ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“. // + Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“. // + EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“. // + AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“. // + DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“. // + DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“. // + Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“. // + SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource). // + Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“. // + Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“. // + Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“. // + Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“. // + Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“. // + Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“. // + Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“. // + SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“. // + Pool of WorkSpaces - The resource type is “workspacespool“ and the unique identifier is the pool ID. Example: “workspacespool/wspool-123456“. ResourceId pulumi.StringPtrOutput `pulumi:"resourceId"` // The scalable dimension. This string consists of the service namespace, resource type, and scaling property. // + “ecs:service:DesiredCount“ - The task count of an ECS service. // + “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group. // + “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet. // + “appstream:fleet:DesiredCapacity“ - The capacity of an AppStream 2.0 fleet. // + “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table. // + “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table. // + “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index. // + “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index. // + “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition. // + “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant. // + “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service. // + “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint. // + “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint. // + “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function. // + “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table. // + “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table. // + “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster. // + “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group. // + “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group. // + “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster. // + “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint. // + “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component. // + “workspaces:workspacespool:DesiredUserSessions“ - The number of user sessions for the WorkSpaces in the pool. ScalableDimension pulumi.StringPtrOutput `pulumi:"scalableDimension"` // The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the “AWS::ApplicationAutoScaling::ScalableTarget“ resource. // You must specify either the “ScalingTargetId“ property, or the “ResourceId“, “ScalableDimension“, and “ServiceNamespace“ properties, but not both. ScalingTargetId pulumi.StringPtrOutput `pulumi:"scalingTargetId"` // The namespace of the AWS service that provides the resource, or a “custom-resource“. ServiceNamespace pulumi.StringPtrOutput `pulumi:"serviceNamespace"` // A step scaling policy. StepScalingPolicyConfiguration ScalingPolicyStepScalingPolicyConfigurationPtrOutput `pulumi:"stepScalingPolicyConfiguration"` // A target tracking scaling policy. TargetTrackingScalingPolicyConfiguration ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput `pulumi:"targetTrackingScalingPolicyConfiguration"` }
The “AWS::ApplicationAutoScaling::ScalingPolicy“ resource defines a scaling policy that Application Auto Scaling uses to adjust the capacity of a scalable target.
For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) and [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.
func GetScalingPolicy ¶
func GetScalingPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ScalingPolicyState, opts ...pulumi.ResourceOption) (*ScalingPolicy, error)
GetScalingPolicy gets an existing ScalingPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewScalingPolicy ¶
func NewScalingPolicy(ctx *pulumi.Context, name string, args *ScalingPolicyArgs, opts ...pulumi.ResourceOption) (*ScalingPolicy, error)
NewScalingPolicy registers a new resource with the given unique name, arguments, and options.
func (*ScalingPolicy) ElementType ¶
func (*ScalingPolicy) ElementType() reflect.Type
func (*ScalingPolicy) ToScalingPolicyOutput ¶
func (i *ScalingPolicy) ToScalingPolicyOutput() ScalingPolicyOutput
func (*ScalingPolicy) ToScalingPolicyOutputWithContext ¶
func (i *ScalingPolicy) ToScalingPolicyOutputWithContext(ctx context.Context) ScalingPolicyOutput
type ScalingPolicyArgs ¶
type ScalingPolicyArgs struct { // The name of the scaling policy. // Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing “AWS::ApplicationAutoScaling::ScalingPolicy“ resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name. PolicyName pulumi.StringPtrInput // The scaling policy type. // The following policy types are supported: // “TargetTrackingScaling“—Not supported for Amazon EMR // “StepScaling“—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune. PolicyType pulumi.StringInput // The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier. // + ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“. // + Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“. // + EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“. // + AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“. // + DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“. // + DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“. // + Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“. // + SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource). // + Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“. // + Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“. // + Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“. // + Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“. // + Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“. // + Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“. // + Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“. // + SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“. // + SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“. // + Pool of WorkSpaces - The resource type is “workspacespool“ and the unique identifier is the pool ID. Example: “workspacespool/wspool-123456“. ResourceId pulumi.StringPtrInput // The scalable dimension. This string consists of the service namespace, resource type, and scaling property. // + “ecs:service:DesiredCount“ - The task count of an ECS service. // + “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group. // + “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet. // + “appstream:fleet:DesiredCapacity“ - The capacity of an AppStream 2.0 fleet. // + “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table. // + “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table. // + “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index. // + “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index. // + “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition. // + “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant. // + “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service. // + “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint. // + “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint. // + “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function. // + “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table. // + “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table. // + “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster. // + “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group. // + “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group. // + “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster. // + “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint. // + “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component. // + “workspaces:workspacespool:DesiredUserSessions“ - The number of user sessions for the WorkSpaces in the pool. ScalableDimension pulumi.StringPtrInput // The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the “AWS::ApplicationAutoScaling::ScalableTarget“ resource. // You must specify either the “ScalingTargetId“ property, or the “ResourceId“, “ScalableDimension“, and “ServiceNamespace“ properties, but not both. ScalingTargetId pulumi.StringPtrInput // The namespace of the AWS service that provides the resource, or a “custom-resource“. ServiceNamespace pulumi.StringPtrInput // A step scaling policy. StepScalingPolicyConfiguration ScalingPolicyStepScalingPolicyConfigurationPtrInput // A target tracking scaling policy. TargetTrackingScalingPolicyConfiguration ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput }
The set of arguments for constructing a ScalingPolicy resource.
func (ScalingPolicyArgs) ElementType ¶
func (ScalingPolicyArgs) ElementType() reflect.Type
type ScalingPolicyCustomizedMetricSpecification ¶
type ScalingPolicyCustomizedMetricSpecification struct { // The dimensions of the metric. // Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy. Dimensions []ScalingPolicyMetricDimension `pulumi:"dimensions"` // The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that's returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). MetricName *string `pulumi:"metricName"` // The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions. Metrics []ScalingPolicyTargetTrackingMetricDataQuery `pulumi:"metrics"` // The namespace of the metric. Namespace *string `pulumi:"namespace"` // The statistic of the metric. Statistic *string `pulumi:"statistic"` // The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*. Unit *string `pulumi:"unit"` }
Contains customized metric specification information for a target tracking scaling policy for Application Auto Scaling.
For information about the available metrics for a service, see [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*. To create your customized metric specification: + Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see [Publish custom metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the *Amazon CloudWatch User Guide*. + Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases, and increase when capacity decreases. For an example of how creating new metrics can be useful, see [Scaling based on Amazon SQS](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html) in the *Amazon EC2 Auto Scaling User Guide*. This topic mentions Auto Scaling groups, but the same scenario for Amazon SQS can apply to the target tracking scaling policies that you create for a Spot Fleet by using Application Auto Scaling. For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html). ``CustomizedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.
type ScalingPolicyCustomizedMetricSpecificationArgs ¶
type ScalingPolicyCustomizedMetricSpecificationArgs struct { // The dimensions of the metric. // Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy. Dimensions ScalingPolicyMetricDimensionArrayInput `pulumi:"dimensions"` // The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that's returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). MetricName pulumi.StringPtrInput `pulumi:"metricName"` // The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions. Metrics ScalingPolicyTargetTrackingMetricDataQueryArrayInput `pulumi:"metrics"` // The namespace of the metric. Namespace pulumi.StringPtrInput `pulumi:"namespace"` // The statistic of the metric. Statistic pulumi.StringPtrInput `pulumi:"statistic"` // The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*. Unit pulumi.StringPtrInput `pulumi:"unit"` }
Contains customized metric specification information for a target tracking scaling policy for Application Auto Scaling.
For information about the available metrics for a service, see [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*. To create your customized metric specification: + Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see [Publish custom metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the *Amazon CloudWatch User Guide*. + Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases, and increase when capacity decreases. For an example of how creating new metrics can be useful, see [Scaling based on Amazon SQS](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html) in the *Amazon EC2 Auto Scaling User Guide*. This topic mentions Auto Scaling groups, but the same scenario for Amazon SQS can apply to the target tracking scaling policies that you create for a Spot Fleet by using Application Auto Scaling. For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html). ``CustomizedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.
func (ScalingPolicyCustomizedMetricSpecificationArgs) ElementType ¶
func (ScalingPolicyCustomizedMetricSpecificationArgs) ElementType() reflect.Type
func (ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationOutput ¶
func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationOutput() ScalingPolicyCustomizedMetricSpecificationOutput
func (ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationOutputWithContext ¶
func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationOutput
func (ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationPtrOutput ¶
func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput
func (ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext ¶
func (i ScalingPolicyCustomizedMetricSpecificationArgs) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput
type ScalingPolicyCustomizedMetricSpecificationInput ¶
type ScalingPolicyCustomizedMetricSpecificationInput interface { pulumi.Input ToScalingPolicyCustomizedMetricSpecificationOutput() ScalingPolicyCustomizedMetricSpecificationOutput ToScalingPolicyCustomizedMetricSpecificationOutputWithContext(context.Context) ScalingPolicyCustomizedMetricSpecificationOutput }
ScalingPolicyCustomizedMetricSpecificationInput is an input type that accepts ScalingPolicyCustomizedMetricSpecificationArgs and ScalingPolicyCustomizedMetricSpecificationOutput values. You can construct a concrete instance of `ScalingPolicyCustomizedMetricSpecificationInput` via:
ScalingPolicyCustomizedMetricSpecificationArgs{...}
type ScalingPolicyCustomizedMetricSpecificationOutput ¶
type ScalingPolicyCustomizedMetricSpecificationOutput struct{ *pulumi.OutputState }
Contains customized metric specification information for a target tracking scaling policy for Application Auto Scaling.
For information about the available metrics for a service, see [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*. To create your customized metric specification: + Add values for each required parameter from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see [Publish custom metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) in the *Amazon CloudWatch User Guide*. + Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases, and increase when capacity decreases. For an example of how creating new metrics can be useful, see [Scaling based on Amazon SQS](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html) in the *Amazon EC2 Auto Scaling User Guide*. This topic mentions Auto Scaling groups, but the same scenario for Amazon SQS can apply to the target tracking scaling policies that you create for a Spot Fleet by using Application Auto Scaling. For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html). ``CustomizedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.
func (ScalingPolicyCustomizedMetricSpecificationOutput) Dimensions ¶
func (o ScalingPolicyCustomizedMetricSpecificationOutput) Dimensions() ScalingPolicyMetricDimensionArrayOutput
The dimensions of the metric.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
func (ScalingPolicyCustomizedMetricSpecificationOutput) ElementType ¶
func (ScalingPolicyCustomizedMetricSpecificationOutput) ElementType() reflect.Type
func (ScalingPolicyCustomizedMetricSpecificationOutput) MetricName ¶
func (o ScalingPolicyCustomizedMetricSpecificationOutput) MetricName() pulumi.StringPtrOutput
The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that's returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
func (ScalingPolicyCustomizedMetricSpecificationOutput) Metrics ¶ added in v0.85.0
func (o ScalingPolicyCustomizedMetricSpecificationOutput) Metrics() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.
func (ScalingPolicyCustomizedMetricSpecificationOutput) Namespace ¶
func (o ScalingPolicyCustomizedMetricSpecificationOutput) Namespace() pulumi.StringPtrOutput
The namespace of the metric.
func (ScalingPolicyCustomizedMetricSpecificationOutput) Statistic ¶
func (o ScalingPolicyCustomizedMetricSpecificationOutput) Statistic() pulumi.StringPtrOutput
The statistic of the metric.
func (ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationOutput ¶
func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationOutput() ScalingPolicyCustomizedMetricSpecificationOutput
func (ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationOutputWithContext ¶
func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationOutput
func (ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutput ¶
func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput
func (ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext ¶
func (o ScalingPolicyCustomizedMetricSpecificationOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput
func (ScalingPolicyCustomizedMetricSpecificationOutput) Unit ¶
func (o ScalingPolicyCustomizedMetricSpecificationOutput) Unit() pulumi.StringPtrOutput
The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
type ScalingPolicyCustomizedMetricSpecificationPtrInput ¶
type ScalingPolicyCustomizedMetricSpecificationPtrInput interface { pulumi.Input ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput }
ScalingPolicyCustomizedMetricSpecificationPtrInput is an input type that accepts ScalingPolicyCustomizedMetricSpecificationArgs, ScalingPolicyCustomizedMetricSpecificationPtr and ScalingPolicyCustomizedMetricSpecificationPtrOutput values. You can construct a concrete instance of `ScalingPolicyCustomizedMetricSpecificationPtrInput` via:
ScalingPolicyCustomizedMetricSpecificationArgs{...} or: nil
func ScalingPolicyCustomizedMetricSpecificationPtr ¶
func ScalingPolicyCustomizedMetricSpecificationPtr(v *ScalingPolicyCustomizedMetricSpecificationArgs) ScalingPolicyCustomizedMetricSpecificationPtrInput
type ScalingPolicyCustomizedMetricSpecificationPtrOutput ¶
type ScalingPolicyCustomizedMetricSpecificationPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Dimensions ¶
func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Dimensions() ScalingPolicyMetricDimensionArrayOutput
The dimensions of the metric.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) ElementType ¶
func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) ElementType() reflect.Type
func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) MetricName ¶
func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) MetricName() pulumi.StringPtrOutput
The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that's returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Metrics ¶ added in v0.85.0
func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Metrics() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.
func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Namespace ¶
func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Namespace() pulumi.StringPtrOutput
The namespace of the metric.
func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Statistic ¶
func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Statistic() pulumi.StringPtrOutput
The statistic of the metric.
func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutput ¶
func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutput() ScalingPolicyCustomizedMetricSpecificationPtrOutput
func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext ¶
func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) ToScalingPolicyCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyCustomizedMetricSpecificationPtrOutput
func (ScalingPolicyCustomizedMetricSpecificationPtrOutput) Unit ¶
func (o ScalingPolicyCustomizedMetricSpecificationPtrOutput) Unit() pulumi.StringPtrOutput
The unit of the metric. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
type ScalingPolicyInput ¶
type ScalingPolicyInput interface { pulumi.Input ToScalingPolicyOutput() ScalingPolicyOutput ToScalingPolicyOutputWithContext(ctx context.Context) ScalingPolicyOutput }
type ScalingPolicyMetricDimension ¶
type ScalingPolicyMetricDimension struct { // The name of the dimension. Name string `pulumi:"name"` // The value of the dimension. Value string `pulumi:"value"` }
“MetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type. Duplicate dimensions are not allowed.
type ScalingPolicyMetricDimensionArgs ¶
type ScalingPolicyMetricDimensionArgs struct { // The name of the dimension. Name pulumi.StringInput `pulumi:"name"` // The value of the dimension. Value pulumi.StringInput `pulumi:"value"` }
“MetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type. Duplicate dimensions are not allowed.
func (ScalingPolicyMetricDimensionArgs) ElementType ¶
func (ScalingPolicyMetricDimensionArgs) ElementType() reflect.Type
func (ScalingPolicyMetricDimensionArgs) ToScalingPolicyMetricDimensionOutput ¶
func (i ScalingPolicyMetricDimensionArgs) ToScalingPolicyMetricDimensionOutput() ScalingPolicyMetricDimensionOutput
func (ScalingPolicyMetricDimensionArgs) ToScalingPolicyMetricDimensionOutputWithContext ¶
func (i ScalingPolicyMetricDimensionArgs) ToScalingPolicyMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionOutput
type ScalingPolicyMetricDimensionArray ¶
type ScalingPolicyMetricDimensionArray []ScalingPolicyMetricDimensionInput
func (ScalingPolicyMetricDimensionArray) ElementType ¶
func (ScalingPolicyMetricDimensionArray) ElementType() reflect.Type
func (ScalingPolicyMetricDimensionArray) ToScalingPolicyMetricDimensionArrayOutput ¶
func (i ScalingPolicyMetricDimensionArray) ToScalingPolicyMetricDimensionArrayOutput() ScalingPolicyMetricDimensionArrayOutput
func (ScalingPolicyMetricDimensionArray) ToScalingPolicyMetricDimensionArrayOutputWithContext ¶
func (i ScalingPolicyMetricDimensionArray) ToScalingPolicyMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionArrayOutput
type ScalingPolicyMetricDimensionArrayInput ¶
type ScalingPolicyMetricDimensionArrayInput interface { pulumi.Input ToScalingPolicyMetricDimensionArrayOutput() ScalingPolicyMetricDimensionArrayOutput ToScalingPolicyMetricDimensionArrayOutputWithContext(context.Context) ScalingPolicyMetricDimensionArrayOutput }
ScalingPolicyMetricDimensionArrayInput is an input type that accepts ScalingPolicyMetricDimensionArray and ScalingPolicyMetricDimensionArrayOutput values. You can construct a concrete instance of `ScalingPolicyMetricDimensionArrayInput` via:
ScalingPolicyMetricDimensionArray{ ScalingPolicyMetricDimensionArgs{...} }
type ScalingPolicyMetricDimensionArrayOutput ¶
type ScalingPolicyMetricDimensionArrayOutput struct{ *pulumi.OutputState }
func (ScalingPolicyMetricDimensionArrayOutput) ElementType ¶
func (ScalingPolicyMetricDimensionArrayOutput) ElementType() reflect.Type
func (ScalingPolicyMetricDimensionArrayOutput) ToScalingPolicyMetricDimensionArrayOutput ¶
func (o ScalingPolicyMetricDimensionArrayOutput) ToScalingPolicyMetricDimensionArrayOutput() ScalingPolicyMetricDimensionArrayOutput
func (ScalingPolicyMetricDimensionArrayOutput) ToScalingPolicyMetricDimensionArrayOutputWithContext ¶
func (o ScalingPolicyMetricDimensionArrayOutput) ToScalingPolicyMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionArrayOutput
type ScalingPolicyMetricDimensionInput ¶
type ScalingPolicyMetricDimensionInput interface { pulumi.Input ToScalingPolicyMetricDimensionOutput() ScalingPolicyMetricDimensionOutput ToScalingPolicyMetricDimensionOutputWithContext(context.Context) ScalingPolicyMetricDimensionOutput }
ScalingPolicyMetricDimensionInput is an input type that accepts ScalingPolicyMetricDimensionArgs and ScalingPolicyMetricDimensionOutput values. You can construct a concrete instance of `ScalingPolicyMetricDimensionInput` via:
ScalingPolicyMetricDimensionArgs{...}
type ScalingPolicyMetricDimensionOutput ¶
type ScalingPolicyMetricDimensionOutput struct{ *pulumi.OutputState }
“MetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type. Duplicate dimensions are not allowed.
func (ScalingPolicyMetricDimensionOutput) ElementType ¶
func (ScalingPolicyMetricDimensionOutput) ElementType() reflect.Type
func (ScalingPolicyMetricDimensionOutput) Name ¶
func (o ScalingPolicyMetricDimensionOutput) Name() pulumi.StringOutput
The name of the dimension.
func (ScalingPolicyMetricDimensionOutput) ToScalingPolicyMetricDimensionOutput ¶
func (o ScalingPolicyMetricDimensionOutput) ToScalingPolicyMetricDimensionOutput() ScalingPolicyMetricDimensionOutput
func (ScalingPolicyMetricDimensionOutput) ToScalingPolicyMetricDimensionOutputWithContext ¶
func (o ScalingPolicyMetricDimensionOutput) ToScalingPolicyMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyMetricDimensionOutput
func (ScalingPolicyMetricDimensionOutput) Value ¶
func (o ScalingPolicyMetricDimensionOutput) Value() pulumi.StringOutput
The value of the dimension.
type ScalingPolicyOutput ¶
type ScalingPolicyOutput struct{ *pulumi.OutputState }
func (ScalingPolicyOutput) Arn ¶ added in v0.85.0
func (o ScalingPolicyOutput) Arn() pulumi.StringOutput
Returns the ARN of a scaling policy.
func (ScalingPolicyOutput) ElementType ¶
func (ScalingPolicyOutput) ElementType() reflect.Type
func (ScalingPolicyOutput) PolicyName ¶ added in v0.17.0
func (o ScalingPolicyOutput) PolicyName() pulumi.StringOutput
The name of the scaling policy.
Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing ``AWS::ApplicationAutoScaling::ScalingPolicy`` resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.
func (ScalingPolicyOutput) PolicyType ¶ added in v0.17.0
func (o ScalingPolicyOutput) PolicyType() pulumi.StringOutput
The scaling policy type.
The following policy types are supported: ``TargetTrackingScaling``—Not supported for Amazon EMR ``StepScaling``—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
func (ScalingPolicyOutput) ResourceId ¶ added in v0.17.0
func (o ScalingPolicyOutput) ResourceId() pulumi.StringPtrOutput
The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
- ECS service - The resource type is “service“ and the unique identifier is the cluster name and service name. Example: “service/my-cluster/my-service“.
- Spot Fleet - The resource type is “spot-fleet-request“ and the unique identifier is the Spot Fleet request ID. Example: “spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE“.
- EMR cluster - The resource type is “instancegroup“ and the unique identifier is the cluster ID and instance group ID. Example: “instancegroup/j-2EEZNYKUA1NTV/ig-1791Y4E1L8YI0“.
- AppStream 2.0 fleet - The resource type is “fleet“ and the unique identifier is the fleet name. Example: “fleet/sample-fleet“.
- DynamoDB table - The resource type is “table“ and the unique identifier is the table name. Example: “table/my-table“.
- DynamoDB global secondary index - The resource type is “index“ and the unique identifier is the index name. Example: “table/my-table/index/my-table-index“.
- Aurora DB cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:my-db-cluster“.
- SageMaker endpoint variant - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
- Custom resources are not supported with a resource type. This parameter must specify the “OutputValue“ from the CloudFormation template stack used to access the resources. The unique identifier is defined by the service provider. More information is available in our [GitHub repository](https://docs.aws.amazon.com/https://github.com/aws/aws-auto-scaling-custom-resource).
- Amazon Comprehend document classification endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE“.
- Amazon Comprehend entity recognizer endpoint - The resource type and unique identifier are specified using the endpoint ARN. Example: “arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE“.
- Lambda provisioned concurrency - The resource type is “function“ and the unique identifier is the function name with a function version or alias name suffix that is not “$LATEST“. Example: “function:my-function:prod“ or “function:my-function:1“.
- Amazon Keyspaces table - The resource type is “table“ and the unique identifier is the table name. Example: “keyspace/mykeyspace/table/mytable“.
- Amazon MSK cluster - The resource type and unique identifier are specified using the cluster ARN. Example: “arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5“.
- Amazon ElastiCache replication group - The resource type is “replication-group“ and the unique identifier is the replication group name. Example: “replication-group/mycluster“.
- Neptune cluster - The resource type is “cluster“ and the unique identifier is the cluster name. Example: “cluster:mycluster“.
- SageMaker serverless endpoint - The resource type is “variant“ and the unique identifier is the resource ID. Example: “endpoint/my-end-point/variant/KMeansClustering“.
- SageMaker inference component - The resource type is “inference-component“ and the unique identifier is the resource ID. Example: “inference-component/my-inference-component“.
- Pool of WorkSpaces - The resource type is “workspacespool“ and the unique identifier is the pool ID. Example: “workspacespool/wspool-123456“.
func (ScalingPolicyOutput) ScalableDimension ¶ added in v0.17.0
func (o ScalingPolicyOutput) ScalableDimension() pulumi.StringPtrOutput
The scalable dimension. This string consists of the service namespace, resource type, and scaling property.
- “ecs:service:DesiredCount“ - The task count of an ECS service.
- “elasticmapreduce:instancegroup:InstanceCount“ - The instance count of an EMR Instance Group.
- “ec2:spot-fleet-request:TargetCapacity“ - The target capacity of a Spot Fleet.
- “appstream:fleet:DesiredCapacity“ - The capacity of an AppStream 2.0 fleet.
- “dynamodb:table:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB table.
- “dynamodb:table:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB table.
- “dynamodb:index:ReadCapacityUnits“ - The provisioned read capacity for a DynamoDB global secondary index.
- “dynamodb:index:WriteCapacityUnits“ - The provisioned write capacity for a DynamoDB global secondary index.
- “rds:cluster:ReadReplicaCount“ - The count of Aurora Replicas in an Aurora DB cluster. Available for Aurora MySQL-compatible edition and Aurora PostgreSQL-compatible edition.
- “sagemaker:variant:DesiredInstanceCount“ - The number of EC2 instances for a SageMaker model endpoint variant.
- “custom-resource:ResourceType:Property“ - The scalable dimension for a custom resource provided by your own application or service.
- “comprehend:document-classifier-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend document classification endpoint.
- “comprehend:entity-recognizer-endpoint:DesiredInferenceUnits“ - The number of inference units for an Amazon Comprehend entity recognizer endpoint.
- “lambda:function:ProvisionedConcurrency“ - The provisioned concurrency for a Lambda function.
- “cassandra:table:ReadCapacityUnits“ - The provisioned read capacity for an Amazon Keyspaces table.
- “cassandra:table:WriteCapacityUnits“ - The provisioned write capacity for an Amazon Keyspaces table.
- “kafka:broker-storage:VolumeSize“ - The provisioned volume size (in GiB) for brokers in an Amazon MSK cluster.
- “elasticache:replication-group:NodeGroups“ - The number of node groups for an Amazon ElastiCache replication group.
- “elasticache:replication-group:Replicas“ - The number of replicas per node group for an Amazon ElastiCache replication group.
- “neptune:cluster:ReadReplicaCount“ - The count of read replicas in an Amazon Neptune DB cluster.
- “sagemaker:variant:DesiredProvisionedConcurrency“ - The provisioned concurrency for a SageMaker serverless endpoint.
- “sagemaker:inference-component:DesiredCopyCount“ - The number of copies across an endpoint for a SageMaker inference component.
- “workspaces:workspacespool:DesiredUserSessions“ - The number of user sessions for the WorkSpaces in the pool.
func (ScalingPolicyOutput) ScalingTargetId ¶ added in v0.17.0
func (o ScalingPolicyOutput) ScalingTargetId() pulumi.StringPtrOutput
The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the “AWS::ApplicationAutoScaling::ScalableTarget“ resource.
You must specify either the ``ScalingTargetId`` property, or the ``ResourceId``, ``ScalableDimension``, and ``ServiceNamespace`` properties, but not both.
func (ScalingPolicyOutput) ServiceNamespace ¶ added in v0.17.0
func (o ScalingPolicyOutput) ServiceNamespace() pulumi.StringPtrOutput
The namespace of the AWS service that provides the resource, or a “custom-resource“.
func (ScalingPolicyOutput) StepScalingPolicyConfiguration ¶ added in v0.17.0
func (o ScalingPolicyOutput) StepScalingPolicyConfiguration() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
A step scaling policy.
func (ScalingPolicyOutput) TargetTrackingScalingPolicyConfiguration ¶ added in v0.17.0
func (o ScalingPolicyOutput) TargetTrackingScalingPolicyConfiguration() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
A target tracking scaling policy.
func (ScalingPolicyOutput) ToScalingPolicyOutput ¶
func (o ScalingPolicyOutput) ToScalingPolicyOutput() ScalingPolicyOutput
func (ScalingPolicyOutput) ToScalingPolicyOutputWithContext ¶
func (o ScalingPolicyOutput) ToScalingPolicyOutputWithContext(ctx context.Context) ScalingPolicyOutput
type ScalingPolicyPredefinedMetricSpecification ¶
type ScalingPolicyPredefinedMetricSpecification struct { // The metric type. The “ALBRequestCountPerTarget“ metric type applies only to Spot fleet requests and ECS services. PredefinedMetricType string `pulumi:"predefinedMetricType"` // Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is “ALBRequestCountPerTarget“ and there is a target group attached to the Spot Fleet or ECS service. // You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is: // “app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff“. // Where: // + app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN // + targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN. // // To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation. ResourceLabel *string `pulumi:"resourceLabel"` }
Contains predefined metric specification information for a target tracking scaling policy for Application Auto Scaling.
``PredefinedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.
type ScalingPolicyPredefinedMetricSpecificationArgs ¶
type ScalingPolicyPredefinedMetricSpecificationArgs struct { // The metric type. The “ALBRequestCountPerTarget“ metric type applies only to Spot fleet requests and ECS services. PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"` // Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is “ALBRequestCountPerTarget“ and there is a target group attached to the Spot Fleet or ECS service. // You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is: // “app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff“. // Where: // + app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN // + targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN. // // To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation. ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"` }
Contains predefined metric specification information for a target tracking scaling policy for Application Auto Scaling.
``PredefinedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.
func (ScalingPolicyPredefinedMetricSpecificationArgs) ElementType ¶
func (ScalingPolicyPredefinedMetricSpecificationArgs) ElementType() reflect.Type
func (ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationOutput ¶
func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationOutput() ScalingPolicyPredefinedMetricSpecificationOutput
func (ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationOutputWithContext ¶
func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationOutput
func (ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationPtrOutput ¶
func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput
func (ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext ¶
func (i ScalingPolicyPredefinedMetricSpecificationArgs) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput
type ScalingPolicyPredefinedMetricSpecificationInput ¶
type ScalingPolicyPredefinedMetricSpecificationInput interface { pulumi.Input ToScalingPolicyPredefinedMetricSpecificationOutput() ScalingPolicyPredefinedMetricSpecificationOutput ToScalingPolicyPredefinedMetricSpecificationOutputWithContext(context.Context) ScalingPolicyPredefinedMetricSpecificationOutput }
ScalingPolicyPredefinedMetricSpecificationInput is an input type that accepts ScalingPolicyPredefinedMetricSpecificationArgs and ScalingPolicyPredefinedMetricSpecificationOutput values. You can construct a concrete instance of `ScalingPolicyPredefinedMetricSpecificationInput` via:
ScalingPolicyPredefinedMetricSpecificationArgs{...}
type ScalingPolicyPredefinedMetricSpecificationOutput ¶
type ScalingPolicyPredefinedMetricSpecificationOutput struct{ *pulumi.OutputState }
Contains predefined metric specification information for a target tracking scaling policy for Application Auto Scaling.
``PredefinedMetricSpecification`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingscalingpolicyconfiguration.html) property type.
func (ScalingPolicyPredefinedMetricSpecificationOutput) ElementType ¶
func (ScalingPolicyPredefinedMetricSpecificationOutput) ElementType() reflect.Type
func (ScalingPolicyPredefinedMetricSpecificationOutput) PredefinedMetricType ¶
func (o ScalingPolicyPredefinedMetricSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
The metric type. The “ALBRequestCountPerTarget“ metric type applies only to Spot fleet requests and ECS services.
func (ScalingPolicyPredefinedMetricSpecificationOutput) ResourceLabel ¶
func (o ScalingPolicyPredefinedMetricSpecificationOutput) ResourceLabel() pulumi.StringPtrOutput
Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is “ALBRequestCountPerTarget“ and there is a target group attached to the Spot Fleet or ECS service.
You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is: ``app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff``. Where: + app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN + targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN. To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation.
func (ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationOutput ¶
func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationOutput() ScalingPolicyPredefinedMetricSpecificationOutput
func (ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationOutputWithContext ¶
func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationOutput
func (ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput ¶
func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput
func (ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext ¶
func (o ScalingPolicyPredefinedMetricSpecificationOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput
type ScalingPolicyPredefinedMetricSpecificationPtrInput ¶
type ScalingPolicyPredefinedMetricSpecificationPtrInput interface { pulumi.Input ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput }
ScalingPolicyPredefinedMetricSpecificationPtrInput is an input type that accepts ScalingPolicyPredefinedMetricSpecificationArgs, ScalingPolicyPredefinedMetricSpecificationPtr and ScalingPolicyPredefinedMetricSpecificationPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredefinedMetricSpecificationPtrInput` via:
ScalingPolicyPredefinedMetricSpecificationArgs{...} or: nil
func ScalingPolicyPredefinedMetricSpecificationPtr ¶
func ScalingPolicyPredefinedMetricSpecificationPtr(v *ScalingPolicyPredefinedMetricSpecificationArgs) ScalingPolicyPredefinedMetricSpecificationPtrInput
type ScalingPolicyPredefinedMetricSpecificationPtrOutput ¶
type ScalingPolicyPredefinedMetricSpecificationPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ElementType ¶
func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ElementType() reflect.Type
func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) PredefinedMetricType ¶
func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
The metric type. The “ALBRequestCountPerTarget“ metric type applies only to Spot fleet requests and ECS services.
func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ResourceLabel ¶
func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is “ALBRequestCountPerTarget“ and there is a target group attached to the Spot Fleet or ECS service.
You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is: ``app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff``. Where: + app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN + targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN. To find the ARN for an Application Load Balancer, use the [DescribeLoadBalancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) API operation. To find the ARN for the target group, use the [DescribeTargetGroups](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) API operation.
func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput ¶
func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutput() ScalingPolicyPredefinedMetricSpecificationPtrOutput
func (ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext ¶
func (o ScalingPolicyPredefinedMetricSpecificationPtrOutput) ToScalingPolicyPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredefinedMetricSpecificationPtrOutput
type ScalingPolicyState ¶
type ScalingPolicyState struct { }
func (ScalingPolicyState) ElementType ¶
func (ScalingPolicyState) ElementType() reflect.Type
type ScalingPolicyStepAdjustment ¶
type ScalingPolicyStepAdjustment struct { // The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity. // You must specify at least one upper or lower bound. MetricIntervalLowerBound *float64 `pulumi:"metricIntervalLowerBound"` // The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. // You must specify at least one upper or lower bound. MetricIntervalUpperBound *float64 `pulumi:"metricIntervalUpperBound"` // The amount by which to scale. The adjustment is based on the value that you specified in the “AdjustmentType“ property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity. ScalingAdjustment int `pulumi:"scalingAdjustment"` }
“StepAdjustment“ specifies a step adjustment for the “StepAdjustments“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy StepScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html) property type.
For the following examples, suppose that you have an alarm with a breach threshold of 50: + To trigger a step adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10. + To trigger a step adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0. For more information, see [Step adjustments](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#as-scaling-steps) in the *Application Auto Scaling User Guide*. You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#aws-resource-applicationautoscaling-scalingpolicy--examples) section of the ``AWS::ApplicationAutoScaling::ScalingPolicy`` documentation.
type ScalingPolicyStepAdjustmentArgs ¶
type ScalingPolicyStepAdjustmentArgs struct { // The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity. // You must specify at least one upper or lower bound. MetricIntervalLowerBound pulumi.Float64PtrInput `pulumi:"metricIntervalLowerBound"` // The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. // You must specify at least one upper or lower bound. MetricIntervalUpperBound pulumi.Float64PtrInput `pulumi:"metricIntervalUpperBound"` // The amount by which to scale. The adjustment is based on the value that you specified in the “AdjustmentType“ property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity. ScalingAdjustment pulumi.IntInput `pulumi:"scalingAdjustment"` }
“StepAdjustment“ specifies a step adjustment for the “StepAdjustments“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy StepScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html) property type.
For the following examples, suppose that you have an alarm with a breach threshold of 50: + To trigger a step adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10. + To trigger a step adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0. For more information, see [Step adjustments](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#as-scaling-steps) in the *Application Auto Scaling User Guide*. You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#aws-resource-applicationautoscaling-scalingpolicy--examples) section of the ``AWS::ApplicationAutoScaling::ScalingPolicy`` documentation.
func (ScalingPolicyStepAdjustmentArgs) ElementType ¶
func (ScalingPolicyStepAdjustmentArgs) ElementType() reflect.Type
func (ScalingPolicyStepAdjustmentArgs) ToScalingPolicyStepAdjustmentOutput ¶
func (i ScalingPolicyStepAdjustmentArgs) ToScalingPolicyStepAdjustmentOutput() ScalingPolicyStepAdjustmentOutput
func (ScalingPolicyStepAdjustmentArgs) ToScalingPolicyStepAdjustmentOutputWithContext ¶
func (i ScalingPolicyStepAdjustmentArgs) ToScalingPolicyStepAdjustmentOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentOutput
type ScalingPolicyStepAdjustmentArray ¶
type ScalingPolicyStepAdjustmentArray []ScalingPolicyStepAdjustmentInput
func (ScalingPolicyStepAdjustmentArray) ElementType ¶
func (ScalingPolicyStepAdjustmentArray) ElementType() reflect.Type
func (ScalingPolicyStepAdjustmentArray) ToScalingPolicyStepAdjustmentArrayOutput ¶
func (i ScalingPolicyStepAdjustmentArray) ToScalingPolicyStepAdjustmentArrayOutput() ScalingPolicyStepAdjustmentArrayOutput
func (ScalingPolicyStepAdjustmentArray) ToScalingPolicyStepAdjustmentArrayOutputWithContext ¶
func (i ScalingPolicyStepAdjustmentArray) ToScalingPolicyStepAdjustmentArrayOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentArrayOutput
type ScalingPolicyStepAdjustmentArrayInput ¶
type ScalingPolicyStepAdjustmentArrayInput interface { pulumi.Input ToScalingPolicyStepAdjustmentArrayOutput() ScalingPolicyStepAdjustmentArrayOutput ToScalingPolicyStepAdjustmentArrayOutputWithContext(context.Context) ScalingPolicyStepAdjustmentArrayOutput }
ScalingPolicyStepAdjustmentArrayInput is an input type that accepts ScalingPolicyStepAdjustmentArray and ScalingPolicyStepAdjustmentArrayOutput values. You can construct a concrete instance of `ScalingPolicyStepAdjustmentArrayInput` via:
ScalingPolicyStepAdjustmentArray{ ScalingPolicyStepAdjustmentArgs{...} }
type ScalingPolicyStepAdjustmentArrayOutput ¶
type ScalingPolicyStepAdjustmentArrayOutput struct{ *pulumi.OutputState }
func (ScalingPolicyStepAdjustmentArrayOutput) ElementType ¶
func (ScalingPolicyStepAdjustmentArrayOutput) ElementType() reflect.Type
func (ScalingPolicyStepAdjustmentArrayOutput) ToScalingPolicyStepAdjustmentArrayOutput ¶
func (o ScalingPolicyStepAdjustmentArrayOutput) ToScalingPolicyStepAdjustmentArrayOutput() ScalingPolicyStepAdjustmentArrayOutput
func (ScalingPolicyStepAdjustmentArrayOutput) ToScalingPolicyStepAdjustmentArrayOutputWithContext ¶
func (o ScalingPolicyStepAdjustmentArrayOutput) ToScalingPolicyStepAdjustmentArrayOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentArrayOutput
type ScalingPolicyStepAdjustmentInput ¶
type ScalingPolicyStepAdjustmentInput interface { pulumi.Input ToScalingPolicyStepAdjustmentOutput() ScalingPolicyStepAdjustmentOutput ToScalingPolicyStepAdjustmentOutputWithContext(context.Context) ScalingPolicyStepAdjustmentOutput }
ScalingPolicyStepAdjustmentInput is an input type that accepts ScalingPolicyStepAdjustmentArgs and ScalingPolicyStepAdjustmentOutput values. You can construct a concrete instance of `ScalingPolicyStepAdjustmentInput` via:
ScalingPolicyStepAdjustmentArgs{...}
type ScalingPolicyStepAdjustmentOutput ¶
type ScalingPolicyStepAdjustmentOutput struct{ *pulumi.OutputState }
“StepAdjustment“ specifies a step adjustment for the “StepAdjustments“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy StepScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html) property type.
For the following examples, suppose that you have an alarm with a breach threshold of 50: + To trigger a step adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10. + To trigger a step adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0. For more information, see [Step adjustments](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html#as-scaling-steps) in the *Application Auto Scaling User Guide*. You can find a sample template snippet in the [Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html#aws-resource-applicationautoscaling-scalingpolicy--examples) section of the ``AWS::ApplicationAutoScaling::ScalingPolicy`` documentation.
func (ScalingPolicyStepAdjustmentOutput) ElementType ¶
func (ScalingPolicyStepAdjustmentOutput) ElementType() reflect.Type
func (ScalingPolicyStepAdjustmentOutput) MetricIntervalLowerBound ¶
func (o ScalingPolicyStepAdjustmentOutput) MetricIntervalLowerBound() pulumi.Float64PtrOutput
The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
You must specify at least one upper or lower bound.
func (ScalingPolicyStepAdjustmentOutput) MetricIntervalUpperBound ¶
func (o ScalingPolicyStepAdjustmentOutput) MetricIntervalUpperBound() pulumi.Float64PtrOutput
The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.
You must specify at least one upper or lower bound.
func (ScalingPolicyStepAdjustmentOutput) ScalingAdjustment ¶
func (o ScalingPolicyStepAdjustmentOutput) ScalingAdjustment() pulumi.IntOutput
The amount by which to scale. The adjustment is based on the value that you specified in the “AdjustmentType“ property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.
func (ScalingPolicyStepAdjustmentOutput) ToScalingPolicyStepAdjustmentOutput ¶
func (o ScalingPolicyStepAdjustmentOutput) ToScalingPolicyStepAdjustmentOutput() ScalingPolicyStepAdjustmentOutput
func (ScalingPolicyStepAdjustmentOutput) ToScalingPolicyStepAdjustmentOutputWithContext ¶
func (o ScalingPolicyStepAdjustmentOutput) ToScalingPolicyStepAdjustmentOutputWithContext(ctx context.Context) ScalingPolicyStepAdjustmentOutput
type ScalingPolicyStepScalingPolicyConfiguration ¶
type ScalingPolicyStepScalingPolicyConfiguration struct { // Specifies whether the “ScalingAdjustment“ value in the “StepAdjustment“ property is an absolute number or a percentage of the current capacity. AdjustmentType *string `pulumi:"adjustmentType"` // The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see [Cooldown period](https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown) in the *Application Auto Scaling User Guide*. Cooldown *int `pulumi:"cooldown"` // The aggregation type for the CloudWatch metrics. Valid values are “Minimum“, “Maximum“, and “Average“. If the aggregation type is null, the value is treated as “Average“. MetricAggregationType *string `pulumi:"metricAggregationType"` // The minimum value to scale by when the adjustment type is “PercentChangeInCapacity“. For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a “MinAdjustmentMagnitude“ of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a “MinAdjustmentMagnitude“ of 2, Application Auto Scaling scales out the service by 2 tasks. MinAdjustmentMagnitude *int `pulumi:"minAdjustmentMagnitude"` // A set of adjustments that enable you to scale based on the size of the alarm breach. // At least one step adjustment is required if you are adding a new step scaling policy configuration. StepAdjustments []ScalingPolicyStepAdjustment `pulumi:"stepAdjustments"` }
“StepScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a step scaling policy configuration for Application Auto Scaling.
For more information, see [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.
type ScalingPolicyStepScalingPolicyConfigurationArgs ¶
type ScalingPolicyStepScalingPolicyConfigurationArgs struct { // Specifies whether the “ScalingAdjustment“ value in the “StepAdjustment“ property is an absolute number or a percentage of the current capacity. AdjustmentType pulumi.StringPtrInput `pulumi:"adjustmentType"` // The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see [Cooldown period](https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown) in the *Application Auto Scaling User Guide*. Cooldown pulumi.IntPtrInput `pulumi:"cooldown"` // The aggregation type for the CloudWatch metrics. Valid values are “Minimum“, “Maximum“, and “Average“. If the aggregation type is null, the value is treated as “Average“. MetricAggregationType pulumi.StringPtrInput `pulumi:"metricAggregationType"` // The minimum value to scale by when the adjustment type is “PercentChangeInCapacity“. For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a “MinAdjustmentMagnitude“ of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a “MinAdjustmentMagnitude“ of 2, Application Auto Scaling scales out the service by 2 tasks. MinAdjustmentMagnitude pulumi.IntPtrInput `pulumi:"minAdjustmentMagnitude"` // A set of adjustments that enable you to scale based on the size of the alarm breach. // At least one step adjustment is required if you are adding a new step scaling policy configuration. StepAdjustments ScalingPolicyStepAdjustmentArrayInput `pulumi:"stepAdjustments"` }
“StepScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a step scaling policy configuration for Application Auto Scaling.
For more information, see [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.
func (ScalingPolicyStepScalingPolicyConfigurationArgs) ElementType ¶
func (ScalingPolicyStepScalingPolicyConfigurationArgs) ElementType() reflect.Type
func (ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationOutput ¶
func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationOutput() ScalingPolicyStepScalingPolicyConfigurationOutput
func (ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext ¶
func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationOutput
func (ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput ¶
func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
func (ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext ¶
func (i ScalingPolicyStepScalingPolicyConfigurationArgs) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput
type ScalingPolicyStepScalingPolicyConfigurationInput ¶
type ScalingPolicyStepScalingPolicyConfigurationInput interface { pulumi.Input ToScalingPolicyStepScalingPolicyConfigurationOutput() ScalingPolicyStepScalingPolicyConfigurationOutput ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext(context.Context) ScalingPolicyStepScalingPolicyConfigurationOutput }
ScalingPolicyStepScalingPolicyConfigurationInput is an input type that accepts ScalingPolicyStepScalingPolicyConfigurationArgs and ScalingPolicyStepScalingPolicyConfigurationOutput values. You can construct a concrete instance of `ScalingPolicyStepScalingPolicyConfigurationInput` via:
ScalingPolicyStepScalingPolicyConfigurationArgs{...}
type ScalingPolicyStepScalingPolicyConfigurationOutput ¶
type ScalingPolicyStepScalingPolicyConfigurationOutput struct{ *pulumi.OutputState }
“StepScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a step scaling policy configuration for Application Auto Scaling.
For more information, see [Step scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-step-scaling-policies.html) in the *Application Auto Scaling User Guide*.
func (ScalingPolicyStepScalingPolicyConfigurationOutput) AdjustmentType ¶
func (o ScalingPolicyStepScalingPolicyConfigurationOutput) AdjustmentType() pulumi.StringPtrOutput
Specifies whether the “ScalingAdjustment“ value in the “StepAdjustment“ property is an absolute number or a percentage of the current capacity.
func (ScalingPolicyStepScalingPolicyConfigurationOutput) Cooldown ¶
func (o ScalingPolicyStepScalingPolicyConfigurationOutput) Cooldown() pulumi.IntPtrOutput
The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see [Cooldown period](https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown) in the *Application Auto Scaling User Guide*.
func (ScalingPolicyStepScalingPolicyConfigurationOutput) ElementType ¶
func (ScalingPolicyStepScalingPolicyConfigurationOutput) ElementType() reflect.Type
func (ScalingPolicyStepScalingPolicyConfigurationOutput) MetricAggregationType ¶
func (o ScalingPolicyStepScalingPolicyConfigurationOutput) MetricAggregationType() pulumi.StringPtrOutput
The aggregation type for the CloudWatch metrics. Valid values are “Minimum“, “Maximum“, and “Average“. If the aggregation type is null, the value is treated as “Average“.
func (ScalingPolicyStepScalingPolicyConfigurationOutput) MinAdjustmentMagnitude ¶
func (o ScalingPolicyStepScalingPolicyConfigurationOutput) MinAdjustmentMagnitude() pulumi.IntPtrOutput
The minimum value to scale by when the adjustment type is “PercentChangeInCapacity“. For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a “MinAdjustmentMagnitude“ of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a “MinAdjustmentMagnitude“ of 2, Application Auto Scaling scales out the service by 2 tasks.
func (ScalingPolicyStepScalingPolicyConfigurationOutput) StepAdjustments ¶
func (o ScalingPolicyStepScalingPolicyConfigurationOutput) StepAdjustments() ScalingPolicyStepAdjustmentArrayOutput
A set of adjustments that enable you to scale based on the size of the alarm breach.
At least one step adjustment is required if you are adding a new step scaling policy configuration.
func (ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationOutput ¶
func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationOutput() ScalingPolicyStepScalingPolicyConfigurationOutput
func (ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext ¶
func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationOutput
func (ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput ¶
func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
func (ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext ¶
func (o ScalingPolicyStepScalingPolicyConfigurationOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput
type ScalingPolicyStepScalingPolicyConfigurationPtrInput ¶
type ScalingPolicyStepScalingPolicyConfigurationPtrInput interface { pulumi.Input ToScalingPolicyStepScalingPolicyConfigurationPtrOutput() ScalingPolicyStepScalingPolicyConfigurationPtrOutput ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput }
ScalingPolicyStepScalingPolicyConfigurationPtrInput is an input type that accepts ScalingPolicyStepScalingPolicyConfigurationArgs, ScalingPolicyStepScalingPolicyConfigurationPtr and ScalingPolicyStepScalingPolicyConfigurationPtrOutput values. You can construct a concrete instance of `ScalingPolicyStepScalingPolicyConfigurationPtrInput` via:
ScalingPolicyStepScalingPolicyConfigurationArgs{...} or: nil
func ScalingPolicyStepScalingPolicyConfigurationPtr ¶
func ScalingPolicyStepScalingPolicyConfigurationPtr(v *ScalingPolicyStepScalingPolicyConfigurationArgs) ScalingPolicyStepScalingPolicyConfigurationPtrInput
type ScalingPolicyStepScalingPolicyConfigurationPtrOutput ¶
type ScalingPolicyStepScalingPolicyConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) AdjustmentType ¶
func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) AdjustmentType() pulumi.StringPtrOutput
Specifies whether the “ScalingAdjustment“ value in the “StepAdjustment“ property is an absolute number or a percentage of the current capacity.
func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) Cooldown ¶
func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) Cooldown() pulumi.IntPtrOutput
The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see [Cooldown period](https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown) in the *Application Auto Scaling User Guide*.
func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ElementType ¶
func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ElementType() reflect.Type
func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) MetricAggregationType ¶
func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) MetricAggregationType() pulumi.StringPtrOutput
The aggregation type for the CloudWatch metrics. Valid values are “Minimum“, “Maximum“, and “Average“. If the aggregation type is null, the value is treated as “Average“.
func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) MinAdjustmentMagnitude ¶
func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) MinAdjustmentMagnitude() pulumi.IntPtrOutput
The minimum value to scale by when the adjustment type is “PercentChangeInCapacity“. For example, suppose that you create a step scaling policy to scale out an Amazon ECS service by 25 percent and you specify a “MinAdjustmentMagnitude“ of 2. If the service has 4 tasks and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a “MinAdjustmentMagnitude“ of 2, Application Auto Scaling scales out the service by 2 tasks.
func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) StepAdjustments ¶
func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) StepAdjustments() ScalingPolicyStepAdjustmentArrayOutput
A set of adjustments that enable you to scale based on the size of the alarm breach.
At least one step adjustment is required if you are adding a new step scaling policy configuration.
func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput ¶
func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutput() ScalingPolicyStepScalingPolicyConfigurationPtrOutput
func (ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext ¶
func (o ScalingPolicyStepScalingPolicyConfigurationPtrOutput) ToScalingPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyStepScalingPolicyConfigurationPtrOutput
type ScalingPolicyTargetTrackingMetric ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetric struct { // The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*. // Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy. Dimensions []ScalingPolicyTargetTrackingMetricDimension `pulumi:"dimensions"` // The name of the metric. MetricName *string `pulumi:"metricName"` // The namespace of the metric. For more information, see the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*. Namespace *string `pulumi:"namespace"` }
Represents a specific metric for a target tracking scaling policy for Application Auto Scaling.
Metric is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html) property type.
type ScalingPolicyTargetTrackingMetricArgs ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricArgs struct { // The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*. // Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy. Dimensions ScalingPolicyTargetTrackingMetricDimensionArrayInput `pulumi:"dimensions"` // The name of the metric. MetricName pulumi.StringPtrInput `pulumi:"metricName"` // The namespace of the metric. For more information, see the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*. Namespace pulumi.StringPtrInput `pulumi:"namespace"` }
Represents a specific metric for a target tracking scaling policy for Application Auto Scaling.
Metric is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html) property type.
func (ScalingPolicyTargetTrackingMetricArgs) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricArgs) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricOutput ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricOutput() ScalingPolicyTargetTrackingMetricOutput
func (ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricOutputWithContext ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricOutput
func (ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricPtrOutput ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput
func (ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricArgs) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricPtrOutput
type ScalingPolicyTargetTrackingMetricDataQuery ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDataQuery struct { // The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the “Id“ of the other metrics to refer to those metrics, and can also use the “Id“ of other expressions to use the result of those expressions. // Conditional: Within each “TargetTrackingMetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both. Expression *string `pulumi:"expression"` // A short name that identifies the object's results in the response. This name must be unique among all “MetricDataQuery“ objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter. Id *string `pulumi:"id"` // A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents. Label *string `pulumi:"label"` // Information about the metric data to return. // Conditional: Within each “MetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both. MetricStat *ScalingPolicyTargetTrackingMetricStat `pulumi:"metricStat"` // Indicates whether to return the timestamps and raw data values of this metric. // If you use any math expressions, specify “true“ for this value for only the final math expression that the metric specification is based on. You must specify “false“ for “ReturnData“ for all the other metrics and expressions used in the metric specification. // If you are only retrieving metrics and not performing any math expressions, do not specify anything for “ReturnData“. This sets it to its default (“true“). ReturnData *bool `pulumi:"returnData"` }
The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.
You can call for a single metric or perform math expressions on multiple metrics. Any expressions used in a metric specification must eventually return a single time series. For more information and examples, see [Create a target tracking scaling policy for Application Auto Scaling using metric math](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html) in the *Application Auto Scaling User Guide*. ``TargetTrackingMetricDataQuery`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type.
type ScalingPolicyTargetTrackingMetricDataQueryArgs ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDataQueryArgs struct { // The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the “Id“ of the other metrics to refer to those metrics, and can also use the “Id“ of other expressions to use the result of those expressions. // Conditional: Within each “TargetTrackingMetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both. Expression pulumi.StringPtrInput `pulumi:"expression"` // A short name that identifies the object's results in the response. This name must be unique among all “MetricDataQuery“ objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter. Id pulumi.StringPtrInput `pulumi:"id"` // A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents. Label pulumi.StringPtrInput `pulumi:"label"` // Information about the metric data to return. // Conditional: Within each “MetricDataQuery“ object, you must specify either “Expression“ or “MetricStat“, but not both. MetricStat ScalingPolicyTargetTrackingMetricStatPtrInput `pulumi:"metricStat"` // Indicates whether to return the timestamps and raw data values of this metric. // If you use any math expressions, specify “true“ for this value for only the final math expression that the metric specification is based on. You must specify “false“ for “ReturnData“ for all the other metrics and expressions used in the metric specification. // If you are only retrieving metrics and not performing any math expressions, do not specify anything for “ReturnData“. This sets it to its default (“true“). ReturnData pulumi.BoolPtrInput `pulumi:"returnData"` }
The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.
You can call for a single metric or perform math expressions on multiple metrics. Any expressions used in a metric specification must eventually return a single time series. For more information and examples, see [Create a target tracking scaling policy for Application Auto Scaling using metric math](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html) in the *Application Auto Scaling User Guide*. ``TargetTrackingMetricDataQuery`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type.
func (ScalingPolicyTargetTrackingMetricDataQueryArgs) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricDataQueryArgs) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricDataQueryArgs) ToScalingPolicyTargetTrackingMetricDataQueryOutput ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricDataQueryArgs) ToScalingPolicyTargetTrackingMetricDataQueryOutput() ScalingPolicyTargetTrackingMetricDataQueryOutput
func (ScalingPolicyTargetTrackingMetricDataQueryArgs) ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricDataQueryArgs) ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryOutput
type ScalingPolicyTargetTrackingMetricDataQueryArray ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDataQueryArray []ScalingPolicyTargetTrackingMetricDataQueryInput
func (ScalingPolicyTargetTrackingMetricDataQueryArray) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricDataQueryArray) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricDataQueryArray) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricDataQueryArray) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
func (ScalingPolicyTargetTrackingMetricDataQueryArray) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricDataQueryArray) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
type ScalingPolicyTargetTrackingMetricDataQueryArrayInput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDataQueryArrayInput interface { pulumi.Input ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricDataQueryArrayOutput }
ScalingPolicyTargetTrackingMetricDataQueryArrayInput is an input type that accepts ScalingPolicyTargetTrackingMetricDataQueryArray and ScalingPolicyTargetTrackingMetricDataQueryArrayOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricDataQueryArrayInput` via:
ScalingPolicyTargetTrackingMetricDataQueryArray{ ScalingPolicyTargetTrackingMetricDataQueryArgs{...} }
type ScalingPolicyTargetTrackingMetricDataQueryArrayOutput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDataQueryArrayOutput struct{ *pulumi.OutputState }
func (ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutput() ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
func (ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDataQueryArrayOutput) ToScalingPolicyTargetTrackingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryArrayOutput
type ScalingPolicyTargetTrackingMetricDataQueryInput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDataQueryInput interface { pulumi.Input ToScalingPolicyTargetTrackingMetricDataQueryOutput() ScalingPolicyTargetTrackingMetricDataQueryOutput ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricDataQueryOutput }
ScalingPolicyTargetTrackingMetricDataQueryInput is an input type that accepts ScalingPolicyTargetTrackingMetricDataQueryArgs and ScalingPolicyTargetTrackingMetricDataQueryOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricDataQueryInput` via:
ScalingPolicyTargetTrackingMetricDataQueryArgs{...}
type ScalingPolicyTargetTrackingMetricDataQueryOutput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDataQueryOutput struct{ *pulumi.OutputState }
The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.
You can call for a single metric or perform math expressions on multiple metrics. Any expressions used in a metric specification must eventually return a single time series. For more information and examples, see [Create a target tracking scaling policy for Application Auto Scaling using metric math](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking-metric-math.html) in the *Application Auto Scaling User Guide*. ``TargetTrackingMetricDataQuery`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html) property type.
func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricDataQueryOutput) Expression ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) Expression() pulumi.StringPtrOutput
The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the “Id“ of the other metrics to refer to those metrics, and can also use the “Id“ of other expressions to use the result of those expressions.
Conditional: Within each ``TargetTrackingMetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.
func (ScalingPolicyTargetTrackingMetricDataQueryOutput) Id ¶ added in v0.85.0
A short name that identifies the object's results in the response. This name must be unique among all “MetricDataQuery“ objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
func (ScalingPolicyTargetTrackingMetricDataQueryOutput) Label ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) Label() pulumi.StringPtrOutput
A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
func (ScalingPolicyTargetTrackingMetricDataQueryOutput) MetricStat ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) MetricStat() ScalingPolicyTargetTrackingMetricStatPtrOutput
Information about the metric data to return.
Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.
func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ReturnData ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) ReturnData() pulumi.BoolPtrOutput
Indicates whether to return the timestamps and raw data values of this metric.
If you use any math expressions, specify ``true`` for this value for only the final math expression that the metric specification is based on. You must specify ``false`` for ``ReturnData`` for all the other metrics and expressions used in the metric specification. If you are only retrieving metrics and not performing any math expressions, do not specify anything for ``ReturnData``. This sets it to its default (``true``).
func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ToScalingPolicyTargetTrackingMetricDataQueryOutput ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) ToScalingPolicyTargetTrackingMetricDataQueryOutput() ScalingPolicyTargetTrackingMetricDataQueryOutput
func (ScalingPolicyTargetTrackingMetricDataQueryOutput) ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDataQueryOutput) ToScalingPolicyTargetTrackingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDataQueryOutput
type ScalingPolicyTargetTrackingMetricDimension ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDimension struct { // The name of the dimension. Name *string `pulumi:"name"` // The value of the dimension. Value *string `pulumi:"value"` }
“TargetTrackingMetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html) property type. Duplicate dimensions are not allowed.
type ScalingPolicyTargetTrackingMetricDimensionArgs ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDimensionArgs struct { // The name of the dimension. Name pulumi.StringPtrInput `pulumi:"name"` // The value of the dimension. Value pulumi.StringPtrInput `pulumi:"value"` }
“TargetTrackingMetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html) property type. Duplicate dimensions are not allowed.
func (ScalingPolicyTargetTrackingMetricDimensionArgs) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricDimensionArgs) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricDimensionArgs) ToScalingPolicyTargetTrackingMetricDimensionOutput ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricDimensionArgs) ToScalingPolicyTargetTrackingMetricDimensionOutput() ScalingPolicyTargetTrackingMetricDimensionOutput
func (ScalingPolicyTargetTrackingMetricDimensionArgs) ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricDimensionArgs) ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionOutput
type ScalingPolicyTargetTrackingMetricDimensionArray ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDimensionArray []ScalingPolicyTargetTrackingMetricDimensionInput
func (ScalingPolicyTargetTrackingMetricDimensionArray) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricDimensionArray) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricDimensionArray) ToScalingPolicyTargetTrackingMetricDimensionArrayOutput ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricDimensionArray) ToScalingPolicyTargetTrackingMetricDimensionArrayOutput() ScalingPolicyTargetTrackingMetricDimensionArrayOutput
func (ScalingPolicyTargetTrackingMetricDimensionArray) ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricDimensionArray) ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionArrayOutput
type ScalingPolicyTargetTrackingMetricDimensionArrayInput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDimensionArrayInput interface { pulumi.Input ToScalingPolicyTargetTrackingMetricDimensionArrayOutput() ScalingPolicyTargetTrackingMetricDimensionArrayOutput ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricDimensionArrayOutput }
ScalingPolicyTargetTrackingMetricDimensionArrayInput is an input type that accepts ScalingPolicyTargetTrackingMetricDimensionArray and ScalingPolicyTargetTrackingMetricDimensionArrayOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricDimensionArrayInput` via:
ScalingPolicyTargetTrackingMetricDimensionArray{ ScalingPolicyTargetTrackingMetricDimensionArgs{...} }
type ScalingPolicyTargetTrackingMetricDimensionArrayOutput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDimensionArrayOutput struct{ *pulumi.OutputState }
func (ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ToScalingPolicyTargetTrackingMetricDimensionArrayOutput ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ToScalingPolicyTargetTrackingMetricDimensionArrayOutput() ScalingPolicyTargetTrackingMetricDimensionArrayOutput
func (ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDimensionArrayOutput) ToScalingPolicyTargetTrackingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionArrayOutput
type ScalingPolicyTargetTrackingMetricDimensionInput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDimensionInput interface { pulumi.Input ToScalingPolicyTargetTrackingMetricDimensionOutput() ScalingPolicyTargetTrackingMetricDimensionOutput ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricDimensionOutput }
ScalingPolicyTargetTrackingMetricDimensionInput is an input type that accepts ScalingPolicyTargetTrackingMetricDimensionArgs and ScalingPolicyTargetTrackingMetricDimensionOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricDimensionInput` via:
ScalingPolicyTargetTrackingMetricDimensionArgs{...}
type ScalingPolicyTargetTrackingMetricDimensionOutput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricDimensionOutput struct{ *pulumi.OutputState }
“TargetTrackingMetricDimension“ specifies a name/value pair that is part of the identity of a CloudWatch metric for the “Dimensions“ property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetric](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html) property type. Duplicate dimensions are not allowed.
func (ScalingPolicyTargetTrackingMetricDimensionOutput) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricDimensionOutput) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricDimensionOutput) Name ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDimensionOutput) Name() pulumi.StringPtrOutput
The name of the dimension.
func (ScalingPolicyTargetTrackingMetricDimensionOutput) ToScalingPolicyTargetTrackingMetricDimensionOutput ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDimensionOutput) ToScalingPolicyTargetTrackingMetricDimensionOutput() ScalingPolicyTargetTrackingMetricDimensionOutput
func (ScalingPolicyTargetTrackingMetricDimensionOutput) ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDimensionOutput) ToScalingPolicyTargetTrackingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricDimensionOutput
func (ScalingPolicyTargetTrackingMetricDimensionOutput) Value ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricDimensionOutput) Value() pulumi.StringPtrOutput
The value of the dimension.
type ScalingPolicyTargetTrackingMetricInput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricInput interface { pulumi.Input ToScalingPolicyTargetTrackingMetricOutput() ScalingPolicyTargetTrackingMetricOutput ToScalingPolicyTargetTrackingMetricOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricOutput }
ScalingPolicyTargetTrackingMetricInput is an input type that accepts ScalingPolicyTargetTrackingMetricArgs and ScalingPolicyTargetTrackingMetricOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricInput` via:
ScalingPolicyTargetTrackingMetricArgs{...}
type ScalingPolicyTargetTrackingMetricOutput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricOutput struct{ *pulumi.OutputState }
Represents a specific metric for a target tracking scaling policy for Application Auto Scaling.
Metric is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricStat](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html) property type.
func (ScalingPolicyTargetTrackingMetricOutput) Dimensions ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricOutput) Dimensions() ScalingPolicyTargetTrackingMetricDimensionArrayOutput
The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
func (ScalingPolicyTargetTrackingMetricOutput) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricOutput) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricOutput) MetricName ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricOutput) MetricName() pulumi.StringPtrOutput
The name of the metric.
func (ScalingPolicyTargetTrackingMetricOutput) Namespace ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricOutput) Namespace() pulumi.StringPtrOutput
The namespace of the metric. For more information, see the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
func (ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricOutput ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricOutput() ScalingPolicyTargetTrackingMetricOutput
func (ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricOutputWithContext ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricOutput
func (ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricPtrOutput ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput
func (ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricOutput) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricPtrOutput
type ScalingPolicyTargetTrackingMetricPtrInput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricPtrInput interface { pulumi.Input ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricPtrOutput }
ScalingPolicyTargetTrackingMetricPtrInput is an input type that accepts ScalingPolicyTargetTrackingMetricArgs, ScalingPolicyTargetTrackingMetricPtr and ScalingPolicyTargetTrackingMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricPtrInput` via:
ScalingPolicyTargetTrackingMetricArgs{...} or: nil
func ScalingPolicyTargetTrackingMetricPtr ¶ added in v0.85.0
func ScalingPolicyTargetTrackingMetricPtr(v *ScalingPolicyTargetTrackingMetricArgs) ScalingPolicyTargetTrackingMetricPtrInput
type ScalingPolicyTargetTrackingMetricPtrOutput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyTargetTrackingMetricPtrOutput) Dimensions ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricPtrOutput) Dimensions() ScalingPolicyTargetTrackingMetricDimensionArrayOutput
The dimensions for the metric. For the list of available dimensions, see the AWS documentation available from the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
func (ScalingPolicyTargetTrackingMetricPtrOutput) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricPtrOutput) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricPtrOutput) MetricName ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricPtrOutput) MetricName() pulumi.StringPtrOutput
The name of the metric.
func (ScalingPolicyTargetTrackingMetricPtrOutput) Namespace ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricPtrOutput) Namespace() pulumi.StringPtrOutput
The namespace of the metric. For more information, see the table in [services that publish CloudWatch metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html) in the *Amazon CloudWatch User Guide*.
func (ScalingPolicyTargetTrackingMetricPtrOutput) ToScalingPolicyTargetTrackingMetricPtrOutput ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricPtrOutput) ToScalingPolicyTargetTrackingMetricPtrOutput() ScalingPolicyTargetTrackingMetricPtrOutput
func (ScalingPolicyTargetTrackingMetricPtrOutput) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricPtrOutput) ToScalingPolicyTargetTrackingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricPtrOutput
type ScalingPolicyTargetTrackingMetricStat ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricStat struct { // The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). Metric *ScalingPolicyTargetTrackingMetric `pulumi:"metric"` // The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*. // The most commonly used metric for scaling is “Average“. Stat *string `pulumi:"stat"` // The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*. Unit *string `pulumi:"unit"` }
This structure defines the CloudWatch metric to return, along with the statistic and unit.
``TargetTrackingMetricStat`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html) property type. For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) in the *Amazon CloudWatch User Guide*.
type ScalingPolicyTargetTrackingMetricStatArgs ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricStatArgs struct { // The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html). Metric ScalingPolicyTargetTrackingMetricPtrInput `pulumi:"metric"` // The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*. // The most commonly used metric for scaling is “Average“. Stat pulumi.StringPtrInput `pulumi:"stat"` // The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*. Unit pulumi.StringPtrInput `pulumi:"unit"` }
This structure defines the CloudWatch metric to return, along with the statistic and unit.
``TargetTrackingMetricStat`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html) property type. For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) in the *Amazon CloudWatch User Guide*.
func (ScalingPolicyTargetTrackingMetricStatArgs) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricStatArgs) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatOutput ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatOutput() ScalingPolicyTargetTrackingMetricStatOutput
func (ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatOutputWithContext ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatOutput
func (ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatPtrOutput ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput
func (ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext ¶ added in v0.85.0
func (i ScalingPolicyTargetTrackingMetricStatArgs) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput
type ScalingPolicyTargetTrackingMetricStatInput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricStatInput interface { pulumi.Input ToScalingPolicyTargetTrackingMetricStatOutput() ScalingPolicyTargetTrackingMetricStatOutput ToScalingPolicyTargetTrackingMetricStatOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricStatOutput }
ScalingPolicyTargetTrackingMetricStatInput is an input type that accepts ScalingPolicyTargetTrackingMetricStatArgs and ScalingPolicyTargetTrackingMetricStatOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricStatInput` via:
ScalingPolicyTargetTrackingMetricStatArgs{...}
type ScalingPolicyTargetTrackingMetricStatOutput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricStatOutput struct{ *pulumi.OutputState }
This structure defines the CloudWatch metric to return, along with the statistic and unit.
``TargetTrackingMetricStat`` is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy TargetTrackingMetricDataQuery](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html) property type. For more information about the CloudWatch terminology below, see [Amazon CloudWatch concepts](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) in the *Amazon CloudWatch User Guide*.
func (ScalingPolicyTargetTrackingMetricStatOutput) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricStatOutput) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricStatOutput) Metric ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatOutput) Metric() ScalingPolicyTargetTrackingMetricPtrOutput
The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
func (ScalingPolicyTargetTrackingMetricStatOutput) Stat ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatOutput) Stat() pulumi.StringPtrOutput
The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.
The most commonly used metric for scaling is ``Average``.
func (ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatOutput ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatOutput() ScalingPolicyTargetTrackingMetricStatOutput
func (ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatOutputWithContext ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatOutput
func (ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutput ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput
func (ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput
func (ScalingPolicyTargetTrackingMetricStatOutput) Unit ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatOutput) Unit() pulumi.StringPtrOutput
The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
type ScalingPolicyTargetTrackingMetricStatPtrInput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricStatPtrInput interface { pulumi.Input ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput }
ScalingPolicyTargetTrackingMetricStatPtrInput is an input type that accepts ScalingPolicyTargetTrackingMetricStatArgs, ScalingPolicyTargetTrackingMetricStatPtr and ScalingPolicyTargetTrackingMetricStatPtrOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingMetricStatPtrInput` via:
ScalingPolicyTargetTrackingMetricStatArgs{...} or: nil
func ScalingPolicyTargetTrackingMetricStatPtr ¶ added in v0.85.0
func ScalingPolicyTargetTrackingMetricStatPtr(v *ScalingPolicyTargetTrackingMetricStatArgs) ScalingPolicyTargetTrackingMetricStatPtrInput
type ScalingPolicyTargetTrackingMetricStatPtrOutput ¶ added in v0.85.0
type ScalingPolicyTargetTrackingMetricStatPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyTargetTrackingMetricStatPtrOutput) ElementType ¶ added in v0.85.0
func (ScalingPolicyTargetTrackingMetricStatPtrOutput) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingMetricStatPtrOutput) Metric ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) Metric() ScalingPolicyTargetTrackingMetricPtrOutput
The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the [Metric](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html) object that is returned by a call to [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html).
func (ScalingPolicyTargetTrackingMetricStatPtrOutput) Stat ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) Stat() pulumi.StringPtrOutput
The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in [Statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Statistic) in the *Amazon CloudWatch User Guide*.
The most commonly used metric for scaling is ``Average``.
func (ScalingPolicyTargetTrackingMetricStatPtrOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutput ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutput() ScalingPolicyTargetTrackingMetricStatPtrOutput
func (ScalingPolicyTargetTrackingMetricStatPtrOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) ToScalingPolicyTargetTrackingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingMetricStatPtrOutput
func (ScalingPolicyTargetTrackingMetricStatPtrOutput) Unit ¶ added in v0.85.0
func (o ScalingPolicyTargetTrackingMetricStatPtrOutput) Unit() pulumi.StringPtrOutput
The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the [MetricDatum](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html) data type in the *Amazon CloudWatch API Reference*.
type ScalingPolicyTargetTrackingScalingPolicyConfiguration ¶
type ScalingPolicyTargetTrackingScalingPolicyConfiguration struct { // A customized metric. You can specify either a predefined metric or a customized metric. CustomizedMetricSpecification *ScalingPolicyCustomizedMetricSpecification `pulumi:"customizedMetricSpecification"` // Indicates whether scale in by the target tracking scaling policy is disabled. If the value is “true“, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is “false“. DisableScaleIn *bool `pulumi:"disableScaleIn"` // A predefined metric. You can specify either a predefined metric or a customized metric. PredefinedMetricSpecification *ScalingPolicyPredefinedMetricSpecification `pulumi:"predefinedMetricSpecification"` // The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*. ScaleInCooldown *int `pulumi:"scaleInCooldown"` // The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*. ScaleOutCooldown *int `pulumi:"scaleOutCooldown"` // The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out. TargetValue float64 `pulumi:"targetValue"` }
“TargetTrackingScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a target tracking scaling policy configuration for Application Auto Scaling. Use a target tracking scaling policy to adjust the capacity of the specified scalable target in response to actual workloads, so that resource utilization remains at or near the target utilization value.
For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) in the *Application Auto Scaling User Guide*.
type ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs ¶
type ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs struct { // A customized metric. You can specify either a predefined metric or a customized metric. CustomizedMetricSpecification ScalingPolicyCustomizedMetricSpecificationPtrInput `pulumi:"customizedMetricSpecification"` // Indicates whether scale in by the target tracking scaling policy is disabled. If the value is “true“, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is “false“. DisableScaleIn pulumi.BoolPtrInput `pulumi:"disableScaleIn"` // A predefined metric. You can specify either a predefined metric or a customized metric. PredefinedMetricSpecification ScalingPolicyPredefinedMetricSpecificationPtrInput `pulumi:"predefinedMetricSpecification"` // The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*. ScaleInCooldown pulumi.IntPtrInput `pulumi:"scaleInCooldown"` // The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*. ScaleOutCooldown pulumi.IntPtrInput `pulumi:"scaleOutCooldown"` // The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out. TargetValue pulumi.Float64Input `pulumi:"targetValue"` }
“TargetTrackingScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a target tracking scaling policy configuration for Application Auto Scaling. Use a target tracking scaling policy to adjust the capacity of the specified scalable target in response to actual workloads, so that resource utilization remains at or near the target utilization value.
For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) in the *Application Auto Scaling User Guide*.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ElementType ¶
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutput ¶
func (i ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext ¶
func (i ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput ¶
func (i ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext ¶
func (i ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
type ScalingPolicyTargetTrackingScalingPolicyConfigurationInput ¶
type ScalingPolicyTargetTrackingScalingPolicyConfigurationInput interface { pulumi.Input ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput }
ScalingPolicyTargetTrackingScalingPolicyConfigurationInput is an input type that accepts ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs and ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingScalingPolicyConfigurationInput` via:
ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs{...}
type ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput ¶
type ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput struct{ *pulumi.OutputState }
“TargetTrackingScalingPolicyConfiguration“ is a property of the [AWS::ApplicationAutoScaling::ScalingPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html) resource that specifies a target tracking scaling policy configuration for Application Auto Scaling. Use a target tracking scaling policy to adjust the capacity of the specified scalable target in response to actual workloads, so that resource utilization remains at or near the target utilization value.
For more information, see [Target tracking scaling policies](https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-target-tracking.html) in the *Application Auto Scaling User Guide*.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) CustomizedMetricSpecification ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) CustomizedMetricSpecification() ScalingPolicyCustomizedMetricSpecificationPtrOutput
A customized metric. You can specify either a predefined metric or a customized metric.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) DisableScaleIn ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) DisableScaleIn() pulumi.BoolPtrOutput
Indicates whether scale in by the target tracking scaling policy is disabled. If the value is “true“, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is “false“.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ElementType ¶
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) PredefinedMetricSpecification ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) PredefinedMetricSpecification() ScalingPolicyPredefinedMetricSpecificationPtrOutput
A predefined metric. You can specify either a predefined metric or a customized metric.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleInCooldown ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleInCooldown() pulumi.IntPtrOutput
The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleOutCooldown ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleOutCooldown() pulumi.IntPtrOutput
The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) TargetValue ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) TargetValue() pulumi.Float64Output
The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutput ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
type ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput ¶
type ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput interface { pulumi.Input ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput }
ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput is an input type that accepts ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs, ScalingPolicyTargetTrackingScalingPolicyConfigurationPtr and ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput values. You can construct a concrete instance of `ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput` via:
ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs{...} or: nil
func ScalingPolicyTargetTrackingScalingPolicyConfigurationPtr ¶
func ScalingPolicyTargetTrackingScalingPolicyConfigurationPtr(v *ScalingPolicyTargetTrackingScalingPolicyConfigurationArgs) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrInput
type ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput ¶
type ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) CustomizedMetricSpecification ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) CustomizedMetricSpecification() ScalingPolicyCustomizedMetricSpecificationPtrOutput
A customized metric. You can specify either a predefined metric or a customized metric.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) DisableScaleIn ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) DisableScaleIn() pulumi.BoolPtrOutput
Indicates whether scale in by the target tracking scaling policy is disabled. If the value is “true“, scale in is disabled and the target tracking scaling policy won't remove capacity from the scalable target. Otherwise, scale in is enabled and the target tracking scaling policy can remove capacity from the scalable target. The default value is “false“.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ElementType ¶
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ElementType() reflect.Type
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) PredefinedMetricSpecification ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) PredefinedMetricSpecification() ScalingPolicyPredefinedMetricSpecificationPtrOutput
A predefined metric. You can specify either a predefined metric or a customized metric.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleInCooldown ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleInCooldown() pulumi.IntPtrOutput
The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleOutCooldown ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleOutCooldown() pulumi.IntPtrOutput
The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see [Define cooldown periods](https://docs.aws.amazon.com/autoscaling/application/userguide/target-tracking-scaling-policy-overview.html#target-tracking-cooldown) in the *Application Auto Scaling User Guide*.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) TargetValue ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) TargetValue() pulumi.Float64PtrOutput
The target value for the metric. Although this property accepts numbers of type Double, it won't accept values that are either too small or too large. Values must be in the range of -2^360 to 2^360. The value must be a valid number based on the choice of metric. For example, if the metric is CPU utilization, then the target value is a percent value that represents how much of the CPU can be used before scaling out.
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput
func (ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext ¶
func (o ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyTargetTrackingScalingPolicyConfigurationPtrOutput