autoscalingplans

package
v4.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScalingPlan

type ScalingPlan struct {
	pulumi.CustomResourceState

	// A CloudFormation stack or set of tags. You can create one scaling plan per application source.
	ApplicationSource ScalingPlanApplicationSourceOutput `pulumi:"applicationSource"`
	// The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
	Name pulumi.StringOutput `pulumi:"name"`
	// The scaling instructions. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html).
	ScalingInstructions ScalingPlanScalingInstructionArrayOutput `pulumi:"scalingInstructions"`
	// The version number of the scaling plan. This value is always 1.
	ScalingPlanVersion pulumi.IntOutput `pulumi:"scalingPlanVersion"`
}

Manages an AWS Auto Scaling scaling plan. More information can be found in the [AWS Auto Scaling User Guide](https://docs.aws.amazon.com/autoscaling/plans/userguide/what-is-aws-auto-scaling.html).

> **NOTE:** The AWS Auto Scaling service uses an AWS IAM service-linked role to manage predictive scaling of Amazon EC2 Auto Scaling groups. The service attempts to automatically create this role the first time a scaling plan with predictive scaling enabled is created. An `iam.ServiceLinkedRole` resource can be used to manually manage this role. See the [AWS documentation](https://docs.aws.amazon.com/autoscaling/plans/userguide/aws-auto-scaling-service-linked-roles.html#create-service-linked-role-manual) for more details.

## Example Usage

## Import

Auto Scaling scaling plans can be imported using the `name`, e.g.

```sh

$ pulumi import aws:autoscalingplans/scalingPlan:ScalingPlan example MyScale1

```

func GetScalingPlan

func GetScalingPlan(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScalingPlanState, opts ...pulumi.ResourceOption) (*ScalingPlan, error)

GetScalingPlan gets an existing ScalingPlan 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 NewScalingPlan

func NewScalingPlan(ctx *pulumi.Context,
	name string, args *ScalingPlanArgs, opts ...pulumi.ResourceOption) (*ScalingPlan, error)

NewScalingPlan registers a new resource with the given unique name, arguments, and options.

func (*ScalingPlan) ElementType

func (*ScalingPlan) ElementType() reflect.Type

func (*ScalingPlan) ToScalingPlanOutput

func (i *ScalingPlan) ToScalingPlanOutput() ScalingPlanOutput

func (*ScalingPlan) ToScalingPlanOutputWithContext

func (i *ScalingPlan) ToScalingPlanOutputWithContext(ctx context.Context) ScalingPlanOutput

func (*ScalingPlan) ToScalingPlanPtrOutput

func (i *ScalingPlan) ToScalingPlanPtrOutput() ScalingPlanPtrOutput

func (*ScalingPlan) ToScalingPlanPtrOutputWithContext

func (i *ScalingPlan) ToScalingPlanPtrOutputWithContext(ctx context.Context) ScalingPlanPtrOutput

type ScalingPlanApplicationSource

type ScalingPlanApplicationSource struct {
	// The Amazon Resource Name (ARN) of a AWS CloudFormation stack.
	CloudformationStackArn *string `pulumi:"cloudformationStackArn"`
	// A set of tags.
	TagFilters []ScalingPlanApplicationSourceTagFilter `pulumi:"tagFilters"`
}

type ScalingPlanApplicationSourceArgs

type ScalingPlanApplicationSourceArgs struct {
	// The Amazon Resource Name (ARN) of a AWS CloudFormation stack.
	CloudformationStackArn pulumi.StringPtrInput `pulumi:"cloudformationStackArn"`
	// A set of tags.
	TagFilters ScalingPlanApplicationSourceTagFilterArrayInput `pulumi:"tagFilters"`
}

func (ScalingPlanApplicationSourceArgs) ElementType

func (ScalingPlanApplicationSourceArgs) ToScalingPlanApplicationSourceOutput

func (i ScalingPlanApplicationSourceArgs) ToScalingPlanApplicationSourceOutput() ScalingPlanApplicationSourceOutput

func (ScalingPlanApplicationSourceArgs) ToScalingPlanApplicationSourceOutputWithContext

func (i ScalingPlanApplicationSourceArgs) ToScalingPlanApplicationSourceOutputWithContext(ctx context.Context) ScalingPlanApplicationSourceOutput

func (ScalingPlanApplicationSourceArgs) ToScalingPlanApplicationSourcePtrOutput

func (i ScalingPlanApplicationSourceArgs) ToScalingPlanApplicationSourcePtrOutput() ScalingPlanApplicationSourcePtrOutput

func (ScalingPlanApplicationSourceArgs) ToScalingPlanApplicationSourcePtrOutputWithContext

func (i ScalingPlanApplicationSourceArgs) ToScalingPlanApplicationSourcePtrOutputWithContext(ctx context.Context) ScalingPlanApplicationSourcePtrOutput

type ScalingPlanApplicationSourceInput

type ScalingPlanApplicationSourceInput interface {
	pulumi.Input

	ToScalingPlanApplicationSourceOutput() ScalingPlanApplicationSourceOutput
	ToScalingPlanApplicationSourceOutputWithContext(context.Context) ScalingPlanApplicationSourceOutput
}

ScalingPlanApplicationSourceInput is an input type that accepts ScalingPlanApplicationSourceArgs and ScalingPlanApplicationSourceOutput values. You can construct a concrete instance of `ScalingPlanApplicationSourceInput` via:

ScalingPlanApplicationSourceArgs{...}

type ScalingPlanApplicationSourceOutput

type ScalingPlanApplicationSourceOutput struct{ *pulumi.OutputState }

func (ScalingPlanApplicationSourceOutput) CloudformationStackArn

func (o ScalingPlanApplicationSourceOutput) CloudformationStackArn() pulumi.StringPtrOutput

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

func (ScalingPlanApplicationSourceOutput) ElementType

func (ScalingPlanApplicationSourceOutput) TagFilters

A set of tags.

func (ScalingPlanApplicationSourceOutput) ToScalingPlanApplicationSourceOutput

func (o ScalingPlanApplicationSourceOutput) ToScalingPlanApplicationSourceOutput() ScalingPlanApplicationSourceOutput

func (ScalingPlanApplicationSourceOutput) ToScalingPlanApplicationSourceOutputWithContext

func (o ScalingPlanApplicationSourceOutput) ToScalingPlanApplicationSourceOutputWithContext(ctx context.Context) ScalingPlanApplicationSourceOutput

func (ScalingPlanApplicationSourceOutput) ToScalingPlanApplicationSourcePtrOutput

func (o ScalingPlanApplicationSourceOutput) ToScalingPlanApplicationSourcePtrOutput() ScalingPlanApplicationSourcePtrOutput

func (ScalingPlanApplicationSourceOutput) ToScalingPlanApplicationSourcePtrOutputWithContext

func (o ScalingPlanApplicationSourceOutput) ToScalingPlanApplicationSourcePtrOutputWithContext(ctx context.Context) ScalingPlanApplicationSourcePtrOutput

type ScalingPlanApplicationSourcePtrInput

type ScalingPlanApplicationSourcePtrInput interface {
	pulumi.Input

	ToScalingPlanApplicationSourcePtrOutput() ScalingPlanApplicationSourcePtrOutput
	ToScalingPlanApplicationSourcePtrOutputWithContext(context.Context) ScalingPlanApplicationSourcePtrOutput
}

ScalingPlanApplicationSourcePtrInput is an input type that accepts ScalingPlanApplicationSourceArgs, ScalingPlanApplicationSourcePtr and ScalingPlanApplicationSourcePtrOutput values. You can construct a concrete instance of `ScalingPlanApplicationSourcePtrInput` via:

        ScalingPlanApplicationSourceArgs{...}

or:

        nil

type ScalingPlanApplicationSourcePtrOutput

type ScalingPlanApplicationSourcePtrOutput struct{ *pulumi.OutputState }

func (ScalingPlanApplicationSourcePtrOutput) CloudformationStackArn

The Amazon Resource Name (ARN) of a AWS CloudFormation stack.

func (ScalingPlanApplicationSourcePtrOutput) Elem

func (ScalingPlanApplicationSourcePtrOutput) ElementType

func (ScalingPlanApplicationSourcePtrOutput) TagFilters

A set of tags.

func (ScalingPlanApplicationSourcePtrOutput) ToScalingPlanApplicationSourcePtrOutput

func (o ScalingPlanApplicationSourcePtrOutput) ToScalingPlanApplicationSourcePtrOutput() ScalingPlanApplicationSourcePtrOutput

func (ScalingPlanApplicationSourcePtrOutput) ToScalingPlanApplicationSourcePtrOutputWithContext

func (o ScalingPlanApplicationSourcePtrOutput) ToScalingPlanApplicationSourcePtrOutputWithContext(ctx context.Context) ScalingPlanApplicationSourcePtrOutput

type ScalingPlanApplicationSourceTagFilter

type ScalingPlanApplicationSourceTagFilter struct {
	// The tag key.
	Key string `pulumi:"key"`
	// The tag values.
	Values []string `pulumi:"values"`
}

type ScalingPlanApplicationSourceTagFilterArgs

type ScalingPlanApplicationSourceTagFilterArgs struct {
	// The tag key.
	Key pulumi.StringInput `pulumi:"key"`
	// The tag values.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (ScalingPlanApplicationSourceTagFilterArgs) ElementType

func (ScalingPlanApplicationSourceTagFilterArgs) ToScalingPlanApplicationSourceTagFilterOutput

func (i ScalingPlanApplicationSourceTagFilterArgs) ToScalingPlanApplicationSourceTagFilterOutput() ScalingPlanApplicationSourceTagFilterOutput

func (ScalingPlanApplicationSourceTagFilterArgs) ToScalingPlanApplicationSourceTagFilterOutputWithContext

func (i ScalingPlanApplicationSourceTagFilterArgs) ToScalingPlanApplicationSourceTagFilterOutputWithContext(ctx context.Context) ScalingPlanApplicationSourceTagFilterOutput

type ScalingPlanApplicationSourceTagFilterArray

type ScalingPlanApplicationSourceTagFilterArray []ScalingPlanApplicationSourceTagFilterInput

func (ScalingPlanApplicationSourceTagFilterArray) ElementType

func (ScalingPlanApplicationSourceTagFilterArray) ToScalingPlanApplicationSourceTagFilterArrayOutput

func (i ScalingPlanApplicationSourceTagFilterArray) ToScalingPlanApplicationSourceTagFilterArrayOutput() ScalingPlanApplicationSourceTagFilterArrayOutput

func (ScalingPlanApplicationSourceTagFilterArray) ToScalingPlanApplicationSourceTagFilterArrayOutputWithContext

func (i ScalingPlanApplicationSourceTagFilterArray) ToScalingPlanApplicationSourceTagFilterArrayOutputWithContext(ctx context.Context) ScalingPlanApplicationSourceTagFilterArrayOutput

type ScalingPlanApplicationSourceTagFilterArrayInput

type ScalingPlanApplicationSourceTagFilterArrayInput interface {
	pulumi.Input

	ToScalingPlanApplicationSourceTagFilterArrayOutput() ScalingPlanApplicationSourceTagFilterArrayOutput
	ToScalingPlanApplicationSourceTagFilterArrayOutputWithContext(context.Context) ScalingPlanApplicationSourceTagFilterArrayOutput
}

ScalingPlanApplicationSourceTagFilterArrayInput is an input type that accepts ScalingPlanApplicationSourceTagFilterArray and ScalingPlanApplicationSourceTagFilterArrayOutput values. You can construct a concrete instance of `ScalingPlanApplicationSourceTagFilterArrayInput` via:

ScalingPlanApplicationSourceTagFilterArray{ ScalingPlanApplicationSourceTagFilterArgs{...} }

type ScalingPlanApplicationSourceTagFilterArrayOutput

type ScalingPlanApplicationSourceTagFilterArrayOutput struct{ *pulumi.OutputState }

func (ScalingPlanApplicationSourceTagFilterArrayOutput) ElementType

func (ScalingPlanApplicationSourceTagFilterArrayOutput) Index

func (ScalingPlanApplicationSourceTagFilterArrayOutput) ToScalingPlanApplicationSourceTagFilterArrayOutput

func (o ScalingPlanApplicationSourceTagFilterArrayOutput) ToScalingPlanApplicationSourceTagFilterArrayOutput() ScalingPlanApplicationSourceTagFilterArrayOutput

func (ScalingPlanApplicationSourceTagFilterArrayOutput) ToScalingPlanApplicationSourceTagFilterArrayOutputWithContext

func (o ScalingPlanApplicationSourceTagFilterArrayOutput) ToScalingPlanApplicationSourceTagFilterArrayOutputWithContext(ctx context.Context) ScalingPlanApplicationSourceTagFilterArrayOutput

type ScalingPlanApplicationSourceTagFilterInput

type ScalingPlanApplicationSourceTagFilterInput interface {
	pulumi.Input

	ToScalingPlanApplicationSourceTagFilterOutput() ScalingPlanApplicationSourceTagFilterOutput
	ToScalingPlanApplicationSourceTagFilterOutputWithContext(context.Context) ScalingPlanApplicationSourceTagFilterOutput
}

ScalingPlanApplicationSourceTagFilterInput is an input type that accepts ScalingPlanApplicationSourceTagFilterArgs and ScalingPlanApplicationSourceTagFilterOutput values. You can construct a concrete instance of `ScalingPlanApplicationSourceTagFilterInput` via:

ScalingPlanApplicationSourceTagFilterArgs{...}

type ScalingPlanApplicationSourceTagFilterOutput

type ScalingPlanApplicationSourceTagFilterOutput struct{ *pulumi.OutputState }

func (ScalingPlanApplicationSourceTagFilterOutput) ElementType

func (ScalingPlanApplicationSourceTagFilterOutput) Key

The tag key.

func (ScalingPlanApplicationSourceTagFilterOutput) ToScalingPlanApplicationSourceTagFilterOutput

func (o ScalingPlanApplicationSourceTagFilterOutput) ToScalingPlanApplicationSourceTagFilterOutput() ScalingPlanApplicationSourceTagFilterOutput

func (ScalingPlanApplicationSourceTagFilterOutput) ToScalingPlanApplicationSourceTagFilterOutputWithContext

func (o ScalingPlanApplicationSourceTagFilterOutput) ToScalingPlanApplicationSourceTagFilterOutputWithContext(ctx context.Context) ScalingPlanApplicationSourceTagFilterOutput

func (ScalingPlanApplicationSourceTagFilterOutput) Values

The tag values.

type ScalingPlanArgs

type ScalingPlanArgs struct {
	// A CloudFormation stack or set of tags. You can create one scaling plan per application source.
	ApplicationSource ScalingPlanApplicationSourceInput
	// The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
	Name pulumi.StringPtrInput
	// The scaling instructions. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html).
	ScalingInstructions ScalingPlanScalingInstructionArrayInput
}

The set of arguments for constructing a ScalingPlan resource.

func (ScalingPlanArgs) ElementType

func (ScalingPlanArgs) ElementType() reflect.Type

type ScalingPlanArray

type ScalingPlanArray []ScalingPlanInput

func (ScalingPlanArray) ElementType

func (ScalingPlanArray) ElementType() reflect.Type

func (ScalingPlanArray) ToScalingPlanArrayOutput

func (i ScalingPlanArray) ToScalingPlanArrayOutput() ScalingPlanArrayOutput

func (ScalingPlanArray) ToScalingPlanArrayOutputWithContext

func (i ScalingPlanArray) ToScalingPlanArrayOutputWithContext(ctx context.Context) ScalingPlanArrayOutput

type ScalingPlanArrayInput

type ScalingPlanArrayInput interface {
	pulumi.Input

	ToScalingPlanArrayOutput() ScalingPlanArrayOutput
	ToScalingPlanArrayOutputWithContext(context.Context) ScalingPlanArrayOutput
}

ScalingPlanArrayInput is an input type that accepts ScalingPlanArray and ScalingPlanArrayOutput values. You can construct a concrete instance of `ScalingPlanArrayInput` via:

ScalingPlanArray{ ScalingPlanArgs{...} }

type ScalingPlanArrayOutput

type ScalingPlanArrayOutput struct{ *pulumi.OutputState }

func (ScalingPlanArrayOutput) ElementType

func (ScalingPlanArrayOutput) ElementType() reflect.Type

func (ScalingPlanArrayOutput) Index

func (ScalingPlanArrayOutput) ToScalingPlanArrayOutput

func (o ScalingPlanArrayOutput) ToScalingPlanArrayOutput() ScalingPlanArrayOutput

func (ScalingPlanArrayOutput) ToScalingPlanArrayOutputWithContext

func (o ScalingPlanArrayOutput) ToScalingPlanArrayOutputWithContext(ctx context.Context) ScalingPlanArrayOutput

type ScalingPlanInput

type ScalingPlanInput interface {
	pulumi.Input

	ToScalingPlanOutput() ScalingPlanOutput
	ToScalingPlanOutputWithContext(ctx context.Context) ScalingPlanOutput
}

type ScalingPlanMap

type ScalingPlanMap map[string]ScalingPlanInput

func (ScalingPlanMap) ElementType

func (ScalingPlanMap) ElementType() reflect.Type

func (ScalingPlanMap) ToScalingPlanMapOutput

func (i ScalingPlanMap) ToScalingPlanMapOutput() ScalingPlanMapOutput

func (ScalingPlanMap) ToScalingPlanMapOutputWithContext

func (i ScalingPlanMap) ToScalingPlanMapOutputWithContext(ctx context.Context) ScalingPlanMapOutput

type ScalingPlanMapInput

type ScalingPlanMapInput interface {
	pulumi.Input

	ToScalingPlanMapOutput() ScalingPlanMapOutput
	ToScalingPlanMapOutputWithContext(context.Context) ScalingPlanMapOutput
}

ScalingPlanMapInput is an input type that accepts ScalingPlanMap and ScalingPlanMapOutput values. You can construct a concrete instance of `ScalingPlanMapInput` via:

ScalingPlanMap{ "key": ScalingPlanArgs{...} }

type ScalingPlanMapOutput

type ScalingPlanMapOutput struct{ *pulumi.OutputState }

func (ScalingPlanMapOutput) ElementType

func (ScalingPlanMapOutput) ElementType() reflect.Type

func (ScalingPlanMapOutput) MapIndex

func (ScalingPlanMapOutput) ToScalingPlanMapOutput

func (o ScalingPlanMapOutput) ToScalingPlanMapOutput() ScalingPlanMapOutput

func (ScalingPlanMapOutput) ToScalingPlanMapOutputWithContext

func (o ScalingPlanMapOutput) ToScalingPlanMapOutputWithContext(ctx context.Context) ScalingPlanMapOutput

type ScalingPlanOutput

type ScalingPlanOutput struct{ *pulumi.OutputState }

func (ScalingPlanOutput) ElementType

func (ScalingPlanOutput) ElementType() reflect.Type

func (ScalingPlanOutput) ToScalingPlanOutput

func (o ScalingPlanOutput) ToScalingPlanOutput() ScalingPlanOutput

func (ScalingPlanOutput) ToScalingPlanOutputWithContext

func (o ScalingPlanOutput) ToScalingPlanOutputWithContext(ctx context.Context) ScalingPlanOutput

func (ScalingPlanOutput) ToScalingPlanPtrOutput

func (o ScalingPlanOutput) ToScalingPlanPtrOutput() ScalingPlanPtrOutput

func (ScalingPlanOutput) ToScalingPlanPtrOutputWithContext

func (o ScalingPlanOutput) ToScalingPlanPtrOutputWithContext(ctx context.Context) ScalingPlanPtrOutput

type ScalingPlanPtrInput

type ScalingPlanPtrInput interface {
	pulumi.Input

	ToScalingPlanPtrOutput() ScalingPlanPtrOutput
	ToScalingPlanPtrOutputWithContext(ctx context.Context) ScalingPlanPtrOutput
}

type ScalingPlanPtrOutput

type ScalingPlanPtrOutput struct{ *pulumi.OutputState }

func (ScalingPlanPtrOutput) Elem added in v4.15.0

func (ScalingPlanPtrOutput) ElementType

func (ScalingPlanPtrOutput) ElementType() reflect.Type

func (ScalingPlanPtrOutput) ToScalingPlanPtrOutput

func (o ScalingPlanPtrOutput) ToScalingPlanPtrOutput() ScalingPlanPtrOutput

func (ScalingPlanPtrOutput) ToScalingPlanPtrOutputWithContext

func (o ScalingPlanPtrOutput) ToScalingPlanPtrOutputWithContext(ctx context.Context) ScalingPlanPtrOutput

type ScalingPlanScalingInstruction

type ScalingPlanScalingInstruction struct {
	// The customized load metric to use for predictive scaling. You must specify either `customizedLoadMetricSpecification` or `predefinedLoadMetricSpecification` when configuring predictive scaling.
	// More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_CustomizedLoadMetricSpecification.html).
	CustomizedLoadMetricSpecification *ScalingPlanScalingInstructionCustomizedLoadMetricSpecification `pulumi:"customizedLoadMetricSpecification"`
	// Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to `false`.
	DisableDynamicScaling *bool `pulumi:"disableDynamicScaling"`
	// The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for `predictiveScalingMaxCapacityBehavior`.
	MaxCapacity int `pulumi:"maxCapacity"`
	// The minimum capacity of the resource.
	MinCapacity int `pulumi:"minCapacity"`
	// The predefined load metric to use for predictive scaling. You must specify either `predefinedLoadMetricSpecification` or `customizedLoadMetricSpecification` when configuring predictive scaling.
	// More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedLoadMetricSpecification.html).
	PredefinedLoadMetricSpecification *ScalingPlanScalingInstructionPredefinedLoadMetricSpecification `pulumi:"predefinedLoadMetricSpecification"`
	// Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource.
	// Valid values: `SetForecastCapacityToMaxCapacity`, `SetMaxCapacityAboveForecastCapacity`, `SetMaxCapacityToForecastCapacity`.
	PredictiveScalingMaxCapacityBehavior *string `pulumi:"predictiveScalingMaxCapacityBehavior"`
	// The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
	PredictiveScalingMaxCapacityBuffer *int `pulumi:"predictiveScalingMaxCapacityBuffer"`
	// The predictive scaling mode. Valid values: `ForecastAndScale`, `ForecastOnly`.
	PredictiveScalingMode *string `pulumi:"predictiveScalingMode"`
	// The ID of the resource. This string consists of the resource type and unique identifier.
	ResourceId string `pulumi:"resourceId"`
	// The scalable dimension associated with the resource. Valid values: `autoscaling:autoScalingGroup:DesiredCapacity`, `dynamodb:index:ReadCapacityUnits`, `dynamodb:index:WriteCapacityUnits`, `dynamodb:table:ReadCapacityUnits`, `dynamodb:table:WriteCapacityUnits`, `ecs:service:DesiredCount`, `ec2:spot-fleet-request:TargetCapacity`, `rds:cluster:ReadReplicaCount`.
	ScalableDimension string `pulumi:"scalableDimension"`
	// Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: `KeepExternalPolicies`, `ReplaceExternalPolicies`. Defaults to `KeepExternalPolicies`.
	ScalingPolicyUpdateBehavior *string `pulumi:"scalingPolicyUpdateBehavior"`
	// The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
	ScheduledActionBufferTime *int `pulumi:"scheduledActionBufferTime"`
	// The namespace of the AWS service. Valid values: `autoscaling`, `dynamodb`, `ecs`, `ec2`, `rds`.
	ServiceNamespace string `pulumi:"serviceNamespace"`
	// The structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling.
	// More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_TargetTrackingConfiguration.html).
	TargetTrackingConfigurations []ScalingPlanScalingInstructionTargetTrackingConfiguration `pulumi:"targetTrackingConfigurations"`
}

type ScalingPlanScalingInstructionArgs

type ScalingPlanScalingInstructionArgs struct {
	// The customized load metric to use for predictive scaling. You must specify either `customizedLoadMetricSpecification` or `predefinedLoadMetricSpecification` when configuring predictive scaling.
	// More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_CustomizedLoadMetricSpecification.html).
	CustomizedLoadMetricSpecification ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrInput `pulumi:"customizedLoadMetricSpecification"`
	// Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to `false`.
	DisableDynamicScaling pulumi.BoolPtrInput `pulumi:"disableDynamicScaling"`
	// The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for `predictiveScalingMaxCapacityBehavior`.
	MaxCapacity pulumi.IntInput `pulumi:"maxCapacity"`
	// The minimum capacity of the resource.
	MinCapacity pulumi.IntInput `pulumi:"minCapacity"`
	// The predefined load metric to use for predictive scaling. You must specify either `predefinedLoadMetricSpecification` or `customizedLoadMetricSpecification` when configuring predictive scaling.
	// More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedLoadMetricSpecification.html).
	PredefinedLoadMetricSpecification ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrInput `pulumi:"predefinedLoadMetricSpecification"`
	// Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource.
	// Valid values: `SetForecastCapacityToMaxCapacity`, `SetMaxCapacityAboveForecastCapacity`, `SetMaxCapacityToForecastCapacity`.
	PredictiveScalingMaxCapacityBehavior pulumi.StringPtrInput `pulumi:"predictiveScalingMaxCapacityBehavior"`
	// The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
	PredictiveScalingMaxCapacityBuffer pulumi.IntPtrInput `pulumi:"predictiveScalingMaxCapacityBuffer"`
	// The predictive scaling mode. Valid values: `ForecastAndScale`, `ForecastOnly`.
	PredictiveScalingMode pulumi.StringPtrInput `pulumi:"predictiveScalingMode"`
	// The ID of the resource. This string consists of the resource type and unique identifier.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// The scalable dimension associated with the resource. Valid values: `autoscaling:autoScalingGroup:DesiredCapacity`, `dynamodb:index:ReadCapacityUnits`, `dynamodb:index:WriteCapacityUnits`, `dynamodb:table:ReadCapacityUnits`, `dynamodb:table:WriteCapacityUnits`, `ecs:service:DesiredCount`, `ec2:spot-fleet-request:TargetCapacity`, `rds:cluster:ReadReplicaCount`.
	ScalableDimension pulumi.StringInput `pulumi:"scalableDimension"`
	// Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: `KeepExternalPolicies`, `ReplaceExternalPolicies`. Defaults to `KeepExternalPolicies`.
	ScalingPolicyUpdateBehavior pulumi.StringPtrInput `pulumi:"scalingPolicyUpdateBehavior"`
	// The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
	ScheduledActionBufferTime pulumi.IntPtrInput `pulumi:"scheduledActionBufferTime"`
	// The namespace of the AWS service. Valid values: `autoscaling`, `dynamodb`, `ecs`, `ec2`, `rds`.
	ServiceNamespace pulumi.StringInput `pulumi:"serviceNamespace"`
	// The structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling.
	// More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_TargetTrackingConfiguration.html).
	TargetTrackingConfigurations ScalingPlanScalingInstructionTargetTrackingConfigurationArrayInput `pulumi:"targetTrackingConfigurations"`
}

func (ScalingPlanScalingInstructionArgs) ElementType

func (ScalingPlanScalingInstructionArgs) ToScalingPlanScalingInstructionOutput

func (i ScalingPlanScalingInstructionArgs) ToScalingPlanScalingInstructionOutput() ScalingPlanScalingInstructionOutput

func (ScalingPlanScalingInstructionArgs) ToScalingPlanScalingInstructionOutputWithContext

func (i ScalingPlanScalingInstructionArgs) ToScalingPlanScalingInstructionOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionOutput

type ScalingPlanScalingInstructionArray

type ScalingPlanScalingInstructionArray []ScalingPlanScalingInstructionInput

func (ScalingPlanScalingInstructionArray) ElementType

func (ScalingPlanScalingInstructionArray) ToScalingPlanScalingInstructionArrayOutput

func (i ScalingPlanScalingInstructionArray) ToScalingPlanScalingInstructionArrayOutput() ScalingPlanScalingInstructionArrayOutput

func (ScalingPlanScalingInstructionArray) ToScalingPlanScalingInstructionArrayOutputWithContext

func (i ScalingPlanScalingInstructionArray) ToScalingPlanScalingInstructionArrayOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionArrayOutput

type ScalingPlanScalingInstructionArrayInput

type ScalingPlanScalingInstructionArrayInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionArrayOutput() ScalingPlanScalingInstructionArrayOutput
	ToScalingPlanScalingInstructionArrayOutputWithContext(context.Context) ScalingPlanScalingInstructionArrayOutput
}

ScalingPlanScalingInstructionArrayInput is an input type that accepts ScalingPlanScalingInstructionArray and ScalingPlanScalingInstructionArrayOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionArrayInput` via:

ScalingPlanScalingInstructionArray{ ScalingPlanScalingInstructionArgs{...} }

type ScalingPlanScalingInstructionArrayOutput

type ScalingPlanScalingInstructionArrayOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionArrayOutput) ElementType

func (ScalingPlanScalingInstructionArrayOutput) Index

func (ScalingPlanScalingInstructionArrayOutput) ToScalingPlanScalingInstructionArrayOutput

func (o ScalingPlanScalingInstructionArrayOutput) ToScalingPlanScalingInstructionArrayOutput() ScalingPlanScalingInstructionArrayOutput

func (ScalingPlanScalingInstructionArrayOutput) ToScalingPlanScalingInstructionArrayOutputWithContext

func (o ScalingPlanScalingInstructionArrayOutput) ToScalingPlanScalingInstructionArrayOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionArrayOutput

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecification

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecification struct {
	// The dimensions of the metric.
	Dimensions map[string]string `pulumi:"dimensions"`
	// The name of the metric.
	MetricName string `pulumi:"metricName"`
	// The namespace of the metric.
	Namespace string `pulumi:"namespace"`
	// The statistic of the metric. Currently, the value must always be `Sum`.
	Statistic string `pulumi:"statistic"`
	// The unit of the metric.
	Unit *string `pulumi:"unit"`
}

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs struct {
	// The dimensions of the metric.
	Dimensions pulumi.StringMapInput `pulumi:"dimensions"`
	// The name of the metric.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// The namespace of the metric.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The statistic of the metric. Currently, the value must always be `Sum`.
	Statistic pulumi.StringInput `pulumi:"statistic"`
	// The unit of the metric.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs) ElementType

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutputWithContext

func (i ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutputWithContext

func (i ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationInput

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput() ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput
	ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutputWithContext(context.Context) ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput
}

ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationInput is an input type that accepts ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs and ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationInput` via:

ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs{...}

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) Dimensions

The dimensions of the metric.

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) ElementType

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) MetricName

