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) PredictiveScalingPolicyConfiguration() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
- 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) PredictiveScalingPolicyConfiguration() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
- 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 ScalingPolicyPredictiveScalingCustomizedCapacityMetric
- type ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs
- func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
- func (i ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
- func (i ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
- func (i ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
- type ScalingPolicyPredictiveScalingCustomizedCapacityMetricInput
- type ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
- func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
- func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
- func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
- type ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput
- type ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) Elem() ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
- func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
- type ScalingPolicyPredictiveScalingCustomizedLoadMetric
- type ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs
- func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
- func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
- func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
- func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
- type ScalingPolicyPredictiveScalingCustomizedLoadMetricInput
- type ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
- func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
- func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
- func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
- type ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput
- type ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) Elem() ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
- func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
- type ScalingPolicyPredictiveScalingCustomizedScalingMetric
- type ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs
- func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
- func (i ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
- func (i ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
- func (i ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
- type ScalingPolicyPredictiveScalingCustomizedScalingMetricInput
- type ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
- func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
- func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
- func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
- type ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput
- type ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) Elem() ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
- func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
- type ScalingPolicyPredictiveScalingMetric
- type ScalingPolicyPredictiveScalingMetricArgs
- func (ScalingPolicyPredictiveScalingMetricArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricOutput() ScalingPolicyPredictiveScalingMetricOutput
- func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricOutput
- func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput
- func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput
- type ScalingPolicyPredictiveScalingMetricDataQuery
- type ScalingPolicyPredictiveScalingMetricDataQueryArgs
- func (ScalingPolicyPredictiveScalingMetricDataQueryArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingMetricDataQueryArgs) ToScalingPolicyPredictiveScalingMetricDataQueryOutput() ScalingPolicyPredictiveScalingMetricDataQueryOutput
- func (i ScalingPolicyPredictiveScalingMetricDataQueryArgs) ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryOutput
- type ScalingPolicyPredictiveScalingMetricDataQueryArray
- func (ScalingPolicyPredictiveScalingMetricDataQueryArray) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingMetricDataQueryArray) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- func (i ScalingPolicyPredictiveScalingMetricDataQueryArray) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- type ScalingPolicyPredictiveScalingMetricDataQueryArrayInput
- type ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- func (ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) Index(i pulumi.IntInput) ScalingPolicyPredictiveScalingMetricDataQueryOutput
- func (o ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- func (o ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
- type ScalingPolicyPredictiveScalingMetricDataQueryInput
- type ScalingPolicyPredictiveScalingMetricDataQueryOutput
- func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) Expression() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) Id() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) Label() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) MetricStat() ScalingPolicyPredictiveScalingMetricStatPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) ReturnData() pulumi.BoolPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) ToScalingPolicyPredictiveScalingMetricDataQueryOutput() ScalingPolicyPredictiveScalingMetricDataQueryOutput
- func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryOutput
- type ScalingPolicyPredictiveScalingMetricDimension
- type ScalingPolicyPredictiveScalingMetricDimensionArgs
- func (ScalingPolicyPredictiveScalingMetricDimensionArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingMetricDimensionArgs) ToScalingPolicyPredictiveScalingMetricDimensionOutput() ScalingPolicyPredictiveScalingMetricDimensionOutput
- func (i ScalingPolicyPredictiveScalingMetricDimensionArgs) ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionOutput
- type ScalingPolicyPredictiveScalingMetricDimensionArray
- func (ScalingPolicyPredictiveScalingMetricDimensionArray) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingMetricDimensionArray) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
- func (i ScalingPolicyPredictiveScalingMetricDimensionArray) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
- type ScalingPolicyPredictiveScalingMetricDimensionArrayInput
- type ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
- func (ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) Index(i pulumi.IntInput) ScalingPolicyPredictiveScalingMetricDimensionOutput
- func (o ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
- func (o ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
- type ScalingPolicyPredictiveScalingMetricDimensionInput
- type ScalingPolicyPredictiveScalingMetricDimensionOutput
- func (ScalingPolicyPredictiveScalingMetricDimensionOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingMetricDimensionOutput) Name() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricDimensionOutput) ToScalingPolicyPredictiveScalingMetricDimensionOutput() ScalingPolicyPredictiveScalingMetricDimensionOutput
- func (o ScalingPolicyPredictiveScalingMetricDimensionOutput) ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionOutput
- func (o ScalingPolicyPredictiveScalingMetricDimensionOutput) Value() pulumi.StringPtrOutput
- type ScalingPolicyPredictiveScalingMetricInput
- type ScalingPolicyPredictiveScalingMetricOutput
- func (o ScalingPolicyPredictiveScalingMetricOutput) Dimensions() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
- func (ScalingPolicyPredictiveScalingMetricOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingMetricOutput) MetricName() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricOutput) Namespace() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricOutput() ScalingPolicyPredictiveScalingMetricOutput
- func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricOutput
- func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput
- type ScalingPolicyPredictiveScalingMetricPtrInput
- type ScalingPolicyPredictiveScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricPtrOutput) Dimensions() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
- func (o ScalingPolicyPredictiveScalingMetricPtrOutput) Elem() ScalingPolicyPredictiveScalingMetricOutput
- func (ScalingPolicyPredictiveScalingMetricPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingMetricPtrOutput) MetricName() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput
- type ScalingPolicyPredictiveScalingMetricSpecification
- type ScalingPolicyPredictiveScalingMetricSpecificationArgs
- func (ScalingPolicyPredictiveScalingMetricSpecificationArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingMetricSpecificationArgs) ToScalingPolicyPredictiveScalingMetricSpecificationOutput() ScalingPolicyPredictiveScalingMetricSpecificationOutput
- func (i ScalingPolicyPredictiveScalingMetricSpecificationArgs) ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationOutput
- type ScalingPolicyPredictiveScalingMetricSpecificationArray
- func (ScalingPolicyPredictiveScalingMetricSpecificationArray) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingMetricSpecificationArray) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
- func (i ScalingPolicyPredictiveScalingMetricSpecificationArray) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
- type ScalingPolicyPredictiveScalingMetricSpecificationArrayInput
- type ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
- func (ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) Index(i pulumi.IntInput) ScalingPolicyPredictiveScalingMetricSpecificationOutput
- func (o ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
- func (o ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
- type ScalingPolicyPredictiveScalingMetricSpecificationInput
- type ScalingPolicyPredictiveScalingMetricSpecificationOutput
- func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedCapacityMetricSpecification() ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedLoadMetricSpecification() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedScalingMetricSpecification() ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
- func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedLoadMetricSpecification() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedMetricPairSpecification() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedScalingMetricSpecification() ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) TargetValue() pulumi.Float64Output
- func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) ToScalingPolicyPredictiveScalingMetricSpecificationOutput() ScalingPolicyPredictiveScalingMetricSpecificationOutput
- func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationOutput
- type ScalingPolicyPredictiveScalingMetricStat
- type ScalingPolicyPredictiveScalingMetricStatArgs
- func (ScalingPolicyPredictiveScalingMetricStatArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatOutput() ScalingPolicyPredictiveScalingMetricStatOutput
- func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatOutput
- func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput
- func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput
- type ScalingPolicyPredictiveScalingMetricStatInput
- type ScalingPolicyPredictiveScalingMetricStatOutput
- func (ScalingPolicyPredictiveScalingMetricStatOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingMetricStatOutput) Metric() ScalingPolicyPredictiveScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricStatOutput) Stat() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatOutput() ScalingPolicyPredictiveScalingMetricStatOutput
- func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatOutput
- func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricStatOutput) Unit() pulumi.StringPtrOutput
- type ScalingPolicyPredictiveScalingMetricStatPtrInput
- type ScalingPolicyPredictiveScalingMetricStatPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) Elem() ScalingPolicyPredictiveScalingMetricStatOutput
- func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) Metric() ScalingPolicyPredictiveScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) Stat() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput
- func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) Unit() pulumi.StringPtrOutput
- type ScalingPolicyPredictiveScalingPolicyConfiguration
- type ScalingPolicyPredictiveScalingPolicyConfigurationArgs
- func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationOutput() ScalingPolicyPredictiveScalingPolicyConfigurationOutput
- func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationOutput
- func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
- func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
- type ScalingPolicyPredictiveScalingPolicyConfigurationInput
- type ScalingPolicyPredictiveScalingPolicyConfigurationOutput
- func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MaxCapacityBreachBehavior() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MaxCapacityBuffer() pulumi.IntPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MetricSpecifications() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) Mode() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) SchedulingBufferTime() pulumi.IntPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationOutput() ScalingPolicyPredictiveScalingPolicyConfigurationOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
- type ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput
- type ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) Elem() ScalingPolicyPredictiveScalingPolicyConfigurationOutput
- func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MaxCapacityBreachBehavior() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MaxCapacityBuffer() pulumi.IntPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MetricSpecifications() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) Mode() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) SchedulingBufferTime() pulumi.IntPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
- func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
- type ScalingPolicyPredictiveScalingPredefinedLoadMetric
- type ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs
- func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
- func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
- func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
- func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
- type ScalingPolicyPredictiveScalingPredefinedLoadMetricInput
- type ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
- func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) PredefinedMetricType() pulumi.StringOutput
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
- type ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput
- type ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) Elem() ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
- func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
- type ScalingPolicyPredictiveScalingPredefinedMetricPair
- type ScalingPolicyPredictiveScalingPredefinedMetricPairArgs
- func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
- func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
- func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
- func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
- type ScalingPolicyPredictiveScalingPredefinedMetricPairInput
- type ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
- func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) PredefinedMetricType() pulumi.StringOutput
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
- type ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput
- type ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) Elem() ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
- func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
- type ScalingPolicyPredictiveScalingPredefinedScalingMetric
- type ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs
- func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ElementType() reflect.Type
- func (i ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
- func (i ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
- func (i ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
- func (i ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
- type ScalingPolicyPredictiveScalingPredefinedScalingMetricInput
- type ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
- func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) PredefinedMetricType() pulumi.StringOutput
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
- type ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput
- type ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) Elem() ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
- func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ElementType() reflect.Type
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
- func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
- 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"` // The predictive scaling policy configuration. PredictiveScalingPolicyConfiguration *ScalingPolicyPredictiveScalingPolicyConfiguration `pulumi:"predictiveScalingPolicyConfiguration"` // 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) PredictiveScalingPolicyConfiguration ¶ added in v1.9.0
func (o LookupScalingPolicyResultOutput) PredictiveScalingPolicyConfiguration() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
The predictive scaling policy configuration.
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 predictive scaling policy configuration. PredictiveScalingPolicyConfiguration ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput `pulumi:"predictiveScalingPolicyConfiguration"` // 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 predictive scaling policy configuration. PredictiveScalingPolicyConfiguration ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput // 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) PredictiveScalingPolicyConfiguration ¶ added in v1.9.0
func (o ScalingPolicyOutput) PredictiveScalingPolicyConfiguration() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
The predictive scaling policy configuration.
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 ScalingPolicyPredictiveScalingCustomizedCapacityMetric ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedCapacityMetric struct { // One or more metric data queries to provide data points for a metric specification. MetricDataQueries []ScalingPolicyPredictiveScalingMetricDataQuery `pulumi:"metricDataQueries"` }
Represents a CloudWatch metric of your choosing for a predictive scaling policy.
type ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs struct { // One or more metric data queries to provide data points for a metric specification. MetricDataQueries ScalingPolicyPredictiveScalingMetricDataQueryArrayInput `pulumi:"metricDataQueries"` }
Represents a CloudWatch metric of your choosing for a predictive scaling policy.
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
type ScalingPolicyPredictiveScalingCustomizedCapacityMetricInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedCapacityMetricInput interface { pulumi.Input ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput }
ScalingPolicyPredictiveScalingCustomizedCapacityMetricInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs and ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedCapacityMetricInput` via:
ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs{...}
type ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput struct{ *pulumi.OutputState }
Represents a CloudWatch metric of your choosing for a predictive scaling policy.
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) MetricDataQueries ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
One or more metric data queries to provide data points for a metric specification.
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
type ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput interface { pulumi.Input ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput }
ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs, ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtr and ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput` via:
ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs{...} or: nil
func ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtr ¶ added in v1.9.0
func ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtr(v *ScalingPolicyPredictiveScalingCustomizedCapacityMetricArgs) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput
type ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) MetricDataQueries ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
One or more metric data queries to provide data points for a metric specification.
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
func (ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
type ScalingPolicyPredictiveScalingCustomizedLoadMetric ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedLoadMetric struct {
MetricDataQueries []ScalingPolicyPredictiveScalingMetricDataQuery `pulumi:"metricDataQueries"`
}
The customized load metric specification.
type ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs struct {
MetricDataQueries ScalingPolicyPredictiveScalingMetricDataQueryArrayInput `pulumi:"metricDataQueries"`
}
The customized load metric specification.
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
type ScalingPolicyPredictiveScalingCustomizedLoadMetricInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedLoadMetricInput interface { pulumi.Input ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput }
ScalingPolicyPredictiveScalingCustomizedLoadMetricInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs and ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedLoadMetricInput` via:
ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs{...}
type ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput struct{ *pulumi.OutputState }
The customized load metric specification.
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) MetricDataQueries ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
type ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput interface { pulumi.Input ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput }
ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs, ScalingPolicyPredictiveScalingCustomizedLoadMetricPtr and ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput` via:
ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs{...} or: nil
func ScalingPolicyPredictiveScalingCustomizedLoadMetricPtr ¶ added in v1.9.0
func ScalingPolicyPredictiveScalingCustomizedLoadMetricPtr(v *ScalingPolicyPredictiveScalingCustomizedLoadMetricArgs) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput
type ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) MetricDataQueries ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
func (ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
type ScalingPolicyPredictiveScalingCustomizedScalingMetric ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedScalingMetric struct { // One or more metric data queries to provide data points for a metric specification. MetricDataQueries []ScalingPolicyPredictiveScalingMetricDataQuery `pulumi:"metricDataQueries"` }
One or more metric data queries to provide data points for a metric specification.
type ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs struct { // One or more metric data queries to provide data points for a metric specification. MetricDataQueries ScalingPolicyPredictiveScalingMetricDataQueryArrayInput `pulumi:"metricDataQueries"` }
One or more metric data queries to provide data points for a metric specification.
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
type ScalingPolicyPredictiveScalingCustomizedScalingMetricInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedScalingMetricInput interface { pulumi.Input ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput }
ScalingPolicyPredictiveScalingCustomizedScalingMetricInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs and ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedScalingMetricInput` via:
ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs{...}
type ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput struct{ *pulumi.OutputState }
One or more metric data queries to provide data points for a metric specification.
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) MetricDataQueries ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
One or more metric data queries to provide data points for a metric specification.
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
type ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput interface { pulumi.Input ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput }
ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs, ScalingPolicyPredictiveScalingCustomizedScalingMetricPtr and ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput` via:
ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs{...} or: nil
func ScalingPolicyPredictiveScalingCustomizedScalingMetricPtr ¶ added in v1.9.0
func ScalingPolicyPredictiveScalingCustomizedScalingMetricPtr(v *ScalingPolicyPredictiveScalingCustomizedScalingMetricArgs) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput
type ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) MetricDataQueries ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) MetricDataQueries() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
One or more metric data queries to provide data points for a metric specification.
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
func (ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
type ScalingPolicyPredictiveScalingMetric ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetric struct { // Describes the dimensions of the metric. Dimensions []ScalingPolicyPredictiveScalingMetricDimension `pulumi:"dimensions"` // The name of the metric. MetricName *string `pulumi:"metricName"` // The namespace of the metric. Namespace *string `pulumi:"namespace"` }
Describes the scaling metric.
type ScalingPolicyPredictiveScalingMetricArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricArgs struct { // Describes the dimensions of the metric. Dimensions ScalingPolicyPredictiveScalingMetricDimensionArrayInput `pulumi:"dimensions"` // The name of the metric. MetricName pulumi.StringPtrInput `pulumi:"metricName"` // The namespace of the metric. Namespace pulumi.StringPtrInput `pulumi:"namespace"` }
Describes the scaling metric.
func (ScalingPolicyPredictiveScalingMetricArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricOutput() ScalingPolicyPredictiveScalingMetricOutput
func (ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricOutput
func (ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricPtrOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput
func (ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricArgs) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput
type ScalingPolicyPredictiveScalingMetricDataQuery ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDataQuery 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 “MetricDataQuery“ 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 *ScalingPolicyPredictiveScalingMetricStat `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.
type ScalingPolicyPredictiveScalingMetricDataQueryArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDataQueryArgs 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 “MetricDataQuery“ 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 ScalingPolicyPredictiveScalingMetricStatPtrInput `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.
func (ScalingPolicyPredictiveScalingMetricDataQueryArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricDataQueryArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricDataQueryArgs) ToScalingPolicyPredictiveScalingMetricDataQueryOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricDataQueryArgs) ToScalingPolicyPredictiveScalingMetricDataQueryOutput() ScalingPolicyPredictiveScalingMetricDataQueryOutput
func (ScalingPolicyPredictiveScalingMetricDataQueryArgs) ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricDataQueryArgs) ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryOutput
type ScalingPolicyPredictiveScalingMetricDataQueryArray ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDataQueryArray []ScalingPolicyPredictiveScalingMetricDataQueryInput
func (ScalingPolicyPredictiveScalingMetricDataQueryArray) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricDataQueryArray) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricDataQueryArray) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricDataQueryArray) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
func (ScalingPolicyPredictiveScalingMetricDataQueryArray) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricDataQueryArray) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
type ScalingPolicyPredictiveScalingMetricDataQueryArrayInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDataQueryArrayInput interface { pulumi.Input ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput }
ScalingPolicyPredictiveScalingMetricDataQueryArrayInput is an input type that accepts ScalingPolicyPredictiveScalingMetricDataQueryArray and ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricDataQueryArrayInput` via:
ScalingPolicyPredictiveScalingMetricDataQueryArray{ ScalingPolicyPredictiveScalingMetricDataQueryArgs{...} }
type ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutput() ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
func (ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput) ToScalingPolicyPredictiveScalingMetricDataQueryArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryArrayOutput
type ScalingPolicyPredictiveScalingMetricDataQueryInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDataQueryInput interface { pulumi.Input ToScalingPolicyPredictiveScalingMetricDataQueryOutput() ScalingPolicyPredictiveScalingMetricDataQueryOutput ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricDataQueryOutput }
ScalingPolicyPredictiveScalingMetricDataQueryInput is an input type that accepts ScalingPolicyPredictiveScalingMetricDataQueryArgs and ScalingPolicyPredictiveScalingMetricDataQueryOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricDataQueryInput` via:
ScalingPolicyPredictiveScalingMetricDataQueryArgs{...}
type ScalingPolicyPredictiveScalingMetricDataQueryOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDataQueryOutput 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.
func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) Expression ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) 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 ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.
func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) Id ¶ added in v1.9.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 (ScalingPolicyPredictiveScalingMetricDataQueryOutput) Label ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) 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 (ScalingPolicyPredictiveScalingMetricDataQueryOutput) MetricStat ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) MetricStat() ScalingPolicyPredictiveScalingMetricStatPtrOutput
Information about the metric data to return.
Conditional: Within each ``MetricDataQuery`` object, you must specify either ``Expression`` or ``MetricStat``, but not both.
func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) ReturnData ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) 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 (ScalingPolicyPredictiveScalingMetricDataQueryOutput) ToScalingPolicyPredictiveScalingMetricDataQueryOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) ToScalingPolicyPredictiveScalingMetricDataQueryOutput() ScalingPolicyPredictiveScalingMetricDataQueryOutput
func (ScalingPolicyPredictiveScalingMetricDataQueryOutput) ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDataQueryOutput) ToScalingPolicyPredictiveScalingMetricDataQueryOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDataQueryOutput
type ScalingPolicyPredictiveScalingMetricDimension ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDimension struct { // The name of the dimension. Name *string `pulumi:"name"` // The value of the dimension. Value *string `pulumi:"value"` }
Describes the dimension of a metric.
type ScalingPolicyPredictiveScalingMetricDimensionArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDimensionArgs struct { // The name of the dimension. Name pulumi.StringPtrInput `pulumi:"name"` // The value of the dimension. Value pulumi.StringPtrInput `pulumi:"value"` }
Describes the dimension of a metric.
func (ScalingPolicyPredictiveScalingMetricDimensionArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricDimensionArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricDimensionArgs) ToScalingPolicyPredictiveScalingMetricDimensionOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricDimensionArgs) ToScalingPolicyPredictiveScalingMetricDimensionOutput() ScalingPolicyPredictiveScalingMetricDimensionOutput
func (ScalingPolicyPredictiveScalingMetricDimensionArgs) ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricDimensionArgs) ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionOutput
type ScalingPolicyPredictiveScalingMetricDimensionArray ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDimensionArray []ScalingPolicyPredictiveScalingMetricDimensionInput
func (ScalingPolicyPredictiveScalingMetricDimensionArray) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricDimensionArray) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricDimensionArray) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricDimensionArray) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
func (ScalingPolicyPredictiveScalingMetricDimensionArray) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricDimensionArray) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
type ScalingPolicyPredictiveScalingMetricDimensionArrayInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDimensionArrayInput interface { pulumi.Input ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricDimensionArrayOutput }
ScalingPolicyPredictiveScalingMetricDimensionArrayInput is an input type that accepts ScalingPolicyPredictiveScalingMetricDimensionArray and ScalingPolicyPredictiveScalingMetricDimensionArrayOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricDimensionArrayInput` via:
ScalingPolicyPredictiveScalingMetricDimensionArray{ ScalingPolicyPredictiveScalingMetricDimensionArgs{...} }
type ScalingPolicyPredictiveScalingMetricDimensionArrayOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDimensionArrayOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutput() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
func (ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDimensionArrayOutput) ToScalingPolicyPredictiveScalingMetricDimensionArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
type ScalingPolicyPredictiveScalingMetricDimensionInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDimensionInput interface { pulumi.Input ToScalingPolicyPredictiveScalingMetricDimensionOutput() ScalingPolicyPredictiveScalingMetricDimensionOutput ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricDimensionOutput }
ScalingPolicyPredictiveScalingMetricDimensionInput is an input type that accepts ScalingPolicyPredictiveScalingMetricDimensionArgs and ScalingPolicyPredictiveScalingMetricDimensionOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricDimensionInput` via:
ScalingPolicyPredictiveScalingMetricDimensionArgs{...}
type ScalingPolicyPredictiveScalingMetricDimensionOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricDimensionOutput struct{ *pulumi.OutputState }
Describes the dimension of a metric.
func (ScalingPolicyPredictiveScalingMetricDimensionOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricDimensionOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricDimensionOutput) Name ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDimensionOutput) Name() pulumi.StringPtrOutput
The name of the dimension.
func (ScalingPolicyPredictiveScalingMetricDimensionOutput) ToScalingPolicyPredictiveScalingMetricDimensionOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDimensionOutput) ToScalingPolicyPredictiveScalingMetricDimensionOutput() ScalingPolicyPredictiveScalingMetricDimensionOutput
func (ScalingPolicyPredictiveScalingMetricDimensionOutput) ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDimensionOutput) ToScalingPolicyPredictiveScalingMetricDimensionOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricDimensionOutput
func (ScalingPolicyPredictiveScalingMetricDimensionOutput) Value ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricDimensionOutput) Value() pulumi.StringPtrOutput
The value of the dimension.
type ScalingPolicyPredictiveScalingMetricInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricInput interface { pulumi.Input ToScalingPolicyPredictiveScalingMetricOutput() ScalingPolicyPredictiveScalingMetricOutput ToScalingPolicyPredictiveScalingMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricOutput }
ScalingPolicyPredictiveScalingMetricInput is an input type that accepts ScalingPolicyPredictiveScalingMetricArgs and ScalingPolicyPredictiveScalingMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricInput` via:
ScalingPolicyPredictiveScalingMetricArgs{...}
type ScalingPolicyPredictiveScalingMetricOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricOutput struct{ *pulumi.OutputState }
Describes the scaling metric.
func (ScalingPolicyPredictiveScalingMetricOutput) Dimensions ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricOutput) Dimensions() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
Describes the dimensions of the metric.
func (ScalingPolicyPredictiveScalingMetricOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricOutput) MetricName ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricOutput) MetricName() pulumi.StringPtrOutput
The name of the metric.
func (ScalingPolicyPredictiveScalingMetricOutput) Namespace ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricOutput) Namespace() pulumi.StringPtrOutput
The namespace of the metric.
func (ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricOutput() ScalingPolicyPredictiveScalingMetricOutput
func (ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricOutput
func (ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput
func (ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricOutput) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput
type ScalingPolicyPredictiveScalingMetricPtrInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricPtrInput interface { pulumi.Input ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput }
ScalingPolicyPredictiveScalingMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingMetricArgs, ScalingPolicyPredictiveScalingMetricPtr and ScalingPolicyPredictiveScalingMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricPtrInput` via:
ScalingPolicyPredictiveScalingMetricArgs{...} or: nil
func ScalingPolicyPredictiveScalingMetricPtr ¶ added in v1.9.0
func ScalingPolicyPredictiveScalingMetricPtr(v *ScalingPolicyPredictiveScalingMetricArgs) ScalingPolicyPredictiveScalingMetricPtrInput
type ScalingPolicyPredictiveScalingMetricPtrOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingMetricPtrOutput) Dimensions ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricPtrOutput) Dimensions() ScalingPolicyPredictiveScalingMetricDimensionArrayOutput
Describes the dimensions of the metric.
func (ScalingPolicyPredictiveScalingMetricPtrOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricPtrOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricPtrOutput) MetricName ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricPtrOutput) MetricName() pulumi.StringPtrOutput
The name of the metric.
func (ScalingPolicyPredictiveScalingMetricPtrOutput) Namespace ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricPtrOutput) Namespace() pulumi.StringPtrOutput
The namespace of the metric.
func (ScalingPolicyPredictiveScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingMetricPtrOutput() ScalingPolicyPredictiveScalingMetricPtrOutput
func (ScalingPolicyPredictiveScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricPtrOutput
type ScalingPolicyPredictiveScalingMetricSpecification ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricSpecification struct { // The customized capacity metric specification. CustomizedCapacityMetricSpecification *ScalingPolicyPredictiveScalingCustomizedCapacityMetric `pulumi:"customizedCapacityMetricSpecification"` // The customized load metric specification. CustomizedLoadMetricSpecification *ScalingPolicyPredictiveScalingCustomizedLoadMetric `pulumi:"customizedLoadMetricSpecification"` // The customized scaling metric specification. CustomizedScalingMetricSpecification *ScalingPolicyPredictiveScalingCustomizedScalingMetric `pulumi:"customizedScalingMetricSpecification"` // The predefined load metric specification. PredefinedLoadMetricSpecification *ScalingPolicyPredictiveScalingPredefinedLoadMetric `pulumi:"predefinedLoadMetricSpecification"` // The predefined metric pair specification that determines the appropriate scaling metric and load metric to use. PredefinedMetricPairSpecification *ScalingPolicyPredictiveScalingPredefinedMetricPair `pulumi:"predefinedMetricPairSpecification"` // The predefined scaling metric specification. PredefinedScalingMetricSpecification *ScalingPolicyPredictiveScalingPredefinedScalingMetric `pulumi:"predefinedScalingMetricSpecification"` // Specifies the target utilization. TargetValue float64 `pulumi:"targetValue"` }
This structure specifies the metrics and target utilization settings for a predictive scaling policy.
You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.
type ScalingPolicyPredictiveScalingMetricSpecificationArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricSpecificationArgs struct { // The customized capacity metric specification. CustomizedCapacityMetricSpecification ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrInput `pulumi:"customizedCapacityMetricSpecification"` // The customized load metric specification. CustomizedLoadMetricSpecification ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrInput `pulumi:"customizedLoadMetricSpecification"` // The customized scaling metric specification. CustomizedScalingMetricSpecification ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrInput `pulumi:"customizedScalingMetricSpecification"` // The predefined load metric specification. PredefinedLoadMetricSpecification ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput `pulumi:"predefinedLoadMetricSpecification"` // The predefined metric pair specification that determines the appropriate scaling metric and load metric to use. PredefinedMetricPairSpecification ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput `pulumi:"predefinedMetricPairSpecification"` // The predefined scaling metric specification. PredefinedScalingMetricSpecification ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput `pulumi:"predefinedScalingMetricSpecification"` // Specifies the target utilization. TargetValue pulumi.Float64Input `pulumi:"targetValue"` }
This structure specifies the metrics and target utilization settings for a predictive scaling policy.
You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.
func (ScalingPolicyPredictiveScalingMetricSpecificationArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricSpecificationArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricSpecificationArgs) ToScalingPolicyPredictiveScalingMetricSpecificationOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricSpecificationArgs) ToScalingPolicyPredictiveScalingMetricSpecificationOutput() ScalingPolicyPredictiveScalingMetricSpecificationOutput
func (ScalingPolicyPredictiveScalingMetricSpecificationArgs) ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricSpecificationArgs) ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationOutput
type ScalingPolicyPredictiveScalingMetricSpecificationArray ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricSpecificationArray []ScalingPolicyPredictiveScalingMetricSpecificationInput
func (ScalingPolicyPredictiveScalingMetricSpecificationArray) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricSpecificationArray) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricSpecificationArray) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricSpecificationArray) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
func (ScalingPolicyPredictiveScalingMetricSpecificationArray) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricSpecificationArray) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
type ScalingPolicyPredictiveScalingMetricSpecificationArrayInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricSpecificationArrayInput interface { pulumi.Input ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput }
ScalingPolicyPredictiveScalingMetricSpecificationArrayInput is an input type that accepts ScalingPolicyPredictiveScalingMetricSpecificationArray and ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricSpecificationArrayInput` via:
ScalingPolicyPredictiveScalingMetricSpecificationArray{ ScalingPolicyPredictiveScalingMetricSpecificationArgs{...} }
type ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutput() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
func (ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput) ToScalingPolicyPredictiveScalingMetricSpecificationArrayOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
type ScalingPolicyPredictiveScalingMetricSpecificationInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricSpecificationInput interface { pulumi.Input ToScalingPolicyPredictiveScalingMetricSpecificationOutput() ScalingPolicyPredictiveScalingMetricSpecificationOutput ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricSpecificationOutput }
ScalingPolicyPredictiveScalingMetricSpecificationInput is an input type that accepts ScalingPolicyPredictiveScalingMetricSpecificationArgs and ScalingPolicyPredictiveScalingMetricSpecificationOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricSpecificationInput` via:
ScalingPolicyPredictiveScalingMetricSpecificationArgs{...}
type ScalingPolicyPredictiveScalingMetricSpecificationOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricSpecificationOutput struct{ *pulumi.OutputState }
This structure specifies the metrics and target utilization settings for a predictive scaling policy.
You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedCapacityMetricSpecification ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedCapacityMetricSpecification() ScalingPolicyPredictiveScalingCustomizedCapacityMetricPtrOutput
The customized capacity metric specification.
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedLoadMetricSpecification ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedLoadMetricSpecification() ScalingPolicyPredictiveScalingCustomizedLoadMetricPtrOutput
The customized load metric specification.
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedScalingMetricSpecification ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) CustomizedScalingMetricSpecification() ScalingPolicyPredictiveScalingCustomizedScalingMetricPtrOutput
The customized scaling metric specification.
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedLoadMetricSpecification ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedLoadMetricSpecification() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
The predefined load metric specification.
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedMetricPairSpecification ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedMetricPairSpecification() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
The predefined metric pair specification that determines the appropriate scaling metric and load metric to use.
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedScalingMetricSpecification ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) PredefinedScalingMetricSpecification() ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
The predefined scaling metric specification.
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) TargetValue ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) TargetValue() pulumi.Float64Output
Specifies the target utilization.
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) ToScalingPolicyPredictiveScalingMetricSpecificationOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) ToScalingPolicyPredictiveScalingMetricSpecificationOutput() ScalingPolicyPredictiveScalingMetricSpecificationOutput
func (ScalingPolicyPredictiveScalingMetricSpecificationOutput) ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricSpecificationOutput) ToScalingPolicyPredictiveScalingMetricSpecificationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricSpecificationOutput
type ScalingPolicyPredictiveScalingMetricStat ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricStat 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 *ScalingPolicyPredictiveScalingMetric `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 metrics for predictive scaling are “Average“ and “Sum“. 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.
type ScalingPolicyPredictiveScalingMetricStatArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricStatArgs 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 ScalingPolicyPredictiveScalingMetricPtrInput `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 metrics for predictive scaling are “Average“ and “Sum“. 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.
func (ScalingPolicyPredictiveScalingMetricStatArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricStatArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatOutput() ScalingPolicyPredictiveScalingMetricStatOutput
func (ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatOutput
func (ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatPtrOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput
func (ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingMetricStatArgs) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput
type ScalingPolicyPredictiveScalingMetricStatInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricStatInput interface { pulumi.Input ToScalingPolicyPredictiveScalingMetricStatOutput() ScalingPolicyPredictiveScalingMetricStatOutput ToScalingPolicyPredictiveScalingMetricStatOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricStatOutput }
ScalingPolicyPredictiveScalingMetricStatInput is an input type that accepts ScalingPolicyPredictiveScalingMetricStatArgs and ScalingPolicyPredictiveScalingMetricStatOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricStatInput` via:
ScalingPolicyPredictiveScalingMetricStatArgs{...}
type ScalingPolicyPredictiveScalingMetricStatOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricStatOutput struct{ *pulumi.OutputState }
This structure defines the CloudWatch metric to return, along with the statistic and unit.
func (ScalingPolicyPredictiveScalingMetricStatOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricStatOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricStatOutput) Metric ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatOutput) Metric() ScalingPolicyPredictiveScalingMetricPtrOutput
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 (ScalingPolicyPredictiveScalingMetricStatOutput) Stat ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatOutput) 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 metrics for predictive scaling are ``Average`` and ``Sum``.
func (ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatOutput() ScalingPolicyPredictiveScalingMetricStatOutput
func (ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatOutput
func (ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput
func (ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput
func (ScalingPolicyPredictiveScalingMetricStatOutput) Unit ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatOutput) 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 ScalingPolicyPredictiveScalingMetricStatPtrInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricStatPtrInput interface { pulumi.Input ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput }
ScalingPolicyPredictiveScalingMetricStatPtrInput is an input type that accepts ScalingPolicyPredictiveScalingMetricStatArgs, ScalingPolicyPredictiveScalingMetricStatPtr and ScalingPolicyPredictiveScalingMetricStatPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingMetricStatPtrInput` via:
ScalingPolicyPredictiveScalingMetricStatArgs{...} or: nil
func ScalingPolicyPredictiveScalingMetricStatPtr ¶ added in v1.9.0
func ScalingPolicyPredictiveScalingMetricStatPtr(v *ScalingPolicyPredictiveScalingMetricStatArgs) ScalingPolicyPredictiveScalingMetricStatPtrInput
type ScalingPolicyPredictiveScalingMetricStatPtrOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingMetricStatPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) Metric ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) Metric() ScalingPolicyPredictiveScalingMetricPtrOutput
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 (ScalingPolicyPredictiveScalingMetricStatPtrOutput) Stat ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) 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 metrics for predictive scaling are ``Average`` and ``Sum``.
func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutput() ScalingPolicyPredictiveScalingMetricStatPtrOutput
func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) ToScalingPolicyPredictiveScalingMetricStatPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingMetricStatPtrOutput
func (ScalingPolicyPredictiveScalingMetricStatPtrOutput) Unit ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingMetricStatPtrOutput) 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 ScalingPolicyPredictiveScalingPolicyConfiguration ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPolicyConfiguration struct { // Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity. Defaults to “HonorMaxCapacity“ if not specified. MaxCapacityBreachBehavior *string `pulumi:"maxCapacityBreachBehavior"` // The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55. // Required if the “MaxCapacityBreachBehavior“ property is set to “IncreaseMaxCapacity“, and cannot be used otherwise. MaxCapacityBuffer *int `pulumi:"maxCapacityBuffer"` // This structure includes the metrics and target utilization to use for predictive scaling. // This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric. MetricSpecifications []ScalingPolicyPredictiveScalingMetricSpecification `pulumi:"metricSpecifications"` // The predictive scaling mode. Defaults to “ForecastOnly“ if not specified. Mode *string `pulumi:"mode"` // The amount of time, in seconds, that the start time can be advanced. // The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified. SchedulingBufferTime *int `pulumi:"schedulingBufferTime"` }
Represents a predictive scaling policy configuration.
type ScalingPolicyPredictiveScalingPolicyConfigurationArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPolicyConfigurationArgs struct { // Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity. Defaults to “HonorMaxCapacity“ if not specified. MaxCapacityBreachBehavior pulumi.StringPtrInput `pulumi:"maxCapacityBreachBehavior"` // The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55. // Required if the “MaxCapacityBreachBehavior“ property is set to “IncreaseMaxCapacity“, and cannot be used otherwise. MaxCapacityBuffer pulumi.IntPtrInput `pulumi:"maxCapacityBuffer"` // This structure includes the metrics and target utilization to use for predictive scaling. // This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric. MetricSpecifications ScalingPolicyPredictiveScalingMetricSpecificationArrayInput `pulumi:"metricSpecifications"` // The predictive scaling mode. Defaults to “ForecastOnly“ if not specified. Mode pulumi.StringPtrInput `pulumi:"mode"` // The amount of time, in seconds, that the start time can be advanced. // The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified. SchedulingBufferTime pulumi.IntPtrInput `pulumi:"schedulingBufferTime"` }
Represents a predictive scaling policy configuration.
func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationOutput() ScalingPolicyPredictiveScalingPolicyConfigurationOutput
func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationOutput
func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
func (ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
type ScalingPolicyPredictiveScalingPolicyConfigurationInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPolicyConfigurationInput interface { pulumi.Input ToScalingPolicyPredictiveScalingPolicyConfigurationOutput() ScalingPolicyPredictiveScalingPolicyConfigurationOutput ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationOutput }
ScalingPolicyPredictiveScalingPolicyConfigurationInput is an input type that accepts ScalingPolicyPredictiveScalingPolicyConfigurationArgs and ScalingPolicyPredictiveScalingPolicyConfigurationOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPolicyConfigurationInput` via:
ScalingPolicyPredictiveScalingPolicyConfigurationArgs{...}
type ScalingPolicyPredictiveScalingPolicyConfigurationOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPolicyConfigurationOutput struct{ *pulumi.OutputState }
Represents a predictive scaling policy configuration.
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MaxCapacityBreachBehavior ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MaxCapacityBreachBehavior() pulumi.StringPtrOutput
Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity. Defaults to “HonorMaxCapacity“ if not specified.
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MaxCapacityBuffer ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MaxCapacityBuffer() pulumi.IntPtrOutput
The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.
Required if the ``MaxCapacityBreachBehavior`` property is set to ``IncreaseMaxCapacity``, and cannot be used otherwise.
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MetricSpecifications ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) MetricSpecifications() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
This structure includes the metrics and target utilization to use for predictive scaling.
This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) Mode ¶ added in v1.9.0
The predictive scaling mode. Defaults to “ForecastOnly“ if not specified.
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) SchedulingBufferTime ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) SchedulingBufferTime() pulumi.IntPtrOutput
The amount of time, in seconds, that the start time can be advanced.
The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationOutput() ScalingPolicyPredictiveScalingPolicyConfigurationOutput
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationOutput
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
func (ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
type ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput interface { pulumi.Input ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput }
ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput is an input type that accepts ScalingPolicyPredictiveScalingPolicyConfigurationArgs, ScalingPolicyPredictiveScalingPolicyConfigurationPtr and ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput` via:
ScalingPolicyPredictiveScalingPolicyConfigurationArgs{...} or: nil
func ScalingPolicyPredictiveScalingPolicyConfigurationPtr ¶ added in v1.9.0
func ScalingPolicyPredictiveScalingPolicyConfigurationPtr(v *ScalingPolicyPredictiveScalingPolicyConfigurationArgs) ScalingPolicyPredictiveScalingPolicyConfigurationPtrInput
type ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MaxCapacityBreachBehavior ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MaxCapacityBreachBehavior() pulumi.StringPtrOutput
Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity. Defaults to “HonorMaxCapacity“ if not specified.
func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MaxCapacityBuffer ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MaxCapacityBuffer() pulumi.IntPtrOutput
The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.
Required if the ``MaxCapacityBreachBehavior`` property is set to ``IncreaseMaxCapacity``, and cannot be used otherwise.
func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MetricSpecifications ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) MetricSpecifications() ScalingPolicyPredictiveScalingMetricSpecificationArrayOutput
This structure includes the metrics and target utilization to use for predictive scaling.
This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.
func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) Mode ¶ added in v1.9.0
The predictive scaling mode. Defaults to “ForecastOnly“ if not specified.
func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) SchedulingBufferTime ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) SchedulingBufferTime() pulumi.IntPtrOutput
The amount of time, in seconds, that the start time can be advanced.
The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.
func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput() ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
func (ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput) ToScalingPolicyPredictiveScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPolicyConfigurationPtrOutput
type ScalingPolicyPredictiveScalingPredefinedLoadMetric ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedLoadMetric struct { // The metric type. PredefinedMetricType string `pulumi:"predefinedMetricType"` // A label that uniquely identifies a target group. ResourceLabel *string `pulumi:"resourceLabel"` }
Describes a load metric for a predictive scaling policy.
When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
type ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs struct { // The metric type. PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"` // A label that uniquely identifies a target group. ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"` }
Describes a load metric for a predictive scaling policy.
When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
type ScalingPolicyPredictiveScalingPredefinedLoadMetricInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedLoadMetricInput interface { pulumi.Input ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput }
ScalingPolicyPredictiveScalingPredefinedLoadMetricInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs and ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedLoadMetricInput` via:
ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs{...}
type ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput struct{ *pulumi.OutputState }
Describes a load metric for a predictive scaling policy.
When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) PredefinedMetricType ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) PredefinedMetricType() pulumi.StringOutput
The metric type.
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ResourceLabel ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a target group.
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
type ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput interface { pulumi.Input ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput }
ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs, ScalingPolicyPredictiveScalingPredefinedLoadMetricPtr and ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput` via:
ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs{...} or: nil
func ScalingPolicyPredictiveScalingPredefinedLoadMetricPtr ¶ added in v1.9.0
func ScalingPolicyPredictiveScalingPredefinedLoadMetricPtr(v *ScalingPolicyPredictiveScalingPredefinedLoadMetricArgs) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrInput
type ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) PredefinedMetricType ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
The metric type.
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ResourceLabel ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a target group.
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
func (ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedLoadMetricPtrOutput
type ScalingPolicyPredictiveScalingPredefinedMetricPair ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedMetricPair struct { // Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric. PredefinedMetricType string `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific target group from which to determine the total and average request count. ResourceLabel *string `pulumi:"resourceLabel"` }
Represents a metric pair for a predictive scaling policy.
type ScalingPolicyPredictiveScalingPredefinedMetricPairArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedMetricPairArgs struct { // Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric. PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific target group from which to determine the total and average request count. ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"` }
Represents a metric pair for a predictive scaling policy.
func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
func (ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
type ScalingPolicyPredictiveScalingPredefinedMetricPairInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedMetricPairInput interface { pulumi.Input ToScalingPolicyPredictiveScalingPredefinedMetricPairOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairOutput ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairOutput }
ScalingPolicyPredictiveScalingPredefinedMetricPairInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedMetricPairArgs and ScalingPolicyPredictiveScalingPredefinedMetricPairOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedMetricPairInput` via:
ScalingPolicyPredictiveScalingPredefinedMetricPairArgs{...}
type ScalingPolicyPredictiveScalingPredefinedMetricPairOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedMetricPairOutput struct{ *pulumi.OutputState }
Represents a metric pair for a predictive scaling policy.
func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) PredefinedMetricType ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) PredefinedMetricType() pulumi.StringOutput
Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric.
func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ResourceLabel ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a specific target group from which to determine the total and average request count.
func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairOutput
func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
func (ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedMetricPairOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
type ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput interface { pulumi.Input ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput }
ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedMetricPairArgs, ScalingPolicyPredictiveScalingPredefinedMetricPairPtr and ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput` via:
ScalingPolicyPredictiveScalingPredefinedMetricPairArgs{...} or: nil
func ScalingPolicyPredictiveScalingPredefinedMetricPairPtr ¶ added in v1.9.0
func ScalingPolicyPredictiveScalingPredefinedMetricPairPtr(v *ScalingPolicyPredictiveScalingPredefinedMetricPairArgs) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrInput
type ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) PredefinedMetricType ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric.
func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ResourceLabel ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a specific target group from which to determine the total and average request count.
func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput() ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
func (ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput) ToScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedMetricPairPtrOutput
type ScalingPolicyPredictiveScalingPredefinedScalingMetric ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedScalingMetric struct { // The metric type. PredefinedMetricType string `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific target group from which to determine the average request count. ResourceLabel *string `pulumi:"resourceLabel"` }
Describes a scaling metric for a predictive scaling policy.
When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
type ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs struct { // The metric type. PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"` // A label that uniquely identifies a specific target group from which to determine the average request count. ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"` }
Describes a scaling metric for a predictive scaling policy.
When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext ¶ added in v1.9.0
func (i ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
type ScalingPolicyPredictiveScalingPredefinedScalingMetricInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedScalingMetricInput interface { pulumi.Input ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput }
ScalingPolicyPredictiveScalingPredefinedScalingMetricInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs and ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedScalingMetricInput` via:
ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs{...}
type ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput struct{ *pulumi.OutputState }
Describes a scaling metric for a predictive scaling policy.
When returned in the output of ``DescribePolicies``, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) PredefinedMetricType ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) PredefinedMetricType() pulumi.StringOutput
The metric type.
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ResourceLabel ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a specific target group from which to determine the average request count.
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
type ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput interface { pulumi.Input ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput }
ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput is an input type that accepts ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs, ScalingPolicyPredictiveScalingPredefinedScalingMetricPtr and ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput values. You can construct a concrete instance of `ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput` via:
ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs{...} or: nil
func ScalingPolicyPredictiveScalingPredefinedScalingMetricPtr ¶ added in v1.9.0
func ScalingPolicyPredictiveScalingPredefinedScalingMetricPtr(v *ScalingPolicyPredictiveScalingPredefinedScalingMetricArgs) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrInput
type ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput ¶ added in v1.9.0
type ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput struct{ *pulumi.OutputState }
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ElementType ¶ added in v1.9.0
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ElementType() reflect.Type
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) PredefinedMetricType ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
The metric type.
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ResourceLabel ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ResourceLabel() pulumi.StringPtrOutput
A label that uniquely identifies a specific target group from which to determine the average request count.
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput() ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
func (ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext ¶ added in v1.9.0
func (o ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput) ToScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutputWithContext(ctx context.Context) ScalingPolicyPredictiveScalingPredefinedScalingMetricPtrOutput
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