Documentation ¶
Index ¶
- type Policy
- type PolicyArgs
- type PolicyArray
- type PolicyArrayInput
- type PolicyArrayOutput
- type PolicyInput
- type PolicyMap
- type PolicyMapInput
- type PolicyMapOutput
- type PolicyOutput
- func (o PolicyOutput) AlarmArns() pulumi.StringArrayOutput
- func (o PolicyOutput) Arn() pulumi.StringOutput
- func (PolicyOutput) ElementType() reflect.Type
- func (o PolicyOutput) Name() pulumi.StringOutput
- func (o PolicyOutput) PolicyType() pulumi.StringPtrOutput
- func (o PolicyOutput) ResourceId() pulumi.StringOutput
- func (o PolicyOutput) ScalableDimension() pulumi.StringOutput
- func (o PolicyOutput) ServiceNamespace() pulumi.StringOutput
- func (o PolicyOutput) StepScalingPolicyConfiguration() PolicyStepScalingPolicyConfigurationPtrOutput
- func (o PolicyOutput) TargetTrackingScalingPolicyConfiguration() PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (o PolicyOutput) ToPolicyOutput() PolicyOutput
- func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- type PolicyState
- type PolicyStepScalingPolicyConfiguration
- type PolicyStepScalingPolicyConfigurationArgs
- func (PolicyStepScalingPolicyConfigurationArgs) ElementType() reflect.Type
- func (i PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationOutput() PolicyStepScalingPolicyConfigurationOutput
- func (i PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationOutput
- func (i PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationPtrOutput() PolicyStepScalingPolicyConfigurationPtrOutput
- func (i PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationPtrOutput
- type PolicyStepScalingPolicyConfigurationInput
- type PolicyStepScalingPolicyConfigurationOutput
- func (o PolicyStepScalingPolicyConfigurationOutput) AdjustmentType() pulumi.StringPtrOutput
- func (o PolicyStepScalingPolicyConfigurationOutput) Cooldown() pulumi.IntPtrOutput
- func (PolicyStepScalingPolicyConfigurationOutput) ElementType() reflect.Type
- func (o PolicyStepScalingPolicyConfigurationOutput) MetricAggregationType() pulumi.StringPtrOutput
- func (o PolicyStepScalingPolicyConfigurationOutput) MinAdjustmentMagnitude() pulumi.IntPtrOutput
- func (o PolicyStepScalingPolicyConfigurationOutput) StepAdjustments() PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
- func (o PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationOutput() PolicyStepScalingPolicyConfigurationOutput
- func (o PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationOutput
- func (o PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationPtrOutput() PolicyStepScalingPolicyConfigurationPtrOutput
- func (o PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationPtrOutput
- type PolicyStepScalingPolicyConfigurationPtrInput
- type PolicyStepScalingPolicyConfigurationPtrOutput
- func (o PolicyStepScalingPolicyConfigurationPtrOutput) AdjustmentType() pulumi.StringPtrOutput
- func (o PolicyStepScalingPolicyConfigurationPtrOutput) Cooldown() pulumi.IntPtrOutput
- func (o PolicyStepScalingPolicyConfigurationPtrOutput) Elem() PolicyStepScalingPolicyConfigurationOutput
- func (PolicyStepScalingPolicyConfigurationPtrOutput) ElementType() reflect.Type
- func (o PolicyStepScalingPolicyConfigurationPtrOutput) MetricAggregationType() pulumi.StringPtrOutput
- func (o PolicyStepScalingPolicyConfigurationPtrOutput) MinAdjustmentMagnitude() pulumi.IntPtrOutput
- func (o PolicyStepScalingPolicyConfigurationPtrOutput) StepAdjustments() PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
- func (o PolicyStepScalingPolicyConfigurationPtrOutput) ToPolicyStepScalingPolicyConfigurationPtrOutput() PolicyStepScalingPolicyConfigurationPtrOutput
- func (o PolicyStepScalingPolicyConfigurationPtrOutput) ToPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationPtrOutput
- type PolicyStepScalingPolicyConfigurationStepAdjustment
- type PolicyStepScalingPolicyConfigurationStepAdjustmentArgs
- func (PolicyStepScalingPolicyConfigurationStepAdjustmentArgs) ElementType() reflect.Type
- func (i PolicyStepScalingPolicyConfigurationStepAdjustmentArgs) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutput() PolicyStepScalingPolicyConfigurationStepAdjustmentOutput
- func (i PolicyStepScalingPolicyConfigurationStepAdjustmentArgs) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationStepAdjustmentOutput
- type PolicyStepScalingPolicyConfigurationStepAdjustmentArray
- func (PolicyStepScalingPolicyConfigurationStepAdjustmentArray) ElementType() reflect.Type
- func (i PolicyStepScalingPolicyConfigurationStepAdjustmentArray) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput() PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
- func (i PolicyStepScalingPolicyConfigurationStepAdjustmentArray) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
- type PolicyStepScalingPolicyConfigurationStepAdjustmentArrayInput
- type PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
- func (PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput) ElementType() reflect.Type
- func (o PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput) Index(i pulumi.IntInput) PolicyStepScalingPolicyConfigurationStepAdjustmentOutput
- func (o PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput() PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
- func (o PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
- type PolicyStepScalingPolicyConfigurationStepAdjustmentInput
- type PolicyStepScalingPolicyConfigurationStepAdjustmentOutput
- func (PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ElementType() reflect.Type
- func (o PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) MetricIntervalLowerBound() pulumi.StringPtrOutput
- func (o PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) MetricIntervalUpperBound() pulumi.StringPtrOutput
- func (o PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ScalingAdjustment() pulumi.IntOutput
- func (o PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutput() PolicyStepScalingPolicyConfigurationStepAdjustmentOutput
- func (o PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationStepAdjustmentOutput
- type PolicyTargetTrackingScalingPolicyConfiguration
- type PolicyTargetTrackingScalingPolicyConfigurationArgs
- func (PolicyTargetTrackingScalingPolicyConfigurationArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationOutput() PolicyTargetTrackingScalingPolicyConfigurationOutput
- func (i PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationOutput
- func (i PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (i PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutputWithContext(ctx context.Context) ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimension
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput) Index(i pulumi.IntInput) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) Name() pulumi.StringOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) Value() pulumi.StringOutput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetric
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput) Index(i pulumi.IntInput) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStat
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutputWithContext(ctx context.Context) ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetric
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutputWithContext(ctx context.Context) ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimension
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput) Index(i pulumi.IntInput) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) Name() pulumi.StringOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) Value() pulumi.StringOutput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) Dimensions() ...
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) MetricName() pulumi.StringOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) Namespace() pulumi.StringOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) Dimensions() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) Elem() ...
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) MetricName() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) Metric() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) Stat() pulumi.StringOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) Unit() pulumi.StringPtrOutput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Elem() ...
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Metric() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Stat() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Unit() pulumi.StringPtrOutput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) Expression() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) Id() pulumi.StringOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) Label() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) MetricStat() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ReturnData() pulumi.BoolPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Dimensions() ...
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) MetricName() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Metrics() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Namespace() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Statistic() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Unit() pulumi.StringPtrOutput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrInput
- type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Dimensions() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Elem() ...
- func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) MetricName() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Metrics() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Statistic() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Unit() pulumi.StringPtrOutput
- type PolicyTargetTrackingScalingPolicyConfigurationInput
- type PolicyTargetTrackingScalingPolicyConfigurationOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) CustomizedMetricSpecification() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) DisableScaleIn() pulumi.BoolPtrOutput
- func (PolicyTargetTrackingScalingPolicyConfigurationOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) PredefinedMetricSpecification() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleInCooldown() pulumi.IntPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleOutCooldown() pulumi.IntPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) TargetValue() pulumi.Float64Output
- func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationOutput() PolicyTargetTrackingScalingPolicyConfigurationOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification
- type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs
- func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ElementType() reflect.Type
- func (i PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutputWithContext(ctx context.Context) ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput() ...
- func (i PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationInput
- type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput
- func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutputWithContext(ctx context.Context) ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrInput
- type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) Elem() ...
- func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) ...
- type PolicyTargetTrackingScalingPolicyConfigurationPtrInput
- type PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) CustomizedMetricSpecification() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) DisableScaleIn() pulumi.BoolPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) Elem() PolicyTargetTrackingScalingPolicyConfigurationOutput
- func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ElementType() reflect.Type
- func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) PredefinedMetricSpecification() ...
- func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleInCooldown() pulumi.IntPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleOutCooldown() pulumi.IntPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) TargetValue() pulumi.Float64PtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
- type ScheduledAction
- type ScheduledActionArgs
- type ScheduledActionArray
- type ScheduledActionArrayInput
- type ScheduledActionArrayOutput
- func (ScheduledActionArrayOutput) ElementType() reflect.Type
- func (o ScheduledActionArrayOutput) Index(i pulumi.IntInput) ScheduledActionOutput
- func (o ScheduledActionArrayOutput) ToScheduledActionArrayOutput() ScheduledActionArrayOutput
- func (o ScheduledActionArrayOutput) ToScheduledActionArrayOutputWithContext(ctx context.Context) ScheduledActionArrayOutput
- type ScheduledActionInput
- type ScheduledActionMap
- type ScheduledActionMapInput
- type ScheduledActionMapOutput
- func (ScheduledActionMapOutput) ElementType() reflect.Type
- func (o ScheduledActionMapOutput) MapIndex(k pulumi.StringInput) ScheduledActionOutput
- func (o ScheduledActionMapOutput) ToScheduledActionMapOutput() ScheduledActionMapOutput
- func (o ScheduledActionMapOutput) ToScheduledActionMapOutputWithContext(ctx context.Context) ScheduledActionMapOutput
- type ScheduledActionOutput
- func (o ScheduledActionOutput) Arn() pulumi.StringOutput
- func (ScheduledActionOutput) ElementType() reflect.Type
- func (o ScheduledActionOutput) EndTime() pulumi.StringPtrOutput
- func (o ScheduledActionOutput) Name() pulumi.StringOutput
- func (o ScheduledActionOutput) ResourceId() pulumi.StringOutput
- func (o ScheduledActionOutput) ScalableDimension() pulumi.StringOutput
- func (o ScheduledActionOutput) ScalableTargetAction() ScheduledActionScalableTargetActionOutput
- func (o ScheduledActionOutput) Schedule() pulumi.StringOutput
- func (o ScheduledActionOutput) ServiceNamespace() pulumi.StringOutput
- func (o ScheduledActionOutput) StartTime() pulumi.StringPtrOutput
- func (o ScheduledActionOutput) Timezone() pulumi.StringPtrOutput
- func (o ScheduledActionOutput) ToScheduledActionOutput() ScheduledActionOutput
- func (o ScheduledActionOutput) ToScheduledActionOutputWithContext(ctx context.Context) ScheduledActionOutput
- type ScheduledActionScalableTargetAction
- type ScheduledActionScalableTargetActionArgs
- func (ScheduledActionScalableTargetActionArgs) ElementType() reflect.Type
- func (i ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionOutput() ScheduledActionScalableTargetActionOutput
- func (i ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionOutputWithContext(ctx context.Context) ScheduledActionScalableTargetActionOutput
- func (i ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionPtrOutput() ScheduledActionScalableTargetActionPtrOutput
- func (i ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionScalableTargetActionPtrOutput
- type ScheduledActionScalableTargetActionInput
- type ScheduledActionScalableTargetActionOutput
- func (ScheduledActionScalableTargetActionOutput) ElementType() reflect.Type
- func (o ScheduledActionScalableTargetActionOutput) MaxCapacity() pulumi.IntPtrOutput
- func (o ScheduledActionScalableTargetActionOutput) MinCapacity() pulumi.IntPtrOutput
- func (o ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionOutput() ScheduledActionScalableTargetActionOutput
- func (o ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionOutputWithContext(ctx context.Context) ScheduledActionScalableTargetActionOutput
- func (o ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionPtrOutput() ScheduledActionScalableTargetActionPtrOutput
- func (o ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionScalableTargetActionPtrOutput
- type ScheduledActionScalableTargetActionPtrInput
- type ScheduledActionScalableTargetActionPtrOutput
- func (o ScheduledActionScalableTargetActionPtrOutput) Elem() ScheduledActionScalableTargetActionOutput
- func (ScheduledActionScalableTargetActionPtrOutput) ElementType() reflect.Type
- func (o ScheduledActionScalableTargetActionPtrOutput) MaxCapacity() pulumi.IntPtrOutput
- func (o ScheduledActionScalableTargetActionPtrOutput) MinCapacity() pulumi.IntPtrOutput
- func (o ScheduledActionScalableTargetActionPtrOutput) ToScheduledActionScalableTargetActionPtrOutput() ScheduledActionScalableTargetActionPtrOutput
- func (o ScheduledActionScalableTargetActionPtrOutput) ToScheduledActionScalableTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionScalableTargetActionPtrOutput
- type ScheduledActionState
- type Target
- type TargetArgs
- type TargetArray
- type TargetArrayInput
- type TargetArrayOutput
- type TargetInput
- type TargetMap
- type TargetMapInput
- type TargetMapOutput
- type TargetOutput
- func (o TargetOutput) Arn() pulumi.StringOutput
- func (TargetOutput) ElementType() reflect.Type
- func (o TargetOutput) MaxCapacity() pulumi.IntOutput
- func (o TargetOutput) MinCapacity() pulumi.IntOutput
- func (o TargetOutput) ResourceId() pulumi.StringOutput
- func (o TargetOutput) RoleArn() pulumi.StringOutput
- func (o TargetOutput) ScalableDimension() pulumi.StringOutput
- func (o TargetOutput) ServiceNamespace() pulumi.StringOutput
- func (o TargetOutput) SuspendedState() TargetSuspendedStateOutput
- func (o TargetOutput) Tags() pulumi.StringMapOutput
- func (o TargetOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o TargetOutput) ToTargetOutput() TargetOutput
- func (o TargetOutput) ToTargetOutputWithContext(ctx context.Context) TargetOutput
- type TargetState
- type TargetSuspendedState
- type TargetSuspendedStateArgs
- func (TargetSuspendedStateArgs) ElementType() reflect.Type
- func (i TargetSuspendedStateArgs) ToTargetSuspendedStateOutput() TargetSuspendedStateOutput
- func (i TargetSuspendedStateArgs) ToTargetSuspendedStateOutputWithContext(ctx context.Context) TargetSuspendedStateOutput
- func (i TargetSuspendedStateArgs) ToTargetSuspendedStatePtrOutput() TargetSuspendedStatePtrOutput
- func (i TargetSuspendedStateArgs) ToTargetSuspendedStatePtrOutputWithContext(ctx context.Context) TargetSuspendedStatePtrOutput
- type TargetSuspendedStateInput
- type TargetSuspendedStateOutput
- func (o TargetSuspendedStateOutput) DynamicScalingInSuspended() pulumi.BoolPtrOutput
- func (o TargetSuspendedStateOutput) DynamicScalingOutSuspended() pulumi.BoolPtrOutput
- func (TargetSuspendedStateOutput) ElementType() reflect.Type
- func (o TargetSuspendedStateOutput) ScheduledScalingSuspended() pulumi.BoolPtrOutput
- func (o TargetSuspendedStateOutput) ToTargetSuspendedStateOutput() TargetSuspendedStateOutput
- func (o TargetSuspendedStateOutput) ToTargetSuspendedStateOutputWithContext(ctx context.Context) TargetSuspendedStateOutput
- func (o TargetSuspendedStateOutput) ToTargetSuspendedStatePtrOutput() TargetSuspendedStatePtrOutput
- func (o TargetSuspendedStateOutput) ToTargetSuspendedStatePtrOutputWithContext(ctx context.Context) TargetSuspendedStatePtrOutput
- type TargetSuspendedStatePtrInput
- type TargetSuspendedStatePtrOutput
- func (o TargetSuspendedStatePtrOutput) DynamicScalingInSuspended() pulumi.BoolPtrOutput
- func (o TargetSuspendedStatePtrOutput) DynamicScalingOutSuspended() pulumi.BoolPtrOutput
- func (o TargetSuspendedStatePtrOutput) Elem() TargetSuspendedStateOutput
- func (TargetSuspendedStatePtrOutput) ElementType() reflect.Type
- func (o TargetSuspendedStatePtrOutput) ScheduledScalingSuspended() pulumi.BoolPtrOutput
- func (o TargetSuspendedStatePtrOutput) ToTargetSuspendedStatePtrOutput() TargetSuspendedStatePtrOutput
- func (o TargetSuspendedStatePtrOutput) ToTargetSuspendedStatePtrOutputWithContext(ctx context.Context) TargetSuspendedStatePtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct { pulumi.CustomResourceState // List of CloudWatch alarm ARNs associated with the scaling policy. AlarmArns pulumi.StringArrayOutput `pulumi:"alarmArns"` // ARN assigned by AWS to the scaling policy. Arn pulumi.StringOutput `pulumi:"arn"` // Name of the policy. Must be between 1 and 255 characters in length. Name pulumi.StringOutput `pulumi:"name"` // Policy type. Valid values are `StepScaling` and `TargetTrackingScaling`. Defaults to `StepScaling`. Certain services only support only one policy type. For more information see the [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) documentation. PolicyType pulumi.StringPtrOutput `pulumi:"policyType"` // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) ResourceId pulumi.StringOutput `pulumi:"resourceId"` // Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) ScalableDimension pulumi.StringOutput `pulumi:"scalableDimension"` // AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) ServiceNamespace pulumi.StringOutput `pulumi:"serviceNamespace"` // Step scaling policy configuration, requires `policyType = "StepScaling"` (default). See supported fields below. StepScalingPolicyConfiguration PolicyStepScalingPolicyConfigurationPtrOutput `pulumi:"stepScalingPolicyConfiguration"` // Target tracking policy, requires `policyType = "TargetTrackingScaling"`. See supported fields below. TargetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfigurationPtrOutput `pulumi:"targetTrackingScalingPolicyConfiguration"` }
Provides an Application AutoScaling Policy resource.
## Example Usage
### DynamoDB Table Autoscaling
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { dynamodbTableReadTarget, err := appautoscaling.NewTarget(ctx, "dynamodb_table_read_target", &appautoscaling.TargetArgs{ MaxCapacity: pulumi.Int(100), MinCapacity: pulumi.Int(5), ResourceId: pulumi.String("table/tableName"), ScalableDimension: pulumi.String("dynamodb:table:ReadCapacityUnits"), ServiceNamespace: pulumi.String("dynamodb"), }) if err != nil { return err } _, err = appautoscaling.NewPolicy(ctx, "dynamodb_table_read_policy", &appautoscaling.PolicyArgs{ Name: dynamodbTableReadTarget.ResourceId.ApplyT(func(resourceId string) (string, error) { return fmt.Sprintf("DynamoDBReadCapacityUtilization:%v", resourceId), nil }).(pulumi.StringOutput), PolicyType: pulumi.String("TargetTrackingScaling"), ResourceId: dynamodbTableReadTarget.ResourceId, ScalableDimension: dynamodbTableReadTarget.ScalableDimension, ServiceNamespace: dynamodbTableReadTarget.ServiceNamespace, TargetTrackingScalingPolicyConfiguration: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationArgs{ PredefinedMetricSpecification: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs{ PredefinedMetricType: pulumi.String("DynamoDBReadCapacityUtilization"), }, TargetValue: pulumi.Float64(70), }, }) if err != nil { return err } return nil }) }
```
### ECS Service Autoscaling
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ecsTarget, err := appautoscaling.NewTarget(ctx, "ecs_target", &appautoscaling.TargetArgs{ MaxCapacity: pulumi.Int(4), MinCapacity: pulumi.Int(1), ResourceId: pulumi.String("service/clusterName/serviceName"), ScalableDimension: pulumi.String("ecs:service:DesiredCount"), ServiceNamespace: pulumi.String("ecs"), }) if err != nil { return err } _, err = appautoscaling.NewPolicy(ctx, "ecs_policy", &appautoscaling.PolicyArgs{ Name: pulumi.String("scale-down"), PolicyType: pulumi.String("StepScaling"), ResourceId: ecsTarget.ResourceId, ScalableDimension: ecsTarget.ScalableDimension, ServiceNamespace: ecsTarget.ServiceNamespace, StepScalingPolicyConfiguration: &appautoscaling.PolicyStepScalingPolicyConfigurationArgs{ AdjustmentType: pulumi.String("ChangeInCapacity"), Cooldown: pulumi.Int(60), MetricAggregationType: pulumi.String("Maximum"), StepAdjustments: appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArray{ &appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{ MetricIntervalUpperBound: pulumi.String("0"), ScalingAdjustment: pulumi.Int(-1), }, }, }, }) if err != nil { return err } return nil }) }
```
### Preserve desired count when updating an autoscaled ECS Service
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ecs.NewService(ctx, "ecs_service", &ecs.ServiceArgs{ Name: pulumi.String("serviceName"), Cluster: pulumi.String("clusterName"), TaskDefinition: pulumi.String("taskDefinitionFamily:1"), DesiredCount: pulumi.Int(2), }) if err != nil { return err } return nil }) }
```
### Aurora Read Replica Autoscaling
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { replicas, err := appautoscaling.NewTarget(ctx, "replicas", &appautoscaling.TargetArgs{ ServiceNamespace: pulumi.String("rds"), ScalableDimension: pulumi.String("rds:cluster:ReadReplicaCount"), ResourceId: pulumi.Sprintf("cluster:%v", example.Id), MinCapacity: pulumi.Int(1), MaxCapacity: pulumi.Int(15), }) if err != nil { return err } _, err = appautoscaling.NewPolicy(ctx, "replicas", &appautoscaling.PolicyArgs{ Name: pulumi.String("cpu-auto-scaling"), ServiceNamespace: replicas.ServiceNamespace, ScalableDimension: replicas.ScalableDimension, ResourceId: replicas.ResourceId, PolicyType: pulumi.String("TargetTrackingScaling"), TargetTrackingScalingPolicyConfiguration: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationArgs{ PredefinedMetricSpecification: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs{ PredefinedMetricType: pulumi.String("RDSReaderAverageCPUUtilization"), }, TargetValue: pulumi.Float64(75), ScaleInCooldown: pulumi.Int(300), ScaleOutCooldown: pulumi.Int(300), }, }) if err != nil { return err } return nil }) }
```
### Create target tracking scaling policy using metric math
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ecsTarget, err := appautoscaling.NewTarget(ctx, "ecs_target", &appautoscaling.TargetArgs{ MaxCapacity: pulumi.Int(4), MinCapacity: pulumi.Int(1), ResourceId: pulumi.String("service/clusterName/serviceName"), ScalableDimension: pulumi.String("ecs:service:DesiredCount"), ServiceNamespace: pulumi.String("ecs"), }) if err != nil { return err } _, err = appautoscaling.NewPolicy(ctx, "example", &appautoscaling.PolicyArgs{ Name: pulumi.String("foo"), PolicyType: pulumi.String("TargetTrackingScaling"), ResourceId: ecsTarget.ResourceId, ScalableDimension: ecsTarget.ScalableDimension, ServiceNamespace: ecsTarget.ServiceNamespace, TargetTrackingScalingPolicyConfiguration: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationArgs{ TargetValue: pulumi.Float64(100), CustomizedMetricSpecification: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs{ Metrics: appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray{ &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs{ Label: pulumi.String("Get the queue size (the number of messages waiting to be processed)"), Id: pulumi.String("m1"), MetricStat: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs{ Metric: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs{ MetricName: pulumi.String("ApproximateNumberOfMessagesVisible"), Namespace: pulumi.String("AWS/SQS"), Dimensions: appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray{ &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs{ Name: pulumi.String("QueueName"), Value: pulumi.String("my-queue"), }, }, }, Stat: pulumi.String("Sum"), }, ReturnData: pulumi.Bool(false), }, &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs{ Label: pulumi.String("Get the ECS running task count (the number of currently running tasks)"), Id: pulumi.String("m2"), MetricStat: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs{ Metric: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs{ MetricName: pulumi.String("RunningTaskCount"), Namespace: pulumi.String("ECS/ContainerInsights"), Dimensions: appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray{ &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs{ Name: pulumi.String("ClusterName"), Value: pulumi.String("default"), }, &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs{ Name: pulumi.String("ServiceName"), Value: pulumi.String("web-app"), }, }, }, Stat: pulumi.String("Average"), }, ReturnData: pulumi.Bool(false), }, &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs{ Label: pulumi.String("Calculate the backlog per instance"), Id: pulumi.String("e1"), Expression: pulumi.String("m1 / m2"), ReturnData: pulumi.Bool(true), }, }, }, }, }) if err != nil { return err } return nil }) }
```
### MSK / Kafka Autoscaling
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { mskTarget, err := appautoscaling.NewTarget(ctx, "msk_target", &appautoscaling.TargetArgs{ ServiceNamespace: pulumi.String("kafka"), ScalableDimension: pulumi.String("kafka:broker-storage:VolumeSize"), ResourceId: pulumi.Any(example.Arn), MinCapacity: pulumi.Int(1), MaxCapacity: pulumi.Int(8), }) if err != nil { return err } _, err = appautoscaling.NewPolicy(ctx, "targets", &appautoscaling.PolicyArgs{ Name: pulumi.String("storage-size-auto-scaling"), ServiceNamespace: mskTarget.ServiceNamespace, ScalableDimension: mskTarget.ScalableDimension, ResourceId: mskTarget.ResourceId, PolicyType: pulumi.String("TargetTrackingScaling"), TargetTrackingScalingPolicyConfiguration: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationArgs{ PredefinedMetricSpecification: &appautoscaling.PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs{ PredefinedMetricType: pulumi.String("KafkaBrokerStorageUtilization"), }, TargetValue: pulumi.Float64(55), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Application AutoScaling Policy using the `service-namespace` , `resource-id`, `scalable-dimension` and `policy-name` separated by `/`. For example:
```sh $ pulumi import aws:appautoscaling/policy:Policy test-policy service-namespace/resource-id/scalable-dimension/policy-name ```
func GetPolicy ¶
func GetPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)
GetPolicy gets an existing Policy 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 NewPolicy ¶
func NewPolicy(ctx *pulumi.Context, name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)
NewPolicy registers a new resource with the given unique name, arguments, and options.
func (*Policy) ElementType ¶
func (*Policy) ToPolicyOutput ¶
func (i *Policy) ToPolicyOutput() PolicyOutput
func (*Policy) ToPolicyOutputWithContext ¶
func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
type PolicyArgs ¶
type PolicyArgs struct { // Name of the policy. Must be between 1 and 255 characters in length. Name pulumi.StringPtrInput // Policy type. Valid values are `StepScaling` and `TargetTrackingScaling`. Defaults to `StepScaling`. Certain services only support only one policy type. For more information see the [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) documentation. PolicyType pulumi.StringPtrInput // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) ResourceId pulumi.StringInput // Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) ScalableDimension pulumi.StringInput // AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) ServiceNamespace pulumi.StringInput // Step scaling policy configuration, requires `policyType = "StepScaling"` (default). See supported fields below. StepScalingPolicyConfiguration PolicyStepScalingPolicyConfigurationPtrInput // Target tracking policy, requires `policyType = "TargetTrackingScaling"`. See supported fields below. TargetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfigurationPtrInput }
The set of arguments for constructing a Policy resource.
func (PolicyArgs) ElementType ¶
func (PolicyArgs) ElementType() reflect.Type
type PolicyArray ¶
type PolicyArray []PolicyInput
func (PolicyArray) ElementType ¶
func (PolicyArray) ElementType() reflect.Type
func (PolicyArray) ToPolicyArrayOutput ¶
func (i PolicyArray) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArray) ToPolicyArrayOutputWithContext ¶
func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyArrayInput ¶
type PolicyArrayInput interface { pulumi.Input ToPolicyArrayOutput() PolicyArrayOutput ToPolicyArrayOutputWithContext(context.Context) PolicyArrayOutput }
PolicyArrayInput is an input type that accepts PolicyArray and PolicyArrayOutput values. You can construct a concrete instance of `PolicyArrayInput` via:
PolicyArray{ PolicyArgs{...} }
type PolicyArrayOutput ¶
type PolicyArrayOutput struct{ *pulumi.OutputState }
func (PolicyArrayOutput) ElementType ¶
func (PolicyArrayOutput) ElementType() reflect.Type
func (PolicyArrayOutput) Index ¶
func (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput
func (PolicyArrayOutput) ToPolicyArrayOutput ¶
func (o PolicyArrayOutput) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArrayOutput) ToPolicyArrayOutputWithContext ¶
func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyInput ¶
type PolicyInput interface { pulumi.Input ToPolicyOutput() PolicyOutput ToPolicyOutputWithContext(ctx context.Context) PolicyOutput }
type PolicyMap ¶
type PolicyMap map[string]PolicyInput
func (PolicyMap) ElementType ¶
func (PolicyMap) ToPolicyMapOutput ¶
func (i PolicyMap) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMap) ToPolicyMapOutputWithContext ¶
func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyMapInput ¶
type PolicyMapInput interface { pulumi.Input ToPolicyMapOutput() PolicyMapOutput ToPolicyMapOutputWithContext(context.Context) PolicyMapOutput }
PolicyMapInput is an input type that accepts PolicyMap and PolicyMapOutput values. You can construct a concrete instance of `PolicyMapInput` via:
PolicyMap{ "key": PolicyArgs{...} }
type PolicyMapOutput ¶
type PolicyMapOutput struct{ *pulumi.OutputState }
func (PolicyMapOutput) ElementType ¶
func (PolicyMapOutput) ElementType() reflect.Type
func (PolicyMapOutput) MapIndex ¶
func (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput
func (PolicyMapOutput) ToPolicyMapOutput ¶
func (o PolicyMapOutput) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMapOutput) ToPolicyMapOutputWithContext ¶
func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyOutput ¶
type PolicyOutput struct{ *pulumi.OutputState }
func (PolicyOutput) AlarmArns ¶
func (o PolicyOutput) AlarmArns() pulumi.StringArrayOutput
List of CloudWatch alarm ARNs associated with the scaling policy.
func (PolicyOutput) Arn ¶
func (o PolicyOutput) Arn() pulumi.StringOutput
ARN assigned by AWS to the scaling policy.
func (PolicyOutput) ElementType ¶
func (PolicyOutput) ElementType() reflect.Type
func (PolicyOutput) Name ¶
func (o PolicyOutput) Name() pulumi.StringOutput
Name of the policy. Must be between 1 and 255 characters in length.
func (PolicyOutput) PolicyType ¶
func (o PolicyOutput) PolicyType() pulumi.StringPtrOutput
Policy type. Valid values are `StepScaling` and `TargetTrackingScaling`. Defaults to `StepScaling`. Certain services only support only one policy type. For more information see the [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) documentation.
func (PolicyOutput) ResourceId ¶
func (o PolicyOutput) ResourceId() pulumi.StringOutput
Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
func (PolicyOutput) ScalableDimension ¶
func (o PolicyOutput) ScalableDimension() pulumi.StringOutput
Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
func (PolicyOutput) ServiceNamespace ¶
func (o PolicyOutput) ServiceNamespace() pulumi.StringOutput
AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html)
func (PolicyOutput) StepScalingPolicyConfiguration ¶
func (o PolicyOutput) StepScalingPolicyConfiguration() PolicyStepScalingPolicyConfigurationPtrOutput
Step scaling policy configuration, requires `policyType = "StepScaling"` (default). See supported fields below.
func (PolicyOutput) TargetTrackingScalingPolicyConfiguration ¶
func (o PolicyOutput) TargetTrackingScalingPolicyConfiguration() PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
Target tracking policy, requires `policyType = "TargetTrackingScaling"`. See supported fields below.
func (PolicyOutput) ToPolicyOutput ¶
func (o PolicyOutput) ToPolicyOutput() PolicyOutput
func (PolicyOutput) ToPolicyOutputWithContext ¶
func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
type PolicyState ¶
type PolicyState struct { // List of CloudWatch alarm ARNs associated with the scaling policy. AlarmArns pulumi.StringArrayInput // ARN assigned by AWS to the scaling policy. Arn pulumi.StringPtrInput // Name of the policy. Must be between 1 and 255 characters in length. Name pulumi.StringPtrInput // Policy type. Valid values are `StepScaling` and `TargetTrackingScaling`. Defaults to `StepScaling`. Certain services only support only one policy type. For more information see the [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) documentation. PolicyType pulumi.StringPtrInput // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) ResourceId pulumi.StringPtrInput // Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) ScalableDimension pulumi.StringPtrInput // AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) ServiceNamespace pulumi.StringPtrInput // Step scaling policy configuration, requires `policyType = "StepScaling"` (default). See supported fields below. StepScalingPolicyConfiguration PolicyStepScalingPolicyConfigurationPtrInput // Target tracking policy, requires `policyType = "TargetTrackingScaling"`. See supported fields below. TargetTrackingScalingPolicyConfiguration PolicyTargetTrackingScalingPolicyConfigurationPtrInput }
func (PolicyState) ElementType ¶
func (PolicyState) ElementType() reflect.Type
type PolicyStepScalingPolicyConfiguration ¶
type PolicyStepScalingPolicyConfiguration struct { // Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`. AdjustmentType *string `pulumi:"adjustmentType"` // Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. Cooldown *int `pulumi:"cooldown"` // Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average". MetricAggregationType *string `pulumi:"metricAggregationType"` // Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount. MinAdjustmentMagnitude *int `pulumi:"minAdjustmentMagnitude"` // Set of adjustments that manage scaling. These have the following structure: // // “`go // package main // // import ( // "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := appautoscaling.NewPolicy(ctx, "ecs_policy", &appautoscaling.PolicyArgs{ // StepScalingPolicyConfiguration: &appautoscaling.PolicyStepScalingPolicyConfigurationArgs{ // StepAdjustments: appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArray{ // &appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{ // MetricIntervalLowerBound: pulumi.String("1"), // MetricIntervalUpperBound: pulumi.String("2"), // ScalingAdjustment: pulumi.Int(-1), // }, // &appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{ // MetricIntervalLowerBound: pulumi.String("2"), // MetricIntervalUpperBound: pulumi.String("3"), // ScalingAdjustment: pulumi.Int(1), // }, // }, // }, // }) // if err != nil { // return err // } // return nil // }) // } // “` StepAdjustments []PolicyStepScalingPolicyConfigurationStepAdjustment `pulumi:"stepAdjustments"` }
type PolicyStepScalingPolicyConfigurationArgs ¶
type PolicyStepScalingPolicyConfigurationArgs struct { // Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`. AdjustmentType pulumi.StringPtrInput `pulumi:"adjustmentType"` // Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. Cooldown pulumi.IntPtrInput `pulumi:"cooldown"` // Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average". MetricAggregationType pulumi.StringPtrInput `pulumi:"metricAggregationType"` // Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount. MinAdjustmentMagnitude pulumi.IntPtrInput `pulumi:"minAdjustmentMagnitude"` // Set of adjustments that manage scaling. These have the following structure: // // “`go // package main // // import ( // "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := appautoscaling.NewPolicy(ctx, "ecs_policy", &appautoscaling.PolicyArgs{ // StepScalingPolicyConfiguration: &appautoscaling.PolicyStepScalingPolicyConfigurationArgs{ // StepAdjustments: appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArray{ // &appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{ // MetricIntervalLowerBound: pulumi.String("1"), // MetricIntervalUpperBound: pulumi.String("2"), // ScalingAdjustment: pulumi.Int(-1), // }, // &appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{ // MetricIntervalLowerBound: pulumi.String("2"), // MetricIntervalUpperBound: pulumi.String("3"), // ScalingAdjustment: pulumi.Int(1), // }, // }, // }, // }) // if err != nil { // return err // } // return nil // }) // } // “` StepAdjustments PolicyStepScalingPolicyConfigurationStepAdjustmentArrayInput `pulumi:"stepAdjustments"` }
func (PolicyStepScalingPolicyConfigurationArgs) ElementType ¶
func (PolicyStepScalingPolicyConfigurationArgs) ElementType() reflect.Type
func (PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationOutput ¶
func (i PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationOutput() PolicyStepScalingPolicyConfigurationOutput
func (PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationOutputWithContext ¶
func (i PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationOutput
func (PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationPtrOutput ¶
func (i PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationPtrOutput() PolicyStepScalingPolicyConfigurationPtrOutput
func (PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationPtrOutputWithContext ¶
func (i PolicyStepScalingPolicyConfigurationArgs) ToPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationPtrOutput
type PolicyStepScalingPolicyConfigurationInput ¶
type PolicyStepScalingPolicyConfigurationInput interface { pulumi.Input ToPolicyStepScalingPolicyConfigurationOutput() PolicyStepScalingPolicyConfigurationOutput ToPolicyStepScalingPolicyConfigurationOutputWithContext(context.Context) PolicyStepScalingPolicyConfigurationOutput }
PolicyStepScalingPolicyConfigurationInput is an input type that accepts PolicyStepScalingPolicyConfigurationArgs and PolicyStepScalingPolicyConfigurationOutput values. You can construct a concrete instance of `PolicyStepScalingPolicyConfigurationInput` via:
PolicyStepScalingPolicyConfigurationArgs{...}
type PolicyStepScalingPolicyConfigurationOutput ¶
type PolicyStepScalingPolicyConfigurationOutput struct{ *pulumi.OutputState }
func (PolicyStepScalingPolicyConfigurationOutput) AdjustmentType ¶
func (o PolicyStepScalingPolicyConfigurationOutput) AdjustmentType() pulumi.StringPtrOutput
Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
func (PolicyStepScalingPolicyConfigurationOutput) Cooldown ¶
func (o PolicyStepScalingPolicyConfigurationOutput) Cooldown() pulumi.IntPtrOutput
Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
func (PolicyStepScalingPolicyConfigurationOutput) ElementType ¶
func (PolicyStepScalingPolicyConfigurationOutput) ElementType() reflect.Type
func (PolicyStepScalingPolicyConfigurationOutput) MetricAggregationType ¶
func (o PolicyStepScalingPolicyConfigurationOutput) MetricAggregationType() pulumi.StringPtrOutput
Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".
func (PolicyStepScalingPolicyConfigurationOutput) MinAdjustmentMagnitude ¶
func (o PolicyStepScalingPolicyConfigurationOutput) MinAdjustmentMagnitude() pulumi.IntPtrOutput
Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
func (PolicyStepScalingPolicyConfigurationOutput) StepAdjustments ¶
func (o PolicyStepScalingPolicyConfigurationOutput) StepAdjustments() PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
Set of adjustments that manage scaling. These have the following structure:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appautoscaling.NewPolicy(ctx, "ecs_policy", &appautoscaling.PolicyArgs{ StepScalingPolicyConfiguration: &appautoscaling.PolicyStepScalingPolicyConfigurationArgs{ StepAdjustments: appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArray{ &appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{ MetricIntervalLowerBound: pulumi.String("1"), MetricIntervalUpperBound: pulumi.String("2"), ScalingAdjustment: pulumi.Int(-1), }, &appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{ MetricIntervalLowerBound: pulumi.String("2"), MetricIntervalUpperBound: pulumi.String("3"), ScalingAdjustment: pulumi.Int(1), }, }, }, }) if err != nil { return err } return nil }) }
```
func (PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationOutput ¶
func (o PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationOutput() PolicyStepScalingPolicyConfigurationOutput
func (PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationOutputWithContext ¶
func (o PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationOutput
func (PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationPtrOutput ¶
func (o PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationPtrOutput() PolicyStepScalingPolicyConfigurationPtrOutput
func (PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationPtrOutputWithContext ¶
func (o PolicyStepScalingPolicyConfigurationOutput) ToPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationPtrOutput
type PolicyStepScalingPolicyConfigurationPtrInput ¶
type PolicyStepScalingPolicyConfigurationPtrInput interface { pulumi.Input ToPolicyStepScalingPolicyConfigurationPtrOutput() PolicyStepScalingPolicyConfigurationPtrOutput ToPolicyStepScalingPolicyConfigurationPtrOutputWithContext(context.Context) PolicyStepScalingPolicyConfigurationPtrOutput }
PolicyStepScalingPolicyConfigurationPtrInput is an input type that accepts PolicyStepScalingPolicyConfigurationArgs, PolicyStepScalingPolicyConfigurationPtr and PolicyStepScalingPolicyConfigurationPtrOutput values. You can construct a concrete instance of `PolicyStepScalingPolicyConfigurationPtrInput` via:
PolicyStepScalingPolicyConfigurationArgs{...} or: nil
func PolicyStepScalingPolicyConfigurationPtr ¶
func PolicyStepScalingPolicyConfigurationPtr(v *PolicyStepScalingPolicyConfigurationArgs) PolicyStepScalingPolicyConfigurationPtrInput
type PolicyStepScalingPolicyConfigurationPtrOutput ¶
type PolicyStepScalingPolicyConfigurationPtrOutput struct{ *pulumi.OutputState }
func (PolicyStepScalingPolicyConfigurationPtrOutput) AdjustmentType ¶
func (o PolicyStepScalingPolicyConfigurationPtrOutput) AdjustmentType() pulumi.StringPtrOutput
Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
func (PolicyStepScalingPolicyConfigurationPtrOutput) Cooldown ¶
func (o PolicyStepScalingPolicyConfigurationPtrOutput) Cooldown() pulumi.IntPtrOutput
Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.
func (PolicyStepScalingPolicyConfigurationPtrOutput) ElementType ¶
func (PolicyStepScalingPolicyConfigurationPtrOutput) ElementType() reflect.Type
func (PolicyStepScalingPolicyConfigurationPtrOutput) MetricAggregationType ¶
func (o PolicyStepScalingPolicyConfigurationPtrOutput) MetricAggregationType() pulumi.StringPtrOutput
Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".
func (PolicyStepScalingPolicyConfigurationPtrOutput) MinAdjustmentMagnitude ¶
func (o PolicyStepScalingPolicyConfigurationPtrOutput) MinAdjustmentMagnitude() pulumi.IntPtrOutput
Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.
func (PolicyStepScalingPolicyConfigurationPtrOutput) StepAdjustments ¶
func (o PolicyStepScalingPolicyConfigurationPtrOutput) StepAdjustments() PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
Set of adjustments that manage scaling. These have the following structure:
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appautoscaling.NewPolicy(ctx, "ecs_policy", &appautoscaling.PolicyArgs{ StepScalingPolicyConfiguration: &appautoscaling.PolicyStepScalingPolicyConfigurationArgs{ StepAdjustments: appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArray{ &appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{ MetricIntervalLowerBound: pulumi.String("1"), MetricIntervalUpperBound: pulumi.String("2"), ScalingAdjustment: pulumi.Int(-1), }, &appautoscaling.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{ MetricIntervalLowerBound: pulumi.String("2"), MetricIntervalUpperBound: pulumi.String("3"), ScalingAdjustment: pulumi.Int(1), }, }, }, }) if err != nil { return err } return nil }) }
```
func (PolicyStepScalingPolicyConfigurationPtrOutput) ToPolicyStepScalingPolicyConfigurationPtrOutput ¶
func (o PolicyStepScalingPolicyConfigurationPtrOutput) ToPolicyStepScalingPolicyConfigurationPtrOutput() PolicyStepScalingPolicyConfigurationPtrOutput
func (PolicyStepScalingPolicyConfigurationPtrOutput) ToPolicyStepScalingPolicyConfigurationPtrOutputWithContext ¶
func (o PolicyStepScalingPolicyConfigurationPtrOutput) ToPolicyStepScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationPtrOutput
type PolicyStepScalingPolicyConfigurationStepAdjustment ¶
type PolicyStepScalingPolicyConfigurationStepAdjustment struct { // Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity. MetricIntervalLowerBound *string `pulumi:"metricIntervalLowerBound"` // Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as infinity. The upper bound must be greater than the lower bound. MetricIntervalUpperBound *string `pulumi:"metricIntervalUpperBound"` // Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down. ScalingAdjustment int `pulumi:"scalingAdjustment"` }
type PolicyStepScalingPolicyConfigurationStepAdjustmentArgs ¶
type PolicyStepScalingPolicyConfigurationStepAdjustmentArgs struct { // Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity. MetricIntervalLowerBound pulumi.StringPtrInput `pulumi:"metricIntervalLowerBound"` // Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as infinity. The upper bound must be greater than the lower bound. MetricIntervalUpperBound pulumi.StringPtrInput `pulumi:"metricIntervalUpperBound"` // Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down. ScalingAdjustment pulumi.IntInput `pulumi:"scalingAdjustment"` }
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArgs) ElementType ¶
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArgs) ElementType() reflect.Type
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArgs) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutput ¶
func (i PolicyStepScalingPolicyConfigurationStepAdjustmentArgs) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutput() PolicyStepScalingPolicyConfigurationStepAdjustmentOutput
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArgs) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutputWithContext ¶
func (i PolicyStepScalingPolicyConfigurationStepAdjustmentArgs) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationStepAdjustmentOutput
type PolicyStepScalingPolicyConfigurationStepAdjustmentArray ¶
type PolicyStepScalingPolicyConfigurationStepAdjustmentArray []PolicyStepScalingPolicyConfigurationStepAdjustmentInput
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArray) ElementType ¶
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArray) ElementType() reflect.Type
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArray) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput ¶
func (i PolicyStepScalingPolicyConfigurationStepAdjustmentArray) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput() PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArray) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutputWithContext ¶
func (i PolicyStepScalingPolicyConfigurationStepAdjustmentArray) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
type PolicyStepScalingPolicyConfigurationStepAdjustmentArrayInput ¶
type PolicyStepScalingPolicyConfigurationStepAdjustmentArrayInput interface { pulumi.Input ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput() PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutputWithContext(context.Context) PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput }
PolicyStepScalingPolicyConfigurationStepAdjustmentArrayInput is an input type that accepts PolicyStepScalingPolicyConfigurationStepAdjustmentArray and PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput values. You can construct a concrete instance of `PolicyStepScalingPolicyConfigurationStepAdjustmentArrayInput` via:
PolicyStepScalingPolicyConfigurationStepAdjustmentArray{ PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{...} }
type PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput ¶
type PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput struct{ *pulumi.OutputState }
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput) ElementType ¶
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput) ElementType() reflect.Type
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput ¶
func (o PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput() PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
func (PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutputWithContext ¶
func (o PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationStepAdjustmentArrayOutput
type PolicyStepScalingPolicyConfigurationStepAdjustmentInput ¶
type PolicyStepScalingPolicyConfigurationStepAdjustmentInput interface { pulumi.Input ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutput() PolicyStepScalingPolicyConfigurationStepAdjustmentOutput ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutputWithContext(context.Context) PolicyStepScalingPolicyConfigurationStepAdjustmentOutput }
PolicyStepScalingPolicyConfigurationStepAdjustmentInput is an input type that accepts PolicyStepScalingPolicyConfigurationStepAdjustmentArgs and PolicyStepScalingPolicyConfigurationStepAdjustmentOutput values. You can construct a concrete instance of `PolicyStepScalingPolicyConfigurationStepAdjustmentInput` via:
PolicyStepScalingPolicyConfigurationStepAdjustmentArgs{...}
type PolicyStepScalingPolicyConfigurationStepAdjustmentOutput ¶
type PolicyStepScalingPolicyConfigurationStepAdjustmentOutput struct{ *pulumi.OutputState }
func (PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ElementType ¶
func (PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ElementType() reflect.Type
func (PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) MetricIntervalLowerBound ¶
func (o PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) MetricIntervalLowerBound() pulumi.StringPtrOutput
Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity.
func (PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) MetricIntervalUpperBound ¶
func (o PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) MetricIntervalUpperBound() pulumi.StringPtrOutput
Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as infinity. The upper bound must be greater than the lower bound.
func (PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ScalingAdjustment ¶
func (o PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ScalingAdjustment() pulumi.IntOutput
Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.
func (PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutput ¶
func (o PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutput() PolicyStepScalingPolicyConfigurationStepAdjustmentOutput
func (PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutputWithContext ¶
func (o PolicyStepScalingPolicyConfigurationStepAdjustmentOutput) ToPolicyStepScalingPolicyConfigurationStepAdjustmentOutputWithContext(ctx context.Context) PolicyStepScalingPolicyConfigurationStepAdjustmentOutput
type PolicyTargetTrackingScalingPolicyConfiguration ¶
type PolicyTargetTrackingScalingPolicyConfiguration struct { // Custom CloudWatch metric. Documentation can be found at: [AWS Customized Metric Specification](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CustomizedMetricSpecification.html). See supported fields below. CustomizedMetricSpecification *PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification `pulumi:"customizedMetricSpecification"` // Whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is `false`. DisableScaleIn *bool `pulumi:"disableScaleIn"` // Predefined metric. See supported fields below. PredefinedMetricSpecification *PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification `pulumi:"predefinedMetricSpecification"` // Amount of time, in seconds, after a scale in activity completes before another scale in activity can start. ScaleInCooldown *int `pulumi:"scaleInCooldown"` // Amount of time, in seconds, after a scale out activity completes before another scale out activity can start. ScaleOutCooldown *int `pulumi:"scaleOutCooldown"` // Target value for the metric. TargetValue float64 `pulumi:"targetValue"` }
type PolicyTargetTrackingScalingPolicyConfigurationArgs ¶
type PolicyTargetTrackingScalingPolicyConfigurationArgs struct { // Custom CloudWatch metric. Documentation can be found at: [AWS Customized Metric Specification](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CustomizedMetricSpecification.html). See supported fields below. CustomizedMetricSpecification PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrInput `pulumi:"customizedMetricSpecification"` // Whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is `false`. DisableScaleIn pulumi.BoolPtrInput `pulumi:"disableScaleIn"` // Predefined metric. See supported fields below. PredefinedMetricSpecification PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrInput `pulumi:"predefinedMetricSpecification"` // Amount of time, in seconds, after a scale in activity completes before another scale in activity can start. ScaleInCooldown pulumi.IntPtrInput `pulumi:"scaleInCooldown"` // Amount of time, in seconds, after a scale out activity completes before another scale out activity can start. ScaleOutCooldown pulumi.IntPtrInput `pulumi:"scaleOutCooldown"` // Target value for the metric. TargetValue pulumi.Float64Input `pulumi:"targetValue"` }
func (PolicyTargetTrackingScalingPolicyConfigurationArgs) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationArgs) ElementType() reflect.Type
func (PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationOutput() PolicyTargetTrackingScalingPolicyConfigurationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecification struct { // Dimensions of the metric. Dimensions []PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimension `pulumi:"dimensions"` // Name of the metric. MetricName *string `pulumi:"metricName"` // Metrics to include, as a metric data query. Metrics []PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetric `pulumi:"metrics"` // Namespace of the metric. Namespace *string `pulumi:"namespace"` // Statistic of the metric. Valid values: `Average`, `Minimum`, `Maximum`, `SampleCount`, and `Sum`. Statistic *string `pulumi:"statistic"` // Unit of the metrics to return. Unit *string `pulumi:"unit"` }
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs struct { // Dimensions of the metric. Dimensions PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayInput `pulumi:"dimensions"` // Name of the metric. MetricName pulumi.StringPtrInput `pulumi:"metricName"` // Metrics to include, as a metric data query. Metrics PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayInput `pulumi:"metrics"` // Namespace of the metric. Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Statistic of the metric. Valid values: `Average`, `Minimum`, `Maximum`, `SampleCount`, and `Sum`. Statistic pulumi.StringPtrInput `pulumi:"statistic"` // Unit of the metrics to return. Unit pulumi.StringPtrInput `pulumi:"unit"` }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ElementType() reflect.Type
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs struct { // Name of the dimension. Name pulumi.StringInput `pulumi:"name"` // Value of the dimension. Value pulumi.StringInput `pulumi:"value"` }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray []PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionInput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArray{ PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs{...} }
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput) Index ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArgs{...}
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) Name ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) Name() pulumi.StringOutput
Name of the dimension.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) Value ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionOutput) Value() pulumi.StringOutput
Value of the dimension.
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs{...}
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetric ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetric struct { // Math expression used on the returned metric. You must specify either `expression` or `metricStat`, but not both. Expression *string `pulumi:"expression"` // Short name for the metric used in target tracking scaling policy. Id string `pulumi:"id"` // Human-readable label for this metric or expression. Label *string `pulumi:"label"` // Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either `expression` or `metricStat`, but not both. MetricStat *PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStat `pulumi:"metricStat"` // Boolean that indicates whether to return the timestamps and raw data values of this metric, the default is true ReturnData *bool `pulumi:"returnData"` }
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs struct { // Math expression used on the returned metric. You must specify either `expression` or `metricStat`, but not both. Expression pulumi.StringPtrInput `pulumi:"expression"` // Short name for the metric used in target tracking scaling policy. Id pulumi.StringInput `pulumi:"id"` // Human-readable label for this metric or expression. Label pulumi.StringPtrInput `pulumi:"label"` // Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either `expression` or `metricStat`, but not both. MetricStat PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrInput `pulumi:"metricStat"` // Boolean that indicates whether to return the timestamps and raw data values of this metric, the default is true ReturnData pulumi.BoolPtrInput `pulumi:"returnData"` }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray []PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricInput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArray{ PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs{...} }
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput) Index ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArgs{...}
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStat ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStat struct { // Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. Metric PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetric `pulumi:"metric"` // Statistic of the metrics to return. Stat string `pulumi:"stat"` // Unit of the metrics to return. Unit *string `pulumi:"unit"` }
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs struct { // Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions. Metric PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricInput `pulumi:"metric"` // Statistic of the metrics to return. Stat pulumi.StringInput `pulumi:"stat"` // Unit of the metrics to return. Unit pulumi.StringPtrInput `pulumi:"unit"` }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs{...}
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetric ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetric struct { // Dimensions of the metric. Dimensions []PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimension `pulumi:"dimensions"` // Name of the metric. MetricName string `pulumi:"metricName"` // Namespace of the metric. Namespace string `pulumi:"namespace"` }
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs struct { // Dimensions of the metric. Dimensions PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayInput `pulumi:"dimensions"` // Name of the metric. MetricName pulumi.StringInput `pulumi:"metricName"` // Namespace of the metric. Namespace pulumi.StringInput `pulumi:"namespace"` }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimension ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs struct { // Name of the dimension. Name pulumi.StringInput `pulumi:"name"` // Value of the dimension. Value pulumi.StringInput `pulumi:"value"` }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray []PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionInput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArray{ PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs{...} }
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput) Index ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArgs{...}
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) Name ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) Name() pulumi.StringOutput
Name of the dimension.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) Value ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionOutput) Value() pulumi.StringOutput
Value of the dimension.
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs{...}
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) Dimensions ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) Dimensions() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput
Dimensions of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) MetricName ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) MetricName() pulumi.StringOutput
Name of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) Namespace ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) Namespace() pulumi.StringOutput
Namespace of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs, PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtr and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs{...} or: nil
func PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtr ¶
func PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtr(v *PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrInput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) Dimensions ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) Dimensions() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricDimensionArrayOutput
Dimensions of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) Elem ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) MetricName ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) MetricName() pulumi.StringPtrOutput
Name of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) Namespace ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) Namespace() pulumi.StringPtrOutput
Namespace of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) Metric ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) Metric() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricOutput
Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) Stat ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) Stat() pulumi.StringOutput
Statistic of the metrics to return.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) Unit ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatOutput) Unit() pulumi.StringPtrOutput
Unit of the metrics to return.
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs, PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtr and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs{...} or: nil
func PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtr ¶
func PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtr(v *PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatArgs) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrInput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Elem ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Metric ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Metric() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatMetricPtrOutput
Structure that defines the CloudWatch metric to return, including the metric name, namespace, and dimensions.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Stat ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Stat() pulumi.StringPtrOutput
Statistic of the metrics to return.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Unit ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput) Unit() pulumi.StringPtrOutput
Unit of the metrics to return.
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) Expression ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) Expression() pulumi.StringPtrOutput
Math expression used on the returned metric. You must specify either `expression` or `metricStat`, but not both.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) Id ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) Id() pulumi.StringOutput
Short name for the metric used in target tracking scaling policy.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) Label ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) Label() pulumi.StringPtrOutput
Human-readable label for this metric or expression.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) MetricStat ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) MetricStat() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricMetricStatPtrOutput
Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either `expression` or `metricStat`, but not both.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ReturnData ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ReturnData() pulumi.BoolPtrOutput
Boolean that indicates whether to return the timestamps and raw data values of this metric, the default is true
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricOutput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Dimensions ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Dimensions() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput
Dimensions of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ElementType() reflect.Type
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) MetricName ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) MetricName() pulumi.StringPtrOutput
Name of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Metrics ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Metrics() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput
Metrics to include, as a metric data query.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Namespace ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Namespace() pulumi.StringPtrOutput
Namespace of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Statistic ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Statistic() pulumi.StringPtrOutput
Statistic of the metric. Valid values: `Average`, `Minimum`, `Maximum`, `SampleCount`, and `Sum`.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Unit ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationOutput) Unit() pulumi.StringPtrOutput
Unit of the metrics to return.
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput }
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs, PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtr and PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrInput` via:
PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs{...} or: nil
func PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtr ¶
func PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtr(v *PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrInput
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Dimensions ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Dimensions() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationDimensionArrayOutput
Dimensions of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) MetricName ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) MetricName() pulumi.StringPtrOutput
Name of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Metrics ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Metrics() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationMetricArrayOutput
Metrics to include, as a metric data query.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Namespace ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Namespace() pulumi.StringPtrOutput
Namespace of the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Statistic ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Statistic() pulumi.StringPtrOutput
Statistic of the metric. Valid values: `Average`, `Minimum`, `Maximum`, `SampleCount`, and `Sum`.
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Unit ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput) Unit() pulumi.StringPtrOutput
Unit of the metrics to return.
type PolicyTargetTrackingScalingPolicyConfigurationInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationOutput() PolicyTargetTrackingScalingPolicyConfigurationOutput ToPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationOutput }
PolicyTargetTrackingScalingPolicyConfigurationInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationArgs and PolicyTargetTrackingScalingPolicyConfigurationOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationInput` via:
PolicyTargetTrackingScalingPolicyConfigurationArgs{...}
type PolicyTargetTrackingScalingPolicyConfigurationOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) CustomizedMetricSpecification ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) CustomizedMetricSpecification() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput
Custom CloudWatch metric. Documentation can be found at: [AWS Customized Metric Specification](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CustomizedMetricSpecification.html). See supported fields below.
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) DisableScaleIn ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) DisableScaleIn() pulumi.BoolPtrOutput
Whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is `false`.
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) ElementType() reflect.Type
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) PredefinedMetricSpecification ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) PredefinedMetricSpecification() PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput
Predefined metric. See supported fields below.
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleInCooldown ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleInCooldown() pulumi.IntPtrOutput
Amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleOutCooldown ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ScaleOutCooldown() pulumi.IntPtrOutput
Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) TargetValue ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) TargetValue() pulumi.Float64Output
Target value for the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationOutput() PolicyTargetTrackingScalingPolicyConfigurationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification ¶
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecification struct { // Metric type. PredefinedMetricType string `pulumi:"predefinedMetricType"` // Reserved for future use if the `predefinedMetricType` is not `ALBRequestCountPerTarget`. If the `predefinedMetricType` is `ALBRequestCountPerTarget`, you must specify this argument. Documentation can be found at: [AWS Predefined Scaling Metric Specification](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedScalingMetricSpecification.html). Must be less than or equal to 1023 characters in length. ResourceLabel *string `pulumi:"resourceLabel"` }
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs ¶
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs struct { // Metric type. PredefinedMetricType pulumi.StringInput `pulumi:"predefinedMetricType"` // Reserved for future use if the `predefinedMetricType` is not `ALBRequestCountPerTarget`. If the `predefinedMetricType` is `ALBRequestCountPerTarget`, you must specify this argument. Documentation can be found at: [AWS Predefined Scaling Metric Specification](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedScalingMetricSpecification.html). Must be less than or equal to 1023 characters in length. ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"` }
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ElementType() reflect.Type
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput() PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutputWithContext ¶
func (i PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput() PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput }
PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs and PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationInput` via:
PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs{...}
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ElementType() reflect.Type
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) PredefinedMetricType ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) PredefinedMetricType() pulumi.StringOutput
Metric type.
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ResourceLabel ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ResourceLabel() pulumi.StringPtrOutput
Reserved for future use if the `predefinedMetricType` is not `ALBRequestCountPerTarget`. If the `predefinedMetricType` is `ALBRequestCountPerTarget`, you must specify this argument. Documentation can be found at: [AWS Predefined Scaling Metric Specification](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedScalingMetricSpecification.html). Must be less than or equal to 1023 characters in length.
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput() PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput }
PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs, PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtr and PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrInput` via:
PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs{...} or: nil
func PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtr ¶
func PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtr(v *PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs) PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrInput
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) PredefinedMetricType ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) PredefinedMetricType() pulumi.StringPtrOutput
Metric type.
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ResourceLabel ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ResourceLabel() pulumi.StringPtrOutput
Reserved for future use if the `predefinedMetricType` is not `ALBRequestCountPerTarget`. If the `predefinedMetricType` is `ALBRequestCountPerTarget`, you must specify this argument. Documentation can be found at: [AWS Predefined Scaling Metric Specification](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedScalingMetricSpecification.html). Must be less than or equal to 1023 characters in length.
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput
type PolicyTargetTrackingScalingPolicyConfigurationPtrInput ¶
type PolicyTargetTrackingScalingPolicyConfigurationPtrInput interface { pulumi.Input ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPtrOutput ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(context.Context) PolicyTargetTrackingScalingPolicyConfigurationPtrOutput }
PolicyTargetTrackingScalingPolicyConfigurationPtrInput is an input type that accepts PolicyTargetTrackingScalingPolicyConfigurationArgs, PolicyTargetTrackingScalingPolicyConfigurationPtr and PolicyTargetTrackingScalingPolicyConfigurationPtrOutput values. You can construct a concrete instance of `PolicyTargetTrackingScalingPolicyConfigurationPtrInput` via:
PolicyTargetTrackingScalingPolicyConfigurationArgs{...} or: nil
func PolicyTargetTrackingScalingPolicyConfigurationPtr ¶
func PolicyTargetTrackingScalingPolicyConfigurationPtr(v *PolicyTargetTrackingScalingPolicyConfigurationArgs) PolicyTargetTrackingScalingPolicyConfigurationPtrInput
type PolicyTargetTrackingScalingPolicyConfigurationPtrOutput ¶
type PolicyTargetTrackingScalingPolicyConfigurationPtrOutput struct{ *pulumi.OutputState }
func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) CustomizedMetricSpecification ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) CustomizedMetricSpecification() PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationPtrOutput
Custom CloudWatch metric. Documentation can be found at: [AWS Customized Metric Specification](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CustomizedMetricSpecification.html). See supported fields below.
func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) DisableScaleIn ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) DisableScaleIn() pulumi.BoolPtrOutput
Whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is `false`.
func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ElementType ¶
func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ElementType() reflect.Type
func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) PredefinedMetricSpecification ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) PredefinedMetricSpecification() PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationPtrOutput
Predefined metric. See supported fields below.
func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleInCooldown ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleInCooldown() pulumi.IntPtrOutput
Amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleOutCooldown ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ScaleOutCooldown() pulumi.IntPtrOutput
Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) TargetValue ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) TargetValue() pulumi.Float64PtrOutput
Target value for the metric.
func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutput ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutput() PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
func (PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext ¶
func (o PolicyTargetTrackingScalingPolicyConfigurationPtrOutput) ToPolicyTargetTrackingScalingPolicyConfigurationPtrOutputWithContext(ctx context.Context) PolicyTargetTrackingScalingPolicyConfigurationPtrOutput
type ScheduledAction ¶
type ScheduledAction struct { pulumi.CustomResourceState // ARN of the scheduled action. Arn pulumi.StringOutput `pulumi:"arn"` // Date and time for the scheduled action to end in RFC 3339 format. The timezone is not affected by the setting of `timezone`. EndTime pulumi.StringPtrOutput `pulumi:"endTime"` // Name of the scheduled action. Name pulumi.StringOutput `pulumi:"name"` // Identifier of the resource associated with the scheduled action. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) ResourceId pulumi.StringOutput `pulumi:"resourceId"` // Scalable dimension. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs:service:DesiredCount ScalableDimension pulumi.StringOutput `pulumi:"scalableDimension"` // New minimum and maximum capacity. You can set both values or just one. See below ScalableTargetAction ScheduledActionScalableTargetActionOutput `pulumi:"scalableTargetAction"` // Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the `Timezone` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Schedule pulumi.StringOutput `pulumi:"schedule"` // Namespace of the AWS service. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs ServiceNamespace pulumi.StringOutput `pulumi:"serviceNamespace"` // Date and time for the scheduled action to start in RFC 3339 format. The timezone is not affected by the setting of `timezone`. StartTime pulumi.StringPtrOutput `pulumi:"startTime"` // Time zone used when setting a scheduled action by using an at or cron expression. Does not affect timezone for `startTime` and `endTime`. Valid values are the [canonical names of the IANA time zones supported by Joda-Time](https://www.joda.org/joda-time/timezones.html), such as `Etc/GMT+9` or `Pacific/Tahiti`. Default is `UTC`. Timezone pulumi.StringPtrOutput `pulumi:"timezone"` }
Provides an Application AutoScaling ScheduledAction resource.
## Example Usage
### DynamoDB Table Autoscaling
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { dynamodb, err := appautoscaling.NewTarget(ctx, "dynamodb", &appautoscaling.TargetArgs{ MaxCapacity: pulumi.Int(100), MinCapacity: pulumi.Int(5), ResourceId: pulumi.String("table/tableName"), ScalableDimension: pulumi.String("dynamodb:table:ReadCapacityUnits"), ServiceNamespace: pulumi.String("dynamodb"), }) if err != nil { return err } _, err = appautoscaling.NewScheduledAction(ctx, "dynamodb", &appautoscaling.ScheduledActionArgs{ Name: pulumi.String("dynamodb"), ServiceNamespace: dynamodb.ServiceNamespace, ResourceId: dynamodb.ResourceId, ScalableDimension: dynamodb.ScalableDimension, Schedule: pulumi.String("at(2006-01-02T15:04:05)"), ScalableTargetAction: &appautoscaling.ScheduledActionScalableTargetActionArgs{ MinCapacity: pulumi.Int(1), MaxCapacity: pulumi.Int(200), }, }) if err != nil { return err } return nil }) }
```
### ECS Service Autoscaling
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ecs, err := appautoscaling.NewTarget(ctx, "ecs", &appautoscaling.TargetArgs{ MaxCapacity: pulumi.Int(4), MinCapacity: pulumi.Int(1), ResourceId: pulumi.String("service/clusterName/serviceName"), ScalableDimension: pulumi.String("ecs:service:DesiredCount"), ServiceNamespace: pulumi.String("ecs"), }) if err != nil { return err } _, err = appautoscaling.NewScheduledAction(ctx, "ecs", &appautoscaling.ScheduledActionArgs{ Name: pulumi.String("ecs"), ServiceNamespace: ecs.ServiceNamespace, ResourceId: ecs.ResourceId, ScalableDimension: ecs.ScalableDimension, Schedule: pulumi.String("at(2006-01-02T15:04:05)"), ScalableTargetAction: &appautoscaling.ScheduledActionScalableTargetActionArgs{ MinCapacity: pulumi.Int(1), MaxCapacity: pulumi.Int(10), }, }) if err != nil { return err } return nil }) }
```
func GetScheduledAction ¶
func GetScheduledAction(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ScheduledActionState, opts ...pulumi.ResourceOption) (*ScheduledAction, error)
GetScheduledAction gets an existing ScheduledAction 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 NewScheduledAction ¶
func NewScheduledAction(ctx *pulumi.Context, name string, args *ScheduledActionArgs, opts ...pulumi.ResourceOption) (*ScheduledAction, error)
NewScheduledAction registers a new resource with the given unique name, arguments, and options.
func (*ScheduledAction) ElementType ¶
func (*ScheduledAction) ElementType() reflect.Type
func (*ScheduledAction) ToScheduledActionOutput ¶
func (i *ScheduledAction) ToScheduledActionOutput() ScheduledActionOutput
func (*ScheduledAction) ToScheduledActionOutputWithContext ¶
func (i *ScheduledAction) ToScheduledActionOutputWithContext(ctx context.Context) ScheduledActionOutput
type ScheduledActionArgs ¶
type ScheduledActionArgs struct { // Date and time for the scheduled action to end in RFC 3339 format. The timezone is not affected by the setting of `timezone`. EndTime pulumi.StringPtrInput // Name of the scheduled action. Name pulumi.StringPtrInput // Identifier of the resource associated with the scheduled action. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) ResourceId pulumi.StringInput // Scalable dimension. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs:service:DesiredCount ScalableDimension pulumi.StringInput // New minimum and maximum capacity. You can set both values or just one. See below ScalableTargetAction ScheduledActionScalableTargetActionInput // Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the `Timezone` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Schedule pulumi.StringInput // Namespace of the AWS service. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs ServiceNamespace pulumi.StringInput // Date and time for the scheduled action to start in RFC 3339 format. The timezone is not affected by the setting of `timezone`. StartTime pulumi.StringPtrInput // Time zone used when setting a scheduled action by using an at or cron expression. Does not affect timezone for `startTime` and `endTime`. Valid values are the [canonical names of the IANA time zones supported by Joda-Time](https://www.joda.org/joda-time/timezones.html), such as `Etc/GMT+9` or `Pacific/Tahiti`. Default is `UTC`. Timezone pulumi.StringPtrInput }
The set of arguments for constructing a ScheduledAction resource.
func (ScheduledActionArgs) ElementType ¶
func (ScheduledActionArgs) ElementType() reflect.Type
type ScheduledActionArray ¶
type ScheduledActionArray []ScheduledActionInput
func (ScheduledActionArray) ElementType ¶
func (ScheduledActionArray) ElementType() reflect.Type
func (ScheduledActionArray) ToScheduledActionArrayOutput ¶
func (i ScheduledActionArray) ToScheduledActionArrayOutput() ScheduledActionArrayOutput
func (ScheduledActionArray) ToScheduledActionArrayOutputWithContext ¶
func (i ScheduledActionArray) ToScheduledActionArrayOutputWithContext(ctx context.Context) ScheduledActionArrayOutput
type ScheduledActionArrayInput ¶
type ScheduledActionArrayInput interface { pulumi.Input ToScheduledActionArrayOutput() ScheduledActionArrayOutput ToScheduledActionArrayOutputWithContext(context.Context) ScheduledActionArrayOutput }
ScheduledActionArrayInput is an input type that accepts ScheduledActionArray and ScheduledActionArrayOutput values. You can construct a concrete instance of `ScheduledActionArrayInput` via:
ScheduledActionArray{ ScheduledActionArgs{...} }
type ScheduledActionArrayOutput ¶
type ScheduledActionArrayOutput struct{ *pulumi.OutputState }
func (ScheduledActionArrayOutput) ElementType ¶
func (ScheduledActionArrayOutput) ElementType() reflect.Type
func (ScheduledActionArrayOutput) Index ¶
func (o ScheduledActionArrayOutput) Index(i pulumi.IntInput) ScheduledActionOutput
func (ScheduledActionArrayOutput) ToScheduledActionArrayOutput ¶
func (o ScheduledActionArrayOutput) ToScheduledActionArrayOutput() ScheduledActionArrayOutput
func (ScheduledActionArrayOutput) ToScheduledActionArrayOutputWithContext ¶
func (o ScheduledActionArrayOutput) ToScheduledActionArrayOutputWithContext(ctx context.Context) ScheduledActionArrayOutput
type ScheduledActionInput ¶
type ScheduledActionInput interface { pulumi.Input ToScheduledActionOutput() ScheduledActionOutput ToScheduledActionOutputWithContext(ctx context.Context) ScheduledActionOutput }
type ScheduledActionMap ¶
type ScheduledActionMap map[string]ScheduledActionInput
func (ScheduledActionMap) ElementType ¶
func (ScheduledActionMap) ElementType() reflect.Type
func (ScheduledActionMap) ToScheduledActionMapOutput ¶
func (i ScheduledActionMap) ToScheduledActionMapOutput() ScheduledActionMapOutput
func (ScheduledActionMap) ToScheduledActionMapOutputWithContext ¶
func (i ScheduledActionMap) ToScheduledActionMapOutputWithContext(ctx context.Context) ScheduledActionMapOutput
type ScheduledActionMapInput ¶
type ScheduledActionMapInput interface { pulumi.Input ToScheduledActionMapOutput() ScheduledActionMapOutput ToScheduledActionMapOutputWithContext(context.Context) ScheduledActionMapOutput }
ScheduledActionMapInput is an input type that accepts ScheduledActionMap and ScheduledActionMapOutput values. You can construct a concrete instance of `ScheduledActionMapInput` via:
ScheduledActionMap{ "key": ScheduledActionArgs{...} }
type ScheduledActionMapOutput ¶
type ScheduledActionMapOutput struct{ *pulumi.OutputState }
func (ScheduledActionMapOutput) ElementType ¶
func (ScheduledActionMapOutput) ElementType() reflect.Type
func (ScheduledActionMapOutput) MapIndex ¶
func (o ScheduledActionMapOutput) MapIndex(k pulumi.StringInput) ScheduledActionOutput
func (ScheduledActionMapOutput) ToScheduledActionMapOutput ¶
func (o ScheduledActionMapOutput) ToScheduledActionMapOutput() ScheduledActionMapOutput
func (ScheduledActionMapOutput) ToScheduledActionMapOutputWithContext ¶
func (o ScheduledActionMapOutput) ToScheduledActionMapOutputWithContext(ctx context.Context) ScheduledActionMapOutput
type ScheduledActionOutput ¶
type ScheduledActionOutput struct{ *pulumi.OutputState }
func (ScheduledActionOutput) Arn ¶
func (o ScheduledActionOutput) Arn() pulumi.StringOutput
ARN of the scheduled action.
func (ScheduledActionOutput) ElementType ¶
func (ScheduledActionOutput) ElementType() reflect.Type
func (ScheduledActionOutput) EndTime ¶
func (o ScheduledActionOutput) EndTime() pulumi.StringPtrOutput
Date and time for the scheduled action to end in RFC 3339 format. The timezone is not affected by the setting of `timezone`.
func (ScheduledActionOutput) Name ¶
func (o ScheduledActionOutput) Name() pulumi.StringOutput
Name of the scheduled action.
func (ScheduledActionOutput) ResourceId ¶
func (o ScheduledActionOutput) ResourceId() pulumi.StringOutput
Identifier of the resource associated with the scheduled action. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)
func (ScheduledActionOutput) ScalableDimension ¶
func (o ScheduledActionOutput) ScalableDimension() pulumi.StringOutput
Scalable dimension. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs:service:DesiredCount
func (ScheduledActionOutput) ScalableTargetAction ¶
func (o ScheduledActionOutput) ScalableTargetAction() ScheduledActionScalableTargetActionOutput
New minimum and maximum capacity. You can set both values or just one. See below
func (ScheduledActionOutput) Schedule ¶
func (o ScheduledActionOutput) Schedule() pulumi.StringOutput
Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the `Timezone` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)
func (ScheduledActionOutput) ServiceNamespace ¶
func (o ScheduledActionOutput) ServiceNamespace() pulumi.StringOutput
Namespace of the AWS service. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs
func (ScheduledActionOutput) StartTime ¶
func (o ScheduledActionOutput) StartTime() pulumi.StringPtrOutput
Date and time for the scheduled action to start in RFC 3339 format. The timezone is not affected by the setting of `timezone`.
func (ScheduledActionOutput) Timezone ¶
func (o ScheduledActionOutput) Timezone() pulumi.StringPtrOutput
Time zone used when setting a scheduled action by using an at or cron expression. Does not affect timezone for `startTime` and `endTime`. Valid values are the [canonical names of the IANA time zones supported by Joda-Time](https://www.joda.org/joda-time/timezones.html), such as `Etc/GMT+9` or `Pacific/Tahiti`. Default is `UTC`.
func (ScheduledActionOutput) ToScheduledActionOutput ¶
func (o ScheduledActionOutput) ToScheduledActionOutput() ScheduledActionOutput
func (ScheduledActionOutput) ToScheduledActionOutputWithContext ¶
func (o ScheduledActionOutput) ToScheduledActionOutputWithContext(ctx context.Context) ScheduledActionOutput
type ScheduledActionScalableTargetActionArgs ¶
type ScheduledActionScalableTargetActionArgs struct { // Maximum capacity. At least one of `maxCapacity` or `minCapacity` must be set. MaxCapacity pulumi.IntPtrInput `pulumi:"maxCapacity"` // Minimum capacity. At least one of `minCapacity` or `maxCapacity` must be set. MinCapacity pulumi.IntPtrInput `pulumi:"minCapacity"` }
func (ScheduledActionScalableTargetActionArgs) ElementType ¶
func (ScheduledActionScalableTargetActionArgs) ElementType() reflect.Type
func (ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionOutput ¶
func (i ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionOutput() ScheduledActionScalableTargetActionOutput
func (ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionOutputWithContext ¶
func (i ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionOutputWithContext(ctx context.Context) ScheduledActionScalableTargetActionOutput
func (ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionPtrOutput ¶
func (i ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionPtrOutput() ScheduledActionScalableTargetActionPtrOutput
func (ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionPtrOutputWithContext ¶
func (i ScheduledActionScalableTargetActionArgs) ToScheduledActionScalableTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionScalableTargetActionPtrOutput
type ScheduledActionScalableTargetActionInput ¶
type ScheduledActionScalableTargetActionInput interface { pulumi.Input ToScheduledActionScalableTargetActionOutput() ScheduledActionScalableTargetActionOutput ToScheduledActionScalableTargetActionOutputWithContext(context.Context) ScheduledActionScalableTargetActionOutput }
ScheduledActionScalableTargetActionInput is an input type that accepts ScheduledActionScalableTargetActionArgs and ScheduledActionScalableTargetActionOutput values. You can construct a concrete instance of `ScheduledActionScalableTargetActionInput` via:
ScheduledActionScalableTargetActionArgs{...}
type ScheduledActionScalableTargetActionOutput ¶
type ScheduledActionScalableTargetActionOutput struct{ *pulumi.OutputState }
func (ScheduledActionScalableTargetActionOutput) ElementType ¶
func (ScheduledActionScalableTargetActionOutput) ElementType() reflect.Type
func (ScheduledActionScalableTargetActionOutput) MaxCapacity ¶
func (o ScheduledActionScalableTargetActionOutput) MaxCapacity() pulumi.IntPtrOutput
Maximum capacity. At least one of `maxCapacity` or `minCapacity` must be set.
func (ScheduledActionScalableTargetActionOutput) MinCapacity ¶
func (o ScheduledActionScalableTargetActionOutput) MinCapacity() pulumi.IntPtrOutput
Minimum capacity. At least one of `minCapacity` or `maxCapacity` must be set.
func (ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionOutput ¶
func (o ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionOutput() ScheduledActionScalableTargetActionOutput
func (ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionOutputWithContext ¶
func (o ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionOutputWithContext(ctx context.Context) ScheduledActionScalableTargetActionOutput
func (ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionPtrOutput ¶
func (o ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionPtrOutput() ScheduledActionScalableTargetActionPtrOutput
func (ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionPtrOutputWithContext ¶
func (o ScheduledActionScalableTargetActionOutput) ToScheduledActionScalableTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionScalableTargetActionPtrOutput
type ScheduledActionScalableTargetActionPtrInput ¶
type ScheduledActionScalableTargetActionPtrInput interface { pulumi.Input ToScheduledActionScalableTargetActionPtrOutput() ScheduledActionScalableTargetActionPtrOutput ToScheduledActionScalableTargetActionPtrOutputWithContext(context.Context) ScheduledActionScalableTargetActionPtrOutput }
ScheduledActionScalableTargetActionPtrInput is an input type that accepts ScheduledActionScalableTargetActionArgs, ScheduledActionScalableTargetActionPtr and ScheduledActionScalableTargetActionPtrOutput values. You can construct a concrete instance of `ScheduledActionScalableTargetActionPtrInput` via:
ScheduledActionScalableTargetActionArgs{...} or: nil
func ScheduledActionScalableTargetActionPtr ¶
func ScheduledActionScalableTargetActionPtr(v *ScheduledActionScalableTargetActionArgs) ScheduledActionScalableTargetActionPtrInput
type ScheduledActionScalableTargetActionPtrOutput ¶
type ScheduledActionScalableTargetActionPtrOutput struct{ *pulumi.OutputState }
func (ScheduledActionScalableTargetActionPtrOutput) ElementType ¶
func (ScheduledActionScalableTargetActionPtrOutput) ElementType() reflect.Type
func (ScheduledActionScalableTargetActionPtrOutput) MaxCapacity ¶
func (o ScheduledActionScalableTargetActionPtrOutput) MaxCapacity() pulumi.IntPtrOutput
Maximum capacity. At least one of `maxCapacity` or `minCapacity` must be set.
func (ScheduledActionScalableTargetActionPtrOutput) MinCapacity ¶
func (o ScheduledActionScalableTargetActionPtrOutput) MinCapacity() pulumi.IntPtrOutput
Minimum capacity. At least one of `minCapacity` or `maxCapacity` must be set.
func (ScheduledActionScalableTargetActionPtrOutput) ToScheduledActionScalableTargetActionPtrOutput ¶
func (o ScheduledActionScalableTargetActionPtrOutput) ToScheduledActionScalableTargetActionPtrOutput() ScheduledActionScalableTargetActionPtrOutput
func (ScheduledActionScalableTargetActionPtrOutput) ToScheduledActionScalableTargetActionPtrOutputWithContext ¶
func (o ScheduledActionScalableTargetActionPtrOutput) ToScheduledActionScalableTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionScalableTargetActionPtrOutput
type ScheduledActionState ¶
type ScheduledActionState struct { // ARN of the scheduled action. Arn pulumi.StringPtrInput // Date and time for the scheduled action to end in RFC 3339 format. The timezone is not affected by the setting of `timezone`. EndTime pulumi.StringPtrInput // Name of the scheduled action. Name pulumi.StringPtrInput // Identifier of the resource associated with the scheduled action. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) ResourceId pulumi.StringPtrInput // Scalable dimension. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs:service:DesiredCount ScalableDimension pulumi.StringPtrInput // New minimum and maximum capacity. You can set both values or just one. See below ScalableTargetAction ScheduledActionScalableTargetActionPtrInput // Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the `Timezone` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Schedule pulumi.StringPtrInput // Namespace of the AWS service. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs ServiceNamespace pulumi.StringPtrInput // Date and time for the scheduled action to start in RFC 3339 format. The timezone is not affected by the setting of `timezone`. StartTime pulumi.StringPtrInput // Time zone used when setting a scheduled action by using an at or cron expression. Does not affect timezone for `startTime` and `endTime`. Valid values are the [canonical names of the IANA time zones supported by Joda-Time](https://www.joda.org/joda-time/timezones.html), such as `Etc/GMT+9` or `Pacific/Tahiti`. Default is `UTC`. Timezone pulumi.StringPtrInput }
func (ScheduledActionState) ElementType ¶
func (ScheduledActionState) ElementType() reflect.Type
type Target ¶
type Target struct { pulumi.CustomResourceState // The ARN of the scalable target. Arn pulumi.StringOutput `pulumi:"arn"` // Max capacity of the scalable target. MaxCapacity pulumi.IntOutput `pulumi:"maxCapacity"` // Min capacity of the scalable target. MinCapacity pulumi.IntOutput `pulumi:"minCapacity"` // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters) ResourceId pulumi.StringOutput `pulumi:"resourceId"` // ARN of the IAM role that allows Application AutoScaling to modify your scalable target on your behalf. This defaults to an IAM Service-Linked Role for most services and custom IAM Roles are ignored by the API for those namespaces. See the [AWS Application Auto Scaling documentation](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles) for more information about how this service interacts with IAM. RoleArn pulumi.StringOutput `pulumi:"roleArn"` // Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters) ScalableDimension pulumi.StringOutput `pulumi:"scalableDimension"` // AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters) ServiceNamespace pulumi.StringOutput `pulumi:"serviceNamespace"` // Specifies whether the scaling activities for a scalable target are in a suspended state. SuspendedState TargetSuspendedStateOutput `pulumi:"suspendedState"` // Map of tags to assign to the scalable target. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an Application AutoScaling ScalableTarget resource. To manage policies which get attached to the target, see the `appautoscaling.Policy` resource.
> **NOTE:** Scalable targets created before 2023-03-20 may not have an assigned `arn`. These resource cannot use `tags` or participate in `defaultTags`. To prevent `pulumi preview` showing differences that can never be reconciled, use the `lifecycle.ignore_changes` meta-argument. See the example below.
> **NOTE:** The [Application Auto Scaling service automatically attempts to manage IAM Service-Linked Roles](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles) when registering certain service namespaces for the first time. To manually manage this role, see the `iam.ServiceLinkedRole` resource.
## Example Usage
### DynamoDB Table Autoscaling
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appautoscaling.NewTarget(ctx, "dynamodb_table_read_target", &appautoscaling.TargetArgs{ MaxCapacity: pulumi.Int(100), MinCapacity: pulumi.Int(5), ResourceId: pulumi.Sprintf("table/%v", example.Name), ScalableDimension: pulumi.String("dynamodb:table:ReadCapacityUnits"), ServiceNamespace: pulumi.String("dynamodb"), }) if err != nil { return err } return nil }) }
```
### DynamoDB Index Autoscaling
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appautoscaling.NewTarget(ctx, "dynamodb_index_read_target", &appautoscaling.TargetArgs{ MaxCapacity: pulumi.Int(100), MinCapacity: pulumi.Int(5), ResourceId: pulumi.Sprintf("table/%v/index/%v", example.Name, indexName), ScalableDimension: pulumi.String("dynamodb:index:ReadCapacityUnits"), ServiceNamespace: pulumi.String("dynamodb"), }) if err != nil { return err } return nil }) }
```
### ECS Service Autoscaling
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appautoscaling.NewTarget(ctx, "ecs_target", &appautoscaling.TargetArgs{ MaxCapacity: pulumi.Int(4), MinCapacity: pulumi.Int(1), ResourceId: pulumi.Sprintf("service/%v/%v", example.Name, exampleAwsEcsService.Name), ScalableDimension: pulumi.String("ecs:service:DesiredCount"), ServiceNamespace: pulumi.String("ecs"), }) if err != nil { return err } return nil }) }
```
### Aurora Read Replica Autoscaling
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appautoscaling.NewTarget(ctx, "replicas", &appautoscaling.TargetArgs{ ServiceNamespace: pulumi.String("rds"), ScalableDimension: pulumi.String("rds:cluster:ReadReplicaCount"), ResourceId: pulumi.Sprintf("cluster:%v", example.Id), MinCapacity: pulumi.Int(1), MaxCapacity: pulumi.Int(15), }) if err != nil { return err } return nil }) }
```
### Suppressing `tagsAll` Differences For Older Resources
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appautoscaling.NewTarget(ctx, "ecs_target", &appautoscaling.TargetArgs{ MaxCapacity: pulumi.Int(4), MinCapacity: pulumi.Int(1), ResourceId: pulumi.Sprintf("service/%v/%v", example.Name, exampleAwsEcsService.Name), ScalableDimension: pulumi.String("ecs:service:DesiredCount"), ServiceNamespace: pulumi.String("ecs"), }) if err != nil { return err } return nil }) }
```
### MSK / Kafka Autoscaling
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appautoscaling" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := appautoscaling.NewTarget(ctx, "msk_target", &appautoscaling.TargetArgs{ ServiceNamespace: pulumi.String("kafka"), ScalableDimension: pulumi.String("kafka:broker-storage:VolumeSize"), ResourceId: pulumi.Any(example.Arn), MinCapacity: pulumi.Int(1), MaxCapacity: pulumi.Int(8), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Application AutoScaling Target using the `service-namespace` , `resource-id` and `scalable-dimension` separated by `/`. For example:
```sh $ pulumi import aws:appautoscaling/target:Target test-target service-namespace/resource-id/scalable-dimension ```
func GetTarget ¶
func GetTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TargetState, opts ...pulumi.ResourceOption) (*Target, error)
GetTarget gets an existing Target 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 NewTarget ¶
func NewTarget(ctx *pulumi.Context, name string, args *TargetArgs, opts ...pulumi.ResourceOption) (*Target, error)
NewTarget registers a new resource with the given unique name, arguments, and options.
func (*Target) ElementType ¶
func (*Target) ToTargetOutput ¶
func (i *Target) ToTargetOutput() TargetOutput
func (*Target) ToTargetOutputWithContext ¶
func (i *Target) ToTargetOutputWithContext(ctx context.Context) TargetOutput
type TargetArgs ¶
type TargetArgs struct { // Max capacity of the scalable target. MaxCapacity pulumi.IntInput // Min capacity of the scalable target. MinCapacity pulumi.IntInput // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters) ResourceId pulumi.StringInput // ARN of the IAM role that allows Application AutoScaling to modify your scalable target on your behalf. This defaults to an IAM Service-Linked Role for most services and custom IAM Roles are ignored by the API for those namespaces. See the [AWS Application Auto Scaling documentation](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles) for more information about how this service interacts with IAM. RoleArn pulumi.StringPtrInput // Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters) ScalableDimension pulumi.StringInput // AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters) ServiceNamespace pulumi.StringInput // Specifies whether the scaling activities for a scalable target are in a suspended state. SuspendedState TargetSuspendedStatePtrInput // Map of tags to assign to the scalable target. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Target resource.
func (TargetArgs) ElementType ¶
func (TargetArgs) ElementType() reflect.Type
type TargetArray ¶
type TargetArray []TargetInput
func (TargetArray) ElementType ¶
func (TargetArray) ElementType() reflect.Type
func (TargetArray) ToTargetArrayOutput ¶
func (i TargetArray) ToTargetArrayOutput() TargetArrayOutput
func (TargetArray) ToTargetArrayOutputWithContext ¶
func (i TargetArray) ToTargetArrayOutputWithContext(ctx context.Context) TargetArrayOutput
type TargetArrayInput ¶
type TargetArrayInput interface { pulumi.Input ToTargetArrayOutput() TargetArrayOutput ToTargetArrayOutputWithContext(context.Context) TargetArrayOutput }
TargetArrayInput is an input type that accepts TargetArray and TargetArrayOutput values. You can construct a concrete instance of `TargetArrayInput` via:
TargetArray{ TargetArgs{...} }
type TargetArrayOutput ¶
type TargetArrayOutput struct{ *pulumi.OutputState }
func (TargetArrayOutput) ElementType ¶
func (TargetArrayOutput) ElementType() reflect.Type
func (TargetArrayOutput) Index ¶
func (o TargetArrayOutput) Index(i pulumi.IntInput) TargetOutput
func (TargetArrayOutput) ToTargetArrayOutput ¶
func (o TargetArrayOutput) ToTargetArrayOutput() TargetArrayOutput
func (TargetArrayOutput) ToTargetArrayOutputWithContext ¶
func (o TargetArrayOutput) ToTargetArrayOutputWithContext(ctx context.Context) TargetArrayOutput
type TargetInput ¶
type TargetInput interface { pulumi.Input ToTargetOutput() TargetOutput ToTargetOutputWithContext(ctx context.Context) TargetOutput }
type TargetMap ¶
type TargetMap map[string]TargetInput
func (TargetMap) ElementType ¶
func (TargetMap) ToTargetMapOutput ¶
func (i TargetMap) ToTargetMapOutput() TargetMapOutput
func (TargetMap) ToTargetMapOutputWithContext ¶
func (i TargetMap) ToTargetMapOutputWithContext(ctx context.Context) TargetMapOutput
type TargetMapInput ¶
type TargetMapInput interface { pulumi.Input ToTargetMapOutput() TargetMapOutput ToTargetMapOutputWithContext(context.Context) TargetMapOutput }
TargetMapInput is an input type that accepts TargetMap and TargetMapOutput values. You can construct a concrete instance of `TargetMapInput` via:
TargetMap{ "key": TargetArgs{...} }
type TargetMapOutput ¶
type TargetMapOutput struct{ *pulumi.OutputState }
func (TargetMapOutput) ElementType ¶
func (TargetMapOutput) ElementType() reflect.Type
func (TargetMapOutput) MapIndex ¶
func (o TargetMapOutput) MapIndex(k pulumi.StringInput) TargetOutput
func (TargetMapOutput) ToTargetMapOutput ¶
func (o TargetMapOutput) ToTargetMapOutput() TargetMapOutput
func (TargetMapOutput) ToTargetMapOutputWithContext ¶
func (o TargetMapOutput) ToTargetMapOutputWithContext(ctx context.Context) TargetMapOutput
type TargetOutput ¶
type TargetOutput struct{ *pulumi.OutputState }
func (TargetOutput) Arn ¶
func (o TargetOutput) Arn() pulumi.StringOutput
The ARN of the scalable target.
func (TargetOutput) ElementType ¶
func (TargetOutput) ElementType() reflect.Type
func (TargetOutput) MaxCapacity ¶
func (o TargetOutput) MaxCapacity() pulumi.IntOutput
Max capacity of the scalable target.
func (TargetOutput) MinCapacity ¶
func (o TargetOutput) MinCapacity() pulumi.IntOutput
Min capacity of the scalable target.
func (TargetOutput) ResourceId ¶
func (o TargetOutput) ResourceId() pulumi.StringOutput
Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
func (TargetOutput) RoleArn ¶
func (o TargetOutput) RoleArn() pulumi.StringOutput
ARN of the IAM role that allows Application AutoScaling to modify your scalable target on your behalf. This defaults to an IAM Service-Linked Role for most services and custom IAM Roles are ignored by the API for those namespaces. See the [AWS Application Auto Scaling documentation](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles) for more information about how this service interacts with IAM.
func (TargetOutput) ScalableDimension ¶
func (o TargetOutput) ScalableDimension() pulumi.StringOutput
Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
func (TargetOutput) ServiceNamespace ¶
func (o TargetOutput) ServiceNamespace() pulumi.StringOutput
AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters)
func (TargetOutput) SuspendedState ¶ added in v6.51.0
func (o TargetOutput) SuspendedState() TargetSuspendedStateOutput
Specifies whether the scaling activities for a scalable target are in a suspended state.
func (TargetOutput) Tags ¶
func (o TargetOutput) Tags() pulumi.StringMapOutput
Map of tags to assign to the scalable target. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (TargetOutput) TagsAll
deprecated
func (o TargetOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (TargetOutput) ToTargetOutput ¶
func (o TargetOutput) ToTargetOutput() TargetOutput
func (TargetOutput) ToTargetOutputWithContext ¶
func (o TargetOutput) ToTargetOutputWithContext(ctx context.Context) TargetOutput
type TargetState ¶
type TargetState struct { // The ARN of the scalable target. Arn pulumi.StringPtrInput // Max capacity of the scalable target. MaxCapacity pulumi.IntPtrInput // Min capacity of the scalable target. MinCapacity pulumi.IntPtrInput // Resource type and unique identifier string for the resource associated with the scaling policy. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters) ResourceId pulumi.StringPtrInput // ARN of the IAM role that allows Application AutoScaling to modify your scalable target on your behalf. This defaults to an IAM Service-Linked Role for most services and custom IAM Roles are ignored by the API for those namespaces. See the [AWS Application Auto Scaling documentation](https://docs.aws.amazon.com/autoscaling/application/userguide/security_iam_service-with-iam.html#security_iam_service-with-iam-roles) for more information about how this service interacts with IAM. RoleArn pulumi.StringPtrInput // Scalable dimension of the scalable target. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters) ScalableDimension pulumi.StringPtrInput // AWS service namespace of the scalable target. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html#API_RegisterScalableTarget_RequestParameters) ServiceNamespace pulumi.StringPtrInput // Specifies whether the scaling activities for a scalable target are in a suspended state. SuspendedState TargetSuspendedStatePtrInput // Map of tags to assign to the scalable target. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (TargetState) ElementType ¶
func (TargetState) ElementType() reflect.Type
type TargetSuspendedState ¶ added in v6.51.0
type TargetSuspendedState struct { // Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`. DynamicScalingInSuspended *bool `pulumi:"dynamicScalingInSuspended"` // Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`. DynamicScalingOutSuspended *bool `pulumi:"dynamicScalingOutSuspended"` // Whether scheduled scaling is suspended. Default is `false`. ScheduledScalingSuspended *bool `pulumi:"scheduledScalingSuspended"` }
type TargetSuspendedStateArgs ¶ added in v6.51.0
type TargetSuspendedStateArgs struct { // Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`. DynamicScalingInSuspended pulumi.BoolPtrInput `pulumi:"dynamicScalingInSuspended"` // Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`. DynamicScalingOutSuspended pulumi.BoolPtrInput `pulumi:"dynamicScalingOutSuspended"` // Whether scheduled scaling is suspended. Default is `false`. ScheduledScalingSuspended pulumi.BoolPtrInput `pulumi:"scheduledScalingSuspended"` }
func (TargetSuspendedStateArgs) ElementType ¶ added in v6.51.0
func (TargetSuspendedStateArgs) ElementType() reflect.Type
func (TargetSuspendedStateArgs) ToTargetSuspendedStateOutput ¶ added in v6.51.0
func (i TargetSuspendedStateArgs) ToTargetSuspendedStateOutput() TargetSuspendedStateOutput
func (TargetSuspendedStateArgs) ToTargetSuspendedStateOutputWithContext ¶ added in v6.51.0
func (i TargetSuspendedStateArgs) ToTargetSuspendedStateOutputWithContext(ctx context.Context) TargetSuspendedStateOutput
func (TargetSuspendedStateArgs) ToTargetSuspendedStatePtrOutput ¶ added in v6.51.0
func (i TargetSuspendedStateArgs) ToTargetSuspendedStatePtrOutput() TargetSuspendedStatePtrOutput
func (TargetSuspendedStateArgs) ToTargetSuspendedStatePtrOutputWithContext ¶ added in v6.51.0
func (i TargetSuspendedStateArgs) ToTargetSuspendedStatePtrOutputWithContext(ctx context.Context) TargetSuspendedStatePtrOutput
type TargetSuspendedStateInput ¶ added in v6.51.0
type TargetSuspendedStateInput interface { pulumi.Input ToTargetSuspendedStateOutput() TargetSuspendedStateOutput ToTargetSuspendedStateOutputWithContext(context.Context) TargetSuspendedStateOutput }
TargetSuspendedStateInput is an input type that accepts TargetSuspendedStateArgs and TargetSuspendedStateOutput values. You can construct a concrete instance of `TargetSuspendedStateInput` via:
TargetSuspendedStateArgs{...}
type TargetSuspendedStateOutput ¶ added in v6.51.0
type TargetSuspendedStateOutput struct{ *pulumi.OutputState }
func (TargetSuspendedStateOutput) DynamicScalingInSuspended ¶ added in v6.51.0
func (o TargetSuspendedStateOutput) DynamicScalingInSuspended() pulumi.BoolPtrOutput
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
func (TargetSuspendedStateOutput) DynamicScalingOutSuspended ¶ added in v6.51.0
func (o TargetSuspendedStateOutput) DynamicScalingOutSuspended() pulumi.BoolPtrOutput
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
func (TargetSuspendedStateOutput) ElementType ¶ added in v6.51.0
func (TargetSuspendedStateOutput) ElementType() reflect.Type
func (TargetSuspendedStateOutput) ScheduledScalingSuspended ¶ added in v6.51.0
func (o TargetSuspendedStateOutput) ScheduledScalingSuspended() pulumi.BoolPtrOutput
Whether scheduled scaling is suspended. Default is `false`.
func (TargetSuspendedStateOutput) ToTargetSuspendedStateOutput ¶ added in v6.51.0
func (o TargetSuspendedStateOutput) ToTargetSuspendedStateOutput() TargetSuspendedStateOutput
func (TargetSuspendedStateOutput) ToTargetSuspendedStateOutputWithContext ¶ added in v6.51.0
func (o TargetSuspendedStateOutput) ToTargetSuspendedStateOutputWithContext(ctx context.Context) TargetSuspendedStateOutput
func (TargetSuspendedStateOutput) ToTargetSuspendedStatePtrOutput ¶ added in v6.51.0
func (o TargetSuspendedStateOutput) ToTargetSuspendedStatePtrOutput() TargetSuspendedStatePtrOutput
func (TargetSuspendedStateOutput) ToTargetSuspendedStatePtrOutputWithContext ¶ added in v6.51.0
func (o TargetSuspendedStateOutput) ToTargetSuspendedStatePtrOutputWithContext(ctx context.Context) TargetSuspendedStatePtrOutput
type TargetSuspendedStatePtrInput ¶ added in v6.51.0
type TargetSuspendedStatePtrInput interface { pulumi.Input ToTargetSuspendedStatePtrOutput() TargetSuspendedStatePtrOutput ToTargetSuspendedStatePtrOutputWithContext(context.Context) TargetSuspendedStatePtrOutput }
TargetSuspendedStatePtrInput is an input type that accepts TargetSuspendedStateArgs, TargetSuspendedStatePtr and TargetSuspendedStatePtrOutput values. You can construct a concrete instance of `TargetSuspendedStatePtrInput` via:
TargetSuspendedStateArgs{...} or: nil
func TargetSuspendedStatePtr ¶ added in v6.51.0
func TargetSuspendedStatePtr(v *TargetSuspendedStateArgs) TargetSuspendedStatePtrInput
type TargetSuspendedStatePtrOutput ¶ added in v6.51.0
type TargetSuspendedStatePtrOutput struct{ *pulumi.OutputState }
func (TargetSuspendedStatePtrOutput) DynamicScalingInSuspended ¶ added in v6.51.0
func (o TargetSuspendedStatePtrOutput) DynamicScalingInSuspended() pulumi.BoolPtrOutput
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
func (TargetSuspendedStatePtrOutput) DynamicScalingOutSuspended ¶ added in v6.51.0
func (o TargetSuspendedStatePtrOutput) DynamicScalingOutSuspended() pulumi.BoolPtrOutput
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. Default is `false`.
func (TargetSuspendedStatePtrOutput) Elem ¶ added in v6.51.0
func (o TargetSuspendedStatePtrOutput) Elem() TargetSuspendedStateOutput
func (TargetSuspendedStatePtrOutput) ElementType ¶ added in v6.51.0
func (TargetSuspendedStatePtrOutput) ElementType() reflect.Type
func (TargetSuspendedStatePtrOutput) ScheduledScalingSuspended ¶ added in v6.51.0
func (o TargetSuspendedStatePtrOutput) ScheduledScalingSuspended() pulumi.BoolPtrOutput
Whether scheduled scaling is suspended. Default is `false`.
func (TargetSuspendedStatePtrOutput) ToTargetSuspendedStatePtrOutput ¶ added in v6.51.0
func (o TargetSuspendedStatePtrOutput) ToTargetSuspendedStatePtrOutput() TargetSuspendedStatePtrOutput
func (TargetSuspendedStatePtrOutput) ToTargetSuspendedStatePtrOutputWithContext ¶ added in v6.51.0
func (o TargetSuspendedStatePtrOutput) ToTargetSuspendedStatePtrOutputWithContext(ctx context.Context) TargetSuspendedStatePtrOutput