The name of the metric.

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) Namespace

The namespace of the metric.

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) Statistic

The statistic of the metric. Currently, the value must always be `Sum`.

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutputWithContext

func (o ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutputWithContext

func (o ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationOutput) Unit

The unit of the metric.

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrInput

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput() ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput
	ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutputWithContext(context.Context) ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput
}

ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrInput is an input type that accepts ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs, ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtr and ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrInput` via:

        ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs{...}

or:

        nil

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput

type ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput) Dimensions

The dimensions of the metric.

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput) Elem

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput) ElementType

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput) MetricName

The name of the metric.

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput) Namespace

The namespace of the metric.

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput) Statistic

The statistic of the metric. Currently, the value must always be `Sum`.

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutputWithContext

func (o ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput) ToScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationPtrOutput) Unit

The unit of the metric.

type ScalingPlanScalingInstructionInput

type ScalingPlanScalingInstructionInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionOutput() ScalingPlanScalingInstructionOutput
	ToScalingPlanScalingInstructionOutputWithContext(context.Context) ScalingPlanScalingInstructionOutput
}

ScalingPlanScalingInstructionInput is an input type that accepts ScalingPlanScalingInstructionArgs and ScalingPlanScalingInstructionOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionInput` via:

ScalingPlanScalingInstructionArgs{...}

type ScalingPlanScalingInstructionOutput

type ScalingPlanScalingInstructionOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionOutput) CustomizedLoadMetricSpecification

The customized load metric to use for predictive scaling. You must specify either `customizedLoadMetricSpecification` or `predefinedLoadMetricSpecification` when configuring predictive scaling. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_CustomizedLoadMetricSpecification.html).

func (ScalingPlanScalingInstructionOutput) DisableDynamicScaling

func (o ScalingPlanScalingInstructionOutput) DisableDynamicScaling() pulumi.BoolPtrOutput

Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to `false`.

func (ScalingPlanScalingInstructionOutput) ElementType

func (ScalingPlanScalingInstructionOutput) MaxCapacity

The maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for `predictiveScalingMaxCapacityBehavior`.

func (ScalingPlanScalingInstructionOutput) MinCapacity

The minimum capacity of the resource.

func (ScalingPlanScalingInstructionOutput) PredefinedLoadMetricSpecification

The predefined load metric to use for predictive scaling. You must specify either `predefinedLoadMetricSpecification` or `customizedLoadMetricSpecification` when configuring predictive scaling. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedLoadMetricSpecification.html).

func (ScalingPlanScalingInstructionOutput) PredictiveScalingMaxCapacityBehavior

func (o ScalingPlanScalingInstructionOutput) PredictiveScalingMaxCapacityBehavior() pulumi.StringPtrOutput

Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. Valid values: `SetForecastCapacityToMaxCapacity`, `SetMaxCapacityAboveForecastCapacity`, `SetMaxCapacityToForecastCapacity`.

func (ScalingPlanScalingInstructionOutput) PredictiveScalingMaxCapacityBuffer

func (o ScalingPlanScalingInstructionOutput) PredictiveScalingMaxCapacityBuffer() pulumi.IntPtrOutput

The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.

func (ScalingPlanScalingInstructionOutput) PredictiveScalingMode

The predictive scaling mode. Valid values: `ForecastAndScale`, `ForecastOnly`.

func (ScalingPlanScalingInstructionOutput) ResourceId

The ID of the resource. This string consists of the resource type and unique identifier.

func (ScalingPlanScalingInstructionOutput) ScalableDimension

The scalable dimension associated with the resource. Valid values: `autoscaling:autoScalingGroup:DesiredCapacity`, `dynamodb:index:ReadCapacityUnits`, `dynamodb:index:WriteCapacityUnits`, `dynamodb:table:ReadCapacityUnits`, `dynamodb:table:WriteCapacityUnits`, `ecs:service:DesiredCount`, `ec2:spot-fleet-request:TargetCapacity`, `rds:cluster:ReadReplicaCount`.

func (ScalingPlanScalingInstructionOutput) ScalingPolicyUpdateBehavior

func (o ScalingPlanScalingInstructionOutput) ScalingPolicyUpdateBehavior() pulumi.StringPtrOutput

Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: `KeepExternalPolicies`, `ReplaceExternalPolicies`. Defaults to `KeepExternalPolicies`.

func (ScalingPlanScalingInstructionOutput) ScheduledActionBufferTime

func (o ScalingPlanScalingInstructionOutput) ScheduledActionBufferTime() pulumi.IntPtrOutput

The amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.

func (ScalingPlanScalingInstructionOutput) ServiceNamespace

The namespace of the AWS service. Valid values: `autoscaling`, `dynamodb`, `ecs`, `ec2`, `rds`.

func (ScalingPlanScalingInstructionOutput) TargetTrackingConfigurations

The structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_TargetTrackingConfiguration.html).

func (ScalingPlanScalingInstructionOutput) ToScalingPlanScalingInstructionOutput

func (o ScalingPlanScalingInstructionOutput) ToScalingPlanScalingInstructionOutput() ScalingPlanScalingInstructionOutput

func (ScalingPlanScalingInstructionOutput) ToScalingPlanScalingInstructionOutputWithContext

func (o ScalingPlanScalingInstructionOutput) ToScalingPlanScalingInstructionOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionOutput

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecification

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecification struct {
	// The metric type. Valid values: `ALBTargetGroupRequestCount`, `ASGTotalCPUUtilization`, `ASGTotalNetworkIn`, `ASGTotalNetworkOut`.
	PredefinedLoadMetricType string `pulumi:"predefinedLoadMetricType"`
	// Identifies the resource associated with the metric type.
	ResourceLabel *string `pulumi:"resourceLabel"`
}

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs struct {
	// The metric type. Valid values: `ALBTargetGroupRequestCount`, `ASGTotalCPUUtilization`, `ASGTotalNetworkIn`, `ASGTotalNetworkOut`.
	PredefinedLoadMetricType pulumi.StringInput `pulumi:"predefinedLoadMetricType"`
	// Identifies the resource associated with the metric type.
	ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"`
}

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs) ElementType

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutputWithContext

func (i ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutputWithContext

func (i ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationInput

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput() ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput
	ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutputWithContext(context.Context) ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput
}

ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationInput is an input type that accepts ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs and ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationInput` via:

ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs{...}

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput) ElementType

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput) PredefinedLoadMetricType

The metric type. Valid values: `ALBTargetGroupRequestCount`, `ASGTotalCPUUtilization`, `ASGTotalNetworkIn`, `ASGTotalNetworkOut`.

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput) ResourceLabel

Identifies the resource associated with the metric type.

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutputWithContext

func (o ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutputWithContext

func (o ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationOutput) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrInput

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput() ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput
	ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutputWithContext(context.Context) ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput
}

ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrInput is an input type that accepts ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs, ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtr and ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrInput` via:

        ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs{...}

or:

        nil

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput

type ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput) Elem

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput) ElementType

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput) PredefinedLoadMetricType

The metric type. Valid values: `ALBTargetGroupRequestCount`, `ASGTotalCPUUtilization`, `ASGTotalNetworkIn`, `ASGTotalNetworkOut`.

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput) ResourceLabel

Identifies the resource associated with the metric type.

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutputWithContext

func (o ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput) ToScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationPtrOutput

type ScalingPlanScalingInstructionTargetTrackingConfiguration

type ScalingPlanScalingInstructionTargetTrackingConfiguration struct {
	// A customized metric. You can specify either `customizedScalingMetricSpecification` or `predefinedScalingMetricSpecification`.
	// More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_CustomizedScalingMetricSpecification.html).
	CustomizedScalingMetricSpecification *ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecification `pulumi:"customizedScalingMetricSpecification"`
	// Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to `false`.
	DisableScaleIn *bool `pulumi:"disableScaleIn"`
	// The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.
	// This value is used only if the resource is an Auto Scaling group.
	EstimatedInstanceWarmup *int `pulumi:"estimatedInstanceWarmup"`
	// A predefined metric. You can specify either `predefinedScalingMetricSpecification` or `customizedScalingMetricSpecification`.
	// More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedScalingMetricSpecification.html).
	PredefinedScalingMetricSpecification *ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecification `pulumi:"predefinedScalingMetricSpecification"`
	// The amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
	// This value is not used if the scalable resource is an Auto Scaling group.
	ScaleInCooldown *int `pulumi:"scaleInCooldown"`
	// The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start.
	// This value is not used if the scalable resource is an Auto Scaling group.
	ScaleOutCooldown *int `pulumi:"scaleOutCooldown"`
	// The target value for the metric.
	TargetValue float64 `pulumi:"targetValue"`
}

type ScalingPlanScalingInstructionTargetTrackingConfigurationArgs

type ScalingPlanScalingInstructionTargetTrackingConfigurationArgs struct {
	// A customized metric. You can specify either `customizedScalingMetricSpecification` or `predefinedScalingMetricSpecification`.
	// More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_CustomizedScalingMetricSpecification.html).
	CustomizedScalingMetricSpecification ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrInput `pulumi:"customizedScalingMetricSpecification"`
	// Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to `false`.
	DisableScaleIn pulumi.BoolPtrInput `pulumi:"disableScaleIn"`
	// The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.
	// This value is used only if the resource is an Auto Scaling group.
	EstimatedInstanceWarmup pulumi.IntPtrInput `pulumi:"estimatedInstanceWarmup"`
	// A predefined metric. You can specify either `predefinedScalingMetricSpecification` or `customizedScalingMetricSpecification`.
	// More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedScalingMetricSpecification.html).
	PredefinedScalingMetricSpecification ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrInput `pulumi:"predefinedScalingMetricSpecification"`
	// The amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
	// This value is not used if the scalable resource is an Auto Scaling group.
	ScaleInCooldown pulumi.IntPtrInput `pulumi:"scaleInCooldown"`
	// The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start.
	// This value is not used if the scalable resource is an Auto Scaling group.
	ScaleOutCooldown pulumi.IntPtrInput `pulumi:"scaleOutCooldown"`
	// The target value for the metric.
	TargetValue pulumi.Float64Input `pulumi:"targetValue"`
}

func (ScalingPlanScalingInstructionTargetTrackingConfigurationArgs) ElementType

func (ScalingPlanScalingInstructionTargetTrackingConfigurationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationOutputWithContext

func (i ScalingPlanScalingInstructionTargetTrackingConfigurationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionTargetTrackingConfigurationOutput

type ScalingPlanScalingInstructionTargetTrackingConfigurationArray

type ScalingPlanScalingInstructionTargetTrackingConfigurationArray []ScalingPlanScalingInstructionTargetTrackingConfigurationInput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationArray) ElementType

func (ScalingPlanScalingInstructionTargetTrackingConfigurationArray) ToScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationArray) ToScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutputWithContext

func (i ScalingPlanScalingInstructionTargetTrackingConfigurationArray) ToScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput

type ScalingPlanScalingInstructionTargetTrackingConfigurationArrayInput

type ScalingPlanScalingInstructionTargetTrackingConfigurationArrayInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput() ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput
	ToScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutputWithContext(context.Context) ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput
}

ScalingPlanScalingInstructionTargetTrackingConfigurationArrayInput is an input type that accepts ScalingPlanScalingInstructionTargetTrackingConfigurationArray and ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionTargetTrackingConfigurationArrayInput` via:

ScalingPlanScalingInstructionTargetTrackingConfigurationArray{ ScalingPlanScalingInstructionTargetTrackingConfigurationArgs{...} }

type ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput

type ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput) ElementType

func (ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput) Index

func (ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutputWithContext

func (o ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionTargetTrackingConfigurationArrayOutput

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecification

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecification struct {
	// The dimensions of the metric.
	Dimensions map[string]string `pulumi:"dimensions"`
	// The name of the metric.
	MetricName string `pulumi:"metricName"`
	// The namespace of the metric.
	Namespace string `pulumi:"namespace"`
	// The statistic of the metric. Valid values: `Average`, `Maximum`, `Minimum`, `SampleCount`, `Sum`.
	Statistic string `pulumi:"statistic"`
	// The unit of the metric.
	Unit *string `pulumi:"unit"`
}

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs struct {
	// The dimensions of the metric.
	Dimensions pulumi.StringMapInput `pulumi:"dimensions"`
	// The name of the metric.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// The namespace of the metric.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// The statistic of the metric. Valid values: `Average`, `Maximum`, `Minimum`, `SampleCount`, `Sum`.
	Statistic pulumi.StringInput `pulumi:"statistic"`
	// The unit of the metric.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs) ElementType

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutputWithContext

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutputWithContext

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationInput

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput() ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput
	ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutputWithContext(context.Context) ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput
}

ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationInput is an input type that accepts ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs and ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationInput` via:

ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs{...}

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput) Dimensions

The dimensions of the metric.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput) ElementType

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput) MetricName

The name of the metric.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput) Namespace

The namespace of the metric.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput) Statistic

The statistic of the metric. Valid values: `Average`, `Maximum`, `Minimum`, `SampleCount`, `Sum`.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutputWithContext

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutputWithContext

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationOutput) Unit

The unit of the metric.

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrInput

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput() ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput
	ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutputWithContext(context.Context) ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput
}

ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrInput is an input type that accepts ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs, ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtr and ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrInput` via:

        ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationArgs{...}

or:

        nil

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput

type ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput) Dimensions

The dimensions of the metric.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput) ElementType

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput) MetricName

The name of the metric.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput) Namespace

The namespace of the metric.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput) Statistic

The statistic of the metric. Valid values: `Average`, `Maximum`, `Minimum`, `SampleCount`, `Sum`.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutputWithContext

func (ScalingPlanScalingInstructionTargetTrackingConfigurationCustomizedScalingMetricSpecificationPtrOutput) Unit

The unit of the metric.

type ScalingPlanScalingInstructionTargetTrackingConfigurationInput

type ScalingPlanScalingInstructionTargetTrackingConfigurationInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionTargetTrackingConfigurationOutput() ScalingPlanScalingInstructionTargetTrackingConfigurationOutput
	ToScalingPlanScalingInstructionTargetTrackingConfigurationOutputWithContext(context.Context) ScalingPlanScalingInstructionTargetTrackingConfigurationOutput
}

ScalingPlanScalingInstructionTargetTrackingConfigurationInput is an input type that accepts ScalingPlanScalingInstructionTargetTrackingConfigurationArgs and ScalingPlanScalingInstructionTargetTrackingConfigurationOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionTargetTrackingConfigurationInput` via:

ScalingPlanScalingInstructionTargetTrackingConfigurationArgs{...}

type ScalingPlanScalingInstructionTargetTrackingConfigurationOutput

type ScalingPlanScalingInstructionTargetTrackingConfigurationOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) CustomizedScalingMetricSpecification

A customized metric. You can specify either `customizedScalingMetricSpecification` or `predefinedScalingMetricSpecification`. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_CustomizedScalingMetricSpecification.html).

func (ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) DisableScaleIn

Boolean indicating whether scale in by the target tracking scaling policy is disabled. Defaults to `false`.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) ElementType

func (ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) EstimatedInstanceWarmup

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This value is used only if the resource is an Auto Scaling group.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) PredefinedScalingMetricSpecification

A predefined metric. You can specify either `predefinedScalingMetricSpecification` or `customizedScalingMetricSpecification`. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedScalingMetricSpecification.html).

func (ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) ScaleInCooldown

The amount of time, in seconds, after a scale in activity completes before another scale in activity can start. This value is not used if the scalable resource is an Auto Scaling group.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) ScaleOutCooldown

The amount of time, in seconds, after a scale-out activity completes before another scale-out activity can start. This value is not used if the scalable resource is an Auto Scaling group.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) TargetValue

The target value for the metric.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationOutputWithContext

func (o ScalingPlanScalingInstructionTargetTrackingConfigurationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationOutputWithContext(ctx context.Context) ScalingPlanScalingInstructionTargetTrackingConfigurationOutput

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecification

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecification struct {
	// The metric type. Valid values: `ALBRequestCountPerTarget`, `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, `DynamoDBReadCapacityUtilization`, `DynamoDBWriteCapacityUtilization`, `ECSServiceAverageCPUUtilization`, `ECSServiceAverageMemoryUtilization`, `EC2SpotFleetRequestAverageCPUUtilization`, `EC2SpotFleetRequestAverageNetworkIn`, `EC2SpotFleetRequestAverageNetworkOut`, `RDSReaderAverageCPUUtilization`, `RDSReaderAverageDatabaseConnections`.
	PredefinedScalingMetricType string `pulumi:"predefinedScalingMetricType"`
	// Identifies the resource associated with the metric type.
	ResourceLabel *string `pulumi:"resourceLabel"`
}

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs struct {
	// The metric type. Valid values: `ALBRequestCountPerTarget`, `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, `DynamoDBReadCapacityUtilization`, `DynamoDBWriteCapacityUtilization`, `ECSServiceAverageCPUUtilization`, `ECSServiceAverageMemoryUtilization`, `EC2SpotFleetRequestAverageCPUUtilization`, `EC2SpotFleetRequestAverageNetworkIn`, `EC2SpotFleetRequestAverageNetworkOut`, `RDSReaderAverageCPUUtilization`, `RDSReaderAverageDatabaseConnections`.
	PredefinedScalingMetricType pulumi.StringInput `pulumi:"predefinedScalingMetricType"`
	// Identifies the resource associated with the metric type.
	ResourceLabel pulumi.StringPtrInput `pulumi:"resourceLabel"`
}

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs) ElementType

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutputWithContext

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs) ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutputWithContext

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationInput

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput() ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput
	ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutputWithContext(context.Context) ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput
}

ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationInput is an input type that accepts ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs and ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationInput` via:

ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs{...}

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput) ElementType

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput) PredefinedScalingMetricType

The metric type. Valid values: `ALBRequestCountPerTarget`, `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, `DynamoDBReadCapacityUtilization`, `DynamoDBWriteCapacityUtilization`, `ECSServiceAverageCPUUtilization`, `ECSServiceAverageMemoryUtilization`, `EC2SpotFleetRequestAverageCPUUtilization`, `EC2SpotFleetRequestAverageNetworkIn`, `EC2SpotFleetRequestAverageNetworkOut`, `RDSReaderAverageCPUUtilization`, `RDSReaderAverageDatabaseConnections`.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput) ResourceLabel

Identifies the resource associated with the metric type.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutputWithContext

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutputWithContext

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrInput

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrInput interface {
	pulumi.Input

	ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput() ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput
	ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutputWithContext(context.Context) ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput
}

ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrInput is an input type that accepts ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs, ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtr and ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput values. You can construct a concrete instance of `ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrInput` via:

        ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationArgs{...}

or:

        nil

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput

type ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput struct{ *pulumi.OutputState }

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput) ElementType

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput) PredefinedScalingMetricType

The metric type. Valid values: `ALBRequestCountPerTarget`, `ASGAverageCPUUtilization`, `ASGAverageNetworkIn`, `ASGAverageNetworkOut`, `DynamoDBReadCapacityUtilization`, `DynamoDBWriteCapacityUtilization`, `ECSServiceAverageCPUUtilization`, `ECSServiceAverageMemoryUtilization`, `EC2SpotFleetRequestAverageCPUUtilization`, `EC2SpotFleetRequestAverageNetworkIn`, `EC2SpotFleetRequestAverageNetworkOut`, `RDSReaderAverageCPUUtilization`, `RDSReaderAverageDatabaseConnections`.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput) ResourceLabel

Identifies the resource associated with the metric type.

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput

func (ScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutput) ToScalingPlanScalingInstructionTargetTrackingConfigurationPredefinedScalingMetricSpecificationPtrOutputWithContext

type ScalingPlanState

type ScalingPlanState struct {
	// A CloudFormation stack or set of tags. You can create one scaling plan per application source.
	ApplicationSource ScalingPlanApplicationSourcePtrInput
	// The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
	Name pulumi.StringPtrInput
	// The scaling instructions. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html).
	ScalingInstructions ScalingPlanScalingInstructionArrayInput
	// The version number of the scaling plan. This value is always 1.
	ScalingPlanVersion pulumi.IntPtrInput
}

func (ScalingPlanState) ElementType

func (ScalingPlanState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